PDA

View Full Version : Sharing and Web Sharing


madamimadam
Mar 11, 2002, 07:53 PM
Does anyone know how to activate sharing and web sharing with TCP sharing active though the terminal????

My sharing pane is corrupt and I haven't the time to reinstall right now.

MacAztec
Mar 11, 2002, 08:34 PM
Mine is too! I have a G4 400 AGP, maybe someting is up...:confused:

CHess
Mar 11, 2002, 09:08 PM
Just curious if either of you tried starting up your Sharing Preferences directly from the SharingPref.prefPane under /System/Library/PreferencePanes/?

madamimadam
Mar 11, 2002, 09:14 PM
Originally posted by CHess
Just curious if either of you tried starting up your Sharing Preferences directly from the SharingPref.prefPane under /System/Library/PreferencePanes/?

Just tried that, it crashes

arn
Mar 11, 2002, 09:14 PM
Originally posted by madamimadamtimallen
Does anyone know how to activate sharing and web sharing with TCP sharing active though the terminal????

My sharing pane is corrupt and I haven't the time to reinstall right now.

For websharing

run /usr/sbin/apachectl from the command line

without arguements, you'll get directions

usually (and you prob have to be root)

/usr/sbin/apachectl start
/usr/sbin/apachectl stop
/usr/sbin/apachectl restart

etc....

arn

madamimadam
Mar 11, 2002, 09:20 PM
Thanks arn, here is the result:

[localhost:~] adamrice% /usr/sbin/apachectl start
fopen: No such file or directory
httpd: could not open document config file /etc/httpd/httpd.conf
/usr/sbin/apachectl start: httpd could not be started

mac15
Mar 11, 2002, 09:52 PM
wow this a first
a problem we can't solve