Koozali.org: home of the SME Server

dhcpd problem

alterego

dhcpd problem
« on: July 27, 2005, 06:37:01 PM »
Hi

I am having problems with DHCP on my server (v6.0.1).

dhcpd won't load and I get the error message "No subnet declaration" in your dhcpd.conf.

However looking at /etc/dhcpd I see that there is a subnet declaration.

How can I fix this?

Cheers

john

henrikmc

DHCP error
« Reply #1 on: September 15, 2005, 09:50:56 PM »
A bit late for me to post on this but it might help others.

Yes, that just happend for me too. It complains that no subnet is declared for eth1 which it should not do as this is the outside facing the public internet and dhcp should not be sending and receiving here. It just started to do that out of the blue...

Anyway, I declared one on eth1 and now it starts with no problems. Could be caused by one of the updates but im not clever enough to figure that out...

Btw, reconfigure from console didnt fix it. editing etc/dhcpd.conf did.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: DHCP error
« Reply #2 on: September 16, 2005, 02:35:54 AM »
Quote from: "henrikmc"
A bit late for me to post on this but it might help others.

Yes, that just happend for me too. It complains that no subnet is declared for eth1 which it should not do as this is the outside facing the public internet and dhcp should not be sending and receiving here. It just started to do that out of the blue...

Anyway, I declared one on eth1 and now it starts with no problems. Could be caused by one of the updates but im not clever enough to figure that out...

Btw, reconfigure from console didnt fix it. editing etc/dhcpd.conf did.


Please use the "Bug Tracker" link to report bugs.

Offline RedBeard

  • ***
  • 62
  • +0/-0
dhcpd problem
« Reply #3 on: September 16, 2005, 04:48:01 PM »
I ran into this with one of my servers following updating it with yum (9/4 updates).  You need to run:

/sbin/e-smith/signal-event post-upgrade

/sbin/e-smith/signal-event reboot

I updated the first one and ran the above commands and it was fine.  I updated the second server via yum and was interrupted before I could do the signal-event commands.  I came back and forgot about it and the server ran fine until a week later when I rebooted it.  I then got the same error message.  

I manually edited the /etc/dhcpc/dhcp-eth1.info and tried a reconfigure from counsel and few other things before I remembered getting interrupted when doing the last update (9/4).

Hope this solves your problem too.

Good Luck
Kevin
............

henrikmc

dhcpd problem
« Reply #4 on: September 16, 2005, 07:57:53 PM »
Quote from: "RedBeard"
I ran into this with one of my servers following updating it with yum (9/4 updates).  You need to run:

/sbin/e-smith/signal-event post-upgrade

/sbin/e-smith/signal-event reboot

I updated the first one and ran the above commands and it was fine.  I updated the second server via yum and was interrupted before I could do the signal-event commands.  I came back and forgot about it and the server ran fine until a week later when I rebooted it.  I then got the same error message.  

I manually edited the /etc/dhcpc/dhcp-eth1.info and tried a reconfigure from counsel and few other things before I remembered getting interrupted when doing the last update (9/4).

Hope this solves your problem too.

Good Luck
Kevin


That was it. But i wasen't aware of the needed signal-event post-upgrade thingy. Im a noob - that figures... Thanks for you help!