Приветствую,форумчане!
Помогите, пожалуйста, разобраться с демоном isc-dhcp-server. Пытаюсь развернуть на хосте dhcp сервер, но демон упорно не хочет стартовать((
Установлены следующие компоненты:
sudo dpkg -l | grep dhcp
rc isc-dhcp-client 4.3.3-5ubuntu12.3 amd64 DHCP client for automatically obtaining an IP address
ii isc-dhcp-common 4.3.3-5ubuntu12.3 amd64 common files used by all of the isc-dhcp packages
rc isc-dhcp-server
Выхлоп systemctl следующий:
sudo systemctl status --all | grep dhcp
│ ├─1410 grep --color=auto dhcp
├─1410 grep --color=auto dhcp
ноя 16 18:09:25 pxe-server apparmor[572]: AppArmor parser error for /etc/apparmor.d/usr.sbin.dhcpd in /etc/apparmor.d/usr.sbin.dhcpd at line 70: Could not open 'dhcpd.d'
ноя 16 18:09:25 pxe-server apparmor[572]: AppArmor parser error for /etc/apparmor.d/usr.sbin.dhcpd in /etc/apparmor.d/usr.sbin.dhcpd at line 70: Could not open 'dhcpd.d'
Warning: isc-dhcp-server.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: isc-dhcp-server6.service changed on disk. Run 'systemctl daemon-reload' to reload units.
● isc-dhcp-server.service
● isc-dhcp-server6.service
Warning: lxd-containers.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: samba.service changed on disk. Run 'systemctl daemon-reload' to reload units.
│ ├─1410 grep --color=auto dhcp
│ ├─1410 grep --color=auto dhcp
│ ├─1410 grep --color=auto dhcp
Warning: lxd.socket changed on disk. Run 'systemctl daemon-reload' to reload units.
Если попробовать запустить вручную,то выдает следующее:
sudo systemctl start dhcpd
Failed to start dhcpd.service: Unit dhcpd.service not found.
Параметры dhcpd (/etc/dhcp/dhcpd.conf) следующие:
ddns-update-style none;
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.224 {
range 192.168.1.126 192.168.1.140;
option domain-name-servers 192.168.1.1;
option domain-name "sol.loc";
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}