Thanks Christopher... I've added the create parameter  as you suggest, 
however the problem persists.

In /var/log/messages I continue to get a "in.tftpd [5-digit no., 
incrementing by 1 each line] cannot bind to local socket: Address already 
in use".

I've stopped iptables (presuming that means all incoming packets are 
accepted).  Following Nate's suggestion, I've stopped xinetd and then 
netstat doesn't show any listening on tftp/69 udp.  I can telnet and ftp 
to the server without problems.

Anyone with suggestions on how to troubleshoot/interpret the address 
already in use message?  I'm at a loss at this stage.

Thanks again.
/j-p.






"christopher cuse" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
19/03/2003 14:39
Please respond to redhat-list
 
        To:     <[EMAIL PROTECTED]>
        cc: 
        Subject:        RE: understanding tftp


Hi John-Paul,

Well it sure looks like from the syslog that something else is on your 
tftp
port, so please verify.  -- or -- tftpd hasn't been configured to allow 
the
creation of files in your tftphome directory.

Here's my /etc/xinetd.d/tftp file:

# 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 -c /tftpboot
per_source              = 11
cps                     = 100 2
}


The -c in sever_args tells tftp to allow creation of files. security risk 
--
you have been warned, so make sure your tftp port is blocked only to those
who should have access!

Cheers,

Christopher CUSE
RHCE/CCNA
[EMAIL PROTECTED]

--nothing is too difficult once you completely understand it.



Message: 2
To: [EMAIL PROTECTED]
Subject: understanding tftp
From: "John-Paul Delaney" <[EMAIL PROTECTED]>
Date: Wed, 19 Mar 2003 10:56:15 +0100
Reply-To: [EMAIL PROTECTED]

This is a multipart message in MIME format.
--=_alternative 00368DA1C1256CEE_=
Content-Type: text/plain; charset="US-ASCII"

Hello List...

I'm having problems setting up a tftp server on my rh8.0 box.  I want to
use it to backup cisco router configurations.

I've created a file called startup-config in the tftpboot directory with
chmod 777 and chown nobody:nobody.  The directory tftpboot is also 777,
nobody:nobody.

>From the router I try a "copy startup-config tftp", and input the ip
address at the next prompt.  I then get the error:
%Error opening tftp://10.11.35.28/startup-config (Undefined error)

In /var/log/messages I find a long list of errors:
..." in.tftpd[31383]: cannot bind to local socket:  Address already in
use"


The output of netstat -a | grep tftp is:
udp               0                  0   *:tftp          *:*


Thanks - Any help on this would be greatly appreciated.
/j-p.




--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to