Solved

xinetd: service bootps not supported

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 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

19 Experts available now in Live!

Get 1:1 Help Now