Solved

xinetd: service bootps not supported

Posted on 2001-09-05
4
1,366 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!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now