리눅스 참어렵군.요....ㅠㅠ 이것좀 봐주세요....

holysds의 이미지

[root@www public_html]# /etc/rc.d/init.d/./httpd restart
Stopping httpd [FAILED]
Starting httpd [Thu Jan 1 152921 2004] [warn] VirtualHost 61.36.xxx.xxx80 overlaps with VirtualHost 61.36.xxx.xxx80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Jan 1 152921 2004] [warn] VirtualHost 61.36.xxx.xxx80 overlaps with VirtualHost 61.36.xxx.xxx80, the first has precedence, perhaps you need a NameVirtualHost directive
[ OK ]
[root@www public_html]#

첨엔 javano.com 이란것만 했을때 잘 됬습니다...그러나 가상호스트잡고난뒤 저럽니다...javano.com 이란것도 안되고요...ㅠㅠ 벌써한달째 씨름중......고수님들아 부탁드려요...

==============================================
named.conf

zone "xxxxx" IN {
type master;
file "xxxxx.zone";
allow-update { none; };
};

zone "xxxx.net" IN {
type master;
file "xxxx.xxxx";
allow-update { none; };
};

==============================================
javano2.zone(servermate.net와 같음)

$TTL 86400
@ IN SOA ns.xxxx.com. root.xxxx.com. (
20010504 ;Serial
10800 ;Refresh
3600 ;Retry
3500000 ;Expire
43200 ) ;Minumum
IN NS ns.xxxxcom.
IN A 61.36.xxxx.xxx
ns IN A 61.36.xxxx.xxx
www IN A 61.36.xxxx.xxx
linux IN A 61.36.xxxxx.xxx
~

=============================================
httpd.conf

<VirtualHost 61.36.xxxx.xxxx>
ServerAdmin xxxx@xxxxx.net
DocumentRoot /home/xxxx/public_html
ServerName xxxx.net
ServerAlias www.xxxx.net
ErrorLog /var/log/httpd/xxxx.xxxx-error_log
CustomLog /var/log/httpd/xxxx.xxx-access_log common
</VirtualHost>

<VirtualHost 61.36.xxx.xxx>
ServerAdmin xxxx@xxxx.co.kr
DocumentRoot /home/xxxx/public_html
ServerName xxxx.co.kr
ServerAlias www.xxxx.co.kr
ErrorLog /var/log/httpd/xxxx.co.kr-error_log
CustomLog /var/log/httpd/xxxx.co.kr-access_log common
</VirtualHost> 

jedi의 이미지

holysds wrote:
[root@www public_html]# /etc/rc.d/init.d/./httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Thu Jan 1 15:29:21 2004] [warn] VirtualHost 61.36.133.60:80 overlaps with VirtualHost 61.36.133.60:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Jan 1 15:29:21 2004] [warn] VirtualHost 61.36.133.60:80 overlaps with VirtualHost 61.36.133.60:80, the first has precedence, perhaps you need a NameVirtualHost directive
[ OK ]
[root@www public_html]#

아파치가 안되는데 리눅스가 어렵다는 제목이 왜 나오는지 모르겠군요.

"you need a NameVirtualHost directive"

httpd.conf에 NameVirtualHost *가 필요하다는 군요.

찾아서 주석을 제거하세요.

+++ 여기부터는 서명입니다. +++
국가 기구의 존속을 위한 최소한의 세금만을 내고, 전체 인민들이 균등한 삶을
영위할 수 있는 착취가 없는 혁명의 그날은 언제나 올 것인가!
-- 조정래, <태백산맥> 중에서, 1986년

야흔의 이미지

httpd.conf 에 NameVirtualHost 61.36.133.60 을 지정해 주시면

됩니다.