Apache installation problem error code 1

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache installation problem error code 1

Postby gavrilg » 06. January 2009 21:30

I am trying to install XAMPP, but it gives me an error message about port 80 or 443 during Apache installation. I went to Windows log file and that was the message there:

The Apache service named reported the following error:
>>> (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:80
The Apache service named reported the following error:
>>> no listening sockets available, shutting down
The Apache service named reported the following error:
>>> Unable to open logs

I would appreciate if somebody had a similar problem and could give me an advice how to solve the problem. Also I run cmd and it said: TCP 0.0.0.0:80 state listening PID 3308.

Thanks in advance,
Galini
gavrilg
 
Posts: 3
Joined: 06. January 2009 21:11

Re: Apache installation problem error code 1

Postby Wiedmann » 06. January 2009 21:57

I went to Windows log file and that was the message there:

The message is clear: You have already another webserver running.

Also I run cmd and it said: TCP 0.0.0.0:80 state listening PID 3308.

Stop the programm (webserver) with the PID 3308 and you can start Apache.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Apache installation problem error code 1

Postby gavrilg » 06. January 2009 22:02

I appreciate your advice. Sorry for being quite illiterate on this topic, but how can I stop PID 3308?

Thank you
gavrilg
 
Posts: 3
Joined: 06. January 2009 21:11

Re: Apache installation problem error code 1

Postby dmphotography » 06. January 2009 22:09

I'm guessing you're either running Server 2003 or Server 2008.

I'm not familiar enough with either, but do a search on what services with the one you're using uses those ports and then go in and turn them off. Windows Servers have a built in server called IIS or something like that and that could be what's doing it. I personally am using Server 2003 on my server and I didn't have any problems. I don't ever look at that computer, it just sits there and runs. I remote desktop it if I need something such as to restart Apache or start a program on it.

But yeah, do a search on what uses those ports for whichever version you're running.
For great video and written tutorials and guides on creating your own web server and installing things such as forums, blogs, etc., visit http://myownhomeserver.com
dmphotography
 
Posts: 191
Joined: 15. December 2008 14:25
Location: Columbus, MS
Operating System: Windows 7

Re: Apache installation problem error code 1

Postby Sharley » 06. January 2009 22:42

gavrilg wrote:...Sorry for being quite illiterate on this topic, but how can I stop PID 3308?...

Right click on the Task Bar and select Task Manager>Processes tab.
Look for the column PID then find that process number which will tell you what that process file name is.

To get rid of it temporarily, as it will load again next boot, click on process to select it then click the button End Process then OK.
Try again to start XAMPP installation.

Usually you will have IIS (inetsrv.exe Windows Webserver) hogging port 80 and 443 which can be disabled from the Windows Control Panel or search the forum for some alternate methods of disabling, or Skype can be using port 80 and that can be changed in Skype's Tools>Connections menu.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Apache installation problem error code 1

Postby gavrilg » 06. January 2009 23:30

Thanks a lot everybody who helped me with your advices. Sharley, it worked! Thank you for a simple comprehensive navigation through the problem troubleshooting. Have a wonderful day,
Galini
gavrilg
 
Posts: 3
Joined: 06. January 2009 21:11

Re: Apache installation problem error code 1

Postby gsutton57 » 24. November 2009 02:53

i am trying to run apache on my windows 7 laptop and keep getting the error that it can 't start. I checked and can't find anything else running the 80 port? any ideas.
gsutton57
 
Posts: 2
Joined: 24. November 2009 02:51

Re: Apache installation problem error code 1

Postby Izzy » 24. November 2009 03:33

What does the \xampp\apache\logs\error.log file have to say why Apache can't start?
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Apache installation problem error code 1

Postby gsutton57 » 24. November 2009 12:51

(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:80
no listening sockets available, shutting down
Unable to open logs

I have check with process explorer and can find nothing running port 80. Here is the log from Process explorer, sorry for the poor formatting.

Process PID CPU Description Company Name
DPCs n/a Deferred Procedure Calls
Interrupts n/a Hardware Interrupts
System Idle Process 0 72.14
System 4 0.75
smss.exe 264
svchost.exe 296
avgwdsvc.exe 320
csrss.exe 356
wininit.exe 408
hldasvc.exe 420
csrss.exe 428
avgrsa.exe 452
services.exe 508
WUDFHost.exe 516
lsass.exe 520
lsm.exe 528
WmiPrvSE.exe 564
svchost.exe 568
avgcsrva.exe 584
AAWService.exe 640
svchost.exe 676
nvvsvc.exe 740
svchost.exe 780
svchost.exe 848
svchost.exe 880
svchost.exe 908
iexplore.exe 984 Internet Explorer Microsoft Corporation
winlogon.exe 1028
hldasvc.exe 1060
avgtray.exe 1064 AVG Tray Monitor AVG Technologies CZ, s.r.o.
nvvsvc.exe 1292
splwow64.exe 1512 Print driver host for 32bit applications Microsoft Corporation
GoogleCrashHandler.exe 1612 Google Installer Google Inc.
spoolsv.exe 1716
svchost.exe 1748
AppleMobileDeviceService.exe 1836
mDNSResponder.exe 1928
svchost.exe 1960
avgemc.exe 2124
AAWTray.exe 2252 Ad-Aware Tray Application Lavasoft
Skype.exe 2268 0.75 Skype Skype Technologies S.A.
FlashUtil10c.exe 2296 Adobe Flash Player Helper 10.0 r32 Adobe Systems, Inc.
ISUSPM.exe 2312 Macrovision Software Manager Macrovision Corporation
skypePM.exe 2340 Skype Extras Manager Skype Technologies
thunderbird.exe 2400 Mozilla Thunderbird Mozilla Corporation
svchost.exe 2424
YahooAUService.exe 2464
explorer.exe 2512 Windows Explorer Microsoft Corporation
nSvcAppFlt.exe 2556
nSvcIp.exe 2608
taskhost.exe 2844 Host Process for Windows Tasks Microsoft Corporation
SynTPEnh.exe 2856 2.25 Synaptics TouchPad Enhancements Synaptics, Inc.
wmdc.exe 2896 Windows Mobile Device Center Microsoft Corporation
dwm.exe 2936 0.75 Desktop Window Manager Microsoft Corporation
explorer.exe 2964 Windows Explorer Microsoft Corporation
sdraw.exe 2976
SSScheduler.exe 3280 McAfee Security Scanner Scheduler McAfee, Inc.
iTunesHelper.exe 3288 iTunesHelper Module Apple Inc.
RIMAutoUpdate.exe 3300 RIM Auto Update Research In Motion Limited
RoxWatchTray9.exe 3324 RoxMMTrayApp Module Sonic Solutions
jusched.exe 3344 Java(TM) Platform SE binary Sun Microsystems, Inc.
GoogleDesktop.exe 3360 Google Desktop Google
chrome.exe 3396 Google Chrome Google Inc.
GoogleDesktop.exe 3420 17.28 Google Desktop Google
wmpnetwk.exe 3920
unsecapp.exe 3924
svchost.exe 3980
avgcsrvx.exe 4144
audiodg.exe 4312
svchost.exe 4352
RoxWatch9.exe 4368
iPodService.exe 4440
SearchIndexer.exe 4596
CPSHelpRunner.exe 4628 ROXHelpRunner Module Sonic Solutions
RoxMediaDB9.exe 4808
SynTPHelper.exe 5032
mysqld.exe 5556
soffice.exe 5828 OpenOffice.org 3.1 OpenOffice.org
chrome.exe 6060 1.5 Google Chrome Google Inc.
soffice.bin 6208 OpenOffice.org 3.1 OpenOffice.org
xampp-control.exe 6272 2.25 XAMPP: control center Apache Friends
explorer.exe 6316 Windows Explorer Microsoft Corporation
avgchsva.exe 6412
procexp64.exe 6620 1.5 Sysinternals Process Explorer Sysinternals - www.sysinternals.com
chrome.exe 6676 Google Chrome Google Inc.
avgnsa.exe 6736
dllhost.exe 6788 COM Surrogate Microsoft Corporation
chrome.exe 6828 Google Chrome Google Inc.
iexplore.exe 6832 Internet Explorer Microsoft Corporation
Ymsgr_tray.exe 6884 Yahoo! Messenger Tray Yahoo! Inc.

Thanks for you help!

George
gsutton57
 
Posts: 2
Joined: 24. November 2009 02:51

Re: Apache installation problem error code 1

Postby Izzy » 24. November 2009 13:43

Skype.exe 2268 0.75 Skype Skype Technologies S.A.
I see Skype is running which may be using the port.

Close Skype and see if you can start Apache.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Apache installation problem error code 1

Postby 2dream4 » 09. August 2012 13:01

Hi guys,
i have the same problem and i have tried all the solutions you guys proposed: killed the IIS, changed the ports, restarted and reinstalled the Apache but i still get the same error. I am working on a Windows XP. Does anyone have another solution?? PLEASE??? i have been trying to find a way for over 3 hrs now :(
PS i have no skype
2dream4
 
Posts: 1
Joined: 09. August 2012 12:58
Operating System: Windows XP


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 117 guests