Networking Forums

Networking Forums > Computer Networking > Linux Networking > inetd: dhcpd already running

Reply
Thread Tools Display Modes

inetd: dhcpd already running

 
 
Stephan Eichler
Guest
Posts: n/a

 
      11-27-2003, 07:28 AM
Hi all,
I want dhcpd started by inetd. Therefor I added these two lines to
inetd.conf:

bootps dgram/i udp wait root /usr/sbin/dhcpd /usr/sbin/dhcpd -q eth2
bootps stream tcp nowait root /usr/sbin/dhcpd /usr/sbin/dhcpd -q eth2

(without the tcp line no client gets an address!?!)

When a client sends a dhcprequest I get the following error (about 20
times) in the syslog:

Oct 22 16:11:50 aurus-server dhcpd-2.2.x: There's already a DHCP
server running.
Oct 22 16:11:50 aurus-server dhcpd-2.2.x: exiting.

and the last two error are:

Oct 22 16:11:50 aurus-server inetd[207]: bootps/udp server failing
(looping), service terminated
Oct 22 16:11:50 aurus-server dhcpd-2.2.x: There's already a DHCP
server running.
Oct 22 16:11:50 aurus-server dhcpd-2.2.x: exiting.

After that the clients get their configuration.

It seems to me the dhcpd server will not be closed after answering a
request.
Does anybody have an idea how to get that working (without errors)?

Thanks in advance.

Best regards,
Stephan Eichler
 
Reply With Quote
 
 
 
 
=?iso-8859-1?q?Sybren_St=FCvel?=
Guest
Posts: n/a

 
      11-27-2003, 01:02 PM
On Thu, 27 Nov 2003 00:28:32 -0800, Stephan Eichler wrote:

> I want dhcpd started by inetd. Therefor I added these two lines to
> inetd.conf:


dhcpd is a standalone daemon, and should not be started through inetd.

Sybren
--
(o_ Q: God, root, what is difference?
//\ A: God can change the byte order on the CPU, root can't.
V_/_


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/inetd.conf ??? michanux Linux Networking 1 07-16-2006 09:14 PM
inetd - more than one socket for daemon? bchm@op.pl Linux Networking 0 05-22-2006 07:50 PM
Specifying multiple IPs to listen for inetd Frank Linux Networking 2 08-24-2004 02:54 AM
inetd and my own server vertigo Linux Networking 2 02-29-2004 07:22 PM
Bash script via inetd = no joy tylernt Linux Networking 10 09-05-2003 08:53 PM



1 2 3 4 5 6 7 8 9 10 11