Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th August 2009, 00:59
blackout blackout is offline
Junior Member
 
Join Date: Aug 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default CRON JOB never finishes, multiple instances of it.

Hey, I'm running ISP Config on Ubuntu, and it seems that the CRON that runs every minute, never ends, but it DOES start again every minute, so eventually I have 1000 instances in 1000 minutes of this cron task and it crashes my server after it fills the swap up...

anyone know how to resolve this issue?
Reply With Quote
Sponsored Links
  #2  
Old 15th August 2009, 14:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Can you disable that cron job, kill all running instances of it and then run it manually? Do you get any errors?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 15th August 2009, 15:50
blackout blackout is offline
Junior Member
 
Join Date: Aug 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

when i tried to disable and run, my shell just froze waiting for it to complete... so same thing
Reply With Quote
  #4  
Old 16th August 2009, 13:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

There is a bug in maildirmake that may cause this. Instead of throwing an error message the maildirmake command can freeze under certian circumstances. We added a workaround for this in SVN.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 16th August 2009, 16:42
blackout blackout is offline
Junior Member
 
Join Date: Aug 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
There is a bug in maildirmake that may cause this. Instead of throwing an error message the maildirmake command can freeze under certian circumstances. We added a workaround for this in SVN.
So what do I do to be able to use ISPConfig again? and this does make sense, because before the server started crashing, i was unable to add another email account, and it was all downhill from there.
Reply With Quote
  #6  
Old 16th August 2009, 16:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

Before you update from svn, make a backup of your ispconfig database. Then:

Update ISPConfig from SVN:

1) Install subsversion client, for Ubuntu and debian it is:

apt-get install subversion

2) Run the script:

ispconfig_update.sh

and select SVN as update method.

Warning: It is normally not recommended to update to svn on a production system!! In this case, todays svn revision is identical to what we plan to release as 3.0.1.4 beta 2, so its ok. Tomorrow it might not be ok anymore. So the above solution is just for this special case today and not a general recommendation.

3) kill all ispconfig cron processes and then run the command:

rm -f /usr/local/ispconfig/temp/.ispconfig_lock

to remove the lock file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 17th August 2009, 04:33
blackout blackout is offline
Junior Member
 
Join Date: Aug 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hey, thanks a lot, I've resolved all my problems with the help of this, and one other post on HowToForge.

Thanks Again.
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
webalizer cron job not running bolero Installation/Configuration 2 2nd June 2009 14:09
How to create a Cron job for ISPconfig AngelDrago HOWTO-Related Questions 1 13th January 2009 15:30
Cron job failure report torusturtle General 5 18th July 2008 15:13
wget cron job bschultz Programming/Scripts 9 12th September 2007 19:53
cron job modified after upgrading V 2.2.5 jfruano Installation/Configuration 1 21st July 2006 13:31


All times are GMT +2. The time now is 08:33.


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