Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 04-24-2006, 01:45 PM   #1
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,402
Blog Entries: 1

Rep: Reputation: 64

Hi There,

I am using FC5 and when I try to start httpd, I got the following error message:

[root@sulfer ~]# service httpd start
Starting httpd: httpd: Syntax error on line 170 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/ into server: /etc/httpd/modules/ cannot open shared object file: No such file or directory
[root@sulfer ~]#
In fact, inspecting a little more, I realize several files are missing:
LoadModule access_module modules/
LoadModule auth_module modules/
LoadModule auth_anon_module modules/
LoadModule auth_dbm_module modules/
LoadModule auth_ldap_module modules/
LoadModule imap_module modules/
But my system has several http modules installed:
[root@sulfer ~]# ll -d /etc/httpd/modules
lrwxrwxrwx 1 root root 27 Mar 24 09:11 /etc/httpd/modules -> ../../usr/lib/httpd/modules
[root@sulfer ~]# rpm -qf /usr/lib/httpd/modules
[root@sulfer ~]# ll /usr/lib/httpd/modules
total 4652
-rwxr-xr-x 1 root root 3206744 Feb 28 08:23
-rwxr-xr-x 1 root root    6136 Feb 11 21:12
-rwxr-xr-x 1 root root   10228 Feb 11 21:12
-rwxr-xr-x 1 root root    5728 Feb 11 21:12
-rwxr-xr-x 1 root root    9432 Feb 11 21:12
-rwxr-xr-x 1 root root    5848 Feb 11 21:12
-rwxr-xr-x 1 root root    8444 Feb 11 21:12
[root@sulfer ~]#
So, the question is: What package the file /usr/lib/httpd/modules/ belongs to ?
Somebody with the installed in FC5 could run "rpm -qf /usr/lib/httpd/modules/", please ?

I was unable to figure out the package name by using the search feature of yum.

thanks in advance
Old 04-25-2006, 10:57 PM   #2
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
# yum whatprovides

lighttpd.i386                            1.4.10-2.fc5           extras
Matched from:
Importing additional filelist information

lighttpd.i386                            1.4.10-2.fc5           extras
Matched from:

lighttpd.i386                            1.4.10-2.fc5           installed
Matched from:
Old 04-26-2006, 07:48 AM   #3
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,402
Blog Entries: 1

Original Poster
Rep: Reputation: 64
Thumbs up solved

Thanks WhatsHisName ! (looks like the Costelo's joke "what's the name of the man in the first base" )

I learned about the "whatprovides" parameter, what is a good thing !

The bad news is it not worked, because it belongs to another package, not httpd itself. The path of the file provided by lighttpd is /usr/lib/lighttpd/ and I expected /usr/lib/httpd/modules/

Looks like it is a bug in system_config_httpd.

If you configure a web server by editing by hand the file /etc/httpd/conf/httpd.conf, using the original configuration file provided by the package httpd, then it works.

If you try to configure a web server by system_config_httpd, then the file /etc/httpd/conf/httpd.conf will refer /usr/lib/httpd/modules/ which not exist at all.

So, I re-installed httpd and using the working /etc/httpd/conf/httpd.conf file, I just added the virtual server section and all is working now.

thanks !
Old 04-26-2006, 03:13 PM   #4
Senior Member
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 50
Apache 2.2 has several modules renamed; see here. So when it upgraded and did not replace your old httpd.conf, it will refer to modules that no longer exist.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Maybe I'm missing something... Conan_77 Slackware 2 09-14-2004 09:18 PM
Mod_Access and Mod Auth pazvant Linux - Security 1 06-24-2004 05:52 PM
Missing HD RJDavison Fedora 1 05-21-2004 11:04 AM
Missing gd.h gmartin Slackware 3 02-11-2004 01:16 AM
What am I missing? discipledoc Linux - General 1 01-21-2003 03:57 PM

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration