#1  
Old 19th August 2012, 17:24
erkan erkan is offline
Senior Member
 
Join Date: May 2012
Posts: 106
Thanks: 0
Thanked 1 Time in 1 Post
Default Cron job has stopped working

Hi

This is strange. One och my cron jobs have stopped working. I have severall and in my logs on my site I can see them running when they should but one of them isn´t running at all now.

It stopped runnig yesterday after updated my server to the latest PHP and MySql version. PHP 5.3.16 and MySql 5.5.27.

I have ISPConfig 3.0.4.6.

The cron job in question is a URL cron job, the URL is:

http://www.fotoforalla.se/index.php?...nity&task=cron

I have other similar cron jobs but they run fine.
Reply With Quote
Sponsored Links
  #2  
Old 19th August 2012, 17:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,006
Thanks: 826
Thanked 5,377 Times in 4,224 Posts
Default

Please take a look into the file /var/log/syslog and search for cron errors.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th August 2012, 18:03
erkan erkan is offline
Senior Member
 
Join Date: May 2012
Posts: 106
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes there are severall pages with this:

Aug 19 17:55:01 d64 /USR/SBIN/CRON[17714]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Aug 19 17:55:01 d64 /USR/SBIN/CRON[17715]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Aug 19 17:55:01 d64 pure-ftpd: (?@::1) [INFO] New connection from ::1
Aug 19 17:55:01 d64 pure-ftpd: (?@::1) [INFO] Logout.
Aug 19 17:55:01 d64 imapd: Connection, ip=[::1]
Aug 19 17:55:01 d64 imapd: Disconnected, ip=[::1], time=0
Aug 19 17:55:01 d64 pop3d: Connection, ip=[::1]
Aug 19 17:55:01 d64 pop3d: Disconnected, ip=[::1]
Aug 19 17:55:01 d64 postfix/smtpd[17780]: connect from localhost.localdomain[127.0.0.1]
Aug 19 17:55:01 d64 postfix/smtpd[17780]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Aug 19 17:55:01 d64 postfix/smtpd[17780]: disconnect from localhost.localdomain[127.0.0.1]
Aug 19 17:55:15 d64 suhosin[9423]: ALERT - script tried to increase memory_limit to 2147483648 bytes which is above the allowed value (attacker '66.249.72.115', file '/var/www/fotoforalla.se/web/index.php')
Aug 19 17:55:36 d64 suhosin[20407]: ALERT - script tried to increase memory_limit to 2147483648 bytes which is above the allowed value (attacker '66.249.72.115', file '/var/www/fotoforalla.se/web/index.php')
Aug 19 17:55:40 d64 suhosin[20407]: ALERT - script tried to increase memory_limit to 2147483648 bytes which is above the allowed value (attacker '66.249.73.18', file '/var/www/fotoforalla.se/web/index.php')
Aug 19 17:55:48 d64 suhosin[15387]: ALERT - script tried to increase memory_limit to 2147483648 bytes which is above the allowed value (attacker '66.249.66.134', file '/var/www/fotoforalla.se/web/index.php')
Aug 19 17:55:53 d64 suhosin[15387]: ALERT - script tried to increase memory_limit to 2147483648 bytes which is above the allowed value (attacker '66.249.66.134', file '/var/www/fotoforalla.se/web/index.php')
Aug 19 17:56:01 d64 /USR/SBIN/CRON[19560]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Aug 19 17:56:38 d64 suhosin[9423]: ALERT - script tried to increase memory_limit to 2147483648 bytes which is above the allowed value (attacker '74.125.78.83', file '/var/www/fotoforalla.se/web/index.php')
Aug 19 17:56:59 d64 suhosin[20407]: ALERT - script tried to increase memory_limit to 2147483648 bytes which is above the allowed value (attacker '66.249.66.134', file '/var/www/fotoforalla.se/web/index.php')
Aug 19 17:57:01 d64 /USR/SBIN/CRON[20247]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Aug 19 17:57:11 d64 suhosin[15387]: ALERT - script tried to increase memory_limit to 2147483648 bytes which is above the allowed value (attacker '87.227.67.23', file '/var/www/fotoforalla.se/web/index.php')

Could this have something to do with that I edited my Joomla htaccess file after reading this:

http://magazine.joomla.org/issues/Is...medium=twitter

I added the new lines of htaccess code from that article.
Reply With Quote
  #4  
Old 19th August 2012, 20:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,006
Thanks: 826
Thanked 5,377 Times in 4,224 Posts
Default

Quote:
Could this have something to do with that I edited my Joomla htaccess file after reading this:
Yes, this can be the case. You should undo the changes and then test the cronjob again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 19th August 2012, 21:09
erkan erkan is offline
Senior Member
 
Join Date: May 2012
Posts: 106
Thanks: 0
Thanked 1 Time in 1 Post
Default

No it didn´t work, the cron job still doesn´t work and I still get the same error messages in my log.

Could it be some problem with ISPConfig och PHP 5.3.16?
Reply With Quote
  #6  
Old 19th August 2012, 21:12
erkan erkan is offline
Senior Member
 
Join Date: May 2012
Posts: 106
Thanks: 0
Thanked 1 Time in 1 Post
Default

Or wait, the cron job seems to work now, but I still get the same error messages in my log, it is still the same messages but there are new ones every minute.
Reply With Quote
  #7  
Old 20th August 2012, 10:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You mean these messages?
Quote:
Aug 19 17:57:11 d64 suhosin[15387]: ALERT - script tried to increase memory_limit to 2147483648 bytes which is above the allowed value (attacker '87.227.67.23', file '/var/www/fotoforalla.se/web/index.php')
That seems to be an attacker and has nothing to do with your cron jobs or PHP version.
__________________
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
  #8  
Old 20th August 2012, 10:55
erkan erkan is offline
Senior Member
 
Join Date: May 2012
Posts: 106
Thanks: 0
Thanked 1 Time in 1 Post
Default

Ok I see, is there something I can do about that or should I just leave it?
Reply With Quote
  #9  
Old 20th August 2012, 12:41
erkan erkan is offline
Senior Member
 
Join Date: May 2012
Posts: 106
Thanks: 0
Thanked 1 Time in 1 Post
Default

Ater I removed my changes to the htaccess file the cronjob worked once but now it has stopped working again.
Reply With Quote
  #10  
Old 21st August 2012, 13:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Can you post your cron job here?

Are there any cron errors in your logs?
__________________
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
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
Cron isn´t working erkan Installation/Configuration 2 26th May 2012 19:30
Cron Job not working asn General 4 13th September 2011 12:54
Cron Job delgado2061 Installation/Configuration 0 1st January 2011 03:09
Problem getting cron job to run and in need of help :) MrCompTech General 7 27th July 2010 09:50
Cron job question autogun General 2 22nd December 2009 11:54


All times are GMT +2. The time now is 22:26.


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