| |
|
Welcome to AstaHost - Dear Guest | |
Apache Server On Xampp
#1
Posted 06 September 2007 - 12:30 PM
I downloaded and installed the newest version of xampp. But when i try to start the Apache service it does not get started. The MySql and FileZilla services start without any problem. But the Apache service does not start. It returns with a message saying Apache service not started [-1].
I tried by stopping the windows firewall but didn't have any luck.
If there is anyone who can help me out here i would be really great full.
Thanks in advance.
Nuwan.
#2
Posted 06 September 2007 - 12:42 PM
If this doesn't help, or your IIS is not installed, then look under your apache folder, either together with XAMPP, or for my case it's "C:\Program Files\Apache Group\Apache2". Under the logs folder you should see and error.log file. Open that with notepad, there should be some message indicating the problem. For the IIS case, it will show you that port 80 is in used. The Error.og file is a file that you might want to look into once in a while to see if any major problem is creeping in.
#3
Posted 06 September 2007 - 11:57 PM
XAMMP is the easiest and best way to simulate the services we offer here on your home pc, a lot of us use it and are experts on it so feel free to tell us how you get on with it
#4
Posted 07 September 2007 - 03:27 AM
I finally got the apache service running. I checked whether i had IIS installed. But i hadn't got IIS installed. So probably it had to be some other issue.
So when i went through my list of services i saw that i had a Apache2.2 service already installed, but when i checked it's path it was not the location that it should have been. It's path was set to another older location where Apcahe service was previously installed. When i try to run the Apache service it goes and looks for the older location. So i deleted the old apache service, uninstalled my current xampp and reinstalled it.
Now i've got it up and running.
Thank You.
Regards,
Nuwan
#6
Posted 07 September 2007 - 05:33 AM
Moreover, it is a good advice to run software, apache in this case through a console/dos/cmd/shell/cli whatever because usually you get the error message if it wasn't successful to start the service.
#7
Posted 07 September 2007 - 12:54 PM
The alternative for skype to use port 80 is to bypass some system where they block those messaging and voip client. Generally port 80 is left untouchAlso, if someone will be reading this post by searching google or also will be having similar problems, another thing which might be the problem that you have Skype installed, so if you are installing a server such an apache which requires port 80 by default, you should turn Skype off or any other software which might be using the port 80 as alternative or as primary, as I know Skype has a check-box wheaver to use port 80 as alternative or not..
Moreover, it is a good advice to run software, apache in this case through a console/dos/cmd/shell/cli whatever because usually you get the error message if it wasn't successful to start the service.
#8
Posted 08 September 2007 - 08:10 AM
Hi...
I downloaded and installed the newest version of xampp. But when i try to start the Apache service it does not get started. The MySql and FileZilla services start without any problem. But the Apache service does not start. It returns with a message saying Apache service not started [-1].
I tried by stopping the windows firewall but didn't have any luck.
If there is anyone who can help me out here i would be really great full.
Thanks in advance.
Nuwan.
As mentioned by Quantrux and faulty.lee, the problem is because of having another software bound to port 80. Microsoft IIS is the most common troubler. Others include the lightweight, EasyPHP. You can make IIS and XAMPP Apacher work together. To do this, go to website properties in IIS and change the port number to any free port like 8080.
#9
Posted 08 September 2007 - 08:15 AM
root@localhost doesnt have permission to do anything, which is a problem because i cant make databases or do anything with it.
it ses to edit config.inc.php but yeah... wot do i edit? cos the host is localhost and the user is root.
help? cos i usually try things on my computer before i upload.
#11
Guest_(G)Author Name - e.g. John, Mike_*
Posted 22 March 2009 - 02:13 AM
Wow faulty.Lee, man your amazing and u were totally right!
I did google search it and I was looking for hours
then u told us about skype, I turned it off and it finally worked!
I dnt know how much to thank u bro
your amazing thank so soooo much!
#12
Guest_(G)shrek_*
Posted 19 April 2009 - 06:35 PM
Hi,
I have windows vista basic on my computer, I have the zip file downloaded and followed all the installations correctly. But still my apache doesnt remain started, Mysql is working fine. I read in the thread about trying using cmd..I dint get any syntax error, it was saying as syntax ok. I installed and uninstalled couple of times. I have no clue wat the problem is please help me ! thanks
-reply by shrek
#13
Guest_(G)Joseph_*
Posted 09 July 2009 - 12:34 PM
Hi...
You guys helped me a lot... In figuring out why my apache has not been running... Thank you very much... I should add to these conversations that if the path of the appache is not right in Sevices.Msc... Then go into the Xammp installation folder find Apache folder; in that uninstall Apache as service and reinstall Apache as service... Doing that has fixed my problem rather than uninstalling the Xampp itself...
Any ways thank you...
-reply by Joseph
#16
Posted 14 November 2009 - 10:37 PM
and your not running IIS...
and you're not running Skype...
...Continue reading. Solution below (Windows)
First, open C:\xampp\apache\logs\error.log and see what the error is.
If the error says that a port is already in use, the instructions below will explain how you can determine which application is using that port (Windows).
My error log entry said that Port 443 was already being used (and I wasn't running IIS or Skype)
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
To determine which application is using Port 443 (or port 80), do the following (Windows)
1. Open a DOS window - Start | Run | "CMD"
2. Type the following: netstat -aon
3. Find the local address using :443 (example: 127.0.0.0:443)
4. Now find the PID associated with that active connection (last column) - This is the application that's using that port.
5. To figure out what application is associated with that PID, do the following:
6. Open Task Manager (Ctrl+Alt+Del) and select the Processes tab.
By default, you will only see the following columns in the Process Tab:
- Image Name
- UserName
- CPU
- Mem Usage
7. Click View from the dropdown menu, "Select Columns...", and then place a check next to PID (Process Identifier) - you will now be able to see the PID for each
8. Find which application (Image Name) is associated with the PID
You have now identified which application is screwing up your Apache Service.
btw, my problem was PMB.EXE, which is Pando Media Booster. Pando Media Booster is the Peer-to-Peer downloader client for Dungeons and Dragons Online. As soon as I uninstalled it, Apache started no problem.
I hope that helped.
#17
Posted 14 November 2009 - 11:48 PM
Wow! I even did not know that we could "select columns" and see the PID. Thanks, this was useful.7. Click View from the dropdown menu, "Select Columns...", and then place a check next to PID (Process Identifier) - you will now be able to see the PID for each
Do you think this works with vista too?
#18
Posted 15 November 2009 - 05:43 AM
btw, my problem was PMB.EXE, which is Pando Media Booster. Pando Media Booster is the Peer-to-Peer downloader client for Dungeons and Dragons Online. As soon as I uninstalled it, Apache started no problem.
This maybe because of both of the programs requiring same ports for working. Or maybe both need resource from same services. Not sure which one they need though. Perhaps asking this questing on PMB/XAMPP will tell you about the system resources they take and that will explain why there is conflict between two.
Nice info by the way.
#20
Guest_(G)Arshad_*
Posted 24 November 2009 - 01:58 PM
I was having same problem, xampp and mysql both can not be started on my vista 32bit. I figured out that was due to not having full permission to logged user. I right click on installed xampp directory and give full permission to logged user. That solved my xampp problem.
-reply by ArshadReply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











