debianstretch에 설치 해야 하는데 isc-dhcp-server
패키지를 올바르게 설치할 수 없습니다.
apt-listbugs list isc-dhcp-server
:
#867362 - isc-dhcp-server: DHCP server does not start after upgrade to Stretch
패키지를 설치한 후
# systemctl status isc-dhcp-server
● isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2017-10-05 11:47:47 UTC; 2min 52s ago
Docs: man:systemd-sysv-generator(8)
Process: 5416 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
oct. 05 11:47:45 stretch isc-dhcp-server[5416]: Launching both IPv4 and IPv6 servers (please configure INTERFACES in /etc/default/isc
oct. 05 11:47:45 stretch dhcpd[5427]: irs_resconf_load failed: 59.
oct. 05 11:47:45 stretch dhcpd[5427]: Unable to set resolver from resolv.conf; startup continuing but DDNS support may be affected
oct. 05 11:47:45 stretch dhcpd[5427]: Wrote 0 leases to leases file.
oct. 05 11:47:47 stretch isc-dhcp-server[5416]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ... failed!
oct. 05 11:47:47 stretch isc-dhcp-server[5416]: failed!
oct. 05 11:47:47 stretch systemd[1]: isc-dhcp-server.service: Control process exited, code=exited status=1
oct. 05 11:47:47 stretch systemd[1]: Failed to start LSB: DHCP server.
oct. 05 11:47:47 stretch systemd[1]: isc-dhcp-server.service: Unit entered failed state.
oct. 05 11:47:47 stretch systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
설치 패키지소스에서(버전 4.3.6) 문제를 해결할 수 없습니다. isc-dhcp-server
debianstretch에 설치할 수 있는 방법이 있나요?
journalctl | grep isc-dhcp-server
:
oct. 05 11:45:09 stretch isc-dhcp-server[5288]: Launching both IPv4 and IPv6 servers (please configure INTERFACES in /etc/default/isc-dhcp-server if you only want one or the other).
oct. 05 11:45:12 stretch isc-dhcp-server[5288]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ... failed!
oct. 05 11:45:12 stretch isc-dhcp-server[5288]: failed!
oct. 05 11:45:12 stretch systemd[1]: isc-dhcp-server.service: Control process exited, code=exited status=1
oct. 05 11:45:11 stretch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=isc-dhcp-server comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
oct. 05 11:45:12 stretch systemd[1]: isc-dhcp-server.service: Unit entered failed state.
oct. 05 11:45:12 stretch systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
oct. 05 11:47:45 stretch isc-dhcp-server[5416]: Launching both IPv4 and IPv6 servers (please configure INTERFACES in /etc/default/isc-dhcp-server if you only want one or the other).
oct. 05 11:47:47 stretch isc-dhcp-server[5416]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ... failed!
oct. 05 11:47:47 stretch isc-dhcp-server[5416]: failed!
oct. 05 11:47:47 stretch systemd[1]: isc-dhcp-server.service: Control process exited, code=exited status=1
oct. 05 11:47:47 stretch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=isc-dhcp-server comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
oct. 05 11:47:47 stretch systemd[1]: isc-dhcp-server.service: Unit entered failed state.
oct. 05 11:47:47 stretch systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
systemctl list-units --state=failed
:
UNIT LOAD ACTIVE SUB DESCRIPTION
● dnsmasq.service loaded failed failed dnsmasq - A lightweight DHCP and caching DNS server
● isc-dhcp-server.service loaded failed failed LSB: DHCP server
답변1
저는 Stretch에서 공식 ISC DHCPd Debian 패키지를 사용해 왔습니다.아니요systemd를 사용하여 Debian에서 사용하고 Debian 6 이후로 큰 문제 없이 특정 DHCP 클러스터를 업그레이드했습니다.
Stretch의 경우, 저는 1년 넘게 isc-dhcp를 사용해 왔습니다.제 생각에는, 이전 마이그레이션은 내 자신의 deb를 조립하는 대신 새 버전을 활용하는 것이었기 때문입니다. (Windows DHCP 클라이언트와 관련된 몇 가지 이유가 있습니다)
일반적으로 이러한 유형의 서비스는 별도의 시스템에 존재해야 하므로 예외를 두고 sysV init 유틸리티가 있는 데비안 서버를 사용하는 것이 좋습니다.
이렇게 하려면 다음을 수행할 수 있습니다.
sudo apt-get install sysvinit-core sysvinit