Windows가 로컬 컴퓨터에서 Apache2를 시작할 수 없음-문제
Apache2를 설치하는 동안 cmd 창에 다음 메시지가 표시됩니다.
Apache2.2 서비스 설치 Apache2.2 서비스가 성공적으로 설치되었습니다. httpd.conf 테스트 중 ....
여기에보고 된 오류는 서비스를 시작하기 전에 수정해야합니다. httpd.exe : ServerName (OS 10048)에 192.168.1.3을 사용하여 서버의 정규화 된 도메인 이름을 안정적으로 확인할 수 없습니다. 일반적으로 각 소켓 주소 (프로토콜 / 네트워크 주소 / 포트)를 한 번만 사용할 수 있습니다. : make_sock : 주소 0.0.0.0:80에 바인딩 할 수 없습니다. 사용할 수있는 청취 소켓이 없습니다. 종료합니다. 로그를 열 수 없습니다. 위의 오류 또는 메시지를 확인하고 키를 눌러 종료합니다. 24 ...
설치 후 모든 것이 잘 보이지만 그렇지 않습니다. 서비스를 시작하려고하면 다음 메시지가 나타납니다.
Windows는 로컬 컴퓨터에서 Apache2를 시작할 수 없습니다. 자세한 내용은 시스템 이벤트 로그를 검토하십시오. Micorsoft 서비스가 아닌 경우 서비스 공급 업체에 문의하고 서비스 별 오류 코드 1을 참조하십시오.
Apach2 버전은 2.2.9입니다.
누구든지 같은 문제가 있거나 나를 도울 수 있습니까?
포트 80에서 수신 대기하는 다른 프로그램이 있습니다.
- Skype (포트 80에서 수신)
- NOD32 (아파치를 바인딩 할 수 있도록 IMON 예외 목록에 Apache 추가)
- 기타 바이러스 백신 (위와 동일)
이를 수정하는 방법은 포트 80을 사용하는 프로그램을 종료하거나 다른 포트를 사용하도록 구성하거나 httpd.conf의 Listen 지시문을 사용하여 다른 포트에서 수신하도록 Apache를 구성하는 것입니다. 바이러스 백신의 경우 Apache가 선택한 포트에 바인딩 할 수 있도록 바이러스 백신을 구성하십시오.
어떤 앱이 포트 80에 바인딩되었는지 진단하는 방법은 해당 옵션으로 netstat를 실행하고 로컬 IP 주소 (두 번째 열) 옆에있는 : 80을 찾아 PID (마지막 열)를 찾습니다. 그런 다음 작업 관리자에서 이전 단계에서 얻은 PID가있는 프로세스를 찾을 수 있습니다. (작업 관리자에 PID 열을 추가해야 할 수도 있습니다)
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
포트 80 및 443에서 Skype 수신을 중지하려면 http://www.mydigitallife.info/disable-skype-from-using-opening-and-listening-on-port-80- 및 링크를 따라갈 수 있습니다 . -443- 로컬 컴퓨터 /
이 오류가 다른 사람들에게 도움이되기를 바랍니다.
문제에 대한 정확한 설명을 보려면 명령 줄에서 httpd.exe를 실행하십시오 .
I had the same error message and it turned out to be a miss configured ServerRoot path. Even after running setup_xampp.bat the httpd.conf had the wrong path.
My error.log was empty and starting the service does not give an informative error message.
the better way to resolve the issue is change the port number in Apache2\conf\httpd.conf . Change the port number as fallows::: Listen 8888 and ServerName machinename:8888 .Restart the Apache server after changing the port number.
I had the same problem. I checked netstat, other processes running, firewall and changed httpd.conf, stopped antivirus, But all my efforts were in vain. :(
So finally the solution was to stop the IIS. And it worked :)
I guess IIS and apache cant work together. If anybody know any work around let us know.
Run the httpd.exe from the command line, as Tim mentioned. The path to PostgreSQL changed, nothing else was running on Port 80 and I didn't see anything in the error.log
file.
I clone my boot drive/partition once the base is setup so I don't have to spend three days installing and retweaking everything. Turns I had reinstalled my WAPP stack and used very specific names/versions for PostgreSQL. Windows will not return a specific error message unless you run the command from the command line.
Follow this step it will works fine. Go to Control panel-->Programs and features-->click Turn Windows features on and off--> see IIS is Checked Or Not If checked please unckeck IIS and restart the computer.After that Open services see Web Deployement Agent Service status if its started please stop.And also see WampAppache and WampSqlID if its not started please start manually. it will works for me.
Hi i also meet this problem today. And the log error in the Event viewer is as following The Apache service named reported the following error:
1.Wrapper php-cgi.exe cannot be accessed: (720005)Access is denied.
2.apache service monitor:the requested operation has failed
It is actual the access problem.So the solution as flowing is help me change the php-cgi.exe security properties
not inheit from parent the permission...
please add the everyone user
if appache and IIS both are running at a time then there is a posibility to hang the apache service,,,,
when i stopped all IIS websites once and then restarted apache service and it works for me....Jai...
Windows Vista Home Premium operating system issue: The easiest way to resolve the issue is to change the port number in Apache2\conf\httpd.conf.
Change the port number at the following lines. 'Listen' from 80 to 8888 and 'ServerName' machinename (ex:localhost) from 80 to 8888. Save then close. Open up Apache Service Monitor and restart service or go to Computer Management > Services and locate Apache 2.2 and start or restart.
Remove apache from Control Panel and delete the apache folder from Program Files and restart the machine, then install apache again. This will solve the problem; if not do the following: Install IIS if not installed, then start IIS and stop it ... Using services start apache service... enjoy apache.
I've had this problem twice. The first problem was fixed using the marked answer on this page (thank you for that). However, the second time proved a bit more difficult.
I found that in my httpd-vhosts.conf file that I made a mistake when assigning the document root to a domain name. Fixing this solved my problem. It is well worth checking (or even reverting to a blank copy) your httpd-vhosts.conf file for any errors and typo's.
if you are using windows os and believe that skype is not the suspect, then you might want to check the task manager and check the "Show processes from all users" and make sure that there is NO entry for httpd.exe. Otherwise, end its process. That solves my problem.
Yes , i had to change the port :80 to :90 as port :80 was busy by some other system resource.
You can see the logs in the folder of Apache2.2\logs
Thanks,
Always double check httpd.conf to see if document root is correctly pointing to an existing folder
#if you have c:\your-main-folder\www\
DocumentRoot "c:/your-main-folder/www/"
#if you have c:\your-main-folder\www\sub-folder\
DocumentRoot "c:/your-main-folder/www/sub-folder/"
DocumentRoot
points to a folder that must exist in your drive.
I had the same issue. when i restarted my wamp it turns to Yellow color icon but not green. In services i stop all sql server services. after that it works for me..
- Two thinks that should must be take care. 1 ) port should be different 2 ) stop those services which can be on port 80
Thanks for the help guys. I found another culprit. Recently SimplifyMedia added a photo sharing option. Apparently it too uses port 80 and prevented Apache from starting up. I hope this helps someone out.
Me also coming the same problem. The solution is goto add or remove programes then click the turn windows features on or off. Turn off the IIS. That is turn off the 'Internet information services' and 'Internet information service removable web core'. I chosed the remaining features are on. Computer will ask to restart the system. Restart ur computer and then install the apache http server. I got it. Server succesfully working...
For me, this was the result of having set the document root (in httpd.conf
) to a directory that did not exist (I had just emptied htdocs of a previous project).
Windows 10 - administrator account
I needed to switch the account to an admin type account, in windows services
httpd.exe -k install
fails to add setup with enough user rights.
'Program Tip' 카테고리의 다른 글
자동으로 파일 변경을 감지하지 못함 (0) | 2020.11.12 |
---|---|
Form_rest ()가 Symfony2에서 필드를 표시하지 않도록하는 방법은 무엇입니까? (0) | 2020.11.12 |
비하인드 뷰 클릭 이벤트 프레임 레이아웃을 비활성화하는 방법 (0) | 2020.11.12 |
파이썬 목록 이해력; (0) | 2020.11.12 |
UIScrollView가 iOS 6 및 iOS 7에서 맨 위에서 공간을 벗어나는 이유 (0) | 2020.11.12 |