/var/named/chroot/var/named: 장치가 사용 중입니다.

/var/named/chroot/var/named: 장치가 사용 중입니다.

명명된 서비스를 다시 시작하면 다음 오류가 발생합니다.

./etc/init.d/named restart

Stopping named:                                            [  OK  ]
Starting named: 
Error in named configuration:
zone enum4red.com/IN: has 0 SOA records
zone enum4red.com/IN: has no NS records
zone enum4red.com/IN: not loaded due to errors.
_default/enum4red.com/IN: bad zone
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
                                                           [FAILED]
umount: /var/named/chroot/var/named: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

로그는 다음과 같습니다

Oct  7 04:35:46 localhost named: zone enum4red.com/IN: has 0 SOA records
Oct  7 04:35:46 localhost named: zone enum4red.com/IN: has no NS records
Oct  7 04:35:46 localhost named: zone enum4red.com/IN: not loaded due to errors.
Oct  7 04:35:46 localhost named: _default/enum4red.com/IN: bad zone
Oct  7 04:35:46 localhost named: zone localhost.localdomain/IN: loaded serial 0
Oct  7 04:35:46 localhost named: zone localhost/IN: loaded serial 0
Oct  7 04:35:46 localhost named: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
Oct  7 04:35:46 localhost named: zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
Oct  7 04:35:46 localhost named: zone 0.in-addr.arpa/IN: loaded serial 0

무슨 일이 있었는지 아세요?

답변1

오류는 정확히 무엇이 잘못되었는지 알려줍니다.

Error in named configuration:
zone enum4red.com/IN: has 0 SOA records
zone enum4red.com/IN: has no NS records
zone enum4red.com/IN: not loaded due to errors.

다음 디렉터리로 이동하세요.

/var/named/chroot/var/named

enum4red.com 영역에 대한 영역 파일을 살펴보세요.

관련 정보