#1  
Old 14th November 2006, 20:51
BčrKessels BčrKessels is offline
Junior Member
 
Join Date: Nov 2006
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via Skype™ to BčrKessels
Default Crontab scripts don't exist?

I need to change some of the scripts run by ispconfig, first I want to change is the location where the statistics are compiled (webalizer).

Code:
$ sudo crontab -e
Gives me:

Code:
30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null
0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null
0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null
15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.php &> /dev/null
40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null
05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
But
Code:
/root/ispconfig/
does not exist, so I am very curious how ispconfig does this, and where I should look for the scripts. Is it chrooted, shuold I look for /root relative to some dir?
__________________
Drupal development: http://webschuur.com | Drupal hosting: http://www.sympal.nl
Reply With Quote
Sponsored Links
  #2  
Old 14th November 2006, 21:30
BčrKessels BčrKessels is offline
Junior Member
 
Join Date: Nov 2006
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via Skype™ to BčrKessels
Default

Note: I am using Debian, in case that matters.
__________________
Drupal development: http://webschuur.com | Drupal hosting: http://www.sympal.nl
Reply With Quote
  #3  
Old 15th November 2006, 09:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
Default

If /root/ispconfig does not exist, ISPConfig is not installed on your server or you deleted the directory which means you will have to reinstall ISPConfig completely.

Please post the output of:

ls -la /root/ispconfig

when you are logged in as root user.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 15th November 2006, 09:36
BčrKessels BčrKessels is offline
Junior Member
 
Join Date: Nov 2006
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via Skype™ to BčrKessels
Default pit was a problem with my sudo

Somehow sudo did not return any items
Code:
$ sudo ls -hal /root/ispconfig
returns nothing, while
Code:
$ sudo su
Code:
$ ls -hal /root/ispconfig
does return entries.

So: sorry, my fault. I was really surprised but your hint to 'log in as root' pointed me to the 'broken' sudo config.

Thanks. And call this 'closed'
__________________
Drupal development: http://webschuur.com | Drupal hosting: http://www.sympal.nl
Reply With Quote
  #5  
Old 15th November 2006, 09:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
 
Default

Now you know the reason why we always recommend to not use sudo Sometimes you will get the strangest results when you dont use the "real" root account
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
crontab in detail sysconfig Suggest HOWTO 0 4th November 2006 10:38
jamed up my table borders?? Boon-Dog-Danny Installation/Configuration 5 23rd September 2006 16:12
I'm dying! m u r Installation/Configuration 41 17th September 2006 13:44
phpmyadmin configuration problem pushembekar Installation/Configuration 8 9th March 2006 21:48
/stats doesn't work (password not accepted) Hellbound General 6 15th September 2005 15:34


All times are GMT +2. The time now is 00:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.