You are not logged in.
Hello,
I was receiving a strange error the other day when restarting apache:
[root@lennon mod_perl]# sudo /etc/rc.d/httpd start
:: Starting Apache Web Server [BUSY] /usr/sbin/apachectl: line 84: 18930 Segmentation fault $HTTPD -k $ARGV
[FAIL]
After further investigation, mod_perl seems to be causing this to fail. Removing the following line from my httpd.conf allowed apache to start:
LoadModule perl_module /usr/lib/httpd/modules/mod_perl.so
I deployed a fresh arch installation (pacman -Syu'd after the install) and installed apache, perl, and mod_perl, and I get the same errors when enabled mod_perl.
I even tried recompiling mod_perl from abs, but I get the same errors.
I tried the perl and mod_perl from testing as well but they failed with the same error message
My /var/error/httpd/error_log shows this helpful error:
[Sun Jul 03 19:54:42 2011] [notice] seg fault or similar nasty error detected in the parent process
Does anyone have any ideas with this one?
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
bug report filed -- https://bugs.archlinux.org/task/25008
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
Someone a few hours ealier posted this thread -- https://bbs.archlinux.org/viewtopic.php?id=122024
Offline
Someone a few hours ealier posted this thread -- https://bbs.archlinux.org/viewtopic.php?id=122024
Good to know that it's not just me. Thanks!
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
Still have this problem today after an update.
I am posting here rather than in the other thread because this one was more useful.
I commented out
LoadModule perl_module /usr/lib/httpd/modules/mod_perl.so
as punkrockguy318 mentioned and apache runs.
Is there a danger in doing so? Am I breaking anything by running it without that module?
If so, is there a better workaround until this is fixed?
I saw the bug report but I didn't see anything helpful to do until this is fixed.
apache 2.2.19-1
mod_perl 2.0.5-7
perl 5.14.1-3
[archlette@localhost ~]$ httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
Last edited by shariebeth (2011-07-10 01:17:06)
Offline
Still have this problem today after an update.
I am posting here rather than in the other thread because this one was more useful.I commented out
LoadModule perl_module /usr/lib/httpd/modules/mod_perl.so
as punkrockguy318 mentioned and apache runs.Is there a danger in doing so? Am I breaking anything by running it without that module?
If so, is there a better workaround until this is fixed?I saw the bug report but I didn't see anything helpful to do until this is fixed.
There's no danger in doing that, but if you have any web applications that depend on mod_perl, they won't work
but apache server will start if you comment out the line
the problem seems to be upstream, it occurs even with the latest version of the source in svn
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
Ok, great! Thanks for such a fast reply!
I'll keep an eye on this thread and the bug report.
Offline