• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1408
  • Last Modified:

xinetd: service bootps not supported

Hi all,
I'm trying to set up bootps (in.bootpd v2.4) on a RH7.0.
File /etc/services contains:
  bootps    67/tcp    # BOOTP server
  bootps    67/udp
  bootpc    68/tcp    # BOOTP client
File /etc/xinetd.d/bootps contains:
  service bootps
  {
    socket_type = dgram
    wait        = yes
    user        = root
    server      = /usr/sbin/in.bootpd
    server_args =
  }
On /etc/rc.d/init.d/xinetd start, bootps is not started and the following error appears in /var/log/messages:
"socket creation failed (protocol not supported (errno=93)), service=bootps"
Note that the ftp and telnet services are successfully started.
If I run "in.bootpd" on the command prompt, it starts and the bootps service appears in "netstat -a".
To prevent syntax errors in the bootps file, I have rewrited it by duplicating the telnet file.

Any idea ?
Thanks for help.
Sylvie
0
scn
Asked:
scn
  • 3
1 Solution
 
jlevieCommented:
That may simply be a result of bootps not being intended to be run from [x]inetd. I've always used dhcpd to provide bootp service so I don't have bootps installed anywhere to look at. Have you checked the manpage to see what it says?
0
 
jlevieCommented:
followup to my comment.

On further consideration I think it is highly likely that you can't run bootps from [x]inetd. And that's because it has to listen on the broadcast address for bootp requests from clients. [x]inetd is intended for applications that will be listening on a specific port(s).
0
 
scnAuthor Commented:
Thanks for your answer.
I have another host with RH6.2 where bootps runs under inetd.
Your comment gave me an idea: in /etc/services, there was two lines for bootps, one with tcp and the other with udp. Since I want to use udp, I commented the one for tcp. And ... it works !
Sylvie
0
 
jlevieCommented:
Okay, I was wrong, it wasn't the broadcast that was the problem it was the UDP port. At least it's fixed now.
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now