- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problems with ftp
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 01:45 PM
02-26-2002 01:45 PM
problems with ftp
root:L1000>:ps -ef | grep ftpd
root 22989 570 0 16:43:28 ? 0:00 ftpd: 66.57.243.33: brooks: STOR
cvfcusti^M^J
root 22918 570 0 16:40:04 ? 0:00 ftpd: 66.57.243.33: brooks: STOR
/cvfcusti^M^J
Anyone have any ideas? Thanks.
Richard Darling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 02:12 PM
02-26-2002 02:12 PM
Re: problems with ftp
How big is the file..?? If the file size is bigger than 2 gb then you need set FS to accomodate bigger file.
Check at the receiving end whether file size is increasing while running ftp
Also Can you check by doing "bin" before get/put command
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 02:17 PM
02-26-2002 02:17 PM
Re: problems with ftp
Could they be trying to store the file in a directory where they do not have permission?
Where does FTPD store the files by default? Is that directory allowing them to write? Are they doing a CD once they logon? To what directory? What permissions do they have in the new directory. Finally are they trying to give the fullpath for the file when they do a PUT?
Can you ftp into your own machine and try the same thing?
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 02:41 PM
02-26-2002 02:41 PM
Re: problems with ftp
The files are less than 2kb. The files are ASCII.
Ron,
The user is able to ftp some files, but not this one. Therefore, I don't think it is a permissions issue. It appears that the prcoess hangs. They are getting "disconnected by remote host" on my server, but when I grep for ftp I get the output I was showing in the intital post of this thread. It appears that the process is hanging.
I setup my ftpaccess file with:
upload /home/brooks /incoming yes
and
guestgroup ftponly
I put the user in that group and
I then setup a link in the /home/brooks directory:
lrwxrwxrwx 1 root sys 12 Jan 24 10:25 incoming -> /home/ftpd
ir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 02:50 PM
02-26-2002 02:50 PM
Re: problems with ftp
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 02:56 PM
02-26-2002 02:56 PM
Re: problems with ftp
What you are getting is probably this on the clint side,
Error: 451 Requested action aborted: local error: STOR
The reason could be
//Quote//
Anything that can cause the file system to return an error can potential cause of these type of errors from FTP. For example: 1) Hardware problems causing file system errors. 2) OS problems causing file system errors. 3) The requested files may be locked by another process and therefore are inaccessible. All these types of issues cause the OS to report a problem to ftp server. ftp server then reports these types of failures simply as a "local error" or "server error".
//EndQuote//
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 02:56 PM
02-26-2002 02:56 PM
Re: problems with ftp
I'll give that a try in the AM when they get in and post the results tomorrow. However, I know that it is an ASCII file they are creating and the other files are transferring OK.
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 02:57 PM
02-26-2002 02:57 PM
Re: problems with ftp
They might also try to gzip the file before sending it. Will definitely need binary mode if they do.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 06:12 PM
02-26-2002 06:12 PM
Re: problems with ftp
1. Checked the size of the file to be transferred. If it is larger than 2Gb, then the destination must be verified as largefile-capable before trying the transfer.
2. Checked the amount of space available on the destination disk.
As a good practice, never use a simple put or get with one parameter. put and get have 2 parameters, source and destination. Always use full pathnames starting with / as in:
put /etc/profile /tmp/myprofile
Relying on the ftp commands cd and lcd can lead to unexpected transfer locations. Connection can be closed due to permission problems on either end...both ends must allow the transfer. Is the user's machine a PC? Are they using a 'real' ftp at the DOS command line or some Window program? What are the limitations of the Windows program? Ore simply use ftp at the DOS prompt.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 07:36 PM
02-26-2002 07:36 PM
Re: problems with ftp
You may have to consider these points,
What happens if you try "rcp" to copy the same files?
what happens if you copy the same file to some other folder in the same system?
-Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 06:38 AM
02-27-2002 06:38 AM
Re: problems with ftp
Sanjay, When the problem occurs they are getting the message that the session was closed by remote host, not the error 451.
Ron, It seems to only be this file and they are sending it from MS boxes so that won;t be using gzip.
Bill,
The files are only 2kb max. There is plenty of space - I setup a separate mount of 100 mb.
They are running the put from a MS box(an NT 4.0 server and an ME PC) using the full path. They are setup as a restricted user so they only put what they see as the root directory. I have a link in their home dir, /incoming, which I use as their target directory. This link is to a separate mount /home/ftpdir.
The command they are running is a simple put. I had set up a local bin dir for them and only put the ls command in there, so that is the only one that they can run.
Vijay,
Based on this data being transferred from a PC or NT boc I don't want to get into any other issues suing rcp. I would rather just use ftp.
Thanks to all... any other ideas?
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 11:27 AM
02-27-2002 11:27 AM
Re: problems with ftp
http://download.cnet.com/downloads/0-10097-100-2181397.html
There are several other programs available at www.shareware.com and http://www.winsite.com
^M^J is a carriage return /line feed which the RFC for FTP says has to follow the file name. I'm surprised that your system shows it but I can't say I've ever looked at the ps when doing FTPs.
We had a similar problem with our FTP transfers failing about once a month. The client thought everything was fine but the file was missing the last packet which had the EOF. Turned out to be bad type of NICs. They were sensitive to electromagnetic interference.
landadmin and netstat -s did not show any errors but a long series of pings larger than 1500 bytes would have random failures.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:16 AM
03-04-2002 10:16 AM
Re: problems with ftp
We are still having problems ftp a file from an NT server to our L1000...any other ideas?
I thought I'd bring this back to the top. Thanks.
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:24 AM
03-04-2002 10:24 AM
Re: problems with ftp
are the results the same when you do the ftp from the L server to the NT and get the file? Also, does it change in binary or ascii mode?
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:34 AM
03-04-2002 10:34 AM
Re: problems with ftp
They won't let me get the files. I have the same problem with binary or ascii.
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:37 AM
03-04-2002 10:37 AM
Re: problems with ftp
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:47 AM
03-04-2002 10:47 AM
Re: problems with ftp
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 03:38 PM
03-04-2002 03:38 PM
Re: problems with ftp
ping -t -l 5000 a.b.c.d > c:\junk.txt
where a.b.c.d is the address of your server. This ping will continue until they hit ctrl + c. The idea is to look and see if you see any no replies (other than perhaps the first one). Let it run for 5 minutes then ctrl + c it and open junk.txt and search for "request timed out" If you have any then you may have a bad NIC. Run it again with 1400. If no failures at 1400 but failures at 5000 then it's the NIC if you get failures at 1400 too it could be the network.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2002 08:29 AM
08-15-2002 08:29 AM
Re: problems with ftp
Did you ever get a solution to this problem, as I am also suffering identical problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2002 08:34 AM
08-15-2002 08:34 AM
Re: problems with ftp
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2002 09:02 AM
08-15-2002 09:02 AM
Re: problems with ftp
Yes, I did get the problem resolved, and I apologize to everyone for not posting the solution.
I installed the PHNE_23949 patch and the problem was resolved.
RD