There is some other program listening on port 80, usual suspects are
- Skype (Listens on port 80)
- NOD32 (Add Apache to the IMON exceptions’ list for it to allow apache to bind)
- Some other antivirus (Same as above)
Way to correct it is either shutting down the program that’s using the port 80 or configure it to use a different port or configure Apache to listen on a different port with the Listen directive in httpd.conf. In the case of antivirus configure the antivirus to allow Apache to bind on the port you have chosen.
Way to diagnose which app, if any, has bound to port 80 is run the netstat with those options, look for :80 next to the local IP address (second column) and find the PID (last column). Then, on the task manager you can find which process has the PID you got in the previous step. (You might need to add the PID column on the task manager)
C:\Users\vinko>netstat -ao -p tcp
Conexiones activas
Proto Dirección local Dirección remota Estado PID
TCP 127.0.0.1:1110 127.0.0.1:51373 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:51379 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:51381 ESTABLISHED 388
TCP 127.0.0.1:1110 127.0.0.1:51382 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:51479 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:51481 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:51483 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:51485 ESTABLISHED 388
TCP 127.0.0.1:1110 127.0.0.1:51487 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:51489 ESTABLISHED 388
TCP 127.0.0.1:51381 127.0.0.1:1110 ESTABLISHED 5168
TCP 127.0.0.1:51485 127.0.0.1:1110 ESTABLISHED 5168
TCP 127.0.0.1:51489 127.0.0.1:1110 ESTABLISHED 5168
TCP 127.0.0.1:59264 127.0.0.1:59265 ESTABLISHED 5168
TCP 127.0.0.1:59265 127.0.0.1:59264 ESTABLISHED 5168
TCP 127.0.0.1:59268 127.0.0.1:59269 ESTABLISHED 5168
TCP 127.0.0.1:59269 127.0.0.1:59268 ESTABLISHED 5168
TCP 192.168.1.34:51278 192.168.1.33:445 ESTABLISHED 4
TCP 192.168.1.34:51383 67.199.15.132:80 ESTABLISHED 388
TCP 192.168.1.34:51486 66.102.9.18:80 ESTABLISHED 388
TCP 192.168.1.34:51490 74.125.4.20:80 ESTABLISHED 388
If you want to Disable Skype from listening on port 80 and 443, you can follow the link http://www.mydigitallife.info/disable-skype-from-using-opening-and-listening-on-port-80-and-443-on-local-computer/
I installed Apache on Windows 7 (localhost) and it worked fine. Then I went to download some other stuff and later noticed that the Apache server stopped. I went to command prompt (as administrator) and typed
net start apache2
It says «The Apache2 service is starting.» But before it finishes, I get the error
A service specific error occurred: 1.
It says that you can type in «NET HELPMSG 3547» for more info, but that doesn’t help at all.
Things I have tried:
- Quit Google Drive Sync
- Quit any and all programs using port 80 (port my server is on)
- Tried changing the port of the server and got same error message, so I don’t think it has anything to do with something else being in the port
None of those things have worked. I am confused at why it worked earlier, but now it won’t work.
random♦
14.6k9 gold badges54 silver badges58 bronze badges
asked Jun 10, 2014 at 21:48
2
You should check the Event Viewer for whatever shows up in the Windows Logs. Under the Application section there should be a list of errors with more details about what was exactly going wrong.
Recent example found:
The Apache service named reported the following error:
>>> Syntax error on line 523 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf:
In the above example it was because a referenced drive was no longer on the system and Apache could not find it.
You can usually (at least in Windows Vista) find Event Viewer along the lines of:
Control Panel → Administrative Tools → Event Viewer
This should highlight any thing touching the system that you may have overlooked and provide further details and hints about what to tweak or change instead of just uninstalling everything.
answered Dec 19, 2015 at 18:06
random♦random
14.6k9 gold badges54 silver badges58 bronze badges
2
Apache server wouldn’t start after I downloaded coldfusion and added it to the server. I just uninstalled apache and coldfusion and reinstalled apache and it works fine now. The official error was that I added an extension(coldfusion) to apache and for some reason apache didn’t recognize it.
answered Jun 12, 2014 at 18:39
user2297366user2297366
1793 gold badges4 silver badges9 bronze badges
1
You must log in to answer this question.
Not the answer you’re looking for? Browse other questions tagged
.
Not the answer you’re looking for? Browse other questions tagged
.
I have installed xampp
. When i open xampp
control panel, mysql and filezilla services are running, but not apache. When i click to start apache it gives me this
ERROR:error:apache service not started [-1]
I have even blocked firewalls for this.
Why this is happeneing and how can i start apache services.I have installed xampp in my E:
directory.
Simon Dugré
18k11 gold badges57 silver badges73 bronze badges
asked Apr 30, 2011 at 3:09
saplingProsaplingPro
20.8k53 gold badges137 silver badges196 bronze badges
here is the steps which will make apache work normally without such errors
- Firstly, make sure that Apache is stopped
- Make sure, Svc check box is unchecked
- Now! go to your XAMPP Folder (
C:\xampp\apache\
– I installed the xampp in C:) - Now! double click on “
apache_uninstallservice.bat
” which is available in apache folder. - After above step, now open your XAMPP Control Panel again and click on Start button which is beside Apache, and make sure that you will not check the Svc checkbox provided.
such errors my happen in old operation systems for example win XP or Vista…
and the latest versions of xampp may not have the corresponding configurations
kazinix
29k33 gold badges107 silver badges157 bronze badges
answered Jun 9, 2012 at 19:40
I found this page looking for a solution to this problem after downloading xampp lite.
I solved this as follow:
The installed service for apache from xampp uses the standalone installation path for apache; c:\program files\apache2.x\...etc
and not the local path in xampp folder.
Just modify all registry keys that include the wrong path for apache service in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Apache2.x
and it should work.
Bot
11.9k11 gold badges76 silver badges131 bronze badges
answered Jun 27, 2012 at 22:57
ammaamma
212 bronze badges
There could be many causes.
Make sure you have no other applications using the port that apache is using. From the XAMPP control panel there is a button you can press to run a tool to check which ports are in use. Applications which I know to conflict with Apache are Skype and Panda Media; there could be others.
answered Apr 30, 2011 at 3:20
ExtrakunExtrakun
19.1k21 gold badges82 silver badges129 bronze badges
2
Unselect the Svc box in the XAMPP control panel and try to restart it. Should work.
answered Jun 19, 2012 at 10:02
33 / 7 / 2 Регистрация: 27.05.2011 Сообщений: 174 |
|
1 |
|
22.01.2012, 01:30. Показов 112718. Ответов 18
Операционка Windows XP. Пробовал разные инсталляшки, везде одинаковая ошибка. Установка проходит успешно, но служба Apache не может запуститься. Если запускать через Apache Monitor, то пишет The requested operation has failed! А если через Администрирование/Службы, то выдает Не удалось запустить службу Apache2.2 на Локальный компьютер. Дополнительные сведения содержатся в журнале системных событий. Если эта служба разработана не в Майкрософт, обратитесь к разработчику службы, и сообщите специфический для этой службы код ошибки 1.
0 |
680 / 330 / 5 Регистрация: 01.03.2010 Сообщений: 1,387 |
|
22.01.2012, 12:43 |
2 |
Дополнительные сведения содержатся в журнале системных событий идем в логи апача и смотрим что там за сведения
1 |
33 / 7 / 2 Регистрация: 27.05.2011 Сообщений: 174 |
|
22.01.2012, 23:44 [ТС] |
3 |
идем в логи апача и смотрим что там за сведения Есть файл install.log, но там я не вижу сообщений об ошибке.
0 |
217 / 157 / 30 Регистрация: 11.05.2010 Сообщений: 614 |
|
23.01.2012, 01:20 |
4 |
Дополнительные сведения содержатся в журнале системных событий. идём в журнал событий виндовса, смотрим что там.
1 |
33 / 7 / 2 Регистрация: 27.05.2011 Сообщений: 174 |
|
23.01.2012, 01:35 [ТС] |
5 |
типа: панель управления/администрирование/просмотр событий Ошибка, источник Apache Service, Событие 3299 [решено] Apache не запускается. Event id 3299 Только у меня такой файл не нашелся. Не пойму, что делать?
0 |
Почетный модератор 11324 / 4296 / 443 Регистрация: 12.06.2008 Сообщений: 12,378 |
|
23.01.2012, 11:11 |
6 |
В папке апача есть папка logs… там посмотри файл error.log
1 |
33 / 7 / 2 Регистрация: 27.05.2011 Сообщений: 174 |
|
23.01.2012, 19:35 [ТС] |
7 |
В папке апача есть папка logs… там посмотри файл error.log Нашел. Вот его содержимое, только я ничего не понимаю. Когда загрузилась винда апач монитор показывал, что сервис запущен, я сделал стоп, а старт уже не получается. httpd.exe: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
0 |
680 / 330 / 5 Регистрация: 01.03.2010 Сообщений: 1,387 |
|
24.01.2012, 09:40 |
8 |
обычно логи храняться в инсталлированной директории апача в папке logs
В папке апача есть папка logs
Нашел. не понимаю, какая разница между этими сообщениями, ввиду которой вы не могли найти логи?
0 |
33 / 7 / 2 Регистрация: 27.05.2011 Сообщений: 174 |
|
24.01.2012, 13:03 [ТС] |
9 |
не понимаю, какая разница между этими сообщениями, ввиду которой вы не могли найти логи? Разница в том, что не было файла error.log. На 80-м порте что-то определенно сидит, только как Вам это пересказать? Куча адресов. 0.0.0.0:80. 127.0.0.1 не на 80-м. Апач монитор показывает, что апач запущен, но если его остановить, то он не запустится.
0 |
680 / 330 / 5 Регистрация: 01.03.2010 Сообщений: 1,387 |
|
24.01.2012, 16:43 |
10 |
tcpview вам в помощь.
0 |
33 / 7 / 2 Регистрация: 27.05.2011 Сообщений: 174 |
|
24.01.2012, 16:49 [ТС] |
11 |
tcpview вам в помощь. А как он мне поможет?
0 |
680 / 330 / 5 Регистрация: 01.03.2010 Сообщений: 1,387 |
|
24.01.2012, 17:04 |
12 |
скачиваете его, к примеру от сюда инструкции там же
0 |
33 / 7 / 2 Регистрация: 27.05.2011 Сообщений: 174 |
|
24.01.2012, 17:11 [ТС] |
13 |
Вижу 4 процесса httpd.exe (запущен денвер, запустился почему-то) PID 3280, протокол TCP, local port — у одного http, 2 https и у одного 8648
0 |
33 / 7 / 2 Регистрация: 27.05.2011 Сообщений: 174 |
|
02.02.2012, 23:06 [ТС] |
14 |
Нашел процесс MsDepSvc.exe (NETWORK SERVICE) из-за которого не запускался веб-сервер. Если этот процесс завершить, то денвер стартует нормально. Только я не вижу его в Администрирование / Службы. Как найти где он запускается, чтобы его отключить? И что это вообще за служба?
0 |
680 / 330 / 5 Регистрация: 01.03.2010 Сообщений: 1,387 |
|
03.02.2012, 02:28 |
15 |
MsDepSvc.exe что-то относящееся к IIS.
0 |
6 / 6 / 1 Регистрация: 30.11.2010 Сообщений: 58 |
|
03.02.2012, 10:47 |
16 |
параметр Listen 80 в httpd.conf меняй на 81 или любой другой порт и будет тебе счастье.
0 |
0 / 0 / 0 Регистрация: 27.12.2014 Сообщений: 5 |
|
24.05.2015, 10:43 |
17 |
Скорее всего, 80 порт уже используется другим приложением (часто Skype его использует). Спасибо, закрыл скайп, всё работает!
0 |
0 / 0 / 0 Регистрация: 16.03.2016 Сообщений: 1 |
|
16.03.2016, 20:10 |
18 |
при запуске апатча выдает ошибку «the requested operation has failed» ! [Wed Mar 16 18:07:59.540866 2016] [mpm_winnt:notice] [pid 816:tid 456] AH00422: Parent: Received shutdown signal — Shutting down the server. а перед этим когда запускал апатч с командной строки после ввода команды : D:\USR\apache\bin\httpd.exe -k install после этого появляется надпись : [Wed Mar 16 19:07:56.559409 2016] [mpm_winnt:error] [pid 5620:tid 428] AH00433: Apache2.4: Service is already installed. Все запускалось и открывалось от имени админитсратора !
0 |
0 / 0 / 0 Регистрация: 03.04.2020 Сообщений: 1 |
|
03.04.2020, 15:11 |
19 |
Ребята, сам искал ответ на этот вопрос и оказалось что он до жути прост! Лекарство такое:
0 |
IT_Exp Эксперт 87844 / 49110 / 22898 Регистрация: 17.06.2006 Сообщений: 92,604 |
03.04.2020, 15:11 |
19 |
Perform the steps below to resolve this issue.
To refresh the Webtrends Apache HTTP configuration:
1. Ensure the Webtrends — MySQL (or MS SQL system database) and the Webtrends — User interface service are running. If the User interface has not started, you will be unable to proceed until they do.
2. Open the following file in a text editor:
\Webtrends\common\apache\conf\httpd.conf
3. Find the line that reads similar to the following:
#Listen 12.34.56.78:80.
4. On the line below, paste the following:
Listen 7099
5. Find the a line similar to «ServerName pdxfasteenn02:» (pdxfasteenn02 should be the name of the Webtrends server).
6. Replace it with the following:
ServerName pdxfasteenn02:7099
Ensure both the Listen line and the ServerName line do not contain a ‘#’.
7. Save the httpd.conf file.
8. Open a command prompt and navigate to the following folder:
Webtrends\common\apache\bin
9. Type the following, and then press enter:
apache.exe
The command window may appear as if it has hung or locked up but this is the expected behavior.
10. Open the Windows Services snap-in and verify that Apache is started.
11. If necessary, start the Tomcat service.
Do not stop and then start Webtrends — User interface service. If you do, it will overwrite the changes made to the httpd.conf file with faulty data.
12. Log into Webtrends and click Administration > System Management > Hosts > UI Server.
13. If the box for «Enable HTTP» is not checked, check it. If it is checked, uncheck and then recheck it, also check or uncheck the box for Enable Tomcat logging (making this change will force a write to the configuration file; you can go back and undo the Tomcat logging change later).
14. In the «Apache Port» box, type 7099, and then click Save.
15. If you are prompted to restart the Webtrends services, click Restart Services.
The Apache service should now start normally. If you made a change to the Tomcat logging settings in step 13, go back and undo that change now.