Apache2 Crashing this night.

  • Hello,


    this night my apache2 server crashed. in log are the following entrys.


    piped log program '/var/www/imscp/engine/imscp-apache-logger' failed unexpectedly
    [Sun Mar 25 05:16:23 2012] [warn] RSA server certificate CommonName (CN) `server.domain.tdl' does NOT match server name!?
    [Sun Mar 25 05:16:23 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Sun Mar 25 05:16:23 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)

  • Quote

    piped log program '/var/www/imscp/engine/imscp-apache-logger' failed unexpectedly

    do not worry about that. logger is restarted when files are rotated, but apache think is a failure. Is not, everything works as expected

  • do not worry about that. logger is restarted when files are rotated, but apache think is a failure. Is not, everything works as expected


    What about the other errors?

  • it must be a thing with i-mscp. because i-mscp sets the apache2 configurations.

  • Code
    1. [Sun Mar 25 05:16:23 2012] [warn] RSA server certificate CommonName (CN) `server.domain.tdl' does NOT match server name!?


    This must not be a thing with i-mscp...
    The warning says all wat you need.. Did you create a selfsigned cert?

  • Code
    1. [Sun Mar 25 05:16:23 2012] [warn] RSA server certificate CommonName (CN) `server.domain.tdl' does NOT match server name!?


    This must not be a thing with i-mscp...
    The warning says all wat you need.. Did you create a selfsigned cert?




    I know what the Problem is:


    It was the certificate for a client. In

    Code
    1. domain.tdl_ssl.conf

    apache2 config the server name is

    Code
    1. domain.tdl

    It must be

    Code
    1. www.domain.tdl

    for the Maindomain, because startssl certificates do domain.tdl only set as alternative servername for certificates. The main is

    Code
    1. subdomain.domain.tdl


    [Mon Mar 26 20:21:12 2012] [warn] RSA server certificate CommonName (CN) `http://www.domain.tdl' does NOT match server name!?
    [Mon Mar 26 20:21:12 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)

    Edited once, last by ElitePilot ().