Apache Error

Discussion in 'macOS' started by FelixT, May 8, 2011.

  1. FelixT macrumors newbie

    May 8, 2011
    Whenever i go to system preferences and turn on personal web sharing it displays the message "Web Sharing starting up...". Personal Web Sharing never actually starts up it just displays this message. If i try to start apache up using Terminal i get this error message:
     Processing config directory: /private/etc/httpd/users/*.conf
     Processing config file: /private/etc/httpd/users/Music.conf
     Processing config file: /private/etc/httpd/users/ipodft.conf
     Processing config file: /private/etc/httpd/users/rosathomas.conf
     Processing config file: /private/etc/httpd/users/sharonthomas.conf
    fopen: No such file or directory
    httpd: could not open document config file /System/Library/WebObjects/Adaptors/Apache/apache.conf
    /usr/sbin/apachectl start: httpd could not be started
    I am running Mac OS X 10.4.11 if that makes any difference
  2. dyn macrumors 68030

    Aug 8, 2009
    The file may not have the appropriate rights for apache to open it. Since this is a system file you can do a "repair permissions" on your system disk in disk utility; this will automatically restore the appropriate rights for that file. If that doesn't work, check if you can open the file on the commandline with nano, vi or any other editor (it's a system file so use sudo). If it can not be read the file is most likely to be damaged, you then need to restore it from a backup.
  3. FelixT thread starter macrumors newbie

    May 8, 2011
    When i open "/System/Library/WebObjects/Adaptors/Apache/apache.conf" in nano it just shows a blank document
  4. wrldwzrd89 macrumors G5


    Jun 6, 2003
    Solon, OH
    It appears that the file "/private/etc/httpd/users/sharonthomas.conf" doesn't exist on your system. You can easily create one with the touch command (note you'll need to use sudo again). Secondly, it appears that you're attempting to open a file that isn't even close to being on the same path as the problematic one - I fail to see how you got to /System/Library/WebObjects/Adaptors/Apache/apache.conf from the paths given in your logs.

Share This Page