LinuxQuestions.org
Help answer threads with 0 replies.
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 03-13-2013, 07:57 AM   #1
ashokingole
LQ Newbie
 
Registered: Apr 2012
Posts: 22

Rep: Reputation: Disabled
Cannot load /etc/httpd/modules/mod_access.so


httpd can't start due to below error.


[root@rhel1 modules]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 200 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 03-13-2013, 08:09 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
so what do you want to do about it?? It very clearly says the mofule isn't there... so you can either make it be there, tell it where it is if it's somewhere else, or remove the line.
 
Old 03-13-2013, 08:28 AM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Try from:
Code:
~$ /etc/init.d/httpd restart
~$ /etc/init.d/httpd status
 
Old 03-13-2013, 08:30 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Quote:
Originally Posted by shivaa View Post
Try from:
Code:
~$ /etc/init.d/httpd restart
~$ /etc/init.d/httpd status
Erm... Why?? There's no way this would have positive effect. The error is extremely apparent, and the removal of a noddy service wrapper script won't change a thing.
 
Old 03-13-2013, 08:31 AM   #5
eklavya
Member
 
Registered: Mar 2013
Posts: 619

Rep: Reputation: 136Reputation: 136
It has been failed during stopping the service, it means it was started before, and you have done something wrong with it.
Have you changed something in httpd.conf?

You haven't written your changes or what were you doing?
 
Old 03-13-2013, 08:57 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Quote:
Originally Posted by eklavya View Post
It has been failed during stopping the service, it means it was started before, and you have done something wrong with it.
Have you changed something in httpd.conf?

You haven't written your changes or what were you doing?
Not necessarily, you can "stop" a service that's already stopped. And it's just about always report "FAILED". Which is correct.

I don't see how context really matters here. File doesn't exist.

Last edited by acid_kewpie; 03-13-2013 at 08:58 AM.
 
Old 03-14-2013, 10:11 AM   #7
eklavya
Member
 
Registered: Mar 2013
Posts: 619

Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by acid_kewpie View Post
Not necessarily, you can "stop" a service that's already stopped. And it's just about always report "FAILED".
OK.
He wrote 'restart' so I thought it was started and he did some changes and then tried to restart.
I thought if the service was stopped so he would write only 'start'.
But I got your point. You are correct.
 
  


Reply


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
apache httpd - what modules to load ? anctop Linux - Software 1 03-06-2013 03:54 PM
A question about "Cannot load /etc/httpd/modules/mod_wl128_22.so into server: libst" thomas2004ch Linux - Software 2 01-25-2011 04:30 PM
HTTPD fails to start, compilation error - mod_access.so not found johnnyfoe Linux - Server 3 09-19-2009 12:41 PM
FATAL: Could not load /lib/modules/2.6.14-default/modules.dep no such file exist dr_zayus69 Linux - Software 3 12-26-2005 07:44 PM
Unable to start Apache "Cannot load /etc/httpd/modules/libphp4.so" dagalicous Linux - Software 1 03-10-2005 02:43 AM


All times are GMT -5. The time now is 03:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration