Web Sharing died

Moderator
Posts: 592
Joined: 2002.12
Post: #1
For some unknown reason Web Sharing has stopped working on my 10.5.6 laptop.

I've tried rebooting and no effect.
I've tried stopping and starting Web Sharing and it comes up telling me it is on and the link to use but still I get a Failed to open page error.

And yes I have tried searching on the internet but I just keep getting stuff about OS X server and its web server.

This happened to me once before and I cannot remember a) what I did to fix it, b) what I entered into Google to actually get a relevant answer.

Additional Information
I have checked the log and get this:

Code:
Apr 22 16:44:12 Vanner /usr/sbin/ocspd[85908]: starting
Apr 22 16:44:19 Vanner org.apache.httpd[85909]: dyld: Symbol not found: _apr_socket_sendfile
Apr 22 16:44:19 Vanner org.apache.httpd[85909]:   Referenced from: /usr/sbin/httpd
Apr 22 16:44:19 Vanner org.apache.httpd[85909]:   Expected in: /usr/lib/libapr-1.0.dylib
Apr 22 16:44:19 Vanner ReportCrash[85910]: Formulating crash report for process httpd[85909]
Apr 22 16:44:19 Vanner com.apple.launchd[1] (org.apache.httpd[85909]): Exited abnormally: Trace/BPT trap

Any suggestions?
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #2
1) Repair disk permissions
2) Create a new user account and see if it works there
3) Archive and install OS X

Kyle Richter
DragonForged.com
Twitter: @kylerichter
Quote this message in a reply
Moderator
Posts: 592
Joined: 2002.12
Post: #3
Option 1 and 2 did not make any difference.

Looks like tomorrow is going to be spent doing 3 Sad
Quote this message in a reply
Member
Posts: 283
Joined: 2006.05
Post: #4
Is it working if you try to access it from the server itself? i.e. visiting http://localhost/ in a browser? That should at least tell you if the problem is with the network or the server.
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #5
maximile Wrote:Is it working if you try to access it from the server itself? i.e. visiting http://localhost/ in a browser? That should at least tell you if the problem is with the network or the server.

It looks like Apache crashes on launch.

Kyle Richter
DragonForged.com
Twitter: @kylerichter
Quote this message in a reply
Moderator
Posts: 3,579
Joined: 2003.06
Post: #6
kodex Wrote:It looks like Apache crashes on launch.

Apparently because it can't find _apr_socket_sendfile. A little googling turns this up, which may be easier than a reinstall of the whole system.
Quote this message in a reply
Moderator
Posts: 592
Joined: 2002.12
Post: #7
AnotherJake Wrote:A little googling turns this up, which may be easier than a reinstall of the whole system.

That did the trick! Thanks, you have saved me a lot of time by preventing the need for a system reinstall.

If there was some star rating system on this forum then you would now have 5 stars.
Quote this message in a reply
Moderator
Posts: 3,579
Joined: 2003.06
Post: #8
Glad it helped Grin
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  outsourcing dev & sharing information including private key dcrhythm 4 3,351 Mar 15, 2009 09:30 AM
Last Post: dcrhythm