Jump to content


Apache Module Load Error

  • Please log in to reply
2 replies to this topic

#1 apache_cake

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 09 September 2006 - 04:17 AM

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.

[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.....

#2 R_P

  • Members
  • PipPipPip
  • Advanced Member
  • 98 posts

Posted 11 September 2006 - 02:30 PM

Have you confirmed the module files actually exist where the path in your conf file says they are? I've never used apache on Fedora, so there are some questions to be answered like if relative naming works. I'm guessing the lines you are deleting look something like this:

LoadModule access_module modules/mod_access.so

First off some of these are standard, required modules. Second, its not advisable to delete lines from your apache config file, rather comment them out using the #. Third, addressing your problem make sure that inside your apache directory a modules folder exists. Make sure that all the .so files are in there. If they are and your still having problems, try changing the path (the third parameter) to an absolute path (from your root).

Also make sure you have the right build for apache. I know in some instances you have to also use the AddModule directive in addition to LoadModule in httpd.config.

Hope this helps, good luck.
Pro in: Win2K3S | Apache2 | PHP5 | Perl5 | MySQL | MSSQL | Firefox | Photoshop
Student of: Ubuntu6 | Java | C | VB.NET | ASP.NET
Developer: Roddzilla Webstudios, Burrson CG, DVIDSHUB, The Four Nations
Student: Georgia Tech, Georgia Tech College of Computing

#3 ac

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 28 September 2006 - 09:27 PM

Problem registered in Bugzilla:https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180056

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users