[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Redhat 7.2 TFTP Server MIPS Booting (xinetd.conf) _ bind failed (Address already in use



Hi all
 
I am wanting to update Debian  on an INDY/INDIGO2 from the network using =
Redhat 7.2 on a PC as a boot server.
 
Has anybody got a success story with Redhat 7.2 or similar with  a =
xinetd.conf   & /etc/xinetd.d/tftp configuration.
 
I get halfway there it seems. But now stuck with a   "bind failed "  =
address conflict with TFTP .=20
 
I can boot OK & NFS mount using Sparc Redhat 5.2 on a very old SUN =
machine but now doesn't have enough disk space etc.
 
The SUN used  ,bootp & inetd .
The PC uses . dhcpd & xinetd .
The dhcpd component seems OK as:
#################################################
Sending BOOTP requests..... OK
 
IP-Config: Got BOOTP answer from 147.10.121.111, my address is =
147.10.121.98
 
IP-Config: Got BOOTP answer from 147.10.121.111, my address is =
147.10.121.98
 
#################################################
when booting a kernel from the local disk is attempted.   (boot requests =
OK)
EG
 
>> boot -f linux root=3D/dev/sda1 console=3DttyS0=20
 
will produce the "Sending BOOTP requests..... OK" response.
 
So DHCPD works. at least to a point.
 
BUT the configuration  for TFTP is broken.
 
It produces an error   in /var/log/messages when initialising or tying =
to intialise xinetd.
 
##########
localhost xinetd[1233]: bind failed (Address already in use (errno =3D =
98)). service =3D tftp
Nov 30 02:26:49 localhost xinetd[1233]: {init_services} no services. =
Exiting...
##########
 
 
 
TFTP config file follows:
(something is obviously wrong with it.)
 
#################################################
# cat /etc/xinetd.d/tftp
 
# default: off
 
# description: The tftp server serves files using the trivial file =
transfer \
 
# protocol. The tftp protocol is often used to boot diskless \
 
# workstations, download configuration files to network-aware printers, =
\
 
# and to start the installation process for some operating systems.
 
service tftp
 
{
 
disable =3D no
 
socket_type =3D dgram
 
protocol =3D udp
 
wait =3D yes
 
user =3D root
 
server =3D /usr/sbin/in.tftpd
 
server_args =3D -s /tftpboot
 
}
 
#################################################
 
And trying to debug .................
 

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!=
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!=
!!!!!!!!!!!!!!!!
 
root@localhost root]# xinetd -d
01/11/30@03:00:46: DEBUG: {handle_includedir} Reading included =
configuration file: /etc/xinetd.d/tftp [line=3D13]
Service defaults
 Instances =3D 60
 Logging to syslog. Facility =3D authpriv, level =3D info
 Log_on_success flags =3D HOST PID
 Log_on_failure flags =3D HOST
 
Service configuration: tftp
 id =3D tftp
 socket_type =3D dgram
 Protocol (name,number) =3D (udp,17)
 Groups =3D 0
 Server =3D /usr/sbin/in.tftpd
 Server argv =3D in.tftpd -s /tftpboot
 Logging to syslog. Facility =3D authpriv, level =3D info
 Log_on_success flags =3D HOST PID
 Log_on_failure flags =3D HOST
 
01/11/30@03:00:46: ERROR: {activate_normal} bind failed (Address already =
in use (errno =3D 98)). service =3D tftp
01/11/30@03:00:46: DEBUG: {cnf_start_services} mask_max =3D 0, =
services_started =3D 0
01/11/30@03:00:46: CRITICAL: {init_services} no services. Exiting...
 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!=
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!=
!!!!!!!!!!!!!!!!
 
Any Ideas I will greatly appreciate
 
Cheers
Roger Salisbury
Sydney=20
Australia
 
 

Reply to: