Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Cron job not running or unable to run on Nginx
Avatar
Banana
Member
Free Members
sp_UserOfflineSmall Offline
Oct 4, 2012 - 10:46 pm

Since migrating to Nginx i no longer see the stats update.

Here is 1 the errors:

[error] 18643#0: *164406 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: 127.0.0.1, server: localhost, request: "POST /wp-cron.php?doing_wp_cron=1349408277.9499759674072265625000 HTTP/1.0"

 

Any idea?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 4, 2012 - 10:51 pm

that is a wp file and a wp issue...  have you looked at the wp.org forum for support on the cron?

if the wp cron is not running, obviously our stats wont update since they are dependent on the cron... 

is that a one time error or frequent?

Avatar
Banana
Member
Free Members
sp_UserOfflineSmall Offline
Oct 5, 2012 - 1:51 am

It's a dns problem. bots are visiting my ip (which points to the forum) instead of the hostname causing it to redirect to index.html and so my site is trying to run http://_/wp-cron.php?*** instead (_is a blank hostname).  I fixed it by deny or forward the ip visits to another url.

But cron job is still not working properly which is not related to the above..  i will dig and report later. Thanks.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 5, 2012 - 9:47 am

okay, let us know... once you get wp cron working, you may need to take some action to get the sp cron jobs restarted (deactivate sp and then reactivate again)...  we can look at the cron inspector in toolbox to see if ours are running...

Avatar
Banana
Member
Free Members
sp_UserOfflineSmall Offline
Oct 5, 2012 - 10:31 am

sorry i made a mistake i should have posted the cron job reply here. embarassed

i tried and still the same dates/time after deactivate – reactivate

* you can delete my other posts in the other thread. 

Avatar
Banana
Member
Free Members
sp_UserOfflineSmall Offline
Oct 5, 2012 - 7:23 pm

I thought it is weird. I just woke up after 8 hrs of sleep and found the next run date for the cron all updated. it seems the timestamp of the cron is not following the time of my server.  Then i went into the settings of wp and found the timezone i left as default is UTC+0. Ok all sorted.. my bad. embarassed

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 6, 2012 - 9:22 am

good news!

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625