- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- SFTP Put fails OpenVMS to Linux
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
Discussions
Discussions
Forums
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
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
тАО03-04-2010 12:28 PM
тАО03-04-2010 12:28 PM
SFTP Put fails OpenVMS to Linux
I'm trying to use SFTP to move a file from an OpenVMS system to an FTP appliance. The 'put' fails and leaves an empty file on the destination.
Source:
TCPIP> show ver
HP TCP/IP Services for OpenVMS Alpha Version V5.6
on an AlphaServer 800 5/500 running OpenVMS V8.3
sftp "-V"
dkb300:[sys0.syscommon.][sysexe]tcpip$ssh_sftp2.exe;1: SSH Secure Shell OpenVMS (V5.5) 3.2.0 on AlphaServer 800 5/500 - VMS V8.3
-----
Destination:
Kernel:
Linux 2.6.5-7.283-smp #1 SMP Wed Nov 29 16:55:53 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
OS:
SUSE LINUX Enterprise Server 9 (x86_64)
VERSION = 9
PATCHLEVEL = 3
Device:
Axway (formerly Tumbleweed) Secure Transport Appliance
-----
sftp> debug 3
sftp> put login.com
SshFCGlob/SSHFC_GLOB.C:753: Adding file login.com to file list without globbing...
SshFCGlob/SSHFC_GLOB.C:625: File list is at its end.
SshFCGlob/SSHFC_GLOB.C:930: Destroying global data...
SshFCRecurse/SSHFC_RECURSE.C:362: File is "raw", and it needs to be parsed.
Ssh2SftpServer/SSHFILEXFERS.C:2776: Received SSH_FXP_STAT
Ssh2SftpServer/SSHFILEXFERS.C:2798: SSH_FXP_STAT login.com
Ssh2SftpServer/SSHFILEXFERS.C:2800: Statting file `login.com'
Ssh2SftpServer/SSHFILEXFERS.C:2860: rfm=FAB$C_VAR
Ssh2SftpServer/SSHFILEXFERS.C:2928: attrs->size=1461
SshFCRecurse/SSHFC_RECURSE.C:487: File login.com is not a directory. Adding it to list...
SshFCRecurse/SSHFC_RECURSE.C:602: No more files in this list.
SshFCTransfer/SSHFC_TRANSFER.C:2321: File list has 2 files.
SshFCTransfer/SSHFC_TRANSFER.C:346: Setting next source file item...
SshFCTransfer/SSHFC_TRANSFER.C:575: Next source file is /login.com .
SshFCTransfer/SSHFC_TRANSFER.C:1297: Statting source file login.com...
Ssh2SftpServer/SSHFILEXFERS.C:2776: Received SSH_FXP_STAT
Ssh2SftpServer/SSHFILEXFERS.C:2798: SSH_FXP_STAT login.com
Ssh2SftpServer/SSHFILEXFERS.C:2800: Statting file `login.com'
Ssh2SftpServer/SSHFILEXFERS.C:2860: rfm=FAB$C_VAR
Ssh2SftpServer/SSHFILEXFERS.C:2928: attrs->size=1461
SshFCTransfer/SSHFC_TRANSFER.C:1370: Statting destination file . before trying to remove it...
SshFCTransfer/SSHFC_TRANSFER.C:1589: Statting destination file to check len ./login.com...
Ssh2SftpServer/SSHFILEXFERS.C:1903: Received SSH_FXP_OPEN
Ssh2SftpServer/SSHFILEXFERS.C:1981: SSH_FXP_OPEN login.com
Ssh2SftpServer/SSHFILEXFERS.C:1997: Downloading `login.com'
Ssh2SftpServer/SSHFILEXFERS.C:2064: rfm=FAB$C_VAR
Ssh2SftpServer/SSHFILEXFERS.C:1272: (MAXFOPENARGS * sizeof(unsigned int)) + ARGSTRSIZ is 291
Ssh2SftpServer/SSHFILEXFERS.C:1272: (MAXFOPENARGS * sizeof(unsigned int)) + ARGSTRSIZ is 291
SshFCTransfer/SSHFC_TRANSFER.C:1394: Statting destination file ./login.com...
SshReadLine/SSHREADLINE.C:3718: Uninitializing ReadLine...
FATAL: BUILD23$:[TCPIP_V56_BL9.SRC.SSH2]SSHFC_TRANSFER.C;1:1743 SshFCTransfer (function name unavailable) Assertion failed: tdata->current_dest_file->attributes->flags & 0x00000004
%TCPIP-F-SSH_FATAL, non-specific fatal error condition
----
note that we have a VMS Multinet box as well which does not have a problem sending files to the same destination.
Any thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 12:40 PM
тАО03-04-2010 12:40 PM
Re: SFTP Put fails OpenVMS to Linux
Similar errors have been reported before:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1261792
Googling for
SSHFC_TRANSFER.C SshFCTransfer Assertion failed
will kick over a couple of more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 12:42 PM
тАО03-04-2010 12:42 PM
Re: SFTP Put fails OpenVMS to Linux
> on an AlphaServer 800 5/500 running OpenVMS V8.3
Around here:
alp $ tcpip show version
HP TCP/IP Services for OpenVMS Alpha Version V5.6 - ECO 4
on a COMPAQ Professional Workstation XP1000 running OpenVMS V8.3
I'd vote for a little ECO action before
anything else. (TCPIP is none too good when
it's current, and it can be much worse when
it's old.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2010 01:02 PM
тАО03-05-2010 01:02 PM
Re: SFTP Put fails OpenVMS to Linux
Okay, now I have:
HP TCP/IP Services for OpenVMS Alpha Version V5.6 - ECO 4
on an AlphaServer 800 5/500 running OpenVMS V8.3
Still the exact same problem. Multinet is not an option unfortunately. We're in the process of contacting HP however I'm not optimistic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2010 01:55 PM
тАО03-05-2010 01:55 PM
Re: SFTP Put fails OpenVMS to Linux
Looks like mine.
> Still the exact same problem. [...]
How "exact same"? My transcript (below)
seems to differ from yours, even before
things go bad.
Hmmm. Around here, no such problem.
I don't have a Secure Transport Appliance,
but I do have something like a GNU/Linux
system:
debi# uname -a
Linux debi 2.6.26-2-mckinley #1 SMP Thu Nov 5 03:58:10 UTC 2009 ia64 GNU/Linux
debi# ssh -V
OpenSSH_5.1p1 Debian-5, OpenSSL 0.9.8g 19 Oct 2007
debi# /usr/sbin/sshd -V
sshd: illegal option -- V
OpenSSH_5.1p1 Debian-5, OpenSSL 0.9.8g 19 Oct 2007
[...]
ALP $ sftp root@debi
root@debi's password:
sftp> debug 3
sftp> put login.com
SshFCGlob/SSHFC_GLOB.C:874: Adding file login.com to file list without globbing...
SshFCGlob/SSHFC_GLOB.C:720: File list is at its end.
SshFCGlob/SSHFC_GLOB.C:1051: Destroying global data...
SshFCRecurse/SSHFC_RECURSE.C:401: File is "raw", and it needs to be parsed.
Ssh2SftpServer/SSHFILEXFERS.C:3235: Received SSH_FXP_STAT
Ssh2SftpServer/SSHFILEXFERS.C:3308: SSH_FXP_STAT login.com
Ssh2SftpServer/SSHFILEXFERS.C:3310: Statting file `login.com'
Ssh2SftpServer/SSHFILEXFERS.C:3445: rfm=FAB$C_VAR
Ssh2SftpServer/SSHFILEXFERS.C:3549: attrs->size=6166
SshFCRecurse/SSHFC_RECURSE.C:571: File login.com is not a directory. Adding it to list...
SshFCRecurse/SSHFC_RECURSE.C:748: No more files in this list.
SshFCTransfer/SSHFC_TRANSFER.C:2463: File list has 2 files.
SshFCTransfer/SSHFC_TRANSFER.C:355: Setting next source file item...
SshFCTransfer/SSHFC_TRANSFER.C:561: Next source file is /login.com .
SshFCTransfer/SSHFC_TRANSFER.C:1283: Statting source file login.com...
Ssh2SftpServer/SSHFILEXFERS.C:3235: Received SSH_FXP_STAT
Ssh2SftpServer/SSHFILEXFERS.C:3308: SSH_FXP_STAT login.com
Ssh2SftpServer/SSHFILEXFERS.C:3310: Statting file `login.com'
Ssh2SftpServer/SSHFILEXFERS.C:3445: rfm=FAB$C_VAR
Ssh2SftpServer/SSHFILEXFERS.C:3549: attrs->size=6166
SshFCTransfer/SSHFC_TRANSFER.C:1432: Statting destination file . before trying to remove it...
SshFCTransfer/SSHFC_TRANSFER.C:1654: Statting destination file to check len ./login.com...
Ssh2SftpServer/SSHFILEXFERS.C:2281: Received SSH_FXP_OPEN
Ssh2SftpServer/SSHFILEXFERS.C:2359: SSH_FXP_OPEN login.com
Ssh2SftpServer/SSHFILEXFERS.C:2375: Downloading `login.com'
Ssh2SftpServer/SSHFILEXFERS.C:2442: rfm=FAB$C_VAR
SshFCTransfer/SSHFC_TRANSFER.C:1456: Statting destination file ./login.com...
SshFCTransferCore/SSHFC_TRCORE.C:369: Starting transfer for file login.com, destination ./login.com
SshFCTransferCore/SSHFC_TRCORE.C:377: Calling OpenVMS$reset_terminal_pasthru()
SshFCTransferCore/SSHFC_TRCORE.C:498: transfer_shred entered
SshFCTransferCore/SSHFC_TRCORE.C:846: transfer_write_out entered
SshFCTransferCore/SSHFC_TRCORE.C:846: transfer_write_out entered
SshFCTransferCore/SSHFC_TRCORE.C:846: transfer_write_out entered
SshFCTransferCore/SSHFC_TRCORE.C:846: transfer_write_out entered
login.com | 6.0kB | 6.0 kB/s | TOC: 00:00:01 | 100%
SshFCTransferCore/SSHFC_TRCORE.C:877: Writer finished.
SshFCTransfer/SSHFC_TRANSFER.C:1943: Destination file attributes not available or that file is not a regular file; not changing attributes.
SshFCTransfer/SSHFC_TRANSFER.C:1972: Closing source file login.com...
SshFCTransfer/SSHFC_TRANSFER.C:1989: Closing dest file ./login.com...
SshFCTransfer/SSHFC_TRANSFER.C:2036: Finished with file ./login.com.
SshFCTransfer/SSHFC_TRANSFER.C:355: Setting next source file item...
SshFCTransfer/SSHFC_TRANSFER.C:375: No more source files in this list.
SshFCGlob/SSHFC_GLOB.C:198: Destroying thread data...
sftp> Ssh2SftpServer/SSHFILEXFERS.C:2949: Received SSH_FXP_CLOSE
Ssh2SftpServer/SSHFILEXFERS.C:2951: SSH_FXP_CLOSE
Ssh2SftpServer/SSHFILEXFERS.C:3053: Closed file `login.com' (handle=649dcd)
Now, it _is_ TCPIP, so it hung there without
displaying a prompt until I hit Return, but
then it resumed (sub-?) normal operation:
sftp> quit
SshUnixPipeStream/SSHUNIXPIPESTREAM.C:481: ssh_pipe_stream_destroy
SshReadLine/SSHREADLINE.C:3728: Uninitializing ReadLine...
And, at the far end:
debi# ls -l log*
-rwxr-xr-x 1 root root 6166 Mar 5 09:42 login.com
> [...] however I'm not optimistic.
One never knows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2010 04:35 PM
тАО03-05-2010 04:35 PM
Re: SFTP Put fails OpenVMS to Linux
Sorry, here is what I see:
sftp> put login.com
SshFCGlob/SSHFC_GLOB.C:874: Adding file login.com to file list without globbing...
SshFCGlob/SSHFC_GLOB.C:720: File list is at its end.
SshFCGlob/SSHFC_GLOB.C:1051: Destroying global data...
SshFCRecurse/SSHFC_RECURSE.C:401: File is "raw", and it needs to be parsed.
Ssh2SftpServer/SSHFILEXFERS.C:3235: Received SSH_FXP_STAT
Ssh2SftpServer/SSHFILEXFERS.C:3308: SSH_FXP_STAT login.com
Ssh2SftpServer/SSHFILEXFERS.C:3310: Statting file `login.com'
Ssh2SftpServer/SSHFILEXFERS.C:3445: rfm=FAB$C_VAR
Ssh2SftpServer/SSHFILEXFERS.C:3549: attrs->size=1461
SshFCRecurse/SSHFC_RECURSE.C:571: File login.com is not a directory. Adding it to list...
SshFCRecurse/SSHFC_RECURSE.C:748: No more files in this list.
SshFCTransfer/SSHFC_TRANSFER.C:2463: File list has 2 files.
SshFCTransfer/SSHFC_TRANSFER.C:355: Setting next source file item...
SshFCTransfer/SSHFC_TRANSFER.C:561: Next source file is /login.com .
SshFCTransfer/SSHFC_TRANSFER.C:1283: Statting source file login.com...
Ssh2SftpServer/SSHFILEXFERS.C:3235: Received SSH_FXP_STAT
Ssh2SftpServer/SSHFILEXFERS.C:3308: SSH_FXP_STAT login.com
Ssh2SftpServer/SSHFILEXFERS.C:3310: Statting file `login.com'
Ssh2SftpServer/SSHFILEXFERS.C:3445: rfm=FAB$C_VAR
Ssh2SftpServer/SSHFILEXFERS.C:3549: attrs->size=1461
SshFCTransfer/SSHFC_TRANSFER.C:1432: Statting destination file . before trying to remove it...
SshFCTransfer/SSHFC_TRANSFER.C:1654: Statting destination file to check len ./login.com...
Ssh2SftpServer/SSHFILEXFERS.C:2281: Received SSH_FXP_OPEN
Ssh2SftpServer/SSHFILEXFERS.C:2359: SSH_FXP_OPEN login.com
Ssh2SftpServer/SSHFILEXFERS.C:2375: Downloading `login.com'
Ssh2SftpServer/SSHFILEXFERS.C:2442: rfm=FAB$C_VAR
SshFCTransfer/SSHFC_TRANSFER.C:1456: Statting destination file ./login.com...
SshReadLine/SSHREADLINE.C:3728: Uninitializing ReadLine...
FATAL: BUILD12$:[TCPIP_V56_BLECO4.SRC.SSH2]SSHFC_TRANSFER.C;1:1835 SshFCTransfer (function name unavailable) Assertion failed: tdata->current_dest_file->attributes->flags & 0x00000004
The only difference that jumps out at me is the 'attrs->size=6166' vs 'attrs->size=1461'.
My disk is ODS-2. I wondered if it would work with an ODS-5 Disk for some reason - I tried it and still fails in exactly the same fashion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2010 06:18 AM
тАО03-08-2010 06:18 AM
Re: SFTP Put fails OpenVMS to Linux
Ssh2SftpServer/SSHFILEXFERS.C:2442: rfm=FAB$C_VAR
SshFCTransfer/SSHFC_TRANSFER.C:1456: Statting destination file ./login.com...
SshReadLine/SSHREADLINE.C:3728: Uninitializing ReadLine...
FATAL: BUILD12$:[TCPIP_V56_BLECO4.SRC.SSH2]SSHFC_TRANSFER.C;1:1835 SshFCTransfer (function name unavailable) Assertion failed: tdata->current_dest_file->attributes->flags & 0x00000004
I'm not certain what flag 0x4 is, but it could be file permissions being present on the remote file.
Does login.com current exist on the target system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 03:03 PM
тАО03-10-2010 03:03 PM
Re: SFTP Put fails OpenVMS to Linux
No, login.com didn't exist on the ftp server. Here are the results of doing an "ls -l" via SFTP. login.com was the attempt using ucx, and mu_login.com was put there using Multinet's SFTP client.
sftp> ls -l
-rw-r--r-- 1 1001 1001 0 Mar 10 02:40 login.com
-rw-r----- 1 1001 1001 5111 Mar 10 02:43 mu_login.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 04:40 PM
тАО03-10-2010 04:40 PM
Re: SFTP Put fails OpenVMS to Linux
file(s) on the GNU/Linux end?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 10:59 AM
тАО05-12-2010 10:59 AM
Re: SFTP Put fails OpenVMS to Linux
Thanks for all the replies.