Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-23-2004, 11:48 AM   #1
LQ Newbie
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
reinstall mysql - now apache will not start

I have removed a version of mysql and then I installed mysql 4.0.22 by rpm. I reconfigured php and then tried to restart my server. Now I'm receiving the message below when I try to start apache:

httpd failed to start. The error was : Starting httpd: Syntax error on line 261 of /etc/httpd/conf/httpd.conf. Cannot load /etc/httpd/modules/ into server: cannot open shared object file: No such file or directory [FAILED].

I'm not sure what this means and I don't know what part of apache, php or mysql is not working. I can start mysql but I cannot access it. I receive a "Cannot find temp.sock" error when I try to connect to it. Thank you all in advance for your knowledge and time!
Old 11-23-2004, 12:25 PM   #2
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
Which version of PHP are you using?

Also, did you compile PHP from source? If you took away the version of MySQL PHP was compiled against things like what you are seeing could happen. You could try editing your php.ini file (usually in /usr/local/lib) and disabling the mysql support in there. If Apache starts after you've done this then you'll know the problem was coming from the PHP/MySQL combo.

Last edited by looseCannon; 11-23-2004 at 12:26 PM.
Old 11-23-2004, 12:40 PM   #3
LQ Newbie
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you very much for your help! My php version is 4.3.8 and I looked at the php.ini file but I'm not sure where exactly I can edit it to disable mysql within it.


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
How to start apache+MySQL at system up? epic Linux - Newbie 5 09-04-2006 10:44 PM
How To make MySql and Apache start at boot time? umeshz Red Hat 1 05-18-2004 02:00 PM
completely remove mysql and reinstall siphi Linux - Software 4 04-09-2004 06:27 PM
reinstall mysql or rebuild mysql?? dsiguy Linux - Software 3 07-15-2003 09:11 AM
Why Won't Apache and MySQL Start on Boot? John_Saunders Linux - Newbie 1 07-17-2002 01:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration