Plesk Zend / PHP Problem

Discussion in 'Apache' started by Zion Ahead, Dec 11, 2006.

  1. #1
    httpd stops by itself a few times a week, and does not restart. I have to manually go and start it.

    I just had to restart it today at 10:25 am Central Time.

    Logs:

    Sat & Sun:
    ...................
    /var/www/vhosts/default/htdocs/mysql-admin
    [client 206.170.188.194] script '/var/www/vhosts/default/htdocs/main.php' not found or unable to stat
    [Sat Dec 09 04:37:33 2006] [error] [client 206.170.188.194] File does not exist: /var/www/vhosts/default/htdocs/phpMyAdmin-2.5.6
    [Sat Dec 09 04:37:33 2006] [error] [client 206.170.188.194] File does not exist: /var/www/vhosts/default/htdocs/phpMyAdmin-2.5.4
    [Sat Dec 09 04:37:33 2006] [error] [client 206.170.188.194] File does not exist: /var/www/vhosts/default/htdocs/phpMyAdmin-2.5.1
    [Sat Dec 09 04:37:33 2006] [error] [client 206.170.188.194] File does not exist: /var/www/vhosts/default/htdocs/phpMyAdmin-2.2.3
    [Sat Dec 09 04:37:33 2006] [error] [client 206.170.188.194] File does not exist: /var/www/vhosts/default/htdocs/phpMyAdmin-2.2.6
    [Sat Dec 09 04:37:33 2006] [error] [client 206.170.188.194] File does not exist: /var/www/vhosts/default/htdocs/myadmin
    [Sun Dec 10 04:02:04 2006] [notice] SIGHUP received. Attempting to restart
    *** glibc detected *** double free or corruption (fasttop): 0x8039c420 ***
    [Sun Dec 10 04:02:05 2006] [notice] seg fault or similar nasty error detected in the parent process


    Today when I had to start the service manually:

    [Sun Dec 03 09:46:58 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Sun Dec 03 09:46:59 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Sun Dec 03 09:46:59 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Sun Dec 03 09:46:59 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Sun Dec 03 09:46:59 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Sun Dec 03 09:46:59 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Sun Dec 03 09:46:59 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Sun Dec 03 09:46:59 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Sun Dec 03 09:46:59 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Sun Dec 03 09:46:59 2006] [notice] Digest: generating secret for digest authentication ...
    [Sun Dec 03 09:46:59 2006] [notice] Digest: done
    [Sun Dec 03 09:46:59 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
    [Sun Dec 03 09:46:59 2006] [notice] LDAP: SSL support unavailable
    PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/pgsql.so' - libpq.so.3: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning: Zend Optimizer for PHP 4.3.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer-2.6.0/php-4.3.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0
    PHP Warning: Zend Optimizer for PHP 4.3.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer-2.6.0/php-4.3.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0
    [Sun Dec 03 09:47:00 2006] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads.
    .................................


    How do I correct this?


    [root@server ~]# locate php.ini
    /usr/local/psa/admin/conf/php.ini
    /usr/local/Zend/etc/php.ini
    /usr/local/Zend/etc/.php.ini.swp
    /etc/php.ini
    /etc/php.ini.
    /etc/php.ini-zend_optimizer.bak

    I removed Zend 3.0.2 info from /etc/php.ini but really that is not the cause, just did it for now. I did not find any trace of 2.6.0 anywhere either
     
    Zion Ahead, Dec 11, 2006 IP