На компьютере установлена система:
Код: Выделить всё
# uname -a
Linux host.domain.ru 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.2 (Santiago)
#
Код: Выделить всё
# rpm -qa | grep bind
bind-libs-9.7.3-8.P3.el6.i686
bind-libs-9.7.3-8.P3.el6_2.2.x86_64
bind-utils-9.7.3-8.P3.el6_2.2.x86_64
bind-9.7.3-8.P3.el6_2.2.x86_64
bind-chroot-9.7.3-8.P3.el6_2.2.x86_64
#
Код: Выделить всё
# cat /etc/sysconfig/named
# BIND named process options
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
ROOTDIR=/var/named/chroot
Код: Выделить всё
# netstat -nlp | grep named
tcp 0 0 10.1.10.5:53 0.0.0.0:* LISTEN 1386/named
tcp 0 0 10.1.10.2:53 0.0.0.0:* LISTEN 1386/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1386/named
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1386/named
udp 0 0 10.1.10.5:53 0.0.0.0:* 1386/named
udp 0 0 10.1.10.2:53 0.0.0.0:* 1386/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 1386/named
#
Код: Выделить всё
# du -sh /var
du: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
`/var/named/chroot/var/named'
122M /var
#
Хотя далее этой директории он ничего не показывает:
Код: Выделить всё
# ls -al /var/named/chroot/var/named/chroot/var/named/
total 8
drwxr-x--- 2 root named 4096 Jan 10 2012 .
drwxr-x---. 6 root named 4096 Jan 10 2012 ..
#
Код: Выделить всё
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 37G 9.3G 26G 27% /
tmpfs 499M 0 499M 0% /dev/shm
/dev/sda1 485M 32M 428M 7% /boot
/dev/sdb2 4.0G 73M 3.7G 2% /tmp
/dev/sdb1 4.0G 1.2G 2.6G 31% /var
#