You are not logged in.

#1 2009-10-02 20:04:45

honorguard
Member
Registered: 2008-10-15
Posts: 40

Broken Apache [SOLVED]

Hello,
I have a problem with httpd. It fails when I start computer. I tried to start it over console (sudo /etc/rc.d/httpd start), but it failed to. I want to send you some log, but I don't have anyone in /var/log/httpd. I have this problem few days and I'm sure it's an upgrade issue.
Well, if there arent any logs in /var/log/httpd, where can I find some solution of this problem? Can somebody help me?
Sry, I'm still newbie
Thanks!

Last edited by honorguard (2009-10-03 08:32:35)


IBM/Lenovo R61i
Intel core 2 duo 1024MB RAM 120GB HDD
Archlinux 64bit KDEmod 4
without Windows

Offline

#2 2009-10-02 23:43:12

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Broken Apache [SOLVED]

Try running http directly either via:

apachectl start

or

httpd

They should both give you some more verbose output about what the problem is.

Offline

#3 2009-10-03 01:49:31

steve_v
Member
Registered: 2006-02-11
Posts: 80

Re: Broken Apache [SOLVED]

+1 on trying httpd directly.
Also there is a new version in testing which works well for me atm.

Offline

#4 2009-10-03 08:34:18

honorguard
Member
Registered: 2008-10-15
Posts: 40

Re: Broken Apache [SOLVED]

Really thanks! This helps:

apachectl start

It returned this:

httpd: Syntax error on line 119 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/httpd/modules/libphp5.so into server: /usr/lib/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory

I don't know why I didn't have libphp5 in directory (it was there before upgrade). Solution was installation of php-apache package. Really thanks for help!


IBM/Lenovo R61i
Intel core 2 duo 1024MB RAM 120GB HDD
Archlinux 64bit KDEmod 4
without Windows

Offline

#5 2009-10-03 08:46:26

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: Broken Apache [SOLVED]

honorguard wrote:

I don't know why I didn't have libphp5 in directory (it was there before upgrade).

http://www.archlinux.org/news/465/

Offline

Board footer

Powered by FluxBB