ssh and scp in aix 4.3.3


 
Thread Tools Search this Thread
Operating Systems AIX ssh and scp in aix 4.3.3
# 1  
Old 05-12-2008
ssh and scp in aix 4.3.3

I'm using scp to copy files to another company via our 4.3.3 server. I am having transfer problems right at the transfer point in scp. Below are 2 debug outputs showing the bottleneck. The lower level debug preceeds the higher level debug output. It just seems to stop and refuses to transfer the file from my server to the other server. It's an intermittent problem that seems to be worse on larger files. Can anyone give any suggestions on what might be causing this? Or does anyone know of any utilities I could you to look at the actual packets going out and back to see if there is a clue in those as to what is happening. I'm studying to be a unix system admin but I'm still a newbie in most things unix. This was set up by another programmer who is gone now and it has fallen into my lap to find a fix.

Any help would be greatly appreciated.

This is the command I am using:
scp -D4 -d --overwrite -p /share/ftpxfer/out/current/PELLPA_810_14740_16109 mikron@ecftp.adx.net:testin

I'm using Fsecure for IT for unix for the scp program.


scp:SshFSM/sshfsm.c:236: Entering the scheduler
scp:SshFSM/sshfsm.c:268: Thread continuing from state `20056254' (20056254)
scp:SshFSM/sshfsm.c:410: Starting a new thread starting from `fctc_start_transfer'
scp:SshFSM/sshfsm.c:351: Thread waiting for a thread to terminate in state `fct_set_attrs'
scp:SshFSM/sshfsm.c:268: Thread continuing from state `fctc_start_transfer' (Prepare everything for the actual transfer)
scp:SshFCTransferCore/sshfc_trcore.c:457: Starting transfer for file PELLPA_810_14740_16109, destination testin/PELLPA_810_14740_16109
scp:SshFSM/sshfsm.c:410: Starting a new thread starting from `fctc_shred'
scp:SshFSM/sshfsm.c:410: Starting a new thread starting from `fctc_write_out'
scp:SshEventLoop/sshunixeloop.c:443: timeout 45 at 1210629762:444503
scp:SshFSM/sshfsm.c:351: Thread waiting for a thread to terminate in state `fct_finish_thread'
scp:SshFSM/sshfsm.c:268: Thread continuing from state `fctc_shred' (Shred file to requests)
scp:SshFCTransferCore/sshfc_trcore.c:963: Reading 6265 bytes from offset 0.
scp:SshEventLoop/sshunixeloop.c:443: timeout 46 at 1210629761:444884
scp:SshEventLoop/sshunixeloop.c:443: timeout 47 at 1210629761:444991
scp:SshFCTransferCore/sshfc_trcore.c:897: No more requests at this time.
scp:SshFSM/sshfsm.c:343: Thread waiting for a condition variable in state `fctc_read_in'
scp:SshFSM/sshfsm.c:268: Thread continuing from state `fctc_write_out' (Try to write data to file)
scp:SshFCTransferCore/sshfc_trcore.c:1167: No more requests at this time.
scp:SshFSM/sshfsm.c:343: Thread waiting for a condition variable in state `fctc_write_out'
scp:SshFSM/sshfsm.c:252: No active threads so return from scheduler
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 46
scp:SshEventLoop/sshunixeloop.c:523: cancelled 46
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 47
scp:SshEventLoop/sshunixeloop.c:523: cancelled 47
scp:SshEventLoop/sshunixeloop.c:443: timeout 48 at 1210629761:446264
scp:SshPacketWrapper/sshpacketwrapper.c:137: Wrote 33 bytes of data.
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 48
scp:SshEventLoop/sshunixeloop.c:523: cancelled 48
scp:Ssh2SftpServer/sshfilexfers.c:542: Received SSH_FXP_READ.
scp:Ssh2SftpServer/sshfilexfers.c:928: SSH_FXP_READ: len 6265, offset 0
scp:SshEventLoop/sshunixeloop.c:443: timeout 49 at 1210629761:446945
scp:SshEventLoop/sshunixeloop.c:443: timeout 50 at 1210629761:447057
scp:SshEventLoop/sshunixeloop.c:443: timeout 51 at 1210629761:447195
scp:SshPacketWrapper/sshpacketwrapper.c:137: Wrote 6278 bytes of data.
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 49
scp:SshEventLoop/sshunixeloop.c:523: cancelled 49
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 50
scp:SshEventLoop/sshunixeloop.c:523: cancelled 50
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 51
scp:SshEventLoop/sshunixeloop.c:523: cancelled 51
scp:SshFCTransferCore/sshfc_trcore.c:719: Got 6265 bytes of data.
scp:SshFCTransferCore/sshfc_trcore.c:755: Adding a write request to writer's request queue.
scp:SshFSM/sshfsm.c:611: Signalling a condition variable
scp:SshFSM/sshfsm.c:621: Ok, activating one of the waiting threads
scp:SshEventLoop/sshunixeloop.c:443: timeout 52 at 1210629761:448424
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 52
scp:SshEventLoop/sshunixeloop.c:523: cancelled 52
scp:SshFSM/sshfsm.c:236: Entering the scheduler
scp:SshFSM/sshfsm.c:268: Thread continuing from state `fctc_write_out' (Try to write data to file)
scp:SshFCTransferCore/sshfc_trcore.c:1178: Writing 6265 bytes to offset 0.
scp:SshFCTransferCore/sshfc_trcore.c:1167: No more requests at this time.
scp:SshFSM/sshfsm.c:343: Thread waiting for a condition variable in state `fctc_write_out'
scp:SshFSM/sshfsm.c:252: No active threads so return from scheduler
scp:SshPacketWrapper/sshpacketwrapper.c:137: Wrote 6298 bytes of data.
debug: SshEventLoop/sshunixeloop.c:443: timeout 71 at 1210629761:449775
debug: SshEventLoop/sshunixeloop.c:443: timeout 72 at 1210629761:449903
debug: SshEventLoop/sshunixeloop.c:443: timeout 73 at 1210629761:450015
debug: SshEventLoop/sshunixeloop.c:443: timeout 74 at 1210629761:450127
debug: SshEventLoop/sshunixeloop.c:443: timeout 75 at 1210629761:450255
debug: SshEventLoop/sshunixeloop.c:443: timeout 76 at 1210629761:450368
debug: SshEventLoop/sshunixeloop.c:443: timeout 77 at 1210629761:450481
debug: SshEventLoop/sshunixeloop.c:443: timeout 78 at 1210629761:450593
debug: SshEventLoop/sshunixeloop.c:1004: firing timeout 71
debug: SshEventLoop/sshunixeloop.c:523: cancelled 71
debug: Ssh2Transport/trcommon.c:554: Outgoing empty, sending empty ignore packet.
debug: Ssh2Transport/trcommon.c:223: Running padding generator.
debug: Ssh2Transport/trcommon.c:554: Outgoing empty, sending empty ignore packet.
debug: Ssh2Transport/trcommon.c:223: Running padding generator.
debug: SshEventLoop/sshunixeloop.c:1004: firing timeout 72
debug: SshEventLoop/sshunixeloop.c:523: cancelled 72
debug: SshEventLoop/sshunixeloop.c:1004: firing timeout 73
debug: SshEventLoop/sshunixeloop.c:523: cancelled 73
debug: SshEventLoop/sshunixeloop.c:1004: firing timeout 74
debug: SshEventLoop/sshunixeloop.c:523: cancelled 74
debug: SshEventLoop/sshunixeloop.c:1004: firing timeout 75
debug: SshEventLoop/sshunixeloop.c:523: cancelled 75
debug: SshEventLoop/sshunixeloop.c:1004: firing timeout 76
debug: SshEventLoop/sshunixeloop.c:523: cancelled 76
debug: SshEventLoop/sshunixeloop.c:1004: firing timeout 77
debug: SshEventLoop/sshunixeloop.c:523: cancelled 77
debug: SshEventLoop/sshunixeloop.c:1004: firing timeout 78
debug: SshEventLoop/sshunixeloop.c:523: cancelled 78
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 45
scp:SshEventLoop/sshunixeloop.c:523: cancelled 45
PELLPA_810_14740_16109 | 0B | 0B/s | ETA: 01:44:25 | 0%scp:SshEventLoop/sshunixeloop.c:443: timeout 53 at 1210629763:444872
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 53
scp:SshEventLoop/sshunixeloop.c:523: cancelled 53
PELLPA_810_14740_16109 | 0B | 0B/s | ETA: 01:44:25 | 0%scp:SshEventLoop/sshunixeloop.c:443: timeout 54 at 1210629764:445143
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 54
scp:SshEventLoop/sshunixeloop.c:523: cancelled 54
PELLPA_810_14740_16109 | 0B | 0B/s | ETA: 01:44:25 | 0%scp:SshEventLoop/sshunixeloop.c:443: timeout 55 at 1210629765:445415
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 55
scp:SshEventLoop/sshunixeloop.c:523: cancelled 55
PELLPA_810_14740_16109 | 0B | 0B/s | ETA: 01:44:25 | 0%scp:SshEventLoop/sshunixeloop.c:443: timeout 56 at 1210629766:445686
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 56
scp:SshEventLoop/sshunixeloop.c:523: cancelled 56
PELLPA_810_14740_16109 | 0B | 0B/s | ETA: 01:44:25 | 0%scp:SshEventLoop/sshunixeloop.c:443: timeout 57 at 1210629767:445964
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 57
scp:SshEventLoop/sshunixeloop.c:523: cancelled 57
PELLPA_810_14740_16109 | 0B | 0B/s | ETA: 01:44:25 | 0%scp:SshEventLoop/sshunixeloop.c:443: timeout 58 at 1210629768:446236
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 58
scp:SshEventLoop/sshunixeloop.c:523: cancelled 58
PELLPA_810_14740_16109 | 0B | 0B/s | ETA: 01:44:25 | 0%scp:SshEventLoop/sshunixeloop.c:443: timeout 59 at 1210629769:446512
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 59
scp:SshEventLoop/sshunixeloop.c:523: cancelled 59
PELLPA_810_14740_16109 | 0B | 0B/s | ETA: 01:44:25 | 0%scp:SshEventLoop/sshunixeloop.c:443: timeout 60 at 1210629770:446784
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 60
scp:SshEventLoop/sshunixeloop.c:523: cancelled 60
PELLPA_810_14740_16109 | 0B | 0B/s | ETA: 01:44:25 | 0%scp:SshEventLoop/sshunixeloop.c:443: timeout 61 at 1210629771:447063
scp:SshEventLoop/sshunixeloop.c:1004: firing timeout 61
scp:SshEventLoop/sshunixeloop.c:523: cancelled 61
PELLPA_810_14740_16109 | 0B | 0B/s | ETA: 01:44:25 | 0%scp:SshEventLoop/sshunixeloop.c:443: timeout 62 at 1210629772:447345



Here's a higher level debug of the same point in the transfer:


scp:Scp2/scp2.c:1559: buffer: 'AUTHENTICATED YES
'
debug: Ssh2ChannelSession/sshchsession.c:2584: session channel established (but requests not yet sent)
debug: SshTtyFlags/sshttyflags.c:286: Not a tty. (fd = 0)
debug: Ssh2ChannelSession/sshchsession.c:2746: Requesting subsystem sftp
debug: SshConnection/sshconn.c:1655: Received reply for a channel request.
scp:SshFileXferClient/sshfilexferc.c:1436: ext_name `newline@vandyke.com', data:
scp:00000000: 0d0a ..
scp:SshFileXferClient/sshfilexferc.c:1461: Negotiated version: 3 (own version: 3, remote version: 3).
scp:SshFileCopy/sshfilecopy.c:620: Connection to remote host 'ecftp.adx.net', ready to serve requests.
scp:SshFCTransfer/sshfc_transfer.c:245: Fetching source newline convention extension data.
scp:SshFCTransfer/sshfc_transfer.c:259: Fetching dest newline convention extension data.
scp:SshFCTransfer/sshfc_transfer.c:276: source newline:
scp:00000000: 0a .
scp:SshFCTransfer/sshfc_transfer.c:281: destination newline:
scp:00000000: 0d0a ..
scp:SshFCTransfer/sshfc_transfer.c:309: Statting destination location ``testin'' before transfer...
scp:SshFCTransfer/sshfc_transfer.c:344: Setting next source file item...
scp:SshFCTransfer/sshfc_transfer.c:397: file name: ``/share/ftpxfer/out/current''
scp:SshFCTransfer/sshfc_transfer.c:453: basedir = /share/ftpxfer/out/current
scp:SshFCTransfer/sshfc_transfer.c:570: destination file: testin/PELLPA_810_14740_16109
scp:SshFCTransfer/sshfc_transfer.c:573: source file: /share/ftpxfer/out/current/PELLPA_810_14740_16109
scp:SshFCTransfer/sshfc_transfer.c:722: Statting source file ``/share/ftpxfer/out/current/PELLPA_810_14740_16109''...
scp:Ssh2SftpServer/sshfilexfers.c:1112: SSH_FXP_STAT /share/ftpxfer/out/current/PELLPA_810_14740_16109
scp:SshFCTransfer/sshfc_transfer.c:737: Statting destination file ``testin/PELLPA_810_14740_16109''...
scp:SshFCTransfer/sshfc_transfer.c:1132: Opening dest file testin/PELLPA_810_14740_16109...
scp:SshFCTransfer/sshfc_transfer.c:1115: File `testin/PELLPA_810_14740_16109' opened successfully.
scp:SshFCTransfer/sshfc_transfer.c:1148: Opening source file /share/ftpxfer/out/current/PELLPA_810_14740_16109...
scp:Ssh2SftpServer/sshfilexfers.c:783: SSH_FXP_OPEN /share/ftpxfer/out/current/PELLPA_810_14740_16109
scp:SshFCTransfer/sshfc_transfer.c:1115: File `PELLPA_810_14740_16109' opened successfully.
scp:SshFCTransfer/sshfc_transfer.c:1249: Setting permissions.
scp:SshFCTransferCore/sshfc_trcore.c:457: Starting transfer for file PELLPA_810_14740_16109, destination testin/PELLPA_810_14740_16109
scp:Ssh2SftpServer/sshfilexfers.c:542: Received SSH_FXP_READ.

This is the point where it stops above and keeps coming back with the firing timeouts in the lower level debug statement above.

PELLPA_810_14740_16109 | 0B | 0B/s | ETA: 01:44:25 | 0%^C
Interrupt.
$
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Ssh find and scp

Hello All, I have a requirement to copy few files from remote server to local, and below are the sequence ssh to the remote host finding the files with the specific condition once found scp to the local server path for (( i=0; i<${tLen}; i++ )) do ssh... (1 Reply)
Discussion started by: nextStep
1 Replies

2. AIX

Able to scp/ssh to AIX 6.1 machine, unable to sftp to it

Hello, I am trying to figure out why I cannot sftp onto our aix6.1 machine. I can ssh/scp onto it, and sftp outbound seems to work properly, but I can't sftp onto it. # sftp aix61 Connecting to aix61... root@aix61's password: Connection closed # This machine appears to have the pware... (2 Replies)
Discussion started by: bstring
2 Replies

3. Solaris

ssh and scp not working

Dear All, whenever i try the command ssh , it is giving the below error. ld.so.1: ssh: fatal: relocation error: file /usr/bin/ssh: symbol SUNWcry_installed: referenced symbol not found Killed For SCP also the same error is coming. Pl reply me if you have answers. Rj (4 Replies)
Discussion started by: jegaraman
4 Replies

4. UNIX for Advanced & Expert Users

Problem with ssh and scp

Hi there, I'm working with two linux servers and if I use ssh to connect from 1 to 2 everything works fine ( ..as usual:rolleyes:), while if I try to connect via ssh or to copy files through scp (as I usually do...) from 2 to 1, after the password I get this message: Connection closed by... (6 Replies)
Discussion started by: Giordano Bruno
6 Replies

5. Shell Programming and Scripting

SSH and SCP HELP

Hi all Iam using ssh and trying to change to a different user but im not able to do it. -------- Script.sh ssh user@hostname sudo rootsh whoami -------- -------- Script2.sh ssh user@hostname su - username password whoami --------- When i run the Script.sh it is connecting to... (4 Replies)
Discussion started by: coolkid
4 Replies

6. UNIX for Advanced & Expert Users

Simulating scp through ssh

How to simulate scp command using ssh? (5 Replies)
Discussion started by: vickylife
5 Replies

7. Solaris

SSH/SCP Question

Thanks to this forum, I was able to get a program running that uses SSH to control programs running on other hosts. Now I'd like to enhance it. The control program on the target hosts occassionally needs to be updated. Updating the menu program on the source host is easy as it is on one host. ... (1 Reply)
Discussion started by: PabloCruise77
1 Replies

8. Shell Programming and Scripting

ssh/scp - can you specify timeout?

I am scp'ing a file from a server (servera) to my server (serverb) If servera is down - the scp never times out ... it just hangs eternally.. It is possible to specify a timeout in my script - so if scp fails/hang for more than 60 seconds I assume its failed ? I am aware there is some... (3 Replies)
Discussion started by: frustrated1
3 Replies

9. BSD

SCP and ssh

I can't get ssh ans scp to work between to host on my network. I am prompted for the password and it isn't accepting the password and I know the password is correct because I am using the root password. What do I need to do to get ssh working between the two host and scp. I can putty into the... (2 Replies)
Discussion started by: rbizzell
2 Replies

10. Shell Programming and Scripting

SSH and SCP

The following ksh script is trying to get a file's cksum then, scp it over to a remote machine - get the cksum there and then compare the two cksums to make sure they match. I am having problems setting a variable on the remote host where it can be read locally. Is this even possible - reading a... (1 Reply)
Discussion started by: berrean
1 Replies
Login or Register to Ask a Question