Can't get Apache to work using WAMP or XAMPP

My system:
iMAC
Mac OS X: Version 10.5.6
Processor: 2.16 GHZ Intel Core 2 Duo
Memory 2 GB 667 MHz DDR2 SDRAM
I have over 75 Gigs available on my Mac HD and nearly 40 Gigs left on my external HD used for Time Machine
Hello! I cannot get Apache to start after loading up WAMP (I also tried using XAMPP, but with the same result). This is driving me crazy. I am starting to build my first Joomla site and I have Joomla succesfully loaded onto my server site, but because of the Apache issue, I can't load Joomla onto my local server.
This is what is going on:
have successfully loaded MAMP and MAMPro. This is a fresh reload as of today. When I go to start the MAMP, I get the following message with regards to Apache:
(28)No space left on device: mod_rewrite: could not create rewriteloglock
* Edit post
* Report this post
* Reply with quote
I found this page on the web:
http://www.ehow.com/how4397601error-n ... evice.html
I got brave and went into the root using terminal.app. After following the instructions on that page as best I could, there did seem to be a lot of semapores (maybe 50+), but how to delete them was unclear to me on that page. I tried to follow Step 2 by copying this line and pasting it into the terminal prompt:
ipcs -s # grep apache # perl -e ‘while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}’
but it was pretty unclear if I was doing it correctly and there seemed to be no real result. I got too nervous working in terminal to try to continue the instructions on how to delete them, so I got out of terminal and decided to see if there was anything else that might help.
After being in there, I tried to run Apache from MAMP, and, once again, I got the same error. I then found this site:
http://www.devarticles.com/c/a/Apache/U ... -Mac-OS-X/
I did type in "localhost" in the browser, and it DID show apache running with the confirmation window looking exactly as in the article. I then follow the instructions back to terminal.app and did the following command:
sudo pico http.conf
just as in the article, I found these four lines shown exactly like this:
#LoadModule php4_module
#AddModule mod_php4.c
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
however, there were so many warnings about making and changes and such that I decided NOT to eliminate the # sign as the article recommended and just got out of terminal.
The thing is this. Under MAMP, everything seems to be running EXCEPT Apache. However, when I type "localhost" in the command line of my foxfire browser, Apache seems to be running fine.
On another forum, where I have posted exactly as above, the response was:
I cannot reproduce this behaviour even though i have the same osx version and hardware configuration. But I found this site, it may help you to solve the problem:
http://carlosrivero.com/fix-apache---no-space-left-on-device-couldnt-create-acce pt-lock
The script you've used is not correct, the # symbols have to be replaced with pipes | to execute the commands one after another. You should execute this as admin using "sudo" followed by the commands. You also have to replace "apache" with the user name under which apache is currently running. For MAMP Pro that is either "www" or your user name:
This will list all active semaphores of the user "www"
Code: Select all
sudo ipcs -s | grep www
This one should remove them (at least it one runs without any errors)
I tried this but I'm afraid that I am still having the exact same problem. In fact, I unloaded MAMP and then tried XAMPP, which also didn't work. I tried to follow the directions above, but I'm so unfamiliar with how to do terminal in Mac, that I'm really not sure that I'm doing things correctly, or that I'm even addressing the problem. I have Joomla uploaded and ready to go on my server site (godaddy.com), but I really wanted to use my localhost to build the site offline.
I've tried uploading joomla to MAMP as it exists, but when I go back to my browser with http://localhost/
I still just get the apache confirmation page - no Joomla. Maybe part of the problem is that I'm still not completely clear on how to execute the instructions as above had them in terminal. I don't get what they meant by code: SELECT ALL.
I don't know what they mean when they say, "You should execute this as admin using "sudo" followed by the commands. You also have to replace "apache" with the user name under which apache is currently running. For MAMP Pro that is either "www" or your user name:"
how do I know what the username is for apache? How do I know what my username is? I know that these are basic questions, but I have never had to do this before and I don't know where to find the answers. I simply copied and pasted into terminal EXACTLY what it was posted. It really didn't seem to do anything.
Oh, and right now, as I write this, if I click on
Open start page
from MAMP, a browser window opens with the following:
Failed to Connect
Firefox can't establish a connection to the server at localhost:8888.
Though the site seems valid, the browser was unable to establish a connection.
* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer's network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
So, I'm at a loss of what to do next. I can work on joomla through godaddy, but I would prefer to work on my localhost. I am very discouraged that I am hung up at such as basic level and can't get started. I do have Mac ProCare, but the Mac store is quite a ways away, and I'm not sure how they could help solve this problem.
Please lead me through a solution to this.

Ok, first thing, why are you doing anything with WAMP or XAMPP when you're running a Mac? MAMP should be what you want unless you're not explaining part of what you are trying to do.
2nd thing, I haven't used MAMP in a while, but there are two possibilities for not seeing what you want to see once you have MAMP turned on. One possibility is that you already have "Web Sharing" turned on in your Sharing Preference Pane. If that is the case, port 80 will already be taken and you'll be seeing the default Apache install (files are stored at /Library/WebServer/Documents/). This would push MAMP to either not turn on it's web serving capabilities, or to push it to another port. The other possibility is that MAMP defaults to another port anyway. So instead of localhost, you might have to type in localhost:8080 or something similar. I believe the control panel that gets installed can take you to the currently MAMP-served page, and it can also help you change which port your serving on.
80 is the default port for web serving and the ONLY port that will let you get straight to the server without having to type in webaddress.com:port# instead of just webaddress.com.

Similar Messages

  • I have an ipod shuffle 1st generation it will work if i connect it to my usb port in car or on computer but i can not get it to work using just headphones what coud be the reason for this

    I have an ipod shuffle 1st generation. it will work ousing usb port in car or on computer but i can not get it to play using headphones. what would be the reason for this.

    Sorry for  the typos, I hope my message still gets across!

  • HT4929 OS 10.5.8: Can't get mail to work using the recommended icloud settings

    Grandma has a G5 imac running 10.5.8 and a .mac account under my master account.  Moved her to icloud today, and can login via icloud.com and can see her mail there.  Read the article, and using 'Mail'  (Vs 3.6)on her mac, deleted her old .mac account, and tried to set up a new account manually, using the settings in the article:   imap.mail.me.com, SSL on, her usual user name, and her password (which, btw, works fine on the icloud.com site)
    Also, for outgoing, used smtp.mail.me.com, SSL, etc, etc
    Tried it 5 times, doesn't work.
    Watched a youtube video, where it worked, followed exactly, didn't work!  Help, anyone?   Thanks

    I found the answer to this problem on a Nov 2011 posting.  Amazing that the current icloud migration notices don't clarify this:
    If you were to start a brand new icloud account, they would require at least 8 characters, upper and lower cases, including numbers.  If however you are migrating a .mac or .me account to icloud, your old password may not meet those requirements.  So, icloud keeps rejecting the attempt to set up an account via the 'Mail' app.
    You need to go to   http://appleid.apple.com     to sign in with your old password, then change to one meeting the new requirements. Do not use  http://iforgot.apple.com
    Thanks to DendeNYC!!!!

  • For one week i can't get hotmail to work using firefox. can use hotmail using internet explorer. i don't like I.E.

    for the past week i can open hotmail but i can't open the emails. that happens using mozilla firefox. it's very frustrating. i found out that i can open my hotmail emails using internet explorer. i don't like I.E. i would like to find out how to open up emails using my mozilla firefox. thanks for any help you can give me.

    If you have two-step verification turned on in Hotmail, you'll have to log in with a browser and turn it off.

  • Can't get apache + php5 working right

    I was following the LAMP tutorial, but PHP doesn't seem to work.
    This is off of a fresh arch install.
    Did the following:
    pacman -S apache php php-apache
    I then add 'LoadModule php5_module modules/libphp5.so' to httpd.conf and restart the server
    If I navigate to the server, I see "Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8k DAV/2 PHP/5.3.0 with Suhosin-Patch Server" at the bottom. Seems like PHP is there and working.
    I then create a test file phpinfo.php with the following: <?php phpinfo(); ?>
    If I try to load that file, it displays its contents.
    If I add 'AddType application/x-httpd-php .php' to httpd.conf, nothing changes. Should be working according to the wiki article. I'm so confused.

    That is weird indeed. Actually, both paths should work as the Include directive accepts both absolute and relative (to ServerRoot) paths.
    I'm baffled as well.

  • Have entrourage and want to use Mail. Can't get it to work.

    I had a macbook and purchased the Microsoft office for Mac which included Entrourage.
    I have now purchased a new macbook Pro and want to begin to use Mail rather than Entrourage. 
    I have Entrourage on my new computer but i can't get it to transfer my information to the the Mail program
    I am on Charter.net at my office and sbcglobal.net at home.
    How can i get this to work.  I can receive on Mail, but i can't send.

    check your outgoing port settings and make sure it's using a specific port and not the default port, also you might want to check to see if it is using SSL, TLS or any other encryption.  Verify the setting from your old machine setup.

  • Have an airplay enabled AV Receiver - how do i set up Airplay    I have a Yamaha RX-V673 which is Airplay enabled, but i can't get Airplay to work either on my Mac book or my iphone. The receiver is connected to my network and i can control it using the

    have an airplay enabled AV Receiver - how do i set up Airplay
    I have a Yamaha RX-V673 which is Airplay enabled, but i can't get Airplay to work either on my Mac book or my iphone. The receiver is connected to my network and i can control it using the iphone App and via the web browser option.
    Do I need Apple TV or to change some settings somewhere?
    Any help would be greatly appreciated

    You are making some progress with setup of wireless network. Apparently there is reliability problem with the wireless connection. Perhaps you want to refer to following Apple support documents and start tweaking parameters in the router to improve the reliability. I used to have third-party routers such as Belkin and Netgear but switched to Apple Airport routers (Time Capsule then Airport Extreme for now) because of incompatibility issues whenever Apple upgrade Mac OS X. But since Apple develops Airplay protocol as alternative to Bluetooth for wireless audio/video streaming (with much better bandwidth) and must be deployed in any wireless network, there is no reason third-party routers not working for Airplay protocol.
    About AirPlay Mirroring in OS X Mountain Lion:
    http://support.apple.com/kb/HT5404
    iOS: Recommended settings for Wi-Fi routers and access points:
    http://support.apple.com/kb/HT4199
    Troubleshooting AirPlay and AirPlay Mirroring:
    http://support.apple.com/kb/TS4215
    Good luck in setting up 802.11 wirelesss network.

  • I am using Numbers on my iPhone5 and cannot get the app to do a simple (SUM) calculation.  It shows the formula correctly in the cell, but all I get for my long list of numbers to add is 0.  How can I get this to work?

    I am using Numbers on my iPhone5 and cannot get the app to do a simple (SUM) calculation.  It shows the formula correctly in the cell, but all I get for my long list of numbers to add is 0.  How can I get this to work?

    Oaky, at least we got that far.  Next step is to determine if all those "numbers" are really numbers.  Changing the format to "number" doesn't necessarily change the string to a number. The string has to be in the form of a number.  Some may appear to you and me as numbers but will not turn into "numbers" when you change the formatting from Text to Number. Unless you've manually formatted the cells to be right justified, one way to tell if it is text or a number is the justification. Text will be justified to the left, numbers will be justified to the right.
    Here are some that will remain as strings:
    +123
    123 with a space after it.
    .123

  • Using airport extreme in china - can't get it to work

    I just moved to china and have been trying to set up a new Airport Extreme dual band to my high speed internet connection but can't get it to work (bought the AE in the US and worked fine there). I have a Green light on the physical AE, and in Network Status section under Network Diagnostics I get green lights on Airport, Network Settings and ISP, but yellow/red on Internet and Server. The type of internet connection is direct, supplied by China Telecom with no router/modem in my unit, but with ethernet cable running directly to the phone room connection. I manually set up the AE using the same IP address, subnet, DNS as shows up when I plug the ethernet cable directly into my computer, with the internet working fine with a direct connection to computer and no AE.

    What you did makes complete sense Mike, but if you don't have access to the router you may have to get your ISP to recognize your Extreme's MAC address:
    AirPort Base Station: ISP provisioning may prevent Internet connection via broadband (cable or DSL)
    For example: Suppose that you have a computer connected to a cable modem before purchasing an AirPort Base Station. Your Internet service provider might recognize your computer's MAC address as the correct one for your account. Your new base station then takes the position on your network that was formerly occupied by your computer, but you have not taken any action to let your Internet service provider (or its hardware) know the new address. The base station then sends packets to your Internet service provider that do not contain the required MAC address, and the packets are ignored.
    It may be as simple as leaving everything disconnected from your service provider for a period of time. You might also try turning Connection Sharing "off" (bridge mode).

  • Can i use hdmi output to tv, and also thunderbolt to hdmi tv?  I basically want to use 2 hdmi tbs, but so far I can't get it to work but I feel it should

    I have a HDI cable to my monitor, works fine.  I just got a thunderboly to HDMI adapter to connect to my TV.  I can't get it to work.  I think this is possible.   

    Yes, you can have tow HDMI monitos using what you said,

  • I have all my music under my user id.  i would like for my wife to have access under her user id.  i tried using Home Sharing but can't get it to work.

    i have all my music under my user id.  i would like for my wife to have access under her user id.  i tried using Home Sharing but can't get it to work.

    http://support.apple.com/kb/HT3819 homesharing
    http://support.apple.com/kb/TS2972 troubleshooting home sharing.
    i <3 Homesharing. I enabled it at home, and where I work I use a mac so I enabled it on that computer as well so I can listen to my own music library while on breaks/lunch =)

  • Can't get Themes to work for movie using iMovie on ipad

    I finsished a trailer using iMovie on my iPad successfully and LOVED it! Sooo fun!
    Now I'm trying to make a movie for a friend's wedding, but I can't get it to work with the themes. When I select my theme and start a new project using a few pictures the theme music works when I replay, but no visual elements of the theme I selected show up (or available for selection). when I click on the gear wheel, it does show what theme I selected.... What am I missing???? The only place the theme shows up is on the tile in the "projects" section.
    Then I tried the same thing on my iphone 4S (iOS7) and the same thing happens.
    I looked at the tutuorials etc...and I think Im doing it right (after all, I got the trailer to work perfectly) and I think I'm not technologically challanged - but I just would like to have the theme visual elements to show up.
    Please help
    Mir

    Tap the Transition points and choose the star icon.  This is for theme associated transitions including their graphic elements.

  • I can't get yahoo to open using firefox or safari.  I just installed updates...then the problems began.  gmail is working fine

    I can't get yahoomail to open using foxfire or safari.  I just installed updates then the problem began.  Gmail is working fine

    What happens when you try?

  • Has anyone used reMIDI as a plug-in for GarageBand. I downloaded a trial version of reMIDI, which enables MIDI instruments to be strummed or arpegiated, but can't get it to work in Garageband.  How do I set it up?

    Has anyone used reMIDI as a plug-in for Garageband ('08)? The program allows MIDI instruments to be strummed or arpegiated. I have a trial version, but can't get it to work in Garageband. Wonder how to set it up.
    Thanks, Doctor Mark

    Port Forwarding.....or Port Mapping....as Apple calls it is a difficult and complex configuration method for most users. Because there are so many variables involved in this type of setup, it is not possible to provide a step by step guide that will work for everyone with all devices.
    It is possible that a setup guide exists for the the WD drive and AirPort Extreme, but you will have to go looking for it on the Internet. Even if you find one, it may not be tailored to your specific situation or needs.
    Sometimes, you can do everything right....at least according to someone's article or "how to" guide, and things still will not work correctly.
    In situations like this, when you really don't know what to do, you need to enlist the aid of an IT pro, who will know what to do based on your particular products and unique circumstances. Sometimes....they won't be able to get things working either due to particular circumstances.
    But, before you do this, I would strongly recommend that you use a Static IP address for your Internet connection with your ISP. If you do not have this now, contact them to ask them if they offer this type of connection. Expect to pay more for this type of service, of course.

  • After years of owning all things Mac, I am finally trying to use iChat, and can't get it to work. I see my buddy, but all I can do is send a message--the video and audio chat icons are gray, as is inviting to a video chat under Buddies.

    After years of owning all things Mac, I am finally trying to use iChat, and can't get it to work. I am using gmail, and I see my buddy (no camera icon next to her name), but all I can do is send a message--the video and audio chat icons are gray, as is inviting to a video chat under Buddies. My buddy has the same problem as I.  We are able to do video chat through gmail, but I had hoped to use iChat.  I am using OS 10.6.8, iChat v. 5.0.3.  What am I missing?

    HI,
    iChat will Video chat to another iChat in a Jabber Buddy List (Google run a Jabber server for GoogleTalk)
    However it will not Video to the Web Page login to iGoogle or the Web Mail Page login.  (where people can Google Chat as it were in a  Web Browser).
    Nor does it video to the Google Talk Stand alone app for PCs or any other Jabber apps on any platform.
    iChat uses a connection Process called SIP (Session Initiation Protocol) which is also used by other VoIP devices.
    Jabber/XMPP invited the Jingle Protocol for Jabber Applications.
    Google have included this in their Standalone app and the Plug-in for Web Browsers on both PCs and Mac (you can get this as a Standalone Plug-in or as part of Chrome)
    More on this here  This article has been changed several time in the recent months.  It now claims a greater involvement by Google in writing the Jingle Library (Although now Google's version does not work with the others)
    This tends to mean that using the web Login to Google to Chat also cannot video chat to other Jabber apps that are using Jingle.
    If your Buddy is using iChat then check the Video Menu has two items to Enable Camera/Video chat and Microphone/Audio chats are ticked.
    In the View Menu the Show Status Items should be ticked (Selecting them toggles the tick and the function On or Off)
    It could be Internet speed but at this stage I would doubt this at this stage.
    10:27 PM      Saturday; January 21, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Maybe you are looking for

  • S.M.A.R.T. was 'Failing'... now shows 'Verified'

    Hello, Yesterday I went into Disk Utility and found that S.M.A.R.T. on my hard drive was reporting 'Failing.' I immediately made a backup of my computer and put it to sleep. Today, S.M.A.R.T. in Disk Utility shows that the Hard Drive is 'Verified.' H

  • Cannot download third file for Linux-ia32 O91R2

    Hello, I tried to download from: http://otn.oracle.com/software/products/oracle9i/htdocs/linuxsoft.html and the files lnx_920_disk1.cpio.gz and lnx_920_disk2.cpio.gz seems to work (slow, but it works), but: lnx_920_disk3.cpio.gz does not download. I

  • Tracking the table changes

    Hi All, We need to have a trace on the changes(direct/transactional) made to one particular field of a table (LFA1-ESRNR). We have already explored the following options: --> Attempting the change log in the table is expected to have a huge hit on th

  • Performance test tool for BPS?

    Dear BPS Gurus, I want to test BPS performance with about 25-50 users using the application at same time. This is important before we go-live. Could you please share your experience for similar situation. Can SAP Loadrunner be used for mimic-ing mult

  • Decreasing performance when executing consecutive XQuery Update operations

    hello, I am writing an application in java using Berkeley DB XML (2.5.16). I have to run a test over the application, in which a lot of XQuery Update operations have to be executed. All update operations are insert statements. In the beginning the te