<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 9/02/2010 4:48 AM, Richard C. Barker Sr. wrote:
<blockquote cite="mid:4B704E8A.8010002@probass.com" type="cite">
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
  <font size="-1">Getting these errors running a cron job daily.<br>
  <br>
error:<br>
server crond[18717]: <br>
CRON(root)ERROR: cannot set security context ftruncate() failed:
(Invalid argument)<br>
  </font></blockquote>
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.<br>
<br>
<blockquote cite="mid:4B704E8A.8010002@probass.com" type="cite"><font
 size="-1">Also these errors.<br>
  <br>
/etc/cron.daily/sitemap:<br>
PHP Warning:<br>
include(): open_basedir restriction in effect. File(./index.php) is not
within the allowed <br>
path(s): (/tmp/:/var/lib/php/session/) in
/home/.sites/123/site19/web/generator/runcrawl.php(2) <br>
: eval()'d code on line 12<br>
  <br>
PHP Warning:<br>
include(): open_basedir restriction in effect. File(./index.php) is not
within the allowed <br>
path(s): (/tmp/:/var/lib/php/session/) in
/home/.sites/132/site21/web/generator/runcrawl.php(2) <br>
: eval()'d code
on line 12<br>
  <br>
  </font></blockquote>
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.<br>
<br>
<pre wrap="">--
+---------------------------------------------------------------------+
|   / \   Greg Kuhnert, <a class="moz-txt-link-abbreviated"
 href="mailto:gkuhnert@compassnetworks.com.au">gkuhnert@compassnetworks.com.au</a>               |
| <  o  > Compass Networks - Pointing you in the right direction      |
|   \ /   Come see us for BlueQuartz / BlueOnyx modules & Support.    |
+---------------------------------------------------------------------+
</pre>
<br>
</body>
</html>