PERSONAL WEB SHARING ON iMAC G5 WILL NOT START

hello:
i am hoping someone would be able to help me on this issue. i attempted to start the Personal Web Sharing service on my computer (iMAC G5 with MAC OS 10.4) from System Preferences > Sharing. however, after i highlight Personal Web Sharing on the list of services and click the Start button, the message changes to "web sharing starting up..." and simply remains that way (i've waited for a long time). it does not change to "web sharing on".
am i doing something wrong? is it possible that my Apache installation has been compromised? my goal is to be able to use my computer to create and run .php web pages.
any help / suggestions are greatly appreciated
iMac G5   Mac OS X (10.4.8)  

Sorry, this still doesn't seem to be working.
Actually, it's me steering you wrong. It's been a while since I fooled around with the Entropy PHP installation and it looks like he's changed it.
He used to put the configuration stuff for PHP at the bottom of the main Apache config file, but now he's putting it in that separate file in the httpd users directory. That's why moving the default Apache configuration file into place didn't help.
You have two choices: one is to just forget about the PHP5 stuff for now and go with Apple's default PHP install. The other is to try to get PHP5 up and running.
The first option is very easy: just run this command:
<pre class="command">mv private/etc/httpd/users/+entropy-php.conf ~/Desktop</pre>That will put the offending file on the desktop. Now try starting the web server. Most likely, PHP won't work yet, but Apache should start. In order to use the default PHP5, you need to make some changes to the httpd.conf file. You can use pico in the Terminal. It's pretty simple and the key commands are printed at the bottom. Where you see the up arrow listed, that means to use the "control" key, i.e., "control"-x to exit. You need to use sudo, though so you have root privileges:
<pre class="command">sudo pico /etc/httpd/httpd.conf</pre>Search ("control"-w) for "php". The first line you'll see is this:
<pre class="command">#LoadModule php4_module libexec/httpd/libphp4.so</pre>Uncomment it by removing the "#" from the start of the line. Search again until you find this line:
<pre>#AddModule mod_php4.c</pre>Again, remove the "#". Now search again until you find these lines:
<pre class="command"><IfModule mod_php4.c>
# If php is turned on, we repsect .php and .phps files.
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
# Since most users will want index.php to work we
# also automatically enable index.php
<IfModule mod_dir.c>
DirectoryIndex index.html index.php
</IfModule>
</IfModule></pre>Just verify that they look like these. If they don't, copy and paste your corresponding lines into a reply. Now stop and restart the web server and see if PHP pages will work. You should be using OS X's built-in 4.x version.
If, on the other hand, you'd rather use the Entropy PHP5 installation, post back and tell me and we'll see if we can figure out what's up with that...
charlie

Similar Messages

  • MacoBook Pro connecting wirelessly via Personal Web Sharing from iMac G5

    Subject line says it all... more specifically my problem is that some things seem "blocked" on the MBP when i'm connecting wirelessly via my iMac network, but then are 100% functional when I use other wireless networks.
    examples:
    • gmail via Mail.app [mailbox always has the ! symbol and says it's timed out]
    • playing app-based online games, certian functions will not work
    • using FTP software, it won't connect
    Maybe this an issue I can fix with port forwarding, if so how do I go about doing this? I was told my iMac is technically acting as a router, but I don't have a lot of experience with this type of networking. Thanks!
    iMac G5 2GHz • 15" MacBook Pro 2GHz   Mac OS X (10.4.9)  

    Personal Web Sharing can be a bit tricky and yes, it's because of the firewall on the Mac that's sharing its connection.
    The actual firewall software in the Mac is completely configurable, but the friendly user interface doesn't support the more sophisticated configurations. Fancier setups would require the use of commandline scripts run from Terminal.
    You'll save yourself a lot of headaches if you buy a wireless base station, and forget about using Personal Web Sharing. A $60 Linksys will do the job nicely.

  • Personal Web Sharing Works on One Mac, Not on Other

    I can't get Personal Web Sharing to work with my MacBook Pro. It does work with my iMac. Yes, I can turn it on just fine on the MacBook, by means of System Preferences->Sharing, but I can't successfully use the Personal Web http:// link I see there as a URL in my iMac's browser. When I try, it tells me it can't connect to the host, i.e., the MacBook. When I do the same in reverse, from my MacBook browser with my iMac as target (though the local IP address and the short-user-name are of course different), the connection works fine. 
    I don't think I'm using an incorrect local IP address to try to get to my MacBook. I've checked that. And I do have an index.html file in the appropriate Sites folder on each machine. 
    I'm using Mac OS Leopard 10.5.8 on both machines.
    The problem also shows up on Safari on my iPhone. It can access Personal Web Sharing on the iMac but it can't on the MacBook.  
    I wonder if it's a Bonjour problem? I don't exactly know if Bonjour is running on the MacBook, or how to tell if it is, or how to activate it if it isn't running.
    Or, if it's not Bonjour, what could it be?

    Doug,
    'sudo apachectl start' asked for my password and seemed to have no complaints after getting it. But it didn't tell me anything, and it didn't make a difference.
    After checking out some FAQs at
    http://httpd.apache.org/
    I tried 'apachectl -k start' and got:
    (13)Permission denied: make_sock: could not bind to address [::]:80
    (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open logs
    It made no difference whether Personal Web Sharing was on or off in System Preferences when I did that.
    I do know that the Apache log file is apparently not there where apachectl expects it. I don't understand the other stuff it said, but it looks like maybe it was trying to use an IP address of 0.0.0.0 instead of 10.0.1.16.
    10.0.1.16 is the local IP address of my MacBook.
    I tried 'apachectl configtest' and got 'Syntax OK'.
    I tried moving index.html to /Library/WebServer/Documents -- no help.
    I tried creating a new configuration file in the way you said to try -- no help.
    No matter what I try, I get:
    Unable to connect
    Firefox can't establish a connection to the server at 10.0.1.16.
    I'm beginning to wonder if the Apache environment might not need to be reinstalled. But I'm not sure how. I'm running Leopard 10.5.8, but the original install disk I have is 10.5.1. Software Update moved me up from that to 10.5.8 over time. Your further thoughts and advice will be greatly appreciated ...

  • Imac G5 will not start up correctly? invalid directory count 52 instead of 53

    Hi, i have a Imac G5. it had been working fine for many years untill a year or 2 ago when it stopped all of a sudden and just would not start up as it should. instead, it went to this grey screen with horizontal lines. eventually after trying just about every combination of keys held down on startup, the only way i could get the mac to restart was by starting it in safe mode. (at this point i rescued all my photos and music and moved them onto my macbook pro) i thought it was working fine in safe mode untill i realised that it could not connect to the internet, the sound would not work at all, and when i went to preferances it could not find any output device for the sound. it also keeps coming up with a message saying that my internet communication device does not exist. allot of the programs worked fine, such as word, or photoshop, whereas others would not. i verified the disk, and discored that it would not let me repair it.
    Invalid directory count
    it should be 53 instead of 52)
    checking attributes file
    checking volume bitmap
    checking volume information
    repaired.",1)
    macintosh hd
    error: the underlying task reported failure on exit
    HSF volume checked
    volume needs repair
    it then came up with a message saying that he disk utility stopped verifying the macintosh hd because of it reporting the failure on exit.
    i have tried doing this a few times but the exact same result is gained
    i tryed using disk repair whilst starting up from the original install disk, but this also did not fix the problem. eventually, i decided to reinstall the os x 10.4.11. this had absolutely no effect, and i am at the same point. i would be very gratefull if anybody would be able to come up with any ideas of how i could fix this problem?
    additional details: i have tried using the proxy reset
    i have also tried running a apple hardware test
    i have tried repairing the macintosh hd disk using the original install disks
    also: all of the sockets at the back work fine, e.g. usb, but the microphone and headphone sockets do not work.
    it will read disks fine

    but this also did not fix the problem. eventually, i decided to reinstall the os x 10.4.11. this had absolutely no effect,
    I'd have guess you reformated at that time. The file system is messed up.  You need to reformat.
    Format a disk using the installation DVD
    To format  the startup drive, you will need to run disk utility from your installation DVD.
    This article  will tell you how to get to disk utility.  Once in a disk utility, you can go and format the disk.
    http://support.apple.com/kb/TS1417
    To format your startup drive, you will need to run disk utility from your startup DVD.
    Mac OS X 10.4: About the utilities available on the Mac OS X 10.4 Install DVD
    http://support.apple.com/kb/HT2055
    How to run disk utility from your startup DVD.
    Insert your  startup DVD  into your reader.  Power down your machine.  Hold down to the c key.  Power on your machine.  This will bootup your startup DVD. ( Alternatively, you may hold down the control key, this brings up the startup manager. Click on the desired volume. Click on the right arrow. )
    This will bring you to a panel asking you for your language.  Pick your language.
    You you come to the Install Mac OS panel.  Do not install.
    Click on Utilities menu item.  This will give you a pulldown list of utilities.
    Click on the disk utility.
    Start up disk utility.
    On the left pane view, you will see a list of all your disks.  Click on the external  disk.
    Click on the partition tab.
    You will now see how your external disk is currently set up.  Fill in the information as appropriate. You should pick Mac OS Extended (Journaled).
    More details on formatting.
    http://www.kenstone.net/fcp_homepage/partitioning_tiger.html

  • IMac G4 will not start up from OS disk to upgrade

    I am trying to upgrade the OS in a G4 iMac, the OS disk is recognized, am asked to restart, but it will not restart from the OS 10.5 disk.

    Will it boot from the install disc that came with the G4?  If so, run
    Disk Utility
       1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
       2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
          Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
       3. Click the First Aid tab.
       4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
       5. Select your Mac OS X volume.
       6. Click Repair. Disk Utility checks and repairs the disk.
    After that, reset the PRAM  and see if that helps.
    Please post back with results,

  • IMac G5 will not start.

    Hello folks, I believe I have quite a tricky problem.
    I have an iMac G5 with OS X Snow Leopard (10.5.8) installed. This morning I went to reboot it all and re-install the OS, as it has been a long time since I had done so previously. This carried through well, and I proceeded to run boot camp assistant so as to partition my computer with Windows XP SP2.
    It is at this point I should add that my disc drive on the mac is very faulty, and i have been using an external Samsung disc drive to install the software which has thus far seemed readable and compatible.
    After putting the XP disc in and commencing installation, the computer restarted and did not recognise the disk. When I tried again, the computer restarted to the point where I was blocked by alternating images of the apple logo and a no permission symbol, as well as the occasional appearance of a folder with a question mark on it.
    Now, I really need advice for simply how to get my computer to a point where i can start from absolute scratch. Unfortunately, I cannot do this as I can get no further than the original screen.
    I have tried the following:
    Pressing 'c', to run through the disk.
    Pressing 'x', as to force the start up mode.
    Pressing 'shift', to enter safe mode.
    Pressing 'cmd' and 's', which supposedly works occasionally.
    Pressing 'alt', just in case it was confused between hard drives
    Pressing 'cmd', 'ctrl', 'r' and 'p', which again is supposedly useful.
    Unplugging from the socket for hours on end.
    Unplugging all external connections to the iMac.
    I have quite frankly, exhausted all my ideas. If any of you have any insight, it would be greatly appreciated. Remember that my disk drive is external, as i believe that part of the problem rests there.

    Hi Aaron,
    When the family first got the computer (I inherited it, hence my need to run Windows OS primarily), it had the Tiger OS, meaning I had to install bootcamp separately so as to put Windows on. However, a few years later, we bought the Snow Leopard system and it had bootcamp in the program already, so it just made the process more convenient. As well as this, installing Windows or rebooting it had never been a problem.
    Unfortunately, I do not have anything to use FireWire with. I have an iPod, but no other products in which to connect. I say this because somebody said that when they received the rror symbols, connecting it with a MacBook Pro through FireWire seemed to do the trick. However, I do not have this resource at my disposal.
    I honestly believe that if my disk drive functioned correctly, therw would not be a problem, but perhaps the Mac can't quite adopt the external drive while in its preliminary loading stages. Getting the drive itself fixed would cost more than the value of the actual computer, so I do not wish to do that.
    I am trying to put the disk on a USB, so as to try and reboot it all through that, though it seems improbable. However, I will ddefinitely let you know how that works out.
    Thanks for your reply by the way, if you suddenly come up with any new ideas, please let me know!

  • Intel imac (white) will not start up, please help.

    I have a 20" intel imac (white not silver) running 10.6.4.
    I can not get it to boot up on its own, the farthest it gets is to the Silver Apple with spinning gear.
    I have tried:
    1. safe restart - the result is - I get a circle with slash and the a folder with ? and then the silver apple with gear spinning.
    2. booting from disk warrior and running it - the result I get is -"The new directory cannot replace the original directory because of a disk malfunction."
    3. reinstalling the OS from the start up disk, - the result I get is - "The contents of this disk can't be changed."
    4. starting from the OS 10.6 disk and running Disk utilities - the result I get is - "Invalid node structure, The volume Macintosh HD could not be verified completely. Error: This disk needs to be repaired. Click Repair Disk." When I hit repair button I get this result, "Error: Disk Utility can't repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-up files.
    All of these methods have failed me. Can anyone please help me? I really need to be able to at least recover some files from the imac. That is my main concern at this point.
    Thanks in advance.

    The problem is I can not get my HD to boot up, I can start up with the install disk but disk utilities can not repair the disk. I can not dragNdrop, it wont let me select files. I can not reinstall the OS because it says their is a problem with my drive. It sounds like I'm screwed but my business related info is to important to just give up.
    I was able to make a disk image of a folder that had I few files I need and was able to copy that disk image to my external drive. So I may have to do that (tideous but I am willing to do that to recover the data).
    Any other thoughts before I take it somewhere?

  • Apache2 & personal web sharing

    I have installed apache 2.2.8 and on http://127.0.0.1/ and http://localhost/ the browser is serving /usr/local/apache2/htdocs/index.html but:
    1. personal web sharing just hangs waiting when I click Turn On PWS
    2. http://127.0.0.1/~macuser/ does not bring up an index.html I placed there (in /Users/macuser/Sites/ )
    I am not sure what did I do wrong, as I am not a code guy and new to this
    I run the whole compile and install process several times because it did not work and in the process I had removed the default apache 1.3 that was installed and working
    It also seems like my system startup time is significantly longer than before the apache2 installation.
    when I run sudo /usr/local/apache2/bin/apachectl start in terminal it says "already running" although sys pref would not show personal web sharing is on
    I am not sure how is this all related but all I want is to be able to serve pages via apache from my Sites directory
    any ideas would should I check for?
    PPC 10.4.11
    Thanks

    is fairly easy to remedy this,
    Edit the httpd.conf which is in the apache2 directory you have created.
    Once open (i'd recommend BBedit but txt edit will do just make sure it doesn't save the file to rich text)
    search down the httpd.conf file untill you find ;
    # PidFile: The file in which the server should record its process
    # identification number when it starts.
    and change it too
    #<IfModule !mpm_netware.c>
    PidFile /private/var/run/httpd.pid
    #</IfModule>
    I'm afraid you'll have to get a bit developer as the next section is in the terminal;
    open up the terminal and in a new shell Apple Key + N;
    first type; sudo
    Then Your password if your admin: your password
    Then : cd /usr/sbin/;
    Then: mv apachectl apachectl-1.3;
    Then : ln -s /apache2/bin/apachectl apachectl;
    You'll now be able to stop and start web serving from your system preference pane;
    You should also modify httpd.conf with the following (however this isn't essentila just to switch it on from system prefs)
    change user and group to:
    User www
    Group www
    You may also need to change owner of the httpd.conf in the terminal file to edit it.
    sudo chmod -R 777 ((drag your apache directory here))
    all done
    Message was edited by: purplepanda1

  • IMac G4 flat panel will not start up

    Hi
    My imac G4 will not start up when I power up. The fan kicks in but nothing comes on, no chimes, no screen, no noise from the hard drive. I have tried the PMU switch but to no avail.
    many thanks
    Dave

    Try things in this KB article.
    Have you ever changed the PRAM battery?
    DALE

  • Personal Web Sharing server will not start.

    I cannot start Personal Web Sharing. Have tried to install apache2, mysql and php from here: http://www.serverlogistics.com/downloads.php and since then it would not start.
    What can I do? Is there anyway I can reverse to old settings from a sertain date like you can on a windows system?
    If I try to start Apache in Termianl I get this:
    vayu-robins-computer:~ vayu$ /usr/sbin/apachectl start
    Processing config directory: /private/etc/httpd/users/*.conf
    Processing config file: /private/etc/httpd/users/+entropy-php.conf
    [Fri Jul 21 12:27:18 2006] [warn] module mod_php5.c is already added, skipping
    Processing config file: /private/etc/httpd/users/postgres.conf
    Processing config file: /private/etc/httpd/users/vayu.conf
    fopen: Permission denied
    httpd: could not open error log file /private/var/log/httpd/error_log.
    /usr/sbin/apachectl start: httpd could not be started
    I hope this will help.
    Thanks
    Vayu
    Imac Intel Core Duo   Mac OS X (10.4.7)  

    If you're just trying to get the default install to work again, we'll need to determine if the ServerLogistics install you said you tried has overwritten the system files, or set itself up separately.
    To see what version is installed in the default location, from the Terminal run:
    /usr/sbin/httpd -v
    This will report something like:
    Server version: Apache/1.3.33 (Darwin)
    Second, you can test your config files to see if they are all valid by running:
    /sbin/apachectl configtest
    This is what Apache does when it starts up, but without changing the process status. You'll be looking for a "Syntax OK" at the end of the output, or else specific error messages in your config files.
    Finally, you can check whether you have an Apache process already running a few different ways. One is to look in the /var/run directory for a 'httpd.pid' file, which will contain the process ID of any running Apache process. The other is to search the active process list:
    ps -ax | grep httpd
    If you see any matches other than your own 'grep httpd' command in the list, you may already have an Apache running and thus be unable to get another one to start via the Personal Web Sharing control panel.
    Again, the remedy would be clearer with some input from the ServerLogistics install documentation - what files were put where, how do they interact (if at all) with Apple's versions, etc.
    PowerBook G4, et al.   Mac OS X (10.4.7)  

  • 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.

  • Personal Web sharing not installed HOW - do I install?

    Hi - I have had an extremely frustrating 4 hours or so between trying to google a solution to the problem and examining the contents of the installation disk with pacifist - I am still none the wiser.
    I have not tried to set up a localhost server on my Intel Mac running 10.4.9 I have had since september and it should be as easy as pie to do so from what I have read.... but not in my case!
    I went to apple > system preferences > sharing and tried to check personal web sharing as suggested in many places but get this for my trouble
    'Web Sharing is not installed on this computer. To install Web Sharing, use the Mac OS X installer.'
    My question is how do I do so without dausing a reformat and still not getting the option?
    I have used pacifist to try and locate either PWS or apache installers inon the disc but sinply am at a loss to find either. Hope someone can help
    Thanks in advance

    NOt that I am aware of - I may have tried to do something like launch the apache index page from httpd or similar in the first couple of days of owning the machine but unless by some sure accident I have not altered any settings.... ( I never got into admin settings or any of that from what I remember)
    I'm not even looking for PHP or mySQL now - Just a running WS so that I can test CSS in it.
    Even so - I still have absolutely no idea where the pws taller is located on the installation disk that I am referred to so therefore am not willing to unstall it for reasons mentioned. I most certainly do not want a reinstall for the sake of a little but in my case neccessary application
    Good point Gnarlodious - like to hear what angle you are coming from on this (particularly if you can help me get this sorted out from the disk as Apple suggest. Much as I love my conversion to apple I have to say the documentation and overall support from the site is appalling (I thought Microsoft was bad......). Instructions such as that encountered on the PWS toggle are vague to say the very least
    Thanks for the reply

  • 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$

  • Personal web sharing not turning on

    hi all
    my personal web sharing in system preferences / Sharing will no longer turn on.
    I checked it in Terminal and get the following message:
    Barry-Kimmelmans-Computer:~ barrykimmelman$ httpd -t {enter}
    Syntax error on line 247 of /etc/httpd/httpd.conf:
    Invalid command '?ClearModuleList', perhaps mis-spelled or defined by a module not included in the server configuration
    Barry-Kimmelmans-Computer:~ barrykimmelman$ sudo apachectl start
    Password:
    Syntax error on line 247 of /etc/httpd/httpd.conf:
    Invalid command '?ClearModuleList', perhaps mis-spelled or defined by a module not included in the server configuration
    /usr/sbin/apachectl start: httpd could not be started
    Barry-Kimmelmans-Computer:~ barrykimmelman$
    so, the problem seems to lie within the httpd.conf file although I have no clue what that is or even where it is on my system. I did a "find" search for that file name but nothing showed up.
    Even if I found the file I'd have no idea how to fix it.
    Any suggestions??
    Thanks for any help you could offer me.
    Barry
    PS: any ideas that anyone could suggest I better mention up front that I would need in "explanation for dummies" format as I am clueless in the networking, server, Apache etc aspects of the system

    I tried gnardious's method and Anthony's and still nothing.
    here are the messages I got in Terminal on both
    Barry-Kimmelmans-Computer:~ barrykimmelman$ sudo cp /private/etc/httpd/httpd.conf.bak /private/etc/httpd/httpd.conf ; apachectl start
    Password:
    fopen: Permission denied
    httpd: could not open error log file /private/var/log/httpd/error_log.
    /usr/sbin/apachectl start: httpd could not be started
    Barry-Kimmelmans-Computer:~ barrykimmelman$ sudo cp /etc/httpd/httpd.conf.default /etc/httpd/httpd.conf
    Barry-Kimmelmans-Computer:~ barrykimmelman$
    Barry-Kimmelmans-Computer:~ barrykimmelman$
    Barry-Kimmelmans-Computer:~ barrykimmelman$ apachectl start
    Processing config directory: /private/etc/httpd/users/*.conf
    Processing config file: /private/etc/httpd/users/barrykimmelman.conf
    Processing config file: /private/etc/httpd/users/test.conf
    fopen: Permission denied
    httpd: could not open error log file /private/var/log/httpd/error_log.
    /usr/sbin/apachectl start: httpd could not be started
    Barry-Kimmelmans-Computer:~ barrykimmelman$
    I tried it again and got this:
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Barry-Kimmelmans-Computer:~ barrykimmelman$ sudo cp /private/etc/httpd/httpd.conf.bak /private/etc/httpd/httpd.conf ; apachectl start
    -bash: Barry-Kimmelmans-Computer:~: command not found
    Processing config directory: /private/etc/httpd/users/*.conf
    Processing config file: /private/etc/httpd/users/barrykimmelman.conf
    Processing config file: /private/etc/httpd/users/test.conf
    fopen: Permission denied
    httpd: could not open error log file /private/var/log/httpd/error_log.
    /usr/sbin/apachectl start: httpd could not be started
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Password:
    -bash: Password:: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ fopen: Permission denied
    -bash: fopen:: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ httpd: could not open error log file /private/var/log/httpd/error_log.
    -bash: httpd:: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ /usr/sbin/apachectl start: httpd could not be started
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Barry-Kimmelmans-Computer:~ barrykimmelman$ sudo cp /etc/httpd/httpd.conf.default /etc/httpd/httpd.conf
    -bash: Barry-Kimmelmans-Computer:~: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Barry-Kimmelmans-Computer:~ barrykimmelman$
    -bash: Barry-Kimmelmans-Computer:~: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Barry-Kimmelmans-Computer:~ barrykimmelman$
    -bash: Barry-Kimmelmans-Computer:~: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Barry-Kimmelmans-Computer:~ barrykimmelman$ apachectl start
    -bash: Barry-Kimmelmans-Computer:~: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Processing config directory: /private/etc/httpd/users/*.conf
    -bash: Processing: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Processing config file: /private/etc/httpd/users/barrykimmelman.conf
    -bash: Processing: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Processing config file: /private/etc/httpd/users/test.conf
    -bash: Processing: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ fopen: Permission denied
    -bash: fopen:: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ httpd: could not open error log file /private/var/log/httpd/error_log.
    -bash: httpd:: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ /usr/sbin/apachectl start: httpd could not be started
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)
    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status enabled
    status - dump a short status screen; requires lynx and mod_status enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not running
    configtest - do a configuration syntax test
    help - this screen
    Barry-Kimmelmans-Computer:~ barrykimmelman$ Barry-Kimmelmans-Computer:~ barrykimmelman$
    -bash: Barry-Kimmelmans-Computer:~: command not found
    Barry-Kimmelmans-Computer:~ barrykimmelman$ sudo cp /etc/httpd/httpd.conf.default /etc/httpd/httpd.conf
    Barry-Kimmelmans-Computer:~ barrykimmelman$

Maybe you are looking for

  • Shipment cost for third party

    Hi, for the third party business (where the vendor delivers the material to customer directly), we want to bring the freight at customer invoice level and post to COPA.  we don't follow shipment document creation for this. we create a PO and an inbou

  • Cannot create dll with JNI

    hi all, i have a c++ coding for a softphone. I opened that file in vc++ and i'm able to create a .exe file from that. the .exe file is running fine( it is searching for the server and is getting registered there). now i wanted to add jni to it. so i

  • How to maintain the action in a saved pdf

    Hi, I have the following script in the Change event of dropdownlistbox: Subform1.presence = "hidden"; The Subform1 element hides from the form, but after I save the pdf file and then reopen it, it's still visible. How can I maintain the action that w

  • Failed to open links on the Intranet.

    Hello! In the technical support page for my company there are several links that allow access to files stored in folders on the server, however when the user gives a click on a link, the browser can not open the corresponding file. Example: Link: Tec

  • Comparison Shopping

    Hi, I have been asked to research a comparison shopping website project. The site would be simillar to pricegrabber, bizrate, AOL shopping. What I would like to know is this sort of site done with API's? How are the comparisons done? And can a site l