Jump to content

Need Help With Raspberry Pi 3 DHCP Server

JJL Computers LTD

I am having trouble starting the DHCP service on my raspberry pi when i run the start DHCP server command i get this error in the journal.

And Help Would Be Appreciated!

 

Error From Journal.

 

Unit systemd-tmpfiles-clean.service has begun starting up.
Feb 18 11:29:06 raspberrypi systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit systemd-tmpfiles-clean.service has finished starting up.
-- 
-- The start-up result is done.
Feb 18 11:29:07 raspberrypi sudo[1107]: pam_unix(sudo:session): session closed for user root
Feb 18 11:29:17 raspberrypi sudo[1523]:       pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/sbin/service isc-dhcp-server start
Feb 18 11:29:17 raspberrypi sudo[1523]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 18 11:29:18 raspberrypi systemd[1]: Starting LSB: DHCP server...
-- Subject: Unit isc-dhcp-server.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit isc-dhcp-server.service has begun starting up.
Feb 18 11:29:18 raspberrypi isc-dhcp-server[1551]: DHCPv4 interfaces are no longer set by the INTERFACES variable in
Feb 18 11:29:18 raspberrypi isc-dhcp-server[1551]: /etc/default/isc-dhcp-server.  Please use INTERFACESv4 instead.
Feb 18 11:29:18 raspberrypi isc-dhcp-server[1551]: Migrating automatically for now, but this will go away in the future.
Feb 18 11:29:18 raspberrypi isc-dhcp-server[1551]: Launching IPv4 server only.
Feb 18 11:29:18 raspberrypi isc-dhcp-server[1551]: Starting ISC DHCPv4 server: dhcpddhcpd service already running (pid file /var/run/dhcpd.pid currenty exists) ... failed!
Feb 18 11:29:18 raspberrypi systemd[1]: isc-dhcp-server.service: Control process exited, code=exited status=1
Feb 18 11:29:18 raspberrypi systemd[1]: Failed to start LSB: DHCP server.
-- Subject: Unit isc-dhcp-server.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit isc-dhcp-server.service has failed.
-- 
-- The result is failed.
Feb 18 11:29:18 raspberrypi systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Feb 18 11:29:18 raspberrypi systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Feb 18 11:29:18 raspberrypi sudo[1523]: pam_unix(sudo:session): session closed for user root
Feb 18 11:29:21 raspberrypi sudo[1560]:       pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/nano /etc/dhcp/dhcpd.conf
Feb 18 11:29:21 raspberrypi sudo[1560]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 18 11:29:25 raspberrypi sudo[1560]: pam_unix(sudo:session): session closed for user root
Feb 18 11:29:28 raspberrypi sudo[1568]:       pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/sbin/service isc-dhcp-server start
Feb 18 11:29:28 raspberrypi sudo[1568]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 18 11:29:29 raspberrypi systemd[1]: Starting LSB: DHCP server...
-- Subject: Unit isc-dhcp-server.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit isc-dhcp-server.service has begun starting up.
Feb 18 11:29:29 raspberrypi isc-dhcp-server[1596]: DHCPv4 interfaces are no longer set by the INTERFACES variable in
Feb 18 11:29:29 raspberrypi isc-dhcp-server[1596]: /etc/default/isc-dhcp-server.  Please use INTERFACESv4 instead.
Feb 18 11:29:29 raspberrypi isc-dhcp-server[1596]: Migrating automatically for now, but this will go away in the future.
Feb 18 11:29:29 raspberrypi isc-dhcp-server[1596]: Launching IPv4 server only.
Feb 18 11:29:29 raspberrypi isc-dhcp-server[1596]: Starting ISC DHCPv4 server: dhcpddhcpd service already running (pid file /var/run/dhcpd.pid currenty exists) ... failed!
Feb 18 11:29:29 raspberrypi systemd[1]: isc-dhcp-server.service: Control process exited, code=exited status=1
Feb 18 11:29:29 raspberrypi systemd[1]: Failed to start LSB: DHCP server.
-- Subject: Unit isc-dhcp-server.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit isc-dhcp-server.service has failed.
-- 
-- The result is failed.
Feb 18 11:29:29 raspberrypi systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Feb 18 11:29:29 raspberrypi systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Feb 18 11:29:29 raspberrypi sudo[1568]: pam_unix(sudo:session): session closed for user root
lines 2014-2077/2077 (END)
 

James

JJL Computers LTD

https://jjl-computers.co.uk/

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×