Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   Apache won't start
Date:   2001-12-10 06:03:44
From:   wcostain
Hi, I am running OS X on an ibook, and when I try to start web sharing, the button grays and nothing happens (ie, the button doesn't become a stop button). When I check the active processes, no httpd. Any ideas?


Full Threads Oldest First

Showing messages 1 through 8 of 8.

  • Apache won't start
    2001-12-10 12:01:53  loren3 [View]

    i had the same problem. see recent article in macfixit os x section. i

    looking at the console, i saw i was missing a file called:

    /etc/httpd/httpd.conf

    there was a file called:
    /etc/httpd/httpd.conf.bak

    i went to the /etc/httpd/ directory and duplicated the backup file as:

    %sudo cp httpd.conf.bak httpd.conf

    then it worked.

    who knew.

    • Apache won't start
      2001-12-10 12:18:55  egonspock [View]

      I am sorry, but that is not enough for me to make it work! do they have to have sufficient priviledges or anything like that?
  • Morbus Iff photo Apache won't start
    2001-12-10 08:07:40  Morbus Iff | O'Reilly Author [View]

    Do you know how to get into your Terminal? If so, run "httpd -t". What do you get for output? What version of the OS are you running?
    • Apache won't start
      2001-12-10 12:28:30  wcostain [View]

      I am running 10.1.1

      [wcostain:~] willardc% httpd -t
      dyld: httpd Undefined symbols:
      _apple_hfs_module


      Seems to be the same as the other guy.
      • Morbus Iff photo Apache won't start
        2001-12-10 12:42:37  Morbus Iff | O'Reilly Author [View]

        This is a common problem after updating to 10.1. There's a Apple Knowledge Base article that will explain how to fix it in depth:

        http://docs.info.apple.com/article.html?artnum=106505

        Unfortunately, you do need a username and a password to see this document. For a quicker explanation, check out this article:

        http://www.stepwise.com/Articles/Technical/2001-09-29-01.html

        It's under the "Apache breaks upon update" heading. I have to admit that I haven't run into this error myself, but the answers I've seen are solid and make sense, so things should go smoothly for you.
        • Apache won't start
          2001-12-11 05:51:12  wcostain [View]

          Thanks. I went to the stepwise site and did what they suggested:



          sudo perl -i.prefix -p -e 's/apple_hfs_module/hfs_apple_module/g' /etc/httpd/httpd.conf

          This seems to have done the trick.
    • Apache won't start
      2001-12-10 12:02:37  egonspock [View]

      I seem to have the same problem on my iBook. I get
      [localhost:~] kgani% httpd -t
      dyld: httpd Undefined symbols:
      _apple_hfs_module
      in the Terminal. Is this a common problem? My G3-desktop works flawlessly.
      • Apache won't start
        2001-12-11 20:17:38  chet [View]

        % httpd -t
        Password:
        dyld: httpd Undefined symbols:
        _ap_ctx_get