Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > - Web sharing won't start

- Web sharing won't start
Thread Tools
Dedicated MacNNer
Join Date: Mar 2001
Location: not far from my GSM phone
Status: Offline
Reply With Quote
Jan 16, 2003, 01:53 AM
 
10.2.3 - G4/450DP/1GB. web sharing worked perfectly up to recently, and probably (but not confirmed) since I upgraded to 10.2.3 it fails to startup. The box is checked but the status remains "starting up" in the Sharing panel of the sysPrefs.

Any clue anyone?
PS: I did not edit any particular setting in Apache, neither install any special hack.

greg
Lao_Tseu
     
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
Jan 16, 2003, 02:40 AM
 
Try running the following command from Terminal:

% apachectl configtest

If it's your configuration file, this will tell you.
     
lapinos  (op)
Dedicated MacNNer
Join Date: Mar 2001
Location: not far from my GSM phone
Status: Offline
Reply With Quote
Jan 16, 2003, 02:41 AM
 
yes indeed, thanks:
Syntax error on line 2 of /etc/httpd/httpd.conf:
Invalid command 'exec/httpd/mod_negotiation.so', perhaps mis-spelled or defined by a module not included in the server configuration


what do I have to do?
Lao_Tseu
     
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
Jan 16, 2003, 02:51 AM
 
Originally posted by lapinos:
yes indeed, thanks:
Syntax error on line 2 of /etc/httpd/httpd.conf:
Invalid command 'exec/httpd/mod_negotiation.so', perhaps mis-spelled or defined by a module not included in the server configuration


what do I have to do?
In the command line, type:

% sudo pico /etc/httpd/httpd.conf

Then, type Control-W which will allow you to search. Type "negotiation" and the line it brings you to should be the line in question. In my configuration file, it looks like this:

LoadModule negotiation_module libexec/httpd/mod_negotiation.so

My guess is somehow, "LoadModule negotiation_module lib" was removed from that line.
     
lapinos  (op)
Dedicated MacNNer
Join Date: Mar 2001
Location: not far from my GSM phone
Status: Offline
Reply With Quote
Jan 16, 2003, 03:15 AM
 
LoadModule negotiation_module libexec/httpd/mod_negotiation.so

My guess is somehow, "LoadModule negotiation_module lib" was removed from that line. [/B][/QUOTE]

I found the following line in the httpd.conf file:
LoadModule negotiation_module libexec/httpd/mod_negotiation.so

It seems OK...
Lao_Tseu
     
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
Jan 16, 2003, 03:31 AM
 
Can you post your configuration file somewhere? You can e-mail it to me if you'd like (xeo at silter dot com). To get it, you can run this command:

% cp /etc/httpd/httpd.conf ~/Desktop

and pick up "httpd.conf" on your Desktop.

I will figure try and figure out what's wrong. It's giving you a syntax error on line two but complaining about mod_negotiation (or at least a line that contains it).

Running the following command:

% cat /etc/httpd/httpd.conf | grep negotiation

I get this:
LoadModule negotiation_module libexec/httpd/mod_negotiation.so
AddModule mod_negotiation.c
# then use content negotiation to give a browser a file in a language
# in case of a tie during content negotiation.
<IfModule mod_negotiation.c>


That's all the lines in my httpd.conf that contain the word "negotiation." That's one step I will take if I get your httpd.conf file.
     
lapinos  (op)
Dedicated MacNNer
Join Date: Mar 2001
Location: not far from my GSM phone
Status: Offline
Reply With Quote
Jan 16, 2003, 03:42 AM
 
Running the following command:

% cat /etc/httpd/httpd.conf | grep negotiation

I get this:
LoadModule negotiation_module libexec/httpd/mod_negotiation.so
AddModule mod_negotiation.c
# then use content negotiation to give a browser a file in a language
# in case of a tie during content negotiation.
<IfModule mod_negotiation.c>


That's all the lines in my httpd.conf that contain the word "negotiation." That's one step I will take if I get your httpd.conf file. [/B]
I get this
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combine # run by the server when requested rather than as documents sent to the clie # "/Library/WebServer/CGI-Executables" should be changed to whatever your Sc LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca # ("Full" adds the server version; "Block" removes all outgoing Via: headersInclude /private/etc/httpd/usersxample.com-access_log common a knownstts/>.ut

Lao_Tseu
     
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
Jan 16, 2003, 03:47 AM
 
Originally posted by lapinos:
I get this
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combine # run by the server when requested rather than as documents sent to the clie # "/Library/WebServer/CGI-Executables" should be changed to whatever your Sc LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca # ("Full" adds the server version; "Block" removes all outgoing Via: headersInclude /private/etc/httpd/usersxample.com-access_log common a knownstts/>.ut

Wow, you're config file must be very messed up. Send it to me and I will see if it's salvagable.

As another option, if you haven't customized it in anyway, you can just use pacifist to reinstall the httpd.conf file from your OS X install CD.
     
lapinos  (op)
Dedicated MacNNer
Join Date: Mar 2001
Location: not far from my GSM phone
Status: Offline
Reply With Quote
Jan 16, 2003, 03:55 AM
 
Originally posted by Xeo:
Wow, you're config file must be very messed up. Send it to me and I will see if it's salvagable.

As another option, if you haven't customized it in anyway, you can just use pacifist to reinstall the httpd.conf file from your OS X install CD.
did you get my mail?
Lao_Tseu
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:17 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2