Доброго времени суток! После одного из перезапусков столкнулся с тем что DHCP сервер не стартует:
eserden@backup:~$ sudo /etc/init.d/isc-dhcp-server start
dhcpd self-test failed. Please fix /etc/dhcp/dhcpd.conf.
The error was:
/usr/sbin/dhcpd: error while loading shared libraries: libc.so.6: cannot open shared object file: Permission denied
eserden@backup:~$
Конфиг DHCP
eserden@backup:~$ sudo grep -v "^$" /etc/dhcp/dhcpd.conf | grep -v '^ *#'
ddns-update-style none;
option domain-name "mywork.com";
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet 10.38.14.0 netmask 255.255.255.0 {
interface eth0;
deny unknown-clients;
range 10.38.14.2 10.38.14.253;
option domain-name "dc1.mywork.com";
option domain-name-servers 10.38.14.253, 10.38.14.5;
option routers 10.38.14.1;
option broadcast-address 10.5.5.31;
default-lease-time 60000;
max-lease-time 720000;
}
subnet 10.38.15.0 netmask 255.255.255.0 {
interface eth1;
range 10.38.15.2 10.38.15.253;
option routers 10.38.15.1;
option broadcast-address 10.5.5.31;
default-lease-time 600;
max-lease-time 7200;
option domain-name "dc1.mywork.com";
option domain-name-servers 10.38.14.253, 8.8.8.8;
}
UPD При выполенении
eserden@backup:~$ sudo ldd /usr/sbin/dhcpd
linux-vdso.so.1 => (0x00007fff29bfe000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3816474000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3816c52000)
ll /lib/x86_64-linux-gnu
lrwxrwxrwx 1 root root 12 Дек 4 21:39 lib/x86_64-linux-gnu/libc.so.6 -> libc-2.19.so*
И на файл на который она ссылается
ll /lib/x86_64-linux-gnu/libc-2.19.so
-rwxrwxrwx 1 root root 1845024 Дек 4 21:32 /lib/x86_64-linux-gnu/libc-2.19.so*
Заранее спасибо за помощь!