Solved

xinetd: service bootps not supported

Posted on 2001-09-05
4
1,378 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

729 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