Solved

xinetd: service bootps not supported

Posted on 2001-09-05
4
1,368 Views
Last Modified: 2007-12-19
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
Comment
Question by:scn
  • 3
4 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 6457005
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
 
LVL 40

Accepted Solution

by:
jlevie earned 200 total points
ID: 6457016
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
 
LVL 3

Author Comment

by:scn
ID: 6457332
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
 
LVL 40

Expert Comment

by:jlevie
ID: 6457848
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Install dhcp server on Ubuntu server 4 76
Samba mount a Windows share command syntax??? 2 66
how to view remote client's ipv6 address? 5 78
centos linux 65 155
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question