Can't start Websharing in 10.1.2

Posted:
in Genius Bar edited January 2014
I have a server at home (thousands of miles away) that i administer remotely with ssh and VNC. I just upgraded it to 10.1.2, but now i can't get Web Sharing to start (accessing the System Preferences via VNC).



Until now, it was running 10.0.4 with no problems.



The Sharing panel just hangs with 'Web Sharing starting up...' and Apache never starts.



Any ideas?



Thanks,



robo

Comments

  • Reply 1 of 6
    Did you upgrade directly to 10.1.2? Or did you upgrade to 10.1 then to 10.1.2?
  • Reply 2 of 6
    I am not sure if this is your problem, but when you upgrade to Mac OS 10.1 it breaks the web server. Try starting apache in Terminal.app by typing apachectl start. If it gives you an error about hfs_mod_apple.c or something you need to edit the etc/httpd/httpd.conf file. You only need to change one line from something like AddModule hfs_mod_apple.c(whatever the line that terminal reported an error about) to AddModule mod_hfs_apple.c. Hope this helps.
  • Reply 3 of 6
    roborobo Posts: 469member
    I upgraded to 10.1 and then to 10.1.2.



    I do get an error when i try to start apache from the command line. I checked the httpd.conf file and it contains the line:



    AddModule mod_hfs_apple.c



    Which seems to be the correct one...





    Any other ideas?





    Thanks,



    robo
  • Reply 4 of 6
    What error do you get when you try to start it from the command line?



    [ 12-24-2001: Message edited by: seppak ]</p>
  • Reply 5 of 6
    eugeneeugene Posts: 8,254member
    The way the module is called was changed.



    Your httpd.conf probably looks like this:

    [code]LoadModule apple_hfs_module libexec/httpd/mod_hfs_apple.so</pre><hr></blockquote>



    When it should look like this:

    [code]LoadModule hfs_apple_module libexec/httpd/mod_hfs_apple.so</pre><hr></blockquote>



    This problem only shows up for people who had previously installed Apple's HFS+ support module...manually or via the Web Sharing Update.
  • Reply 6 of 6
    roborobo Posts: 469member
    Thanks Eugene, and everyone else. It's working again.



    Happy Christmas!



    -robo
Sign In or Register to comment.