httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
yum을 이용해서
httpd 설치를 끝마치고....
구동 시키려니....
--------------------------------------------------------------------------------------------------------
[root@localhost html]# service httpd restart
Stopping
httpd: [FAILED]
Starting httpd:
[Tue Oct 12 07:33:38 2010] [warn] module php5_module is already loaded,
skipping
httpd: Could not reliably determine the server's fully qualified
domain name, using localhost.localdomain for
ServerName
[ OK
]
--------------------------------------------------------------------------------------------------------
맙소사!!
httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
라는 오류가 발생하였다.............
http://lsc7712.blog.me/30028259605
이분이 포스팅해 놓은 글에 의하면....
vi /etc/apache2/apache2.conf파일의 끝 부분에
ServerName localhost 라고 추가한 뒤에 서비스를 다시 시작하면 된다고 써있다.
하지만 내꺼는 경로가 다르니...
vi /etc/httpd/conf/httpd.conf 파일을 열어서
ServerName이라고 설정해주는 부분이 주석처리 되있더군...
난 그 바로 밑에다가
ServerName localhost
라고 써줬다...
설정을 한 뒤엔 service httpd restart
결과는??
--------------------------------------------------------------------------------------------------------
[root@localhost html]# service httpd restart
Stopping
httpd: [ OK ]
Starting
httpd: [ OK ]
[root@localhost
html]#
--------------------------------------------------------------------------------------------------------
오예~