#1  
Old 4th February 2010, 22:37
Nicke Nicke is offline
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 8
Thanked 14 Times in 9 Posts
Default crontab -r (doh!)

I managed to remove all my crontab entries by running crontab -r instead of -e.

How can i make ispconfig to reconfigure crontab?
Reply With Quote
Sponsored Links
  #2  
Old 5th February 2010, 09:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Download ispconfig 3.0.1.6 again, unpack it, run the update.php script which is in the install folder and select to reconfigure services when you get asked by the updater.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 5th February 2010, 11:57
Nicke Nicke is offline
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 8
Thanked 14 Times in 9 Posts
Default

I have used ispconfig_update.sh and now i'm running SVN so i cant do it that way?
Can someone post the contents of crontab -e?
Reply With Quote
  #4  
Old 5th February 2010, 12:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Quote:
I have used ispconfig_update.sh and now i'm running SVN so i cant do it that way?
No, as this would be a downgrade then. In your case, you will just have to run ispconfig_update.sh again and select SVN again.

Please be aware that running a svn version on production systems in not recommended. You should consider to switch back to the next stable version (3.0.2) when it gets released in a few weeks.

The content of the root crontab is:

Code:
* * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log
30 00 * * * /usr/local/ispconfig/server/cron_daily.sh > /dev/null 2>> /var/log/ispconfig/cron.log
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 5th February 2010, 12:17
Nicke Nicke is offline
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 8
Thanked 14 Times in 9 Posts
Default

Quote:
Originally Posted by till View Post
You should consider to switch back to the next stable version (3.0.2) when it gets released in a few weeks.
Thanks. I will.

I added the cron entries and cron.log tells me this:
/usr/local/ispconfig/server/server.sh: line 7: 29734 Segmentation fault /usr/bin/php -q /usr/local/ispconfig/server/server.php

I had the same problem with stable.
Reply With Quote
  #6  
Old 5th February 2010, 12:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Thats a problem with your server hardware (ram, mainboard, processor) or the php binary of your linux distriubution and not with ispconfig. Better you would have asked before you upgraded to svn as this problem is not related to ispconfig itself, so the update yould not have fised this.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 5th February 2010, 12:29
Nicke Nicke is offline
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 8
Thanked 14 Times in 9 Posts
 
Default

Quote:
Originally Posted by till View Post
Thats a problem with your server hardware (ram, mainboard, processor) or the php binary of your linux distriubution and not with ispconfig. Better you would have asked before you upgraded to svn as this problem is not related to ispconfig itself, so the update yould not have fised this.
I will look in to it. I have a VPN and all my scripts works great so i dont think it's hardware.

Thanks for your help.
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 Edwardm HOWTO-Related Questions 1 18th September 2009 15:59
Problem with a crontab job (debian 4) Reptile Server Operation 12 13th May 2008 09:52
crontab in detail sysconfig Suggest HOWTO 0 4th November 2006 10:38
Crontab issue, 2 questions jang Installation/Configuration 2 20th September 2006 19:39
crontab entries... zokahn General 2 23rd April 2006 10:55


All times are GMT +2. The time now is 03:54.


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