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

madamimadam

macrumors 65816
Original poster
Jan 3, 2002
1,281
0
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.
 

CHess

macrumors regular
Dec 13, 2001
121
1
San Francisco Bay Area
preference problem

Just curious if either of you tried starting up your Sharing Preferences directly from the SharingPref.prefPane under /System/Library/PreferencePanes/?
 

madamimadam

macrumors 65816
Original poster
Jan 3, 2002
1,281
0
Re: preference problem

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

macrumors god
Staff member
Apr 9, 2001
16,363
5,795
Re: Sharing and Web Sharing

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

macrumors 65816
Original poster
Jan 3, 2002
1,281
0
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.