Helmut Zeilinger wrote:
Hi all,
Apache with mod_perl starts and stops normaly from
a linux console.
Commands:
/usr/sbin/apache2 -k start
/usr/sbin/apache2 -k stop
But when i am logged in in the system by ssh from a remote host (as root)
the second start/stop-cycle fails => the apache process seems to "hang".
The problem does not occure by doing "ssh localhost".
The "pstree" command shows no apache child processes.
I have to kill the hanging apache2 process manually.
An initial (1.) start succeeds, but no further starts are possible.
When i try to do this without mod_perl - by commenting out
..
LoadModule perl_module modules/mod_perl.so
..
- everything is normal again.
(I removed all other Perl related directives from the httpd.conf file.)
The Apache error log file provides no information concerning this
problem.
Sounds like a lack of entropy, since you aren't typing on the local keyboard:
http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Server_Hanging_at_the_Startup
--
_____________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED] http://stason.org/
MailChannels: Assured Messaging(TM) http://mailchannels.com/
The "Practical mod_perl" book http://modperlbook.org/
http://perl.apache.org/ http://perl.org/ http://logilune.com/