aaronvegh
10-25-2007, 08:55 AM
Hi there,
I've been using 12all for a couple years now. Yesterday, I upgraded my server to PHP 5 and MySQL 5 (formerly 4 of both). Now, although the application is apparently working okay, the cron jobs are sending me errors to my email. I'm getting errors from three of the crons: cron.php, cron_responder.php and cron_pop.php.
From cron.php:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/sqlite.so' - /usr/lib/php/modules/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
from cron_responder.php and from cron_pop.php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/sqlite.so' - /usr/lib/php/modules/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
<div style="position:absolute; top:0px; left:0;"><div style="padding:2px; width:100px; border-bottom:1px dashed #FFCC00; border-right:1px dashed #FFCC00; background:#FFFBDD;"><a href="javascript:void(0)" onclick="var x = document.getElementById('17e59emain'); x.style.display = (x.style.display=='none' ? 'block' : 'none')" style="font-size:10px; color:#FF9900; text-decoration:none;"> + Error Occured </a></div>
<div class="trapperr" style="display: none; padding:20px; font-size:10px; background:#FFFBDD; border:1px dashed #FFCC00; width:400px; position:relative; top:5px; left:0px;"id="17e59emain">
<i>File Location:</i> <b>Unknown</b><br />
<i>Line:</i> <b>0</b><br />
<i>Message:</i> <b>Unknown: open(/var/lib/php/session/sess_5konn4iruc7oj05ngptne6b206, O_RDWR) failed: Permission denied (13)</b><br />
<i>Error Type:</i> <b>Warning</b>, <i>Error Number:</i> <b>2</b><br />
<i>Address:</i> <b><my site>/12all/admin/cron_responder.php</b><br />
<i>Session:</i> <b>5konn4iruc7oj05ngptne6b206</b><br />
<i>User:</i> <b>0</b><br />
<i>Host:</i> <b>localhost.localdomain</b>, <i>IP:</i> <b>127.0.0.1</b><br />
<i>Date:</i> <b>6:59:02, 25. 10. 2007. (EDT)</b><br />
<a href="javascript:void(0)" onclick="var x = document.getElementById('17e59evars'); x.style.display = (x.style.display=='none' ? 'block' : 'none')">Vars</a> ·
<a href="javascript:void(0)" onclick="var x = document.getElementById('17e59etrace'); x.style.display = (x.style.display=='none' ? 'block' : 'none')">Trace</a><br />
<div class="trapperr_vars" id="17e59evars" style="display: none; border: 1px solid Black;">
<i>Vars:</i><br />
<pre></pre>
</div>
<div class="trapperr_trace" id="17e59etrace" style="display: none; border: 1px solid Black;">
<i>Backtrace:</i><br />
<pre></pre>
</div>
</div>
</div>
<div style="position:absolute; top:0px; left:100;"><div style="padding:2px; width:100px; border-bottom:1px dashed #FFCC00; border-right:1px dashed #FFCC00; background:#FFFBDD;"><a href="javascript:void(0)" onclick="var x = document.getElementById('ca4a94main'); x.style.display = (x.style.display=='none' ? 'block' : 'none')" style="font-size:10px; color:#FF9900; text-decoration:none;"> + Error Occured </a></div>
<div class="trapperr" style="display: none; padding:20px; font-size:10px; background:#FFFBDD; border:1px dashed #FFCC00; width:400px; position:relative; top:5px; left:0px;"id="ca4a94main">
<i>File Location:</i> <b>Unknown</b><br />
<i>Line:</i> <b>0</b><br />
<i>Message:</i> <b>Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session)</b><br />
<i>Error Type:</i> <b>Warning</b>, <i>Error Number:</i> <b>2</b><br />
<i>Address:</i> <b><my site>/12all/admin/cron_responder.php</b><br />
<i>Session:</i> <b>5konn4iruc7oj05ngptne6b206</b><br />
<i>User:</i> <b>0</b><br />
<i>Host:</i> <b>localhost.localdomain</b>, <i>IP:</i> <b>127.0.0.1</b><br />
<i>Date:</i> <b>6:59:02, 25. 10. 2007. (EDT)</b><br />
<a href="javascript:void(0)" onclick="var x = document.getElementById('ca4a94vars'); x.style.display = (x.style.display=='none' ? 'block' : 'none')">Vars</a> ·
<a href="javascript:void(0)" onclick="var x = document.getElementById('ca4a94trace'); x.style.display = (x.style.display=='none' ? 'block' : 'none')">Trace</a><br />
<div class="trapperr_vars" id="ca4a94vars" style="display: none; border: 1px solid Black;">
<i>Vars:</i><br />
<pre></pre>
</div>
<div class="trapperr_trace" id="ca4a94trace" style="display: none; border: 1px solid Black;">
<i>Backtrace:</i><br />
<pre></pre>
</div>
</div>
</div>
The complaint about sqlite.so seems to be because, with PHP 4, I had the module installed separately, but of course it's not necessary anymore with PHP5, which includes it.
I upgraded to the latest version of 12all, and I've tried routing the cron output to /dev/null. These emails are coming every 15 minutes, and it's starting to drive me crazy. Any help would be appreciated!
Thanks,
Aaron.
I've been using 12all for a couple years now. Yesterday, I upgraded my server to PHP 5 and MySQL 5 (formerly 4 of both). Now, although the application is apparently working okay, the cron jobs are sending me errors to my email. I'm getting errors from three of the crons: cron.php, cron_responder.php and cron_pop.php.
From cron.php:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/sqlite.so' - /usr/lib/php/modules/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
from cron_responder.php and from cron_pop.php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/sqlite.so' - /usr/lib/php/modules/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
<div style="position:absolute; top:0px; left:0;"><div style="padding:2px; width:100px; border-bottom:1px dashed #FFCC00; border-right:1px dashed #FFCC00; background:#FFFBDD;"><a href="javascript:void(0)" onclick="var x = document.getElementById('17e59emain'); x.style.display = (x.style.display=='none' ? 'block' : 'none')" style="font-size:10px; color:#FF9900; text-decoration:none;"> + Error Occured </a></div>
<div class="trapperr" style="display: none; padding:20px; font-size:10px; background:#FFFBDD; border:1px dashed #FFCC00; width:400px; position:relative; top:5px; left:0px;"id="17e59emain">
<i>File Location:</i> <b>Unknown</b><br />
<i>Line:</i> <b>0</b><br />
<i>Message:</i> <b>Unknown: open(/var/lib/php/session/sess_5konn4iruc7oj05ngptne6b206, O_RDWR) failed: Permission denied (13)</b><br />
<i>Error Type:</i> <b>Warning</b>, <i>Error Number:</i> <b>2</b><br />
<i>Address:</i> <b><my site>/12all/admin/cron_responder.php</b><br />
<i>Session:</i> <b>5konn4iruc7oj05ngptne6b206</b><br />
<i>User:</i> <b>0</b><br />
<i>Host:</i> <b>localhost.localdomain</b>, <i>IP:</i> <b>127.0.0.1</b><br />
<i>Date:</i> <b>6:59:02, 25. 10. 2007. (EDT)</b><br />
<a href="javascript:void(0)" onclick="var x = document.getElementById('17e59evars'); x.style.display = (x.style.display=='none' ? 'block' : 'none')">Vars</a> ·
<a href="javascript:void(0)" onclick="var x = document.getElementById('17e59etrace'); x.style.display = (x.style.display=='none' ? 'block' : 'none')">Trace</a><br />
<div class="trapperr_vars" id="17e59evars" style="display: none; border: 1px solid Black;">
<i>Vars:</i><br />
<pre></pre>
</div>
<div class="trapperr_trace" id="17e59etrace" style="display: none; border: 1px solid Black;">
<i>Backtrace:</i><br />
<pre></pre>
</div>
</div>
</div>
<div style="position:absolute; top:0px; left:100;"><div style="padding:2px; width:100px; border-bottom:1px dashed #FFCC00; border-right:1px dashed #FFCC00; background:#FFFBDD;"><a href="javascript:void(0)" onclick="var x = document.getElementById('ca4a94main'); x.style.display = (x.style.display=='none' ? 'block' : 'none')" style="font-size:10px; color:#FF9900; text-decoration:none;"> + Error Occured </a></div>
<div class="trapperr" style="display: none; padding:20px; font-size:10px; background:#FFFBDD; border:1px dashed #FFCC00; width:400px; position:relative; top:5px; left:0px;"id="ca4a94main">
<i>File Location:</i> <b>Unknown</b><br />
<i>Line:</i> <b>0</b><br />
<i>Message:</i> <b>Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session)</b><br />
<i>Error Type:</i> <b>Warning</b>, <i>Error Number:</i> <b>2</b><br />
<i>Address:</i> <b><my site>/12all/admin/cron_responder.php</b><br />
<i>Session:</i> <b>5konn4iruc7oj05ngptne6b206</b><br />
<i>User:</i> <b>0</b><br />
<i>Host:</i> <b>localhost.localdomain</b>, <i>IP:</i> <b>127.0.0.1</b><br />
<i>Date:</i> <b>6:59:02, 25. 10. 2007. (EDT)</b><br />
<a href="javascript:void(0)" onclick="var x = document.getElementById('ca4a94vars'); x.style.display = (x.style.display=='none' ? 'block' : 'none')">Vars</a> ·
<a href="javascript:void(0)" onclick="var x = document.getElementById('ca4a94trace'); x.style.display = (x.style.display=='none' ? 'block' : 'none')">Trace</a><br />
<div class="trapperr_vars" id="ca4a94vars" style="display: none; border: 1px solid Black;">
<i>Vars:</i><br />
<pre></pre>
</div>
<div class="trapperr_trace" id="ca4a94trace" style="display: none; border: 1px solid Black;">
<i>Backtrace:</i><br />
<pre></pre>
</div>
</div>
</div>
The complaint about sqlite.so seems to be because, with PHP 4, I had the module installed separately, but of course it's not necessary anymore with PHP5, which includes it.
I upgraded to the latest version of 12all, and I've tried routing the cron output to /dev/null. These emails are coming every 15 minutes, and it's starting to drive me crazy. Any help would be appreciated!
Thanks,
Aaron.
