[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 .
 
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=/dev/sda1 console=ttyS0
 
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 = 98)). service = 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 = no

socket_type = dgram

protocol = udp

wait = yes

user = root

server = /usr/sbin/in.tftpd

server_args = -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=13]
Service defaults
 Instances = 60
 Logging to syslog. Facility = authpriv, level = info
 Log_on_success flags = HOST PID
 Log_on_failure flags = HOST
 
Service configuration: tftp
 id = tftp
 socket_type = dgram
 Protocol (name,number) = (udp,17)
 Groups = 0
 Server = /usr/sbin/in.tftpd
 Server argv = in.tftpd -s /tftpboot
 Logging to syslog. Facility = authpriv, level = info
 Log_on_success flags = HOST PID
 Log_on_failure flags = HOST
 
01/11/30@03:00:46: ERROR: {activate_normal} bind failed (Address already in use (errno = 98)). service = tftp
01/11/30@03:00:46: DEBUG: {cnf_start_services} mask_max = 0, services_started = 0
01/11/30@03:00:46: CRITICAL: {init_services} no services. Exiting...
 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
Any Ideas I will greatly appreciate
 
Cheers
Roger Salisbury
Sydney
Australia
 
 
 
 
 
 
 
 
 
 

Reply to: