#1  
Old 9th April 2012, 18:49
AzaraT AzaraT is offline
Junior Member
 
Join Date: Dec 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig 3 cronjob not running

Hi,

I just installed ISPConfig 3 on CentOS 5.8. However it seems like the cronjob is not running as it should, as things in the jobqueue just stacks up.

Checking if the cronjob is setup as it should I get:
Code:
# crontab -u root -l
* * * * * /usr/local/ispconfig/server/server.sh &> /dev/null
30 00 * * * /usr/local/ispconfig/server/cron_daily.sh &> /dev/null
0 0 * * * /usr/local/ispconfig/server/scripts/create_daily_nginx_access_logs.sh &> /dev/null
so it seems to be setup correctly.

Secondly if I run the script /usr/local/ispconfig/server/server.sh manually the jobqueue is being emptied and everything seems to work as it should.

Any help is much appreciated
Reply With Quote
Sponsored Links
  #2  
Old 10th April 2012, 20:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Are there any cron errors in your syslog?

Is SELinux disabled?
__________________
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 11th April 2012, 20:01
AzaraT AzaraT is offline
Junior Member
 
Join Date: Dec 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi,

Yes SELinux is indeed disabled and I've verified that via the command "sestatus".

In the syslog after putting it into debug mode I find the following:
Code:
There is already a lockfile set. Waiting another 10 seconds...
And trying to run the script in CMD myself I get an error that the script is already running.

Trying to remove the log file:
I get: /usr/local/ispconfig/server/temp/.ispconfig_lock
Code:
2012-04-11 18:16	server1.azaratmusic.com	Debug	There is already a lockfile set. Waiting another 10 seconds...	
2012-04-11 18:16	server1.azaratmusic.com	Debug	There is already a lockfile set. Waiting another 10 seconds...	
2012-04-11 18:15	server1.azaratmusic.com	Debug	Found 4 changes, starting update process.
Edit2:

Secondly I tried removing the lockfile and running the script manually and that showed me the following error:

Code:
PHP Parse error:  syntax error, unexpected '=' in /usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php on line 494
edit3:
However that seemed to be a stupid error on my part because I wanted to change some code on that line and I missed the ==.

It all seems to be working fine now

Last edited by AzaraT; 11th April 2012 at 20:23.
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
ISPConfig 3 not following website path midcarolina General 7 17th January 2012 21:17
SquirrelMail login not working glenneh Installation/Configuration 13 9th April 2011 20:01
Ispconfig and Mail quese shridhar Installation/Configuration 2 8th August 2009 10:36
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 22:47
do i need ispconfig running? PortMan General 3 28th July 2006 09:13


All times are GMT +2. The time now is 11:02.


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