$ apache2ctl restart 실 발생한 error들.....
ah00558 httpd could not reliably determine the server's fully qualified domain name.....
위와 같이 error가 뜨는 경우 /etc/apache2/apache2.conf에 ServerName localhost를 추가하면된다
나는 위치를 고려하지 않고 삽이하여 다시 $ apache2ctl restart를 실행하니 해당 에러가 뜨지 않았다......(내 생각에는 DNS를 사용하는 경우에는 ServerName을 domain name으로 설정해도 될 것 같다)
구글링 헤보니깐 많은데에서 httpd.conf에 추가 하라고 하는데 blog post시기를 보면 오랜된 대가 많다. 아마 Apache2전 버전에서 해당되는 것 같다
Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
위의 error같은겨우는 sudo user로 실행해야 port 80에 접근이 가능하기 떄문에
$sudo 를 통해서 명령어를 실행시켜야 한다
'오류모음' 카테고리의 다른 글
[Hexo]오류 모음 (0) | 2018.05.17 |
---|---|
[brew]오류 모음 (0) | 2018.05.17 |