[fedora] DHCP Error-dhcp 서비스 상태가 failed 나는 경우

CODEDRAGON Security/Linux

반응형

   

dhcp 서비스 상태가 failed 나는 경우

오류 상태

DHCP 서비스 실행 후 아래와 같은 오류 메시지가 나오고 서비스 상태가 failed 나는 경우

[root@dhcp ~]# systemctl start dhcpd.service

Job for dhcpd.service failed because the control process exited with error code. See "systemctl status dhcpd.service" and "journalctl -xe" for details.

[root@dhcp ~]# systemctl status dhcpd.service

dhcpd.service - DHCPv4 Server Daemon

Loaded: loaded (/usr/lib/systemd/system/dhcpd.service; disabled; vendor preset: disabled)

Active: failed (Result: exit-code) since 월 2016-05-16 01:06:47 KST; 10s ago

Docs: man:dhcpd(8)

man:dhcpd.conf(5)

Process: 2765 ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid (code=exited, status=1/FAILURE)

Main PID: 2765 (code=exited, status=1/FAILURE)

   

5월 16 01:06:47 dhcp.localdomain dhcpd[2765]:

5월 16 01:06:47 dhcp.localdomain dhcpd[2765]:

5월 16 01:06:47 dhcp.localdomain dhcpd[2765]: Not configured to listen on ...!

5월 16 01:06:47 dhcp.localdomain dhcpd[2765]:

5월 16 01:06:47 dhcp.localdomain dhcpd[2765]: This version of ISC DHCP is ...e

5월 16 01:06:47 dhcp.localdomain dhcpd[2765]: on ftp.isc.org. Features ha...s

5월 16 01:06:47 dhcp.localdomain systemd[1]: dhcpd.service: Main process e...E

5월 16 01:06:47 dhcp.localdomain systemd[1]: Failed to start DHCPv4 Server....

5월 16 01:06:47 dhcp.localdomain systemd[1]: dhcpd.service: Unit entered f....

5월 16 01:06:47 dhcp.localdomain systemd[1]: dhcpd.service: Failed with re....

Hint: Some lines were ellipsized, use -l to show in full.

[root@dhcp ~]# systemctl enable dhcpd.service

Created symlink from /etc/systemd/system/multi-user.target.wants/dhcpd.service to /usr/lib/systemd/system/dhcpd.service.

[root@dhcp ~]#

   

   

해결방법

/etc/dhcp/dhcpd.conf 파일을 확인해 보시기 바랍니다.

설정이 잘못 되어있거나 설정 부분이 빠져 있을 수 있습니다.