DHCPd setup trouble

Madison Kelly linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Sat Oct 31 02:26:25 UTC 2009


Madison Kelly wrote:
> Hi all,
> 
>   I'm trying to do something that should be dead simple, and am managing 
> to fail miserably.
> 
>   I've got a CentOS 5.3 machine and I want to set up a dhcpd daemon. 
> However, it fails to start and I can't seem to find where or if it is 
> logging. I've added to the following to '/etc/syslog.conf' and reloaded 
> the syslog daemon as the dhcpd.conf man page suggests:
> 
> local7.debug                /var/log/dhcpd.log
> 
>   Nothing works though. When I try to start the dhcpd daemon it simply 
> prints "failed". I've currently stripped my config down to the bare bones:
> 
> subnet 192.168.10.0 netmask 255.255.255.0 {
>         option routers                  192.168.1.1;
>         option subnet-mask              255.255.255.0;
>         range 192.168.1.100 192.168.1.110;
> }
> 
>   I don't know how to make it any simpler than that and it still won't 
> start... Am I missing something simple?
> 
> Thanks!
> 
> Madi

Well, I figured out the error... After sending this I started reading 
the init.d dhcpd file and saw the 'configtest' option. Typo in the address.

However, I am still wondering why the failure isn't logging anywhere.

Madi
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list