Page 1 of 1

HDA not serving IP addresses

Posted: Fri Oct 02, 2009 3:49 am
by spaceman
Had some weird power issues (cutting out) in my neighbourhood last night. I said "At this rate we'll be lucky if the server lasts until morning," after bringing it back up for the fourth time (yeah, yeah UPS FTW).

This morning my Windows PC was getting an autoconfig (169...) address and after going through the usual troubleshooting steps I gave it a static IP in the HDA range and VNC'ed on to my server. OK, the server works fine and can browse in web...so this is DHCP related.

Right, first things first:

Code: Select all

# service dhcpd stop # service dhcpd stop Starting dhcpd: [FAILED]
GAH. So second things second I checked /var/log/messages.

Wow, that's long and usually changes on the disk before it all loads. :mrgreen: Right down at the bottom it reported an error on line 20 of /etc/dhcpd.conf:

Code: Select all

... /etc/dhcpd.conf line 20: expecting a parameter or declaration #011max-lease-time ;
OK, when in doubt stick in a valid parameter where there is none and see if you're fixed. So I inserted 86400 (why not?) and this *appears* to have fixed the issue. I have DHCP served IPs anyway.

Wasn't sure where to post this advice, so it's here. Maybe someone will find it useful.

Re: HDA not serving IP addresses

Posted: Fri Oct 02, 2009 11:39 am
by cpg
hi, this should be fixed by itself after about an hour or two.

we had a major update last night and we briefly screwed it up, though, depending on the caching of yum, it may not fix itself in an hour or two.

most people did not notice: http://bugs.amahi.org/issues/show/322

apologies for this mishap! :oops:

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

Re: HDA not serving IP addresses

Posted: Sun Oct 04, 2009 9:54 am
by spaceman
Oh right, no problem. You guys have done such a great job with Amahi Server that it's a real pleasure to find something to do and I learned a couple of things, which I like. Please temporarily break stuff more often...er, OK maybe not. I'll have to break it myself. :mrgreen: