Jump to content

Apache Module Load Error


apache_cake

Recommended Posts

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.....
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

  • 3 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.