Operating System - HP-UX
1834015 Members
2711 Online
110063 Solutions
New Discussion

Re: Apache 2 on HPUX 11i only started up once

 
Charles Soto
Advisor

Apache 2 on HPUX 11i only started up once

Installed the Apache 2 depot from software.hp.com ("B9416AA
2.0.43.00.05 HP Apache-based Web Server"), configured it
and it started right up. Stopped it to make a configuration changea
(enable php4 and mod_perl), then tried to start it again. Apachectl
launches one httpd process, but it goes nowhere from there. Nothing
in the logs (I deleted /opt/hpapache2/logs/* before restarting it)-in
fact, they were never created. I have to kill both processes. So, I
figure, httpd.conf is broke. I restored the previous working config.
No difference. Reboot the system, no change. The *only* way I could
get it to work was to remove then reinstall the distribution. The
weird part is that this caused it to work again, BUT ONLY ONCE! I
repeated the above, with the same lame results (same hanging). Why does this work once, and only once? Any ideas? Thanks!

Charles
7 REPLIES 7
Charles Soto
Advisor

Re: Apache 2 on HPUX 11i only started up once

Never mind. My crack habit is catching up with me. I was *not* restoring the original httpd.conf file. Rather, the LoadModule libphp4.so line was uncommented in both. Loading this DSO causes httpd to hit over 97% cpu utilization and basically hang. I have seen this reported (on 11.00) on php.net's bug list. Anybody else seen this?

Charles
Judy Traynor
Valued Contributor

Re: Apache 2 on HPUX 11i only started up once

I have seen similar things on oracle installations, and the fix was to relink oracle. I run apache 2 (from the depot ) and have not seen the cpu util problem that you have seen.
Sail With the Wind
tastet
Occasional Advisor

Re: Apache 2 on HPUX 11i only started up once

Hi all !
I installed apache 2.0.43 from depot, but when I enble PHP4 or mod_so, same problem : high CPU, hang ...
No one seem to have idea... searching on the net, but nothing :-(
Rajeev  Shukla
Honored Contributor

Re: Apache 2 on HPUX 11i only started up once

PHP4 comes by default in Apache2 but if want to add mode modules to it Dynamic loading of modules give a lot of problems. Best way is to go through Apache 1.3.6 and compile both PHP4 and Apache and add what ever modules you want either for oracle, informix, GD, ftp etc..
It works very well without any performance issues.

Cheers
Rajeev
benoit Bruckert
Honored Contributor

Re: Apache 2 on HPUX 11i only started up once

I have a running APache2, PHP without the pb of high cpu.
But to make it run, I compiled it on my own !!!
If it can help...
Benoit

______
L'art d'??crire pr??c??de la pens??e.
Emile Chartier, dit Alain, Propos de litt??rature
Une application mal pansée aboutit à une usine à gaze (GHG)
Charles Soto
Advisor

Re: Apache 2 on HPUX 11i only started up once

Xavier, the solution is to install the "cummulative linker patch" (for 11.11, this is PHSS_26560). Otherwise, all DSOs will cause Apache to hang.

Charles
tastet
Occasional Advisor

Re: Apache 2 on HPUX 11i only started up once

Thanks A Lot Charles, All DSOs works perfectly !!!
No hang !
Have a nice day to all !