error caused by cron.php

error caused by cron.php

by Chris Hayes -
Number of replies: 2
hi, can you please help me get started on solving this:


May 20 07:09:20 ns1 named[15996]: client 212.19.199.***#2161: update 'sense.nl/IN' denied
May 20 07:13:26 ns1 named[15996]: client 212.19.199.***#2169: update 'sense.nl/IN' denied

I am pretty good with PHP but not with permissions.
My ISP says these lines mean that cron.php is executed but denied from root. And that that means that the process can only run within the domain.
What does denied from root mean?
When i run cron.php from a browser i get a success message.

this seems to be right:
$CFG->dirroot = '/home/virtual/site82/fst/var/www/html/moodle';

and this too:
$CFG->dataroot = '/home/virtual/site82/fst/var/www/cgi-bin/moodledata';

help?
Chris
chris.hayes@sense.nl

Average of ratings: -
In reply to Chris Hayes

Re: error caused by cron.php

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
I don't think these errors are anything to do with cron or Moodle ... "named" is the name daemon ... ie the DNS server on that machine.

Perhaps they have some unusual checking in place ... have you tried referring to your server (in the cron command) using the IP number instead of the DNS name?
In reply to Chris Hayes

Re: error caused by cron.php

by John Gone -
Hi Chris,


Just wondering if you've found a resolution to this CRON issue? If you did would you mind letting us know what the resolution was? I'm trying to document CRON issues and resolutions.


Thanks in advance for your feedback


John