Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

FelixT

macrumors newbie
Original poster
May 8, 2011
2
0
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:
Code:
 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
 
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.
 
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.

When i open "/System/Library/WebObjects/Adaptors/Apache/apache.conf" in nano it just shows a blank document
 
When i open "/System/Library/WebObjects/Adaptors/Apache/apache.conf" in nano it just shows a blank document
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.