Unable to start DHCP server on SuSE 9.3

Discussion and support for all Linux distributions and Unix flavours (FreeBSD, OpenBSD, etc).
Post Reply
AlphA
Registered User
Posts: 3213
Joined: 15 Mar 2005, 02:00
Location: JHB
Contact:

Unable to start DHCP server on SuSE 9.3

Post by AlphA »

Hi guys,

I've been successfully running a DHCP server on my SuSE 9.3 box for the past few months. It was really painless to set up through YAST. Problem is, as of yesterday afternoon, I was unable to startup the daemon.

I tried uninstalling and reinstalling the necessary packages, but it still wont start. Nothing has changed in my DHCP settings in YAST.

When I try to start the server, I get a message that says
"Error occured while restarting DHCP daemon."

Does anybody have any idea how I could troubleshoot this one?

Thanks
Thrall
Moderator Emeritus
Posts: 3687
Joined: 30 Apr 2003, 02:00
Location: Texas, USA

Post by Thrall »

Can't remember on Suse - try www.suseforums.net and check the networking section there.

Edit: what happens when you try dhcpcd eth0 ? Also, check the /etc/dhcpd.conf settings
Be polite, professional and have a plan to kill everyone you meet.

My Iraq pics
AlphA
Registered User
Posts: 3213
Joined: 15 Mar 2005, 02:00
Location: JHB
Contact:

Post by AlphA »

I am trying to start it on eth0.....the problem persists.

Heres a dumb question : How do I start it on the command line? I am trying to do it through YAST. Thats how I've always done it....I guess YAST makes one lazy..

Thanks for the link......I will check it out...

*edit* - VERY nice link Thrall ... thanks a lot. Have'nt found a solution to my problem yet, but still scratching around.....Thank again..
AlphA
Registered User
Posts: 3213
Joined: 15 Mar 2005, 02:00
Location: JHB
Contact:

Post by AlphA »

Thrall - to answer the question in your edit.... I get the ff when I try to start it up from the commandline.

"/etc/dhcpd.conf line 11: < (60) : expecting IP address of hostname
option domain-name-servers <

Confiuration file errors encountered -- exiting"

I checked up line 11 in dhcpd.conf and it is the ff
option domain-name-servers <dynamic>:"

The funny thing is I dont have a DNS running on my box!
AlphA
Registered User
Posts: 3213
Joined: 15 Mar 2005, 02:00
Location: JHB
Contact:

Post by AlphA »

Aha! I got it working again!

Thrall - you put me on the right track. When I edited my /etc/dhcpd.conf file, I noticed that there was a comment that said "conf file created by firestarter". Now, firestarter is the GUI I use for IP Tables, and it also has DHCP settings which I dont use BTW. So, I just renamed the original dhcpd.conf file to dhcpd.bak and created a new conf file via YAST. This resolved the issue and I'm able to start the server again.

Thanks for your help...
Thrall
Moderator Emeritus
Posts: 3687
Joined: 30 Apr 2003, 02:00
Location: Texas, USA

Post by Thrall »

Excellent - nice one :D
Be polite, professional and have a plan to kill everyone you meet.

My Iraq pics
Post Reply