1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

sitebuilder cron job errors

Discussion in 'Plesk for Linux - 8.x and Older' started by basic612, Apr 30, 2006.

  1. basic612

    basic612 Guest

    0
     
    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.
     
  2. crossconnect

    crossconnect Guest

    0
     
    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
     
  3. saint

    saint Guest

    0
     
    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
     
  4. jainnaren

    jainnaren Guest

    0
     
    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
     
  5. realaaa@

    realaaa@ Basic Pleskian

    23
    70%
    Joined:
    Mar 16, 2006
    Messages:
    67
    Likes Received:
    0
    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.
     
Loading...