LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-05-2008, 11:13 PM   #1
jim.thornton
Member
 
Registered: May 2007
Posts: 430

Rep: Reputation: 19
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

Last edited by jim.thornton; 01-05-2008 at 11:17 PM.
 
Old 01-06-2008, 07:52 AM   #2
zoranp
Member
 
Registered: Nov 2007
Location: Belgrade, RS
Distribution: Mandriva 2009.0 X86_64
Posts: 44

Rep: Reputation: 15
In your /etc/httpd/conf/httpd.conf find line

LoadFile /usr/lib/libxml2.so

and replace it with

LoadFile /usr/lib64/libxml2.so
 
Old 01-06-2008, 02:57 PM   #3
jim.thornton
Member
 
Registered: May 2007
Posts: 430

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by zoranp View Post
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?
 
  


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
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM
need help with httpd start MaX-PaYnE Linux - Newbie 6 11-29-2006 11:48 PM
rc.httpd won't start on boot pioniere Slackware 7 06-27-2006 08:39 PM
cant start httpd mag_um Linux - Software 2 05-27-2005 08:20 AM
httpd will not start :: buddy Linux - General 9 12-31-2002 12:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration