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

apache2 failed to start

Discussion in 'Plesk for Linux - 8.x and Older' started by dstanley, Aug 19, 2005.

  1. dstanley

    dstanley Guest

    0
     
    apache2 failed to start (websrvmng: Service apache2 failed to start)

    Getting the above error in PSA when i try to start the apache service after i noticed overnight it was turned off?

    The console gives me the following when i try start:

    Code:
     # rcapache2 configtest
    Syntax OK
     # rcapache2 restart
    Syntax OK
    Warning: found stale pidfile (unclean shutdown?)
    Starting httpd2 (prefork)                                            failed
     # 
    
     
  2. dstanley

    dstanley Guest

    0
     
    Ok here is an extract from the error_log

    [Thu Aug 18 03:15:04 2005] [notice] Graceful restart requested, doing restart
    [Thu Aug 18 03:15:05 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Thu Aug 18 03:15:05 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Thu Aug 18 03:15:05 2005] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
    [Thu Aug 18 03:15:05 2005] [notice] seg fault or similar nasty error detected in the parent process
    [Thu Aug 18 03:30:05 2005] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    [Thu Aug 18 03:30:05 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Thu Aug 18 03:30:05 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Thu Aug 18 03:30:05 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
    [Thu Aug 18 04:15:05 2005] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    [Thu Aug 18 04:15:05 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Thu Aug 18 04:15:05 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Thu Aug 18 04:15:05 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)


    The last 4 lines are all that is in the log from that point as plesk tries regular restarts.

    Running apache2ctl start i get the following:

    Code:
    # apache2ctl restart
    httpd not running, trying to start
    /usr/sbin/apache2ctl: line 115:  3951 Segmentation fault      $HTTPD ${httpd_conf+-f $httpd_conf} -k $ARGV
    
    I'm running apache 2.0.49-27.24.3 with 4.3.11-0.1.

    I recently updated php so have a feeling that i could be the culprit. Should i try upgrade the above?

    Is there a problem updating apache or would that break things?
     
  3. memphishost

    memphishost Guest

    0
     
    Apache error

    I had gotten the same error.
    To resolve my problem I just rebooted the whole server and all seems to be working fine.
     
Loading...