1833758 Members
2455 Online
110063 Solutions
New Discussion

Re: About ftp

 
Wendy_9
Frequent Advisor

About ftp

Dear all,

One of the users has experienced ftp problem to my server (A500).

Case 1/ When the user try to login at ftp, a "no connection" has responsed. But, after a while the user has successfully login at ftp.

Case 2/ After the user successfully login at ftp, when the user upload the file to the server, "no connection" has responsed. But, when the user try to upload the file again, it has success.

I don't know why the above cases have happened sometimes but not always. I have just seen the user connect and disconnect from the server at syslog.log but no error has find.

Is it due to lack of resource, some restrictions for the server or any other reason? Is there any log at the server or client side can give me more information for it?

Hope someone can give me a help

Regards,
Wendy
6 REPLIES 6
Michael Tully
Honored Contributor

Re: About ftp

This sounds like a name resolution problem to me. If they are connecting from HPUX serverA, ServerB really needs to be in the local hosts file. If there is a delay in servicing that DNS request there could be a delay in getting the resolution to get to that server.
Anyone for a Mutiny ?
Wendy_9
Frequent Advisor

Re: About ftp

The user has connected from a PC(Windows) to HP A500.
Yogeeraj_1
Honored Contributor

Re: About ftp

hi Wendy,

Can you check if you are getting the same if you use command line FTP?

E.g. if you need to ftp binary file c:\doc\yd.zip to server is IP Address w.x.y.z.

1. ftp w.x.y.z
2. binary
3. cd /home/yd
4. put c:\doc\yd.zip

Again, check your syslog.log for other possible related errors.

also, check /var/adm/syslog/xferlog

revert
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Ron Kinner
Honored Contributor

Re: About ftp

Window boxes also have etc/hosts file tho they are seldom used. On a Win2K box the full path is:

C:\Winnt\system32\drivers\etc\hosts

As mentioned previously for Case 1 it could be a DNS problem unless they are connecting via IP address. You can also check the DNS lookup with
nslookup hostname
to see how quickly the DNS responds and if there is any delay. Adding the correct hostname and IP address to the etc/hosts might help. Wouldn't hurt to put it on the HP too.

Case 2 may be a bug in 11.0. We experienced the same intermittent problem with an automated ftp process after upgrading our 10.20s to 11.0. Admittedly our HP admins are very reluctant to add patches so we are not up to the latest. I see from the HP site that there is a patch: PHNE_23949 just for ftpd.
From the release notes:

ftp: problem with passing files.

FTP giving error 425:Can't create data socket

The ftpd does not function properly.

among many other complaints.

http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_23949&context=hpux:800:11:00

Ron

Ron Kinner
Honored Contributor

Re: About ftp

I forgot to mention that the problem we have after the 11.0 update is associated with only a few of the machines that automatically ftp to the 11.0 box. This made me think it had something to do with the OS on the client but after reading the release notes on the patch I'm now pretty sure that it is the 11.0 upgrade. I'm not sure why it works with some and not others but I'm going to try to get our HP admins to put in the ftpd patch. If it fixes my problem I should probably assign you some points!

Ron
Ron
Wendy_9
Frequent Advisor

Re: About ftp

The user has experienced same problem either use Windows XP GUI FTP or DOS command FTP. And, no error has find from syslog.log.

The user has manually connected the server via IP address but not run automated ftp process. Also, my server has already installed PHNE_23949.

Therefore, I really don't know why the problem occur with only some of the machines but not all. Is it due to Win XP??

Regards,
Wendy