LinuxQuestions.org
Review your favorite Linux distribution.
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-08-2006, 11:26 PM   #1
vishallagdev
LQ Newbie
 
Registered: Mar 2006
Location: Melbourne Central Queensland University
Distribution: Fedora 5
Posts: 24

Rep: Reputation: 15
Question Apache Module Load Error


Hi Guys,
I recently installed Fedora 5 (.2174) and wanted to setup webserver with it. I did some settings using the GUI of httpd i.e, system-config-httpd. When I tried to start httpd from the terminal I got this error.

Apache Version 2

[root@localhost ~]# httpd
httpd: Syntax error on line 194 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_access.so into server: /etc/httpd/modules/mod_access.so: undefined symbol: array_free


So I deleted the line 194 from the httpd.conf file and restarted httpd

[root@localhost ~]# httpd
httpd: Syntax error on line 195 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_auth.so into server: /etc/httpd/modules/mod_auth.so: undefined symbol: int2hex

Again I deleted the 195th line so see this

[root@localhost ~]# httpd
httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_auth_anon.so into server: /etc/httpd/modules/mod_auth_anon.so: cannot open shared object file: No such file or directory


I went on deleting the line with error till I was sick of doing this ..... and finally found this forum.....
Please help me.....

Last edited by vishallagdev; 09-08-2006 at 11:29 PM.
 
Old 09-09-2006, 01:53 AM   #2
sysconfig
Member
 
Registered: Sep 2006
Location: (.)
Posts: 44

Rep: Reputation: 15
If you dont want this module then you need to remove or uncomment related parameter in httpd.conf file. Generally you many need to uncomment the tags between <..> .... </..>

thx
 
Old 12-01-2006, 11:11 PM   #3
wdlewis
LQ Newbie
 
Registered: Oct 2006
Location: Up State NY
Distribution: fedora, gentoo
Posts: 1

Rep: Reputation: 0
If you did anything like I did you probably thought that the System/Administration/Server Settings/HTTP GUI would give you a good httpd.conf file. Wrong! I was browsing through the GUI changed a setting and set it back and when I exited the GUI I answered yes to overwriting the config file. I was lucky that the GUI had made a .bak file I renamed it and overwrote the httpd.conf file made by the GUI.
 
Old 02-02-2008, 10:20 PM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Yes, I also am noticing that the GUI www editor, system-config-httpd, cannot properly produce a workable httpd.conf file. I am getting the exact same errors about it not being able to find the proper modules. It is quicker and easier to do it by hand than relying on system-config-httpd.

I tried it on CentOS 5.1, by the way. You would figure they could fix it by now, but apparently not!
 
Old 02-02-2008, 10:45 PM   #5
baldur_the_god
Member
 
Registered: Feb 2007
Posts: 54

Rep: Reputation: 15
apache

the best way to configure apache is by command line. the gui does not work...everytime you use it, if there is something the gui has not been configured to know, it deletes it leading to cascading failures like you are doing. i would highly suggest that if you want to configure any .conf files, you do it yourself...not to rip linux...i love the penguin that roars...

the failure may have started however, but before you start anything you should go to the directory you are about to work in and

cp file file.back

so you have a back-up if anything happens. the gui did probably not recognize your system correctly and when it rewrote, failed the entire thing.

after you have wrote by command line, use

apachectl configtest

to check how you have done and then you do not have to worry about cascading failures like you are facing...and if you have a back-up you can just revert to that if you did mess things up...

baldur

Last edited by Matir; 02-08-2008 at 03:06 PM. Reason: spam
 
  


Reply

Tags
apache, error, modules


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
PHP 5.1.2 module causing apache to not load Jalalabee Linux - Newbie 3 03-31-2006 04:35 PM
cannot load php5 module in apache 2, compile from source parv Linux - Software 6 02-17-2006 04:29 PM
Apache module won't load. amphion Linux - Software 1 10-19-2005 07:50 AM
firmware_class error on module load grey_rook Linux - Laptop and Netbook 2 09-30-2004 11:42 PM
Can't load php module in Apache pepino Linux - Newbie 2 10-21-2003 10:26 AM


All times are GMT -5. The time now is 05:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration