Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   httpd could not be started
Date:   2006-11-17 15:05:36
From:   simple_ton
Hello, my trouble is that in my OS X preferences under Sharing, Personal Web Sharing does not respond properly when I select Stop or Start.


Within Terminal, I tryied to start Apache using: sudo apachectl start


and this is the message that follows:


Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/+entropy-php.conf
[Fri Nov 17 15:55:23 2006] [warn] module mod_php5.c is already added, skipping
Processing config file: /private/etc/httpd/users/username.conf
/usr/sbin/apachectl: line 193: 551 Bus error $HTTPD
/usr/sbin/apachectl start: httpd could not be started
MyComp:~ username$


I activated the php mods in httpd but altered nothing else. It worked up until one day at which time it gave me the previous message upon trying to start Apache.


What is wrong and what should I do to correct it?


Thanks for the help!

Main Topics Oldest First

Showing messages 1 through 4 of 4.

  • httpd could not be started
    2008-03-10 17:13:30  crippendorf [View]

    thanks alfredo,

    i had the exact same problem, i had php5 installed but as i had some new wordpress installations the httpd.conf file was altered. commenting out the refernces to PHP4 worked and apache is running again.
  • httpd could not be started SOLUTION
    2007-07-26 06:30:45  AlfredoSanchez [View]

    I know the above is an old post, but I had this problem today and found this post in Google.

    So for others with the same issue:

    I had the same problem. I installed Entropy, then afterwards the Personal Web Sharing service (aka Apache server) refused to start because of a "Bus Error".

    It's because Entropy tried installing PHP 5 when I had already tried installing PHP 4 myself. The solution for me was:

    Open the /private/etc/httpd/httpd.conf file and remove all lines with references to PHP4.
    Reinstall Entropy.
    Restart apache (at the terminal: "sudo httpd restart")

    The bus error then disappears and Personal Web Sharing starts with no problems.
  • httpd could not be started
    2007-01-01 22:35:12  elfarose [View]

    "Trying to start Apache", I thought Apache is allways ON!
  • httpd could not be started
    2007-01-01 22:31:25  elfarose [View]

    "Trying to start Apache", I thought Apache is allways ON!