• 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

httpd dead but subsys locked !

M

marcus@

Guest
I just upgraded to 7.5.2 from the plesk updater on Redhat 9. Everything seemed to go fine (license is installed etc) but I cannot start apache.

I've upgraded (and tried disabling) both Zend Optimizer and Ioncube loader, both to no avail.

The httpd error log doesn't say much--these are the only warnings:
[Tue Mar 15 04:35:21 2005] [warn] module frontpage_module is already loaded, skipping
[Tue Mar 15 04:35:21 2005] [warn] module frontpage_module is already loaded, skipping
[Tue Mar 15 04:41:22 2005] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Mar 15 04:41:22 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

Any suggestions??? Please?
 
Anyone

I've since found (after almost 24 hours down) that httpd is segfaulting upon start up:

read(114, "127.0.0.1 localhost.localdomain "..., 4096) = 92
close(114) = 0
munmap(0x4001d000, 4096) = 0
time(NULL) = 1110893605
getpid() = 9389
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

I have tried rolling back the RPM and reinstalling it--neither seems to make a difference.

Does anyone have any suggestions at all?

Deleting httpd.pid and /var/lock/subsys/httpd don't change anything either.

Help? :(
 
[Tue Mar 15 04:35:21 2005] [warn] module frontpage_module is already loaded, skipping
[Tue Mar 15 04:35:21 2005] [warn] module frontpage_module is already loaded, skipping

Those lines are causing your problem. The CA certificate thing is just a warning, and shouldn't prevent it from starting up.

You apparently have the frontpage module loading twice (or more) in your httpd.conf. Comment out the duplicates.
 
Plesk (sw-soft) finally got around to looking at it... this is what they found:

I've found out why apache couldn't start -- there are some problems with php-snmp module. I've turned it off (by moving /etc/php.d/snmp.ini into /root) and httpd started fine. It seems that snmp module tried to find out config files (/etc/snmp/snmp.conf) but haven't found them and failed to load. This have caused apache's segmentation fault.

To resolve this issue you need configure snmp service on your server.

Thanks to those who tried to lend assistance. Hopefully this will help someone else...
 
In /etc/php.d we commented out the following line
#zend_extension=/usr/lib/php4/ioncube_loader_lin_4.3.so
and got things working again at our end. Do we even need this line? When we had things working and didn't have this line commented out Ioncube didn't show up at all on a phpinfo() page so it makes me think it wasn't doing anything (just causing issues now).
 
Back
Top