Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcp not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
voncloft
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2014
Posts: 99

PostPosted: Thu Feb 08, 2018 11:12 pm    Post subject: dhcp not working Reply with quote

I run the following:

Code:

router /etc/dhcp # /etc/init.d/dhcpd restart
 * Starting dhcpd ...
 * start-stop-daemon: failed to start `/usr/sbin/dhcpd'                                                                                     [ !! ]
 * ERROR: dhcpd failed to start


I have no logs for dhcpd in /var/log


....what can I do?

Tried:
Code:

router ~ # /etc/init.d/dhcpd restart --verbose
 * Caching service dependencies ...                                                                                                         [ ok ]
 * Executing: /lib64/rc/sh/openrc-run.sh /lib64/rc/sh/openrc-run.sh /etc/init.d/dhcpd start
 * Starting dhcpd ...
 * start-stop-daemon: fopen `//var/run/dhcp/dhcpd.pid': No such file or directory
 * Detaching to start `/usr/sbin/dhcpd' ...
 *   start-stop-daemon: failed to start `/usr/sbin/dhcpd'                                                                                   [ !! ]
 * ERROR: dhcpd failed to start


Also tried removing a "/" in /etc/init.d/dhcpd for the pid line.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Fri Feb 09, 2018 6:16 am    Post subject: Reply with quote

Hi,

check "/var/log/syslog" for messages. And check, wether you have a dhcpd.conf in /etc/dhcp

greets, bb
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum