scn
asked on
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
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
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
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
Okay, I was wrong, it wasn't the broadcast that was the problem it was the UDP port. At least it's fixed now.