MythTV를 사용하고 있는데 MythWeb이 갑자기 작동을 멈췄습니다. 연결을 시도하면 웹 브라우저에서 다음을보고합니다.
Unable to connect Firefox can't establish a connection to the server at 192.168.1.100.
여전히 인터넷에 연결하는 데 문제가 없으며 ifconfig 결과가 정상인 것 같습니다.
eth1 Link encap:Ethernet HWaddr 00:1c:c0:79:83:13
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21c:c0ff:fe79:8313/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:963141 errors:0 dropped:90 overruns:0 frame:0
TX packets:726145 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:449248447 (449.2 MB) TX bytes:174625833 (174.6 MB)
Interrupt:20 Memory:e3400000-e3420000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:6009249 errors:0 dropped:0 overruns:0 frame:0
TX packets:6009249 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2149138281 (2.1 GB) TX bytes:2149138281 (2.1 GB)
시도 할 때 동일한 오류가 발생 http://192.168.1.100/
하므로 이것이 아마도 mythweb 오류가 아니라 아파치 오류라고 생각합니다.
업데이트 : 포트 80과 관련된 것으로 보이기 때문에 (Nathan에게 감사합니다) "Listen 80"줄이 포함 된 /etc/apache2/ports.conf 파일을 확인하여 확인했고 아파치가 실행되지 않습니다 (facepalm)!
아파치를 시작하려고하면 : sudo /etc/init.d/apache2 start 반환 :
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message
(2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for main error log
(2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for error log of vhost defined at /etc/apache2/sites-enabled/000-default.conf:1
아파치 오류에서 알 수 있듯이 관련되지 않은 문제를 디버깅하는 동안 / var / log 디렉토리의 모든 항목을 삭제했기 때문에 / var / log / apache2 / 디렉토리가 없기 때문에 시작되지 않았습니다. 마지막 두 개의 오류를 제거하기 위해 / var / log / apache2 / 디렉토리를 다시 만들고 다음 지침에 따라 내 /etc/apache2/apache2.conf 파일에 'ServerName localhost'를 추가 하여 첫 번째 오류를 제거했습니다.
로그 디렉터리가 누락 된 경우 단순히 다시 생성되지 않는 이유를 모르겠지만 그게 문제였습니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다