[BlueOnyx:03559] Re: errors running a cron job

Darrell D. Mobley dmobley at uhostme.com
Wed Feb 10 15:30:48 -05 2010


> -----Original Message-----
> From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it]
> On Behalf Of Richard C. Barker Sr.
> Sent: Tuesday, February 09, 2010 12:06 PM
> To: blueonyx at blueonyx.it
> Subject: [BlueOnyx:03533] errors running a cron job
> 
> Getting these errors running a cron job daily.
> 
> error:
> server crond[18717]:
> CRON(root)ERROR: cannot set security context ftruncate() failed:
> (Invalid argument)
> 
> Also these errors.
> 
> /etc/cron.daily/sitemap:
> PHP Warning:
> include(): open_basedir restriction in effect. File(./index.php) is not
> within the allowed
> path(s): (/tmp/:/var/lib/php/session/) in
> /home/.sites/123/site19/web/generator/runcrawl.php(2)
> : eval()'d code on line 12
> 
> PHP Warning:
> include(): open_basedir restriction in effect. File(./index.php) is not
> within the allowed
> path(s): (/tmp/:/var/lib/php/session/) in
> /home/.sites/132/site21/web/generator/runcrawl.php(2)
> : eval()'d code on line 12
> 
> What am I missing or not understanding

It looks like your site's absolute path is not in the OpenBaseDir
configuration.

It should look like:

/tmp/:/var/lib/php/session/:/home/.sites/132/site21




More information about the Blueonyx mailing list