1833883 Members
1776 Online
110063 Solutions
New Discussion

trouble at ls command

 
yuli_3
Advisor

trouble at ls command

dears,

i have a problem when ftp to my server.this an error:

ftp> ls
200 PORT command successful.
425 Can't create data socket (10.1.81.24,20): Address already in use.


advice me ,plz!
17 REPLIES 17
Joseph Loo
Honored Contributor

Re: trouble at ls command

hi,

refer to this doc and see if it helps:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000067909242

r u on 10.20 and is it patch according to the one describe in the doc?

regards.
what you do not see does not mean you should not believe
yuli_3
Advisor

Re: trouble at ls command

i used hp-ux 11.00
when i tried ftp from my server with command ftp localhost, ls command run normally, when when run command " ftp 10.x.x.x". ls command give no output.
i add "-m 999" at line ftp in /etc/inetd.conf.

yuli_3
Advisor

Re: trouble at ls command

when i use passive mode, ls give output and run normally.
what's wrong ???
Joseph Loo
Honored Contributor

Re: trouble at ls command

hi,

may i know what is the patch level for ftp in that server?

# what /usr/bin/ftp

reply with output.

regards.
what you do not see does not mean you should not believe
yuli_3
Advisor

Re: trouble at ls command

joseph,

this output that u want:
# what /usr/bin/ftp
/usr/bin/ftp:
Copyright (c) 1985, 1989 Regents of the University of California.
main.c based on 5.13 (Berkeley) 3/14/89
Revision 1.1.214.5 Mon Feb 15 08:47:25 GMT 1999
cmds.c 5.18 (Berkeley) 4/20/89
cmdtab.c 5.9 (Berkeley) 3/21/89
ftp.c 5.28 (Berkeley) 4/20/89
glob.c 5.7 (Berkeley) 12/14/88
ruserpass.c 5.1 (Berkeley) 3/1/89
domacro.c 1.6 (Berkeley) 2/28/89


something wrong or missing??
Joseph Loo
Honored Contributor

Re: trouble at ls command

hi,

maybe u should reply with this command instead:

# swlist -l fileset|grep -i ftp

regards.
what you do not see does not mean you should not believe
yuli_3
Advisor

Re: trouble at ls command

ok jos

this an ouput:
# swlist -l fileset|grep -i ftp
# PHKL_20161 1.0 Softpower Switch support for new wkstations
# PHNE_18354 1.0 ftpd(1M) and ftp(1) patch
Joseph Loo
Honored Contributor

Re: trouble at ls command

hi,

this doc seems to indicate more patches (if they are not already in the server).

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063234933

please check and reply if the patches indicated r already in place.

regards.
what you do not see does not mean you should not believe
yuli_3
Advisor

Re: trouble at ls command

I have checked and patches indicated already installed on my server.
Joseph Loo
Honored Contributor

Re: trouble at ls command

hi,

looks like u will have to retrace your steps in a similar problem seen in this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=624283

regards.
what you do not see does not mean you should not believe
yuli_3
Advisor

Re: trouble at ls command

jos,

Before u tell to to check for it, i have already checked that. but still no solve for me.hmm...
by the way, thanks for u r appreciate to give me many answers.
Suraj Singh_1
Trusted Contributor

Re: trouble at ls command

Hi,

What is the o/p of "netstat -an" command? Look out for local address similar to 10.1.81.24.20.

I think port no. 20 is already being used.
What we cannot speak about we must pass over in silence.
yuli_3
Advisor

Re: trouble at ls command

i just checked with "netstat -an" and o/p is port 20 is not being used.hmm..
Suraj Singh_1
Trusted Contributor

Re: trouble at ls command

WHat is the speed setting of the network card? Check the o/p of 'lanadmin -x '.

Try changing the duplex settings..

I found this suggestion on net..
What we cannot speak about we must pass over in silence.
Suraj Singh_1
Trusted Contributor

Re: trouble at ls command

Check this URL:

http://lists.freebsd.org/pipermail/freebsd-sparc64/2004-July/001864.html
What we cannot speak about we must pass over in silence.
yuli_3
Advisor

Re: trouble at ls command

no solve guys!
Gerardo Mora
Advisor

Re: trouble at ls command

ls works using passive mode because your firewall restrictions, that mean your network admin is restricting your network to use the same port to send and receive information when you open an ftp session, then you need to include always the passive command or tell to you network admin change the firewall restrictions.
share to learn