LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-13-2008, 01:38 PM   #1
shivanrathore
Member
 
Registered: Apr 2008
Posts: 33

Rep: Reputation: 15
Apache httpd problem


I get the following error when i tried start the http daemon ,i get the same error for "apachectl start" command also , can some bofy help me pls.


/etc/init.d/httpd start
Starting httpd: httpd: Syntax error on line 177 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
[FAILED]
 
Old 07-13-2008, 01:56 PM   #2
williebens
Member
 
Registered: Jan 2008
Posts: 88

Rep: Reputation: 16
Hello shivanrathore:

This is an apache module. I do not know if you need it or not. Try commenting it out in your httpd.conf file like this:

#LoadModule access_module modules/mod_access.so

Just look for the mod_access.so in your httpd.conf file and comment it out.

Then restart apache. If you really need this module, then you will need to install it so that apache can load it.

Thanks.
--Willie
 
Old 07-13-2008, 02:03 PM   #3
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Did you upgrade from 2.0 to 2.2 ?

mod_access has been renamed mod_authz_host. Both provide access controls:

See: http://httpd.apache.org/docs/2.2/mod...uthz_host.html

You can remove that LoadModule line, or replace mod_access.so with mod_authz_host.so ,
 
  


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
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
apache httpd document problem emanresu Linux - Software 2 07-09-2006 05:36 PM
httpd apache problem ebasi Linux - Software 1 07-24-2004 12:20 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM
Apache problem - httpd won't start. Iced_Falcon Linux - Networking 3 12-22-2001 04:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:38 PM.

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