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

Greg Kuhnert greg.kuhnert at theanchoragesylvania.com
Tue Feb 9 17:23:01 -05 2010


On 9/02/2010 4:48 AM, Richard C. Barker Sr. wrote:
> Getting these errors running a cron job daily.
>
> error:
> server crond[18717]:
> CRON(root)ERROR: cannot set security context ftruncate() failed: 
> (Invalid argument)
To know what to do - you need to know which job is causing the problem - 
manually run the jobs to work out which one is failing. Once you know 
that, you should then find out what the script is trying to do. It may 
be a simple directory permissions problem.

> 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
>
Speak to the author of that script. Opening files with the name 
"./index.php" is not the smartest way to reference a file. What can you 
do as a workaround? Disable the security features that are built into 
BX.... Not a good idea.

--
+---------------------------------------------------------------------+
|   / \   Greg Kuhnert,gkuhnert at compassnetworks.com.au                |
|<   o>  Compass Networks - Pointing you in the right direction      |
|   \ /   Come see us for BlueQuartz / BlueOnyx modules&  Support.    |
+---------------------------------------------------------------------+


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20100210/d55316c6/attachment.html>


More information about the Blueonyx mailing list