• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

sitebuilder cron job errors

B

basic612

Guest
Hi - I recently installed the Zend Optimizer on our Centos 4.3 / Plesk 8 server and since then I have noticed these error messages from cron jobs:


+++++++++++++++++++++++++++++++++++++++++++++++
/usr/bin/php /usr/local/sitebuilder/modules/statistics/stat_parse.php
+++++++++++++++++++++++++++++++++++++++++++++++

PHP Warning: main(/usr/local/sitebuilder/modules/statistics/../../include/config.php): failed to open stream: No such file or directory in /usr/local/sitebuilder/modules/statistics/stat_parse.php on line 6
PHP Fatal error: main(): Failed opening required '/usr/local/sitebuilder/modules/statistics/../../include/config.php' (include_path='.:') in /usr/local/sitebuilder/modules/statistics/stat_parse.php on line 6
Content-type: text/html
X-Powered-By: PHP/4.3.9

*** glibc detected *** corrupted double-linked list: 0x08752110 ***



+++++++++++++++++++++++++++++++++++++++++++++++
/usr/bin/php /usr/local/sitebuilder/htdocs/keyupdate.php > /dev/null 2>&1
+++++++++++++++++++++++++++++++++++++++++++++++

/bin/bash: line 1: 25451 Aborted /usr/bin/php /usr/local/sitebuilder/htdocs/keyupdate.php >/dev/null 2>&1



+++++++++++++++++++++++++++++++++++++++++++++++
/usr/bin/php /usr/local/sitebuilder/htdocs/clearguests.php > /dev/null 2>&1
+++++++++++++++++++++++++++++++++++++++++++++++

/bin/bash: line 1: 25536 Aborted /usr/bin/php /usr/local/sitebuilder/htdocs/clearguests.php >/dev/null 2>&1




I am not too sure why these have started cropping up, I am not using sitebuilder on our server and don't plan to.

Should I be concerned about these, and does anyone have any idea why they are happening / what I might do to fix any problems.

Thanks,

Dan.
 
I also experience an error similar to the first one on your list (cronjob at 12:01AM every day). I also use Zend Optimizer but I noticed these errors even before it was installed.

The log output is:

PHP Warning: main(/usr/local/sitebuilder/modules/statistics/../../include/config.php): failed to open stream: No such file or directory in /usr/local/sitebuilder/modules/statistics/stat_parse.php on line 6 PHP Fatal error: main(): Failed opening required '/usr/local/sitebuilder/modules/statistics/../../include/config.php' (include_path='.:') in /usr/local/sitebuilder/modules/statistics/stat_parse.php on line 6
 
probably zo 3

hi,

i had the same problem. it was solved by using zend optimizer
ZendOptimizer-2.6.2-linux-glibc21-i386.tar.gz instead of ZendOptimizer-3.0.0-linux-glibc21-i386.tar.gz
 
Hello
I am also getting following errors of the cron entry of sitebuilder

PHP Warning: main(/usr/local/sitebuilder/modules/statistics/../../include/config.php): failed to open stream: No such file or directory in /usr/local/sitebuilder/modules/statistics/stat_parse.php on line 6
PHP Fatal error: main(): Failed opening required '/usr/local/sitebuilder/modules/statistics/../../include/config.php' (include_path='.:/usr/share/pear') in /usr/local/sitebuilder/modules/statistics/stat_parse.php on line 6
Content-type: text/html

X-Powered-By: PHP/4.3.11



I also get PHP error on all other script that called as full absolute path and have some include files of parent dir.

For eg.
/usr/bin/php /var/www/vhosts/domainname.com/httpdocs/crons/admin_mail.php
has an include "../connetion.inc"; and it give folowing warning

PHP Warning: main(../connection.inc): failed to open stream: No such file or directory in /var/www/vhosts/domainname.com/httpdocs/crons/admin_mail.php on line 4


My server is Fedora Core 4 with Plesk 8.0

Have anyone also faced such problem? any solutions for this

Thanks
 
Let me explain, just in case anyone else has this problem (though it's unlikely cause I think it only happens for Sitebuilder 2.x)

This error is thrown out because file /usr/local/sitebuilder/include/config.php is really absent.

In turn if this file is absent it most probably means that Sitebuilder was not configured after the installation (or - somebody or something deleted this file).

If Sitebuilder was not configured - you probably don't use it, because it cannot be used unless configured properly :)

So, the solution is:

1) If you do not need Sitebuilder - just remove/comment those cron tasks, that's it.

2) If you need Sitebuilder - configure it, by opening up http://sitebuilder.hostname (by default it should be accessible by this URL, but it might be different in your case of course) and following the instructions. During this configuration config.php should be created by Sitebuilder installation scripts and everything should work OK.
 
Back
Top