It's under your control.

httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName 본문

Works/Linux

httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName

H4ru 2013. 4. 18. 00:41

리눅스 httpd 설치 후 restart 했을 때 다음과 같이 에러가 날 경우

 

 

[root@localhost /]# /etc/rc.d/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
                                                                 [  OK  ]
[root@localhost /]#    

 

[root@localhost /]# find / -name 'httpd.conf'
/etc/httpd/conf/httpd.conf 

[root@localhost /]# vi /etc/httpd/conf/httpd.conf 

다음 파일에서 #ServerName localhost  부분을 찾아서 주석을 제거(#제거)

'Works > Linux' 카테고리의 다른 글

X-Window 추가 설치(CentOS)  (0) 2013.04.18
php configure/config error solution  (0) 2013.04.18
리눅스 버전 확인 (uname || /etc/issue)  (0) 2013.04.18
Linux Log history delete  (0) 2010.06.28
리눅스 간단 명령어 정리 모음  (0) 2010.01.14