Apache won't launch after MySQL install

I just installed PHP and MySQL in order to learn it. I installed PHP and everything worked fine, I tried out some basic PHP functions and then decided to get MySQL so I could do some more advanced functions.
After installing MySQL I couldn't reach my own site through 127.0.0.1, and I entered the terminal and found out that Apache wasn't running, so I gave the command "sudo httpd" and got the following output:
sudo httpd
Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/+entropy-php.conf
[Mon May 15 00:25:24 2006] [warn] module mod_php5.c is already added, skipping
Processing config file: /private/etc/httpd/users/Helena.conf
Processing config file: /private/etc/httpd/users/hulken.conf
Bus error
I have tried both with MySQL stopped and running, but it makes no difference, what should I do?
PowerMac G4 MDD, iBook G4 12"   Mac OS X (10.4.6)  

I've read through the file thoroughly several
times and it is all good, nothing seems to be missing
or be malplaced.
Good, but let's make sure. First, look at the output of this Terminal command:
<pre class="command">grep Documents /etc/httpd/httpd.conf.default</pre>You should get something like this:
<pre class="command">DocumentRoot "/Library/WebServer/Documents"
<Directory "/Library/WebServer/Documents">
Alias /manual/ "/Library/WebServer/Documents/manual/"
<Directory "/Library/WebServer/Documents/manual"></pre>If you don't, or you get an error message, post back with the result. If you get the same thing as what I posted, try swapping the default config file for the one you have now. First do this:
<pre class="command">sudo mv /etc/httpd/httpd.conf /etc/httpd/httpd.conf.cmbak</pre>That will back up the current configuration file. Now, copy the default config file so Apache sees it:
<pre class="command">sudo cp /etc/httpd/httpd.conf.default /etc/httpd/httpd.conf</pre>Try starting the server now:
<pre class="command">sudo apachectl start</pre>If it starts, then it's a configuration problem. If it still crashes (bus error), then look for a crash log for httpd in your Console app. I suspect it'll be in /Library/Logs/CrashReporter. Post back with the contents of the thread that crashed. That might have a clue.
One more thing, post the output of this Terminal command:
<pre class="command">ls -l /etc/httpd/users/*</pre>I'd be looking for a file Apache can't open perhaps.
I haven't made any modifications to
it, it was working fine until I tried it after
installing MySQL.
It's really unlikely to be MySQL. If I had to take a guess right now, I'd say it's a problem caused by installing the PHP5 stuff. I can't think of any reason why MySQL would affect Apache, but because the PHP5 installation is changing Apache's config files, I'd suspect that first.
charlie

Similar Messages

  • Finder won't launch after re-install 7.1

    I reinstalled QT 7.1 after having problems with 7.2. I was getting only audio and no video. After the reinstall I rebooted and now the finder won't launch so I can't see my hard drive or any icons on my desktop. And oddly enough the only app that will open is safari and quicktime now works!
    What have I done and any clue on what just happened?

    There is no "re-install" of older software versions allowed in OS X.
    The only safe way to revert to previous versions is by Archive and Install using the Tiger DVD.

  • Finder won't launch after re-install quicktime 7.1

    I reinstalled quicktime 7.1 after having problems with 7.2. I was getting only audio and no video. After the reinstall I rebooted and now the finder won't launch so I can't see my hard drive or any icons on my desktop. And oddly enough the only app that will open is safari and quicktime now works!
    What have I done and any clue on what just happened?

    There is no "re-install" of older software versions allowed in OS X.
    The only safe way to revert to previous versions is by Archive and Install using the Tiger DVD.

  • Apache won't start after ColdFusion Install

    Any suggestions on what to look for, as to why Apache will
    not start after installing ColdFusion MX Dev Edition on a Win 2003
    Server? Is there something in a log file I could look at? Any help
    is appreciated. Also, when I take the JRUN mod out of the Config
    file, Apache starts back up..
    Thanks,
    Brian

    If you're using Apache 2.2+ and CFMX 7+, then you need to
    apply
    a
    hotfix for CF.
    Once you update the wsconfig.jar file, re-run the Web Server
    Configuration Tool. Remove the old Apache mapping and create a new
    one.

  • Address Book Won't Launch after re-installing system.

    Hope someone has a suggestion here. I just installed a new HD and made a nice clean install of system, starting with original that came with my 1st edition G5 Tower and then upgraded to 10.3, then to 10.4.11 (which is where I stop), performing the Apple Software updates along the way. Everything seems to be fine. Boots extremely fast, just like when it was a baby.
    Everything except Address Book. I had been importing e-mails, etc. from my 2nd HD so that I could erase it and went to import from my old Address Book and it won't launch. Does the little animation in the Dock, but immediately quits. If I try to open it through Mail, it immediately kills the Mail application.
    I really don't want to have to go through the lengthy installation process again. Does anone have any thoughts as to what might be causing this? Even the version of Address Book on my 2nd HD is doing the same thing.
    Any help would be appreciated.
    Jim C.

    Ok. For those who are interested, I did a search and was able to find some things to look for. Bottom line is that it is now fixed. For some reason, the required info was not contained within the new system's Application Support directory. In comparing the same directory on both the new system and the one on my 2nd HD, I discovered that there was only one thing in the new directory, while the directory of the other system had many things (including Address Book and DVD Player).
    I hadn't yet launched DVD Player since installing, when I did, I got an error indicating that there was an error starting DVD Player. I copied the directory from the 2nd system into the Application Support on the new system and it then launched instantly.
    I'm not sure why these things didn't get placed in Application Support under normal installation, but that is what the problem was.
    Jim C.

  • Apps. won't launch after system install?

    I had to do a system re-install because of a finder corruption and while the re-install seemed to go okay, many of my third party apps required re-installing, some major apps like FM Pro 11 required re-installing and NONE of my iLife apps will launch.  Any idea, suggestions without having to re-install virtually everything. 

    If you erased the hard drive first, then you should have to reinstall everything. But you did not say what you did to reinstall Snow Leopard.

  • Photoshop CS6 won't launch after successful installing the upgrade on my PC

    After a successful installation process, Photoshop CS6 opens, starts to load, then vanishes....   I'm on a PC where I'd been running CS5, then upgraded to CS6 via internet. Had problems with installation setup, which were settled via Adobe Chat. Now the programme starts up ready to open but shortly after the PS sign comes up and before the window actually opens, just disapears. Can anybody help with this please?

    Ok, I found one more article talking about upgrading to 11.3 upgrade instead of 11.4(latest). Finaly worked. Hope this helps someone else, this was painful.

  • AI cs6 won't launch after Mavericks installed...please help!

    I tried uninstalling and reinstalling, updating from Cloud. Hesitate to upgrade to new CC because don't have that at work.

    sterngirls,
    Did you use the full three step way?
    Uninstall, run the Cleaner Tool, and reinstall?
    http://www.adobe.com/support/contact/cscleanertool.html

  • Apache won't work after 10.5.2 update

    Apache won't work, after I installed the 10.5.2 update.
    When I type the following in the terminal: sudo apachectl -t
    I get a error:
    /usr/sbin/apachectl: line 81: 711 Segmentation fault $HTTPD $ARGV
    Does anyone know how I can solve this?
    thank you!

    I too had the same problem after the auto update 10.5.2 - specifically the 2008-002 update broke my machine in a number of areas.
    I downloaded the package and ran it, this seems to have mopped up the problems caused my the first run.
    The update is located at:
    http://www.apple.com/downloads/macosx/apple/security_updates/
    Look for 2008-002 (Leopard) it's about 50MB.
    Hope this works for you too.

  • ICal won't launch after 10.5.2 upgrade

    my iCal won't launch after 10.5.2 upgrade. it won't even give an "unexpectedly quit" message, it pops up then quits, then nothing. This happened immediately after the upgrade today. I got the leopard disc out and did an archive and install then it worked perfect, no issues, then I did a software update (since I was back to 10.5.0), and installed the 10.5.2 security upgrade, now iCal will not launch, am I the only one with this problem?

    I had the exact same problem -- doubled events and could not edit anything. I flushed the cache as describe in some more detail here: http://www.tipstrs.com/tip/2506/iCal-problem-with-Leopard-Upgrade and everything started working just fine.

  • HELP!!!! Aperture 1 won't open after I installed Snow Leopard.

    Aperture 1.5 won't open after I installed snow leopard. Why is it not working?

    Because it's incompatible. You need to upgrade to version 2.1.4 or newer.
    (56089)

  • Safari won't launch after 3.1.1. download mistake

    safari won't launch after download of 3.1.1 by mistake I only have OS 10.3.9.
    mail won't relaunch either, i downloaded camino it won't launch either, my fire fox works but i can't get to my mail. How do I clean up this mess.

    Mail relies on WebKit for rendering, so it may have problems even after you got rid of the old Safari. I would try download the Mac OS X 10.3.9 Combo Update, and that should update WebKit and everything else for you. It's a 117 MB download, including all the extra languages.
    As for upgrading to 10.4.11, that's a completely new version of Mac OS X compared to your current version. It's faster, has more features, and you can actually run Safari 3.1.1 on it. It's not sold by Apple anymore, but various retailers have unsold copies still available. You might want to check around locally for a "Retail" (boxed) copy, or even on eBay for the same thing. Don't even think about buying a cheap copy for a laptop, since those are specific to those machines; you always want the full boxed copy.
    Mulder

  • "General" in Settings won't open after I installed the iphone 4.0 upgrade.

    "General" in Settings won't open after I installed the iphone 4.0 upgrade. Any ideas?

    Have you tried to reset? Hold off button and home button together until Apple apears.

  • Finder Won't Launch After Traumatic Re-Install

    Hello All,
    I've had one **** of a ride. I run 10.3.9. After a bad Mac update corrupted my boot disc, I was forced to reinstall...but since I bought my G4 used, I didn't have the original discs. I needed a computer up and running immediately, so installed the only operating system I could find...10.2.8. Luckily, all my files and apps are intact.
    Today, I finally managed to find an install disc for 10.3.4. When I installed 10.3.4, everything was great....except that Finder won't launch. I can still launch the programs in my dock, but I can't get to apps that aren't in the dock...namely Final Cut Pro. I thought I might be able to beat it by installing the combined 10.3.9 update from Mac, but my Finder is still dead.
    Any help anyone could provide would be more appreciated than you'll ever know. Thanks!

    Welcome To  Discussions Mulcahey!
    "...so installed the only operating system I could find...10.2.8."
    "...find an install disc for 10.3.4."
    What type of discs are these?
    Are they a Jaguar Full Retail CDs, and a Full Retail Version, of the Panther Install CDs?
    The discs should look exactly like the images in the above links, and not say Upgrade, CPU Drop-in DVD, or "This software is part of a hardware bundle purchase - not to be sold seperately." on them.
    If not, that may be the problem.
    Additional info in these links.
    Using OS X Install CDs/DVDs On Multiple Macs
    What's A Computer Specific Mac OS X Release
    Software Update, Upgrade: What's The Difference?
    ali b

  • ITunes won't launch after system re-install?

    I had to reinstall Snow Leopard after my finder disappeared (I'm assuming some corruption to finder but who knows).  Anyhow, I've spent all day re-installing Snow Leopard and bringing it back up to 10.6.6.  Many of my third party apps needed to be re-installed as did major apps like FM Pro 11.  But the Apple app. that won't launch is iTunes 10.4.1.  Anybody with any thoughts on why this is happening and how I can resolve it?  Thank you.

    I re-verified permissions, shut down and removed all power (inc battery)- restarted and itunes started when launched from doc. I don't know what the difference was, but it seems to be working.

Maybe you are looking for

  • Installed Mavericks 10.9.2 update recently and getting black screen

    Screen goes black like it gets put into sleep mode (but can't be brought back out). I have to do a force power off/on. It seems like this happens when I get a a certain (undetermined) mail notification. I have many gmail and other email accounts conn

  • Photo recived on viber is not saved in photo

    why my photo recived on viber is not saved in phot i am using iphone 4s version 6 can any one help

  • Too much code in my answers report!

    Hi experts! I'm trying to do a report but there is too much code in my columns. So I have (Removed Column) in the condicionals. Anyway that's an error! Is there any place too change the maximum length of the code I can write? Thanks for all!

  • Enterprise Wiki copy bug in "Pages" edit mode

    All functions cease working when I am in the "Pages" edit mode. My Steps: 1. In Enterprise Wiki (SharePoint 2013) I click on "edit this page" 2. Click on View Properties 3. While in the View mode click on Edit 4. Click in the Contact field to copy co

  • Kill NT process

    How can I get a handle to a NT process in my java application and then use that handle to kill the process. Note..that i want handle to a process which has not been started from my java application .