[질문]Redhat9 설치후 셋팅중에...오류문제가 있습니다.

strack의 이미지

먼저 사용환경은 펜티엄4 사양에 공유기를 통하여 사무실에 업무용 웹서버를 구축하고자(MYIP서비스) Redhat9을 설치하였습니다.

서버 구축에 주용도로는 회사를 소개하는 홈페이지와 이와 관련된 사이트를 몇개 정도 더 넣으려고 구축하고 있습니다.

현재 apache, mysql, php를 설치해둔 상태이긴 합니다만, 정상적인 작동유무를 아직 확인해보질 못하였습니다.

그런데 http.conf파일을 수정후에 아파치를 재시작하면

httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for Server Name

이 부분은 반드시 서버네임을 따로 지정해줘야할까요?(MYIP서비스를 받을려고 합니다.)

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down

Unable to open logs

이 부분에서 말한는 소켓부분을 어떤 부분을 말하는건가요?

너무 기초적인 질문을 드렸는지 모르겠습니다. 혹시 설치중에 이런부분을 경험해보신분이 계시면 답글 부탁드리겠습니다.

myohan의 이미지

Quote:
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for Server Name

이부분은 http.conf에서 ServerName로 검색 하샤서 주석을 해제하시면 해결됩니다

---------------------------------------
blog : http://myohan.egloos.com

strack의 이미지

myohan wrote:
Quote:
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for Server Name

이부분은 http.conf에서 ServerName로 검색 하샤서 주석을 해제하시면 해결됩니다

주석을 제거해줬는데요...
다시 실행하니
httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs

이런 메세지가 출력되네요
내용인즉 다시 실행해주라는것과 소켓이 연결되지 않았다고 나오는것 같은데요 0.0.0.0:80 부분을 따로 설정해주는 부분이 있는건가요?

myohan의 이미지

제경우에는
OS : Gentoo KERNEL : 2.6.11 APACHE : apache-2.0.54인 경우
첫본째 Message는 http.conf의
ServerName localhost 로 해결보 았습니다.

그리고 주번째 Message는 bind가 실패 하는 걸로 본아
warm으로 의심되는둔요

저두 예전에 해외 출장가서 서버로 레뎃9깔았다가 반나절만에
해킹 당했던 기억이 있네여 :evil:

---------------------------------------
blog : http://myohan.egloos.com