You are not logged in.

#1 2015-07-06 19:45:12

cougem
Member
Registered: 2010-07-17
Posts: 4

Since upgrade apache now crashing on start up, mod_perl to blame?

Hi all,

I am sure it's the same as this: https://bugs.archlinux.org/task/45392 - but I can't really work out what I'm meant to do? I understand if you want to close it, but I run an educational website and I need help figuring out how to solve this problem, as that link has left me just as confused sad

I did my not-as-often-as-I-should pacman -Syu today and since then I get the following:

[james@tryptophan ~]$ systemctl status httpd.service
● httpd.service - Apache Web Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2015-07-06 19:26:32 UTC; 4min 30s ago
  Process: 13082 ExecStop=/usr/bin/apachectl graceful-stop (code=exited, status=0/SUCCESS)
  Process: 13208 ExecStart=/usr/bin/apachectl start (code=exited, status=139)
Main PID: 21706 (code=exited, status=0/SUCCESS)

It appears that if I remove:

LoadModule perl_module modules/mod_perl.so

from my httpd.conf, however, the server loads fine. Sadly, some of my vhosts are made fairly unhappy, though.

What can I do?

Offline

#2 2015-07-31 17:56:13

dakane
Member
Registered: 2014-08-18
Posts: 7

Re: Since upgrade apache now crashing on start up, mod_perl to blame?

I know this is an old post. Did you ever get it working?

I had the same error message, however it was with PHP not Perl. Apparently my issue way something related to some modules being compiled for multithreading. As per
https://wiki.archlinux.org/index.php/Apache_HTTP_Server
I changed the line in httpd.conf from:

LoadModule mpm_event_module modules/mod_mpm_event.so

to

LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

Don't forget to restart httpd after editing httpd.conf.

Does that fix it?

Last edited by dakane (2015-07-31 18:14:38)

Offline

#3 2015-07-31 21:14:23

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Since upgrade apache now crashing on start up, mod_perl to blame?

dakane, your problem is independent of the topic-starter one. Please start a new thread.

cougem, it is unfortunate that such widely used project as mod_perl is so poorly maintained and not developed actively enough. My recommendation is avoid using mod_perl, the project's future is questionable for me. If you need to use mod_perl then keep previous version of Perl.


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

Board footer

Powered by FluxBB