Server error 500 on one of my sites

Discussion in 'Apache' started by Reikla, Feb 4, 2016.

  1. #1
    I have a VPS with OVH where I host a couple of small sites. A couple of days ago, my server went down. Logged into my control panel and noticed that my RAM usage was through the roof. One of my sites draw a lot of visitors from time to time. Contacted OVH and they told me that my server was down cause of the resources usage, so I upgraded my server immediately.

    Now, my most popular website shows a white page in Chrome, and in Firefox it says "Server error 500". The other sites works. I tried restarting the VPS, reinstalling apache and php, enabled display_errors = On, but no luck..I'm out of ideas and would love some help. OVH can't help me since Its unmanaged.

    This is my /var/log/httpd/error_log

    [Fri Feb 05 07:29:22 2016] [notice] caught SIGTERM, shutting down
    [Fri Feb 05 07:30:35 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 07:30:35 2016] [notice] Digest: generating secret for digest authentication ...
    [Fri Feb 05 07:30:35 2016] [notice] Digest: done
    [Fri Feb 05 07:30:35 2016] [error] python_init: Python version mismatch, expected '2.6.5', found '2.6.6'.
    [Fri Feb 05 07:30:35 2016] [error] python_init: Python executable found '/usr/bin/python'.
    [Fri Feb 05 07:30:35 2016] [error] python_init: Python path being used '/usr/lib64/python26.zip:/usr/lib64/python2.6/:/usr/lib64/python2.6/plat-linux2:/usr/lib64/python2.6/lib-tk:/usr/lib64/python2.6/lib-old:/usr/lib64/python2.6/lib-dynl$
    [Fri Feb 05 07:30:35 2016] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
    [Fri Feb 05 07:30:35 2016] [notice] mod_python: using mutex_directory /tmp
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:30:35 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 07:30:35 2016] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
    PHP Warning:  PHP Startup: gmp: Unable to initialize module
    Module compiled with module API=20100525
    PHP    compiled with module API=20090626
    These options need to match
    in Unknown on line 0
    [Fri Feb 05 07:44:35 2016] [notice] SIGHUP received.  Attempting to restart
    [Fri Feb 05 07:44:35 2016] [notice] Digest: generating secret for digest authentication ...
    [Fri Feb 05 07:44:35 2016] [notice] Digest: done
    [Fri Feb 05 07:44:35 2016] [error] python_init: Python version mismatch, expected '2.6.5', found '2.6.6'.
    [Fri Feb 05 07:44:35 2016] [error] python_init: Python executable found '/usr/bin/python'.
    [Fri Feb 05 07:44:35 2016] [error] python_init: Python path being used '/usr/lib64/python26.zip:/usr/lib64/python2.6/:/usr/lib64/python2.6/plat-linux2:/usr/lib64/python2.6/lib-tk:/usr/lib64/python2.6/lib-old:/usr/lib64/python2.6/lib-dynl$
    [Fri Feb 05 07:44:35 2016] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
    [Fri Feb 05 07:44:35 2016] [notice] mod_python: using mutex_directory /tmp
    [Fri Feb 05 07:44:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:35 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:35 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 07:44:35 2016] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
    [Fri Feb 05 07:44:52 2016] [notice] caught SIGTERM, shutting down
    [Fri Feb 05 07:44:53 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 07:44:53 2016] [notice] Digest: generating secret for digest authentication ...
    [Fri Feb 05 07:44:53 2016] [notice] Digest: done
    [Fri Feb 05 07:44:53 2016] [error] python_init: Python version mismatch, expected '2.6.5', found '2.6.6'.
    [Fri Feb 05 07:44:53 2016] [error] python_init: Python executable found '/usr/bin/python'.
    [Fri Feb 05 07:44:53 2016] [error] python_init: Python path being used '/usr/lib64/python26.zip:/usr/lib64/python2.6/:/usr/lib64/python2.6/plat-linux2:/usr/lib64/python2.6/lib-tk:/usr/lib64/python2.6/lib-old:/usr/lib64/python2.6/lib-dynl$
    [Fri Feb 05 07:44:53 2016] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
    [Fri Feb 05 07:44:53 2016] [notice] mod_python: using mutex_directory /tmp
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:44:53 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 07:44:53 2016] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
    [Fri Feb 05 07:54:26 2016] [notice] caught SIGTERM, shutting down
    [Fri Feb 05 07:54:27 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 07:54:27 2016] [notice] Digest: generating secret for digest authentication ...
    [Fri Feb 05 07:54:27 2016] [notice] Digest: done
    [Fri Feb 05 07:54:27 2016] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
    [Fri Feb 05 07:54:27 2016] [notice] mod_python: using mutex_directory /tmp
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 07:54:27 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 07:54:27 2016] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
    [Fri Feb 05 08:06:18 2016] [notice] caught SIGTERM, shutting down
    [Fri Feb 05 08:06:19 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 08:06:19 2016] [notice] Digest: generating secret for digest authentication ...
    [Fri Feb 05 08:06:19 2016] [notice] Digest: done
    [Fri Feb 05 08:06:19 2016] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
    [Fri Feb 05 08:06:19 2016] [notice] mod_python: using mutex_directory /tmp
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:19 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 08:06:19 2016] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
    [Fri Feb 05 08:06:47 2016] [notice] caught SIGTERM, shutting down
    [Fri Feb 05 08:06:48 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 08:06:48 2016] [notice] Digest: generating secret for digest authentication ...
    [Fri Feb 05 08:06:48 2016] [notice] Digest: done
    [Fri Feb 05 08:06:48 2016] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
    [Fri Feb 05 08:06:48 2016] [notice] mod_python: using mutex_directory /tmp
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:06:48 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 08:06:48 2016] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
    [Fri Feb 05 08:12:49 2016] [notice] caught SIGTERM, shutting down
    [Fri Feb 05 08:12:50 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 08:12:50 2016] [notice] Digest: generating secret for digest authentication ...
    [Fri Feb 05 08:12:50 2016] [notice] Digest: done
    [Fri Feb 05 08:12:50 2016] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
    [Fri Feb 05 08:12:50 2016] [notice] mod_python: using mutex_directory /tmp
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Fri Feb 05 08:12:50 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Fri Feb 05 08:12:50 2016] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
    
    Code (ApacheConf):
    Server runs PHP 5.4.45.
     
    Reikla, Feb 4, 2016 IP
  2. th.sigit

    th.sigit Well-Known Member

    Messages:
    178
    Likes Received:
    32
    Best Answers:
    1
    Trophy Points:
    185
    #2
    Just a rough guess:

    From http://wiki.dreamhost.com/Suexec

    Alternatively try to check your doc_root .htaccess to see if some old rules do not work with the new server setup.
     
    th.sigit, Feb 9, 2016 IP