• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

apache2 failed to start

D

dstanley

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

ERROR
Up LevelUp Level
Unable to make action: Unable to manage service by websrvmng: websrvmng: Service apache2 failed to start
0: /usr/local/psa/admin/htdocs/server/restart_services.php:19 psaerror(string "Unable to make action: Unable to manage service by websrvmng: 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
 #
 
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?
 
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.
 
Back
Top