LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   httpd won't start (https://www.linuxquestions.org/questions/linux-newbie-8/httpd-won%27t-start-611446/)

jim.thornton 01-05-2008 11:13 PM

httpd won't start
 
Hello.

I tried installed mod_security by following a tutorial on the DirectAdmin forums. I stopped httpd and now it won't start again.

Can someone tell me why I'm getting this error message:

# service httpd start
Starting httpd: httpd: Syntax error on line 177 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/libxml2.so into server: /usr/lib/libxml2.so: wrong ELF class: ELFCLASS32

zoranp 01-06-2008 07:52 AM

In your /etc/httpd/conf/httpd.conf find line

LoadFile /usr/lib/libxml2.so

and replace it with

LoadFile /usr/lib64/libxml2.so

jim.thornton 01-06-2008 02:57 PM

Quote:

Originally Posted by zoranp (Post 3013195)
In your /etc/httpd/conf/httpd.conf find line

LoadFile /usr/lib/libxml2.so

and replace it with

LoadFile /usr/lib64/libxml2.so

Thank you! But, now I get this:

# service httpd start
Starting httpd: [Sun Jan 06 15:48:06 2008] [warn] VirtualHost 127.0.0.1:0 overlaps with VirtualHost 127.0.0.1:0, the first has precedence, perhaps you need a NameVirtualHost directive

The httpd service is now running, but can anyone tell me why this is showing up?


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