You are not logged in.

#1 2014-04-26 19:01:09

Matan
Member
Registered: 2014-04-16
Posts: 2

Apache after update, Error load modules.

Hey there, I 'pacman -Syu' a few days ago, and I got error after starting kernel
"[FAILED]Apache2. sysctl apache to check more"
this is absolutely not the exact message, but it was something like that.

Any way, I ignored that message, and now that I would like to use apache server,
Apache of-course didn't work, here is the message for 'apachectl' :

Syntax error on line 59 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_authn_default.so into server .... Cannot open shared object file: no such file or directory

Well I said to myself, hey why not comment that line and it will (even though that it sounds like an important thing for the server) work,
and that's what I did, and guess what ? now there is something wrong with line 66 :

Syntax error on line 66 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_authn_default.so into server .... Cannot open shared object file: no such file or directory

I commented this one as well, and there was something wrong with 71 (mod_disk_cache.so), and then with 72 (mod_em_chache.so), and then 'apachectl' said:

AH00534: httpd: Configuration error: No  MPM loaded.

And all this happened after a simple update, any ideas for solutions ?

Offline

#2 2014-04-26 22:08:46

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

Re: Apache after update, Error load modules.

You upgraded from Apache 2.2 to Apache 2.4 and configurations are too different between these versions. I would suggest you to start Apache from clean 2.4 configuration and then add your own options.


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

#3 2014-05-04 11:40:35

sostentado
Member
Registered: 2014-05-04
Posts: 2

Re: Apache after update, Error load modules.

Here's a quick solution:

sudo mv /etc/httpd/conf/httpd.conf.pacnew /etc/httpd/conf/httpd.conf

from: https://sudopacman.wordpress.com/2014/0 … pache-2-4/

But still there will be a problem on phpmyadmin, im still looking for it.

Offline

#4 2014-05-04 12:43:46

sostentado
Member
Registered: 2014-05-04
Posts: 2

Re: Apache after update, Error load modules.

PHP will have errors or httpd will start but php will not be readable.
So follow LAMP on archwiki and your good to go. I got it working already. Thanks wiki!

Offline

Board footer

Powered by FluxBB