Web Sharing Won't Start Up.

I was using My Powerbook successfully to develop websites using php and apache but suddenly when I upgraded to 10.4.6 web sharing in the system preferences just hangs when it is selected.
I get a message saying it is starting up but it never gets as far as starting up.
Consequently I can't use php - all I get on php page load containing dynamic data is a white screen.
To further mess things up before I found out what the probelm was I tried to fix PHP by loading up PHP 5 (from entropy). I'm not sure that will have donw too much harm as it seems to have just loaded in a different location and the terminal confirms that PHP 4.4.1 is the version that is running.
Can anyone help me figure out how to fix this mess. I'm not good in the terminal but I'm willing to give anything a go at the moment.
Cheers
Dave

Open Console and then choose Show Log List from the View menu. Navigate to /var/log and then press the right arrow. Choose httpd and then error_log.
PowerMac G5 1.8   Mac OS X (10.4.5)   MacMini (MacOS 10.4.5 Server), 2nd internal HD, LaCie FW 500GB, QPS FW 80MB

Similar Messages

  • Personal Web Sharing won't start up

    I'm sorry if this is duplicated but I when I try to start up my web sharing, it goes grey, says starting but never gets anywhere.
    I was tring to install PHP and tried the 5.0 verison as I have the intel mac. I guess that was a big mistake.
    When I try to use terminal to launch apache I get the following message.
    AllisonServer:~ allisonserver$ apachectl start
    Processing config directory: /private/etc/httpd/users/*.conf
    Processing config file: /private/etc/httpd/users/+entropy-php.conf
    fopen: No such file or directory
    httpd: could not open document config file /private/etc/httpd/users/+entropy-php.conf
    /usr/sbin/apachectl start: httpd could not be started
    In the console utility, when I go to /var/log and then into httpd the window is empty.
    In the console log I'm getting this message
    Processing config directory: /private/etc/httpd/users/*.conf
    Processing config file: /private/etc/httpd/users/+entropy-php.conf
    fopen: No such file or directory
    httpd: could not open document config file /private/etc/httpd/users/+entropy-php.conf
    /usr/sbin/apachectl start: httpd could not be started
    Can anybody help me clear out the PHP5 if that's my problem.
    I would also like to know how to tell if i have apache 1.2 or 2.0?
    Thank you in advance

    Go here and read the PHP Problems part:
    http://Gnarlodious.com/Computer/Apache

  • Web Sharing won't start anymore.

    http://img187.imageshack.us/img187/5320/kuva7tg5.jpg
    "Web share is starting" and nothing happens. I wonder why, it worked a couple days ago.

    Its odd that you got that security warning. You usually only see that when youre opening folders/files of another non-system user... ive never seen it when invoking a command via sudo unless ofcourse sad command alterd files/folders belonging to a non-system user....
    anyhow apache is starting apparopriately as noted by "httpd started". So regardless of whats showing in system prefs it should be running.
    You should now be bale to access your local web server. To test go to:
    http://localhost/
    which is the web root of your system (/Library/WebServer/Documents)
    and:
    http://localhost/~username/
    which is your user web root (/Users/username/Sites)
    either one of these urls shoudl load the index.html or whatever index is there. By default it should be a the apache welcome page unless youve replaced it.
    If you get an error in your browser then it means the apache user (www) dosent have read/execute acess or there is no valid index to display - it could be couple more things too in the case of your user webroot but one thing at a time.
    try those urls in a browser on the system running apache and tell me what you get (the proper page, 404, 500, etc..).

  • Personal Web Sharing won't start

    It will only say "starting" but nothing happens. Is there a known fix for this?
    Thanks

    Hi Eric!
    The only thing I can think is turn off your firewall first then turn on the sharing. Then go back and turn your firewall on again. Because if you want this feature enabled you must have this port open in your firewall. There's a chance this is what you're experiencing...
    Let us know...Reg

  • Web sharing is not starting

    Yesterday i reinstalled the os x bundle cause of isyn was not working properly now isync is working fine but web sharing is not starting. i checked on web sharing from system preferences when i closed the window and comeback again to sharing i see web sharing everytime unchecked i did also locked but still unchecked. if i go to localhost/mysite its say: "Safari can’t open the page “http://localhost/” because it could not connect to the server “localhost”. please tell what i am doing wrong.

    Thanks web sharing is working but if i type http://localhost/gmm/index.html it says"Not Found"
    The requested URL /gmm/index.html was not found on this server.
    but if i type http://localhost/index.html it shows apache page and says "This page is here because the site administrator has changed the configuration of this web server. Please contact the person responsible for maintaining this server with questions. The Apache Software Foundation, which wrote the web server software this site administrator is using, has nothing to do with maintaining this site and cannot help resolve configuration issues." but i can't see this page in the Sites folder. I didn't change any thing, don't know what to do.

  • Web sharing will not start OS X Lion

    Hi there,
    I am new to all this so I have probably made some simple errors and I hope someone can help me. I will retell what I have done as I haven't a clue what part of what I have done has mucked things up.
    I am really stuck. Web sharing will not start on my iMac running Lion OS X. It did work fine and then I wanted to activate PHP so my test website contact form would work (and send the data on the form throught to my email address.
    Before I did anything I turned on websharing and could view my website from another computer using: http://192.168.1.4/~stewartfergusson/
    I think followed the instructions on this link to activate PHP - http://foundationphp.com/tutorials/php_leopard.php
    I then did a few things in terminal and will paste below what I did:
    Password:
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Wed Jan  4 09:03:03 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Thu Jan  5 06:19:15 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo In -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    Password:
    sudo: In: command not found
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    ln: /usr/lib/libpq.5.dylib: File exists
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl -t
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl configtest
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$
    An important point to note is that I now appear to have more than one http.config file and they are located in the following locations:
    1) Macintosh HD/etc/apache2/httpd.conf.default
    2) Macintosh HD/etc/apache2/httpd.conf.default.default
    3) Macintosh HD/etc/apache2/original/httpd.conf
    I edited this file (which one I have not got a clue) and also the php.ini file within Macintosh HD/etc/ using Terminal - the command I used was sudo cp php.ini.default php.ini
    This php.ini file now exists in two locations now as well:
    1) Macintosh HD/etc/php.ini
    2) Macintosh HD/etc/php.ini.default
    I then edited this file by changing the line of code below from:
    514 error_reporting = E_ALL & ~E_NOTICE (I think it said E_DEPRECATED actually) but I am lifting this from the web page in the link above)
    To:
    514 error_reporting = E_ALL
    I then saved this file.
    I then deactivated web sharing in System Preferences and since then have not been able to restart Web Sharing. I click it and it flashes orange for a second then does not start.
    This was all done to activate PHP on my iMac so I can host my own site which has a PHP contact form page.
    Please help I am so out of my depth I am very worried I may have changed things and I am going to forget what I did.
    If you need to know anything then please ask.
    Thank you so much
    sfergusson1
    'JollyoldEngland'

    Just to add I didn't post all the things I did in Terminal - here it is:
    Last login: Sun Jan  1 09:01:52 on console
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd/private/etc
    -bash: cd/private/etc: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd prvate
    -bash: cd: prvate: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd private
    -bash: cd: private: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd /private/etc
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo cp php.ini.default php.ini
    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.
    To proceed, enter your password, or type Ctrl-C to abort.
    Password:
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Wed Jan  4 09:03:03 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Thu Jan  5 06:19:15 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo In -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    Password:
    sudo: In: command not found
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    ln: /usr/lib/libpq.5.dylib: File exists
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl -t
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl configtest
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$

  • Web services won't start - error 100002

    Hi there
    I have done a freash install of Leopard Server 10.5.4 and updated to 10.5.8 on an Xserve G5. Added a 2nd web site (in addition to default) and now web services won't start returning the error:
    A service has encounted an error.
    Try to refresh the view (mysever.com/Web)
    (Could not start web service - details in error log.)
    100002
    Below is in the error log for both web sites:
    Syntax error on line 1310 of /private/etc/httpd/httpd.conf:
    Invalid command '<Proxy', perhaps mis-spelled or defined by a module not included in the server configuration
    The following is a Console Message:
    10/4/09 10:50:18 PM com.apple.launchd[1] (org.apache.httpd-1.3[4682]) Exited with exit code: 1
    10/4/09 10:50:18 PM com.apple.launchd[1] (org.apache.httpd-1.3) Throttling respawn: Will start in 10 seconds
    Any pointer of how to solve this would be appreciated.
    Cheers, Paul

    Thanks for the reply. line 1310 is <Proxy disabled_proxy>
    #NoCache a_domain.com another_domain.edu joes.garage_sale.com
    <Directory "disabled_proxy">
    Allow from example.com
    Order Deny,Allow
    Deny from all
    </Directory>
    <Proxy disabled_proxy>
    Allow from example.com
    Order Deny,Allow
    Deny from all
    </Proxy>
    </IfModule>

  • Personal web sharing will not start up

    my personal web sharing will not start up.
    i tried to start it up at work on my laptop and i got a message that said anther computer on the network was using the same name. since then the personal web sharing can be clicked on but, never starts up.
    anyone have any ideas how i can fix this? i am trying to learn PHP and i need to have it working so i can sync up with apache.

    Try changing your computer's name. To do so go to the Sharing preference pane and change the computer's name to something else. Try restarting web sharing after this...

  • Personal web sharing will not start

    my personal web sharing will not start up.
    i tried to start it up at work on my laptop and i got a message that said anther computer on the network was using the same name. since then the personal web sharing can be clicked on but, never starts up.
    anyone have any ideas how i can fix this? i am trying to learn PHP and i need to have it working so i can sync up with apache.

    my personal web sharing will not start up.
    i tried to start it up at work on my laptop and i got
    a message that said anther computer on the network
    was using the same name. since then the personal web
    sharing can be clicked on but, never starts up.
    anyone have any ideas how i can fix this? i am trying
    to learn PHP and i need to have it working so i can
    sync up with apache.
    The solution to your problem is most likely contained within your question.
    You'll need to locate the machine on your network that has the same name as yours and change its name... or you'll need to rename your computer to something else.

  • Web-Sharing does not start up-

    Hello,
    I have a problem with my Web-Sharing. When I activate "Web-Sharing" in my Sharing-Preferences, the httpd (Apache webserver) doesn't start up (as can be seen in the activity monitor), thus I'm not able to connect to the webserver with Safari. I only have this issue on my iMac (10.5.2), it works perfectly on the PowerBook (10.5.2).
    Does anyone have a solution without reinstalling Leopard?
    Thanks a lot.
    Till

    Interesting… The console says:
    02.03.08 17:57:55 org.apache.httpd[1390] (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    02.03.08 17:57:55 org.apache.httpd[1390] Unable to open logs
    02.03.08 17:57:55 com.apple.launchd[1] (org.apache.httpd[1390]) Exited with exit code: 1
    02.03.08 17:57:55 com.apple.launchd[1] (org.apache.httpd) Throttling respawn: Will start in 10 seconds

  • Personal web sharing is not starting up

    when i start my personal web sharing i get this error
    dyld: NSLinkModule() error
    dyld: Symbol not found: ap_popenfex
    Referenced from: /usr/libexec/httpd/modlogforensic.so
    Expected in: flat namespace
    /usr/sbin/apachectl: line 175: 10617 Trace/BPT trap $HTTPD
    /usr/sbin/apachectl start: httpd could not be started
    May 30 14:27:19 JavaJax crashdump[10618]: httpd crashed
    May 30 14:27:19 JavaJax crashdump[10618]: crash report written to: /Library/Logs/CrashReporter/httpd.crash.log
    i have no idea what any of that means

    "
    total 4664
    -rw-r--r-- 1 root wheel 8304 Jun 27 2001 httpd.exp
    -rwxr-xr-x 1 root wheel 113376 Jun 27 2001 libdav.so
    -rwxr-xr-x 1 root wheel 223700 Jun 27 2001 libperl.so
    -r-xr-xr-x 1 root wheel 1184376 Jun 27 2001 libphp4.so
    -rwxr-xr-x 1 root wheel 71640 Jun 27 2001 libproxy.so
    -rwxr-xr-x 1 root wheel 145880 Jun 27 2001 libssl.so
    -rwxr-xr-x 1 root wheel 13512 Jun 27 2001 mod_access.so
    -rwxr-xr-x 1 root wheel 9472 Jun 27 2001 mod_actions.so
    -rwxr-xr-x 1 root wheel 13928 Jun 27 2001 mod_alias.so
    -rwxr-xr-x 1 root wheel 8956 Jun 27 2001 mod_asis.so
    -rwxr-xr-x 1 root wheel 13872 Jun 27 2001 mod_auth.so
    -rwxr-xr-x 1 root wheel 9340 Jun 27 2001 modauthanon.so
    -rwxr-xr-x 1 root wheel 9544 Jun 27 2001 modauthdbm.so
    -rwxr-xr-x 1 root wheel 28960 Jun 27 2001 mod_autoindex.so
    -rwxr-xr-x 1 root wheel 33128 Jan 30 2006 mod_bonjour.so
    -rwxr-xr-x 1 root wheel 9644 Jun 27 2001 modcernmeta.so
    -rwxr-xr-x 1 root wheel 15048 Jun 27 2001 mod_cgi.so
    -rwxr-xr-x 1 root wheel 13816 Jun 27 2001 mod_digest.so
    -rwxr-xr-x 1 root wheel 9228 Jun 27 2001 mod_dir.so
    -rwxr-xr-x 1 root wheel 9236 Jun 27 2001 mod_env.so
    -rwxr-xr-x 1 root wheel 13664 Jun 27 2001 mod_expires.so
    -rwxr-xr-x 1 root wheel 9180 Jun 27 2001 mod_headers.so
    -rwxr-xr-x 1 root wheel 9100 Jun 28 2001 modhfsapple.so
    -rwxr-xr-x 1 root wheel 18440 Jun 27 2001 mod_imap.so
    -rwxr-xr-x 1 root wheel 32904 Jun 27 2001 mod_include.so
    -rwxr-xr-x 1 root wheel 18988 Jun 27 2001 mod_info.so
    -rwxr-xr-x 1 root wheel 20020 Jun 27 2001 modlogconfig.so
    -rwxr-xr-x 1 root wheel 13968 Jan 30 2006 modlogforensic.so
    -rwxr-xr-x 1 root wheel 14576 Jun 27 2001 mod_mime.so
    -rwxr-xr-x 1 root wheel 23804 Jun 27 2001 modmimemagic.so
    -rwxr-xr-x 1 root wheel 28392 Jun 27 2001 mod_negotiation.so
    -rwxr-xr-x 1 root wheel 51936 Jun 27 2001 mod_rewrite.so
    -rwxr-xr-x 1 root wheel 13784 Jun 27 2001 mod_setenvif.so
    -rwxr-xr-x 1 root wheel 14052 Jun 27 2001 mod_speling.so
    -rwxr-xr-x 1 root wheel 22428 Jun 27 2001 mod_status.so
    -rwxr-xr-x 1 root wheel 9272 Jun 27 2001 moduniqueid.so
    -rwxr-xr-x 1 root wheel 9188 Jun 27 2001 mod_userdir.so
    -rwxr-xr-x 1 root wheel 9652 Jun 27 2001 mod_usertrack.so
    -rwxr-xr-x 1 root wheel 13576 Jun 27 2001 modvhostalias.so
    "

  • Personal Web Sharing doesn't start up

    A while ago I shut off the "Personal Web Sharing" tool simply because I did not need it. However at this moment I'm trying to restart it (which I assume is the Apache web service). So I go to System Preferences -> Sharing, and tick the "Personal Web Sharing" box. However, when I do, all I get is the message "Web sharing is starting up..." It stalls there and doesn't go any further.
    I haven't made any changes to Apache, but I have attempted to install PHP on my system using the package on http://www.entropy.ch/software/macosx/ -- it failed, giving me a generic error message.
    Is there a solution to this problem? Does it have anything to do with the messed-up PHP installation?

    I am experiencing the same problem: going through the System Preferences (in OSX 10.4.10), to the Sharing pane, then the Services Tab, and clicking Start Personal Web Sharing only gives me "Starting Web Sharing..." and never actually starts it.
    I have tried the following solutions:
    • replaced httpd.conf files using both the httpd.conf.default file from the machine in error as well as from another Mac (adapting the usernames as appropriate)
    • replacing the entire /private/etc/httpd directory with the one from the other Mac, whose Web Server will start up
    • when starting it via Terminal, i get "fopen: no such file or directory" so I created it... no dice.
    Can anybody give me any more suggestions?
    If not, I do have AppleCare on it - think they might help?

  • Personal File Sharing Won't Start

    My computer (G5 Dual Core Intel, 10.4.10) has suddenly stopped allowing connections from other computers. Went into the Sharing preference pane and personal file sharing was unchecked. Checked the box, set there saying "starting..." for a long time, closed the window, went back in and it was off again. Everytime I click on the Sharing preference pane it takes a REALLY long time to open, all other panes open just fine. I have ran Applejack, which repairs permissions and such, still no luck. Any ideas?

    No Luck.... Still doesn't work, after dragging those files to the desktop I couldn't even connect to the network or the internet from this computer any longer. The sharing preference pane still hangs (either for a long time or forever) when trying to open it. Also, one of the files you mentioned isn't there and not found anywhere else on my computer. com.apple.internetconnect.plist
    Sorry on the G5, old habits die hard I guess.
    Thanks,
    Eric

  • CiscoWorks Web Server won't start after LMS upgrade 3.0 - 3.2

    I upgraded CiscoWorks LMS from 3.0 to 3.2 today.  Everything worked prior to the upgrade.
    The upgrade was successful, with no errors, and all services started except "CiscoWorks Web Server" which has the following error.
    Apache.exe: Syntax error on line 1025 of C:/Program Files/CSCOpx/MDC/Apache/conf/httpd.conf: Cannot load C:/Program Files/CSCOpx/MDC/Apache/modules/mod_ssl.so into server: The operating system cannot run %1.
    Environment:
    Windows 2003 SP2 Enterprise R2 32-bit, 8 GB RAM, HP BL460c Server
    I suspect there is a problem with the precompiled apache installation?
    I was wondering if someone could zip up a known-working C:/Program Files/CSCOpx/MDC/Apache folder for me from CiscoWorks LMS 3.2?
    Or if someone has a patch or update to 3.2 to correct this?  Or, where I can get LMS 3.1 instead of 3.2 if LMS 3.2 is buggy?
    Or if there is some other solution?  (even if it is a clean install... although I'd rather wait to see if someone can solve this a better way)

    Do you have another application that might be loading Apache or OpenSSL on that same server?
    Search for theses files and verify its located in CSCOpx\bin directory .
    cwssleay32.dll
    cwlibeay32.dll
    If not, copy it from CSCOpx\setup\support directory to CSCOpx\bin directory and then restart the server.
    Get the MDCSupportZip output from C:\Program Files\CSCOpx\MDC\bin\mdcsupport.exe file and upload it here.

  • SUN WEB SERVER WON'T START AFTER CHANGING JVM & CLASSPATH

    hi all,
    i have a sunfire 280r box running solaris 8 which i installed with sun web server 6.0 sp11.
    the default java is
    root@smartvideo1 # java -version
    java version "1.2.2"
    Solaris VM (build Solaris_JDK_1.2.2_10, native threads, sunwjit)
    but this is what i need for my java classes
    root@smartvideo1 # /usr/j2se/bin/java -version
    java version "1.4.2_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
    root@smartvideo1 #
    i set the JVM & CLASSPATH settings to /usr/j2se and rebooted the hardware.
    now, when i try to start the web server, i get the ff:
    [08/Apr/2008:03:23:29] info ( 835): iPlanet-WebServer-Enterprise/6.0SP11 B12/15/2006 03:03
    [08/Apr/2008:03:23:29] failure ( 835): Configuration initialization failed: Error running init function load-modules: dlopen of /usr/iplanet/servers/bin/https/lib/libNSServletPlugin.so failed (ld.so.1: ns-httpd: fatal: libjvm.so: open failed: No such file or directory)
    would appreciate any help.
    thanks :)

    hi mv,
    tried your suggestion of installing sun webserver7 but i got an error, something like "can't use sparcv9.so" (too bad i didn't copy the entire error before uninstalling). may have something to do with patches for solaris8. unfortunately, i don't have access to the patches since my support for the hardware ended many years ago.
    was able to get 108434-18 but not 108435-18 which needs an active support account.
    Apr 13, 2008 7:32:55 PM com.sun.web.installer.common.dialogs.CustomDirectorySelectionPanel is
    DisplayComplete
    INFO: Installing Sun Java System Web Server 7.0U2
    Apr 13, 2008 7:32:55 PM com.sun.web.installer.web.dialogs.PatchDetectionListener displayWarni
    ng
    INFO: The following patches need to be installed for the server installation to complete succ
    essfully.
    Patches to be installed: [108435-18]
    Edited by: r3.062167 on Apr 13, 2008 5:16 AM

Maybe you are looking for