ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Apache Web Serving with Jaguar
Subject:   Not Able to Start Personal Web Sharing
Date:   2005-07-07 05:14:26
From:   PHP_lovers
On Mac Powerbook G4, OS X 10.2.8 I am not able to start Personal Web Sharing. Have tried from System Preferences-Services and have tried from Terminal.

In Sharing, the Start button remains grayed out (never turning to Stop).
In teminal this is the report
[Bruce-Huddlesons-Computer:~] brucehuddleson% sudo /usr/sbin/apachectl restart
/usr/sbin/apachectl restart: httpd not running, trying to start
fopen: No such file or directory
httpd: could not open document config file /etc/httpd/httpd.conf
/usr/sbin/apachectl restart: httpd could not be started
[Bruce-Huddlesons-Computer:~] brucehuddleson%

The httpd.conf file is stored in Macintosh HD/Previous Systems/Previous System 1/private/etc/httpd/httpd.conf

Do I need to move the httpd.conf to another directory? If so which directory and how do I move it?

Thanks for assisting a newbie.
Not Able to Start Personal Web Sharing
2004-05-08 20:42:30 keath [Reply | View]

If you haven't fixed this already, the answer is that the config file should be in '/etc/http/' and named 'httpd.conf' as the computer is requesting.

You can copy it to the right place using the terminal. Type 'sudo cp /Previous\ Systems/Previous\ System1/private/etc/httpd/httpd.conf /etc/httpd'
Not Able to Start Personal Web Sharing
2004-12-05 12:03:43 PeterEliasson [Reply | View]

I have the same problem. it DID work, but I must have messed stuff up. Now when I used the command line

sudo cp /Previous\ Systems/Previous\ System1/private/etc/httpd/httpd.conf /etc/httpd

I get the answer

cp: /Previous Systems/Previous System1/private/etc/httpd/httpd.conf: No such file or directory

I'm a total newbie so I'm so regretful. How can I make things right again?