You are not logged in.

#1 2009-08-17 12:35:32

SLKDK
Member
Registered: 2008-08-11
Posts: 61

httpd won't start

Hi.

I used my webserver last night. I have today upgraded with pacman -Syyu

[2009-08-17 14:00] synchronizing package lists
[2009-08-17 14:01] starting full system upgrade
[2009-08-17 14:02] upgraded cdrdao (1.2.2-2 -> 1.2.3rc2-1)
[2009-08-17 14:02] upgraded db4.1 (4.1.25-2 -> 4.1.25-3)
[2009-08-17 14:02] upgraded dhcpcd (5.0.6-1 -> 5.0.7-1)
[2009-08-17 14:02] upgraded ethtool (6-1 -> 6-2)
[2009-08-17 14:02] upgraded gnome-mime-data (2.18.0-3 -> 2.18.0-4)
[2009-08-17 14:02] upgraded hal-info (0.20090716-1 -> 0.20090716-2)
[2009-08-17 14:02] upgraded inputproto (1.5.1-1 -> 1.5.1-2)
[2009-08-17 14:02] upgraded libdca (0.0.5-1 -> 0.0.5-2)
[2009-08-17 14:02] upgraded libxml2 (2.7.3-2 -> 2.7.3-3)
[2009-08-17 14:02] upgraded libxpm (3.5.7-1 -> 3.5.7-2)
[2009-08-17 14:02] upgraded notification-daemon (0.4.0-2 -> 0.4.0-3)
[2009-08-17 14:02] upgraded perl-locale-gettext (1.05-3 -> 1.05-4)
[2009-08-17 14:02] warning: /etc/php/php.ini installed as /etc/php/php.ini.pacnew
[2009-08-17 14:02] upgraded php (5.2.10-3 -> 5.3.0-1)
[2009-08-17 14:02] upgraded psutils (1.17-1 -> 1.17-2)
[2009-08-17 14:02] upgraded sound-theme-freedesktop (0.3-1 -> 0.3-2)
[2009-08-17 14:02] upgraded sqlite3 (3.6.16-1 -> 3.6.17-1)
[2009-08-17 14:02] upgraded xf86-input-evdev (2.2.3-1 -> 2.2.4-1)

Now, httpd won't start. It just says "failed" when trying to /etc/rc.d/httpd (re)start

root /etc/php # apachectl configtest gives me:
httpd: Syntax error on line 119 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory

Huh? Why is the php module removed?

Any help?

Offline

#2 2009-08-17 23:22:52

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

Re: httpd won't start

Can you show us line 119 of your config file?

These are the lines I use to load PHP into my conf:

LoadModule php5_module modules/libphp5.so
Include conf/extra/php5_module.conf

Offline

#3 2009-08-17 23:38:46

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: httpd won't start

PHP 5.3 was split into several packages. You most likely need to install php-apache to get the module for apache. smile

Offline

#4 2009-08-19 07:58:50

harbind
Member
Registered: 2009-05-08
Posts: 22

Re: httpd won't start

foutrelis wrote:

PHP 5.3 was split into several packages. You most likely need to install php-apache to get the module for apache. smile

Thaks! Had the same problem after upgrading php. With php-apache everything works again.

Offline

#5 2009-09-27 10:27:49

Alp
Member
Registered: 2008-09-27
Posts: 89

Re: httpd won't start

I had the same problem today, installing php-apache solved it. Thanks!

Offline

#6 2009-09-30 18:38:32

greenfish
Member
From: eating fish in /dev/null
Registered: 2008-08-30
Posts: 229

Re: httpd won't start

I love this community smile

A simple search for "httpd failed" led me here!

And now it's working!

I really shouldn't update my server that often, but i'm afraid everytime I need a tiny application it's best to start a full upgrade in order to have a clean tree so to speak.

Last edited by greenfish (2009-09-30 18:42:02)


ARCH64 archSKYNET server AMD  Phenom(tm) II X2 550 HDD 6TB Ram 8GB
Hobbies: Running, Pistol Marksmanship, Classic Music

Offline

#7 2010-05-02 14:24:02

eidolon88
Member
Registered: 2010-05-02
Posts: 1

Re: httpd won't start

Thank you ! I love this community !! big_smile

Offline

Board footer

Powered by FluxBB