LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-19-2009, 07:22 AM   #1
johnnyfoe
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
HTTPD fails to start, compilation error - mod_access.so not found


HTTPD has been failing to start for about a day now, this is the output from shell command "HTTPD -e DEBUG":


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


What should mod_access.so contain?
 
Old 09-19-2009, 08:11 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
mod_access is the apache module responsible for the Allow, Deny and Order directives. It's used in prior versions and gone with apache 2.2.x
If you're using apache 2.2.x you can remove the respective LoadModule line from the configuration file.
If you're using an older apache version, run "httpd -M" to see if it's a compiled-in module or a dso (dynamic loadable module).
 
Old 09-19-2009, 11:32 AM   #3
johnnyfoe
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Original Poster
Rep: Reputation: 0
After running
Quote:
httpd -M
the output is:

Quote:
httpd: Syntax error on line 156 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_access.so into server: /etc/httpd/modules/mod_access.so: cannot open shared object file: No such file or directory
Unfortunately I can't make much sense of this

My aim when it is all set up is to use this machine solely as a web and (local network) file server - do you think I would be better reinstalling the web server software?
 
Old 09-19-2009, 11:41 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
How did you install apache?
You can edit httpd.conf and comment out line 156 (I guess it should read LoadModule /etc/httpd/modules/mod_access.so) to see if apache starts.
 
  


Reply



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
httpd fails to start Fedora c7 mytheenbava Fedora 7 10-25-2007 01:15 AM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM
httpd fails to start arsham Linux - Software 9 09-04-2007 02:29 AM
Apache: httpd fails to start PhilTR Linux - Server 20 02-24-2007 03:05 PM
FC4 - httpd fails to start prabhatsoni Linux - Software 5 01-30-2006 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:31 AM.

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