 |
 |
- Web sharing won't start
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2001
Location: not far from my GSM phone
Status:
Offline
|
|
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
|
| |
|
|
|
 |
|
 |
|
Moderator Emeritus 
Join Date: Mar 2001
Location: Austin, MN, USA
Status:
Offline
|
|
Try running the following command from Terminal:
% apachectl configtest
If it's your configuration file, this will tell you.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2001
Location: not far from my GSM phone
Status:
Offline
|
|
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
|
| |
|
|
|
 |
|
 |
|
Moderator Emeritus 
Join Date: Mar 2001
Location: Austin, MN, USA
Status:
Offline
|
|
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.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2001
Location: not far from my GSM phone
Status:
Offline
|
|
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
|
| |
|
|
|
 |
|
 |
|
Moderator Emeritus 
Join Date: Mar 2001
Location: Austin, MN, USA
Status:
Offline
|
|
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.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2001
Location: not far from my GSM phone
Status:
Offline
|
|
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
|
| |
|
|
|
 |
|
 |
|
Moderator Emeritus 
Join Date: Mar 2001
Location: Austin, MN, USA
Status:
Offline
|
|
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.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2001
Location: not far from my GSM phone
Status:
Offline
|
|
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
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|