The DHCP server has stopped working. I have tried multiple reboots and get the same result. The log message is:
[BST Oct 2 10:53:29] info : 'dhcpd' trying to restart
[BST Oct 2 10:53:29] info : 'dhcpd' start: /etc/init.d/dhcpd
[BST Oct 2 10:53:59] error : 'dhcpd' process is not running
[BST Oct 2 10:53:59] error : 'dhcpd' failed to start
[BST Oct 2 10:53:59] info : 'dhcpd' trying to restart
[BST Oct 2 10:53:59] info : 'dhcpd' start: /etc/init.d/dhcpd
[BST Oct 2 10:54:29] error : 'dhcpd' failed to start
[BST Oct 2 10:54:29] error : 'dhcpd' process is not running
[BST Oct 2 10:54:29] info : 'dhcpd' trying to restart
[BST Oct 2 10:54:29] info : 'dhcpd' start: /etc/init.d/dhcpd
[BST Oct 2 10:54:59] error : 'dhcpd' failed to start
[BST Oct 2 10:54:59] error : 'dhcpd' process is not running
[BST Oct 2 10:54:59] info : 'dhcpd' trying to restart
[BST Oct 2 10:54:59] info : 'dhcpd' start: /etc/init.d/dhcpd
[BST Oct 2 10:55:29] error : 'dhcpd' failed to start
[BST Oct 2 10:55:29] error : 'dhcpd' process is not running
[BST Oct 2 10:55:29] info : 'dhcpd' trying to restart
[BST Oct 2 10:55:29] info : 'dhcpd' start: /etc/init.d/dhcpd
[BST Oct 2 10:55:59] error : 'dhcpd' failed to start
[BST Oct 2 10:55:59] error : 'dhcpd' process is not running
[BST Oct 2 10:55:59] info : 'dhcpd' trying to restart
[BST Oct 2 10:55:59] info : 'dhcpd' start: /etc/init.d/dhcpd
[BST Oct 2 10:56:29] error : 'dhcpd' failed to start
[BST Oct 2 10:56:29] error : 'dhcpd' process is not running
[BST Oct 2 10:56:29] info : 'dhcpd' trying to restart
[BST Oct 2 10:56:29] info : 'dhcpd' start: /etc/init.d/dhcpd
[BST Oct 2 10:56:59] error : 'dhcpd' failed to start
[BST Oct 2 10:56:59] error : 'dhcpd' process is not running
[BST Oct 2 10:56:59] info : 'dhcpd' trying to restart
[BST Oct 2 10:56:59] info : 'dhcpd' start: /etc/init.d/dhcpd
[BST Oct 2 10:57:29] error : 'dhcpd' failed to start
[BST Oct 2 10:57:29] error : 'dhcpd' process is not running
[BST Oct 2 10:57:29] info : 'dhcpd' trying to restart
[BST Oct 2 10:57:29] info : 'dhcpd' start: /etc/init.d/dhcpd
Any ideas?
When I run /etc/init.d/dhcpd configtest I get the following error message:
/etc/dhcpd.conf line 20: semicolon expected.
max-lease-time
^
/etc/dhcpd.conf line 20: expecting a parameter or declaration
max-lease-time ;
^
Configuration file errors encountered -- exiting
Further investigation shows that the leas times in the /etc/dhcpd.conf file are:
option domain-name-servers 192.168.1.10;
option time-offset 3600;
range 192.168.1.100 192.168.1.254;
default-lease-time ;
max-lease-time ;
filename "pxelinux.0";
next-server 192.168.1.10;
I guess the question is what should the values in the lease time fields be? I want to have infinite values, ie the leases do not expire except on reboot.
DHCP not working
Re: DHCP not working
hi, this should be fixed by now. we had a major update last night and we briefly had a hiccup in the release, though most people would have noticed:
http://bugs.amahi.org/issues/show/322
apologies for this mishap!
the work-around is there in the bug, though you probably do not need it by now, because the subsequent update took care of things:
http://bugs.amahi.org/issues/show/322
apologies for this mishap!

the work-around is there in the bug, though you probably do not need it by now, because the subsequent update took care of things:
Code: Select all
yum clean metadata
yum -y update hda-platform
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: DHCP not working
I wanted to bump this thread as I'm still seeing this issue: http://bugs.amahi.org/issues/show/322
I can do a vi /etc/dhcpd.conf, edit default and max, and restart the dhcpd server. The catch is once the server is rebooted or hdactl is restarted the dhcpd.conf file is updated and takes the dhcpd service back offline. Any suggestions on where the bogus entries are coming from and how I can stop this?
Thanks
I can do a vi /etc/dhcpd.conf, edit default and max, and restart the dhcpd server. The catch is once the server is rebooted or hdactl is restarted the dhcpd.conf file is updated and takes the dhcpd service back offline. Any suggestions on where the bogus entries are coming from and how I can stop this?
Thanks
Re: DHCP not working
Anything on this? I'm still getting the following error. I also can no longer install or access applications that are web based. Only app that works right now is ushare.
Internet Systems Consortium DHCP Server 4.0.0
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
/etc/dhcpd.conf line 20: semicolon expected.
max-lease-time
^
/etc/dhcpd.conf line 20: expecting a parameter or declaration
max-lease-time ;
^
Configuration file errors encountered -- exiting
This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.
Please report for this software via the Red Hat Bugzilla site:
http://bugzilla.redhat.com
exiting.
Internet Systems Consortium DHCP Server 4.0.0
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
/etc/dhcpd.conf line 20: semicolon expected.
max-lease-time
^
/etc/dhcpd.conf line 20: expecting a parameter or declaration
max-lease-time ;
^
Configuration file errors encountered -- exiting
This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.
Please report for this software via the Red Hat Bugzilla site:
http://bugzilla.redhat.com
exiting.
Re: DHCP not working
did you try the work around in the bug??
Code: Select all
yum clean metadata
yum -y update hda-platform
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: DHCP not working
Yup. Couple times. Even tried it today.
Platform: 4.1-1
Service: 2.44-7
Platform: 4.1-1
Service: 2.44-7
Re: DHCP not working
ok, please do this:
then report back. if this does not work, pelase come by the irc channel and hunt me down. http://talk.amahi.org
Code: Select all
(cd /var/hda/platform/html; echo "Setting.create(:kind => 'network', :name => 'dhcp_lease_time', :value => '14400')" | ./script/console)
hdactl-hup
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: DHCP not working
That did it! DHCPD stays running after hdactl restarts. Even did a full reboot to make sure. All my apps are installing and working correctly again. I turned off the DHCP service on my router.
First issue I've had since I started my HDA in April. I started off an Fedora 9, did an in-place upgrade even to F10 after support was released for F10.
Thank you for saving me a full rebuild.
First issue I've had since I started my HDA in April. I started off an Fedora 9, did an in-place upgrade even to F10 after support was released for F10.
Thank you for saving me a full rebuild.

Re: DHCP not working
as the bug says, it's a race condition and your hda updated within the window of the race condition. we don't know of too many cases in the wild. glad it worked! 

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Who is online
Users browsing this forum: No registered users and 23 guests