tftpd on rh8: cannot bind to local socket

tftpd on rh8: cannot bind to local socket

Post by Roel Vrome » Tue, 10 Dec 2002 02:31:41



Ladies, Gents, anyone got a clue?

I 'm wodking with cisco stuff, ande therefore need a tftp-server. However,
tftp-server-0.29-3 won;t do a thing. Sure it's installed, no dependency
problems of any kind.

Whether I start it commandline or through xinetd, there's always that same
nagging message: "cannot bind to local socket: Address already in use" in
/var/log/messages.

NO tftpd running! netstat -nltp shows no port 69 of any kind. There's a
tftpboot directory. I have even gone as far as running ot as root, and
putting 777-rights on /tftpboot, but clearly that's not the problem.

Even tried to eliminate all guesswork for tftpd : /usr/sbin/in.tftpd -l -a
192.168.1.11:69 -u root -c -s /tftpboot

no budge, sam message.

Anyone got a clue?

Roel

 
 
 

tftpd on rh8: cannot bind to local socket

Post by Paul Lutu » Tue, 10 Dec 2002 05:19:08



> Ladies, Gents, anyone got a clue?

> I 'm wodking with cisco stuff, ande therefore need a tftp-server.
> However, tftp-server-0.29-3 won;t do a thing. Sure it's installed, no
> dependency problems of any kind.

> Whether I start it commandline or through xinetd, there's always that
> same nagging message: "cannot bind to local socket: Address already in
> use" in /var/log/messages.

Find an invocation of tftpd or another running FTP client or server.
Chances are you have vsftpd running. A sample output from my system:

# chkconfig --list | grep ftp
        vsftpd:         on
        gssftp:         off
        tftp:           off
        wu-ftpd:        off

Quote:> NO tftpd running!

The best way to be sure there are no interfering FTP servers is to try to
FTP to your own system:

# ftp localhost

Connected to localhost.localdomain.

--
Paul Lutus
www.arachnoid.com

 
 
 

tftpd on rh8: cannot bind to local socket

Post by Roel Vrome » Tue, 10 Dec 2002 09:20:19




>> Ladies, Gents, anyone got a clue?

>> I 'm wodking with cisco stuff, ande therefore need a tftp-server.
>> However, tftp-server-0.29-3 won;t do a thing. Sure it's installed, no
>> dependency problems of any kind.

>> Whether I start it commandline or through xinetd, there's always that
>> same nagging message: "cannot bind to local socket: Address already in
>> use" in /var/log/messages.

> Find an invocation of tftpd or another running FTP client or server.
> Chances are you have vsftpd running. A sample output from my system:

> # chkconfig --list | grep ftp
>         vsftpd:       on
>         gssftp:       off
>         tftp:         off
>         wu-ftpd:        off

Here you go:
chkconfig --list | grep ftp
        vsftpd: off
        tftp:   on

Quote:> The best way to be sure there are no interfering FTP servers is to try to
> FTP to your own system:

> # ftp localhost

I get a connection refused, as I should. Only file transfer service I am
running is sftp, from openss

So this doesn't seem to be the case.

Here's what I am running network-wise:
tcp        0      0 127.0.0.1:10000         0.0.0.0:*               LISTEN      
815/perl
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
1177/sshd
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      
805/cupsd
tcp        0      0 127.0.0.1:1241          0.0.0.0:*               LISTEN      
797/nessusd

Any other ideas, anyone?

Roel

 
 
 

tftpd on rh8: cannot bind to local socket

Post by Tauno Voipi » Tue, 10 Dec 2002 17:37:20





> >> Ladies, Gents, anyone got a clue?

> >> I 'm wodking with cisco stuff, ande therefore need a tftp-server.
> >> However, tftp-server-0.29-3 won;t do a thing. Sure it's installed, no
> >> dependency problems of any kind.

> >> Whether I start it commandline or through xinetd, there's always that
> >> same nagging message: "cannot bind to local socket: Address already in
> >> use" in /var/log/messages.

> > Find an invocation of tftpd or another running FTP client or server.
> > Chances are you have vsftpd running. A sample output from my system:

> > # chkconfig --list | grep ftp
> >         vsftpd:       on
> >         gssftp:       off
> >         tftp:         off
> >         wu-ftpd:        off

> Here you go:
> chkconfig --list | grep ftp
>         vsftpd: off
>         tftp:   on

> > The best way to be sure there are no interfering FTP servers is to try
to
> > FTP to your own system:

> > # ftp localhost

> I get a connection refused, as I should. Only file transfer service I am
> running is sftp, from openss

> So this doesn't seem to be the case.

> Here's what I am running network-wise:
> tcp        0      0 127.0.0.1:10000         0.0.0.0:*               LISTEN
> 815/perl
> tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
> 1177/sshd
> tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN
> 805/cupsd
> tcp        0      0 127.0.0.1:1241          0.0.0.0:*               LISTEN
> 797/nessusd

> Any other ideas, anyone?

Did you have the privileges to bind to a low (< 1024) port?

Tauno Voipio

 
 
 

tftpd on rh8: cannot bind to local socket

Post by Roel Vrome » Sat, 14 Dec 2002 04:24:33







>> >> Ladies, Gents, anyone got a clue?

>> >> I 'm wodking with cisco stuff, ande therefore need a tftp-server.
>> >> However, tftp-server-0.29-3 won;t do a thing. Sure it's installed, no
>> >> dependency problems of any kind.

>> >> Whether I start it commandline or through xinetd, there's always that
>> >> same nagging message: "cannot bind to local socket: Address already in
>> >> use" in /var/log/messages.

>> > Find an invocation of tftpd or another running FTP client or server.
>> > Chances are you have vsftpd running. A sample output from my system:

>> > # chkconfig --list | grep ftp
>> >         vsftpd:       on
>> >         gssftp:       off
>> >         tftp:         off
>> >         wu-ftpd:        off

>> Here you go:
>> chkconfig --list | grep ftp
>>         vsftpd: off
>>         tftp:   on

>> > The best way to be sure there are no interfering FTP servers is to try
> to
>> > FTP to your own system:

>> > # ftp localhost

>> I get a connection refused, as I should. Only file transfer service I am
>> running is sftp, from openss

>> So this doesn't seem to be the case.

>> Here's what I am running network-wise:
>> tcp        0      0 127.0.0.1:10000         0.0.0.0:*              
>> LISTEN 815/perl
>> tcp        0      0 0.0.0.0:22              0.0.0.0:*              
>> LISTEN 1177/sshd
>> tcp        0      0 127.0.0.1:631           0.0.0.0:*              
>> LISTEN 805/cupsd
>> tcp        0      0 127.0.0.1:1241          0.0.0.0:*              
>> LISTEN 797/nessusd

>> Any other ideas, anyone?

> Did you have the privileges to bind to a low (< 1024) port?

Considering that (when manually trying to start it up) did perfrom the
following as root, I'ld think so..

"/usr/sbin/in.tftpd -l -a 192.168.1.11:69 -u root -c -s /tftpboot"

What more rights would I need?

Roel

 
 
 

tftpd on rh8: cannot bind to local socket

Post by Roel Vrome » Sat, 14 Dec 2002 05:27:16








>>> >> Ladies, Gents, anyone got a clue?

>>> >> I 'm wodking with cisco stuff, ande therefore need a tftp-server.
>>> >> However, tftp-server-0.29-3 won;t do a thing. Sure it's installed, no
>>> >> dependency problems of any kind.

>>> >> Whether I start it commandline or through xinetd, there's always that
>>> >> same nagging message: "cannot bind to local socket: Address already
>>> >> in use" in /var/log/messages.

>>> > Find an invocation of tftpd or another running FTP client or server.
>>> > Chances are you have vsftpd running. A sample output from my system:

>>> > # chkconfig --list | grep ftp
>>> >         vsftpd:       on
>>> >         gssftp:       off
>>> >         tftp:         off
>>> >         wu-ftpd:        off

>>> Here you go:
>>> chkconfig --list | grep ftp
>>>         vsftpd: off
>>>         tftp:   on

>>> > The best way to be sure there are no interfering FTP servers is to try
>> to
>>> > FTP to your own system:

>>> > # ftp localhost

>>> I get a connection refused, as I should. Only file transfer service I am
>>> running is sftp, from openss

>>> So this doesn't seem to be the case.

>>> Here's what I am running network-wise:
>>> tcp        0      0 127.0.0.1:10000         0.0.0.0:*
>>> LISTEN 815/perl
>>> tcp        0      0 0.0.0.0:22              0.0.0.0:*
>>> LISTEN 1177/sshd
>>> tcp        0      0 127.0.0.1:631           0.0.0.0:*
>>> LISTEN 805/cupsd
>>> tcp        0      0 127.0.0.1:1241          0.0.0.0:*
>>> LISTEN 797/nessusd

>>> Any other ideas, anyone?

>> Did you have the privileges to bind to a low (< 1024) port?

> Considering that (when manually trying to start it up) did perfrom the
> following as root, I'ld think so..

> "/usr/sbin/in.tftpd -l -a 192.168.1.11:69 -u root -c -s /tftpboot"

> What more rights would I need?

O well, never mind... Got it working somehow.