Subject: | signal 15 |
Date: | Sun, 22 Jul 2012 15:55:32 +0300 |
To: | "bug-Net-SFTP-Foreign [...] rt.cpan.org" <bug-Net-SFTP-Foreign [...] rt.cpan.org> |
From: | Yossi Itzkovich <Yossi.Itzkovich [...] ecitele.com> |
Hi,
I have started using this module, but I always get "killed by signal 15" after the file has been copied successfully (see logs below).
Am I doing something wrong ?
Thanks
Yossi
This is the program:
#!/bin/env perl
use 5.16.0;
use Net::SFTP::Foreign;
my $host='z2-crater';
my $user='ems';
my $sftp = Net::SFTP::Foreign->new(host=>$host,user=>$user, autodie=>1, timeout=>15);
$sftp->setcwd('yossi') or die "unable to change cwd: " . $sftp->error;
say $sftp->cwd();
$sftp->get('ip', 'ip') or die "get failed: " . $sftp->error;
And this is the log :
#29179 1342961417.00000 new: Running on Perl v5.16.0 for solaris
#29179 1342961417.00000 new: debug set to 9999
#29179 1342961417.00000 new: ~0 is 4294967295
#29179 1342961417.00000 new: Using backend Net::SFTP::Foreign::Backend::Unix 1.73
#29179 1342961417.00000 _init_transport: ssh cmd: ssh -l ems z2-crater -s sftp
#29179 1342961417.00000 _queue_msg: queueing msg len: 5, code:1, id:3 ... [1]
#29179 1342961417.00000 _get_msg: waiting for message... [1]
#29179 1342961418.00000 _get_msg: got it!, len:5, code:2, id:-, status: -
02 00 00 00 03 | .....
#29179 1342961418.00000 _queue_msg: queueing msg len: 14, code:16, id:0 ... [1]
#29179 1342961418.00000 _get_msg: waiting for message... [1]
#29179 1342961418.00000 _get_msg: got it!, len:59, code:104, id:0, status: -
68 00 00 00 00 00 00 00 01 00 00 00 13 2f 73 64 68 5f 68 6f 6d 65 2f 65 6d 73 2f 79 6f 73 73 69 | h............/sdh_home/ems/yossi
00 00 00 13 2f 73 64 68 5f 68 6f 6d 65 2f 65 6d 73 2f 79 6f 73 73 69 00 00 00 00 | ..../sdh_home/ems/yossi....
#29179 1342961418.00000 _queue_msg: queueing msg len: 28, code:17, id:1 ... [1]
#29179 1342961418.00000 _get_msg: waiting for message... [1]
#29179 1342961418.00000 _get_msg: got it!, len:37, code:105, id:1, status: -
69 00 00 00 01 00 00 00 0f 00 00 00 00 00 00 00 08 00 00 00 67 00 00 00 64 00 00 41 ed 50 0b db | i...................g...d..A.P..
9c 4f e3 3c 5f | .O.<_
/sdh_home/ems/yossi
#29179 1342961418.00000 _queue_msg: queueing msg len: 31, code:17, id:2 ... [1]
#29179 1342961418.00000 _get_msg: waiting for message... [1]
#29179 1342961418.00000 _get_msg: got it!, len:37, code:105, id:2, status: -
69 00 00 00 02 00 00 00 0f 00 00 00 00 00 00 00 0e 00 00 00 67 00 00 00 64 00 00 81 a4 50 0b ea | i...................g...d....P..
71 4f e3 3c 5f | qO.<_
#29179 1342961418.00000 _queue_msg: queueing msg len: 39, code:3, id:3 ... [1]
#29179 1342961418.00000 _get_msg: waiting for message... [1]
#29179 1342961418.00000 _get_msg: got it!, len:13, code:102, id:3, status: -
66 00 00 00 03 00 00 00 04 00 00 00 00 | f............
#29179 1342961418.00000 open: new remote file '/sdh_home/ems/yossi/ip' open, rid:
00 00 00 00 | ....
#29179 1342961418.00000 _queue_msg: queueing msg len: 25, code:5, id:4 ... [1]
#29179 1342961418.00000 _get_msg: waiting for message... [1]
#29179 1342961418.00000 _get_msg: got it!, len:23, code:103, id:4, status: -
67 00 00 00 04 00 00 00 0e 31 39 32 2e 31 36 38 2e 38 31 2e 32 37 0a | g........192.168.81.27.
#29179 1342961418.00000 _queue_msg: queueing msg len: 25, code:5, id:5 ... [1]
#29179 1342961418.00000 _get_msg: waiting for message... [1]
#29179 1342961418.00000 _get_msg: got it!, len:28, code:101, id:5, status: 1
65 00 00 00 05 00 00 00 01 00 00 00 0b 45 6e 64 20 6f 66 20 66 69 6c 65 00 00 00 00 | e............End of file....
#29179 1342961418.00000 DESTROY: Net::SFTP::Foreign::FileHandle=GLOB(0x8646508)->DESTROY called (sftp: Net::SFTP::Foreign=HASH(0x81ab918))
#29179 1342961418.00000 _queue_msg: queueing msg len: 13, code:4, id:6 ... [1]
#29179 1342961418.00000 _get_msg: waiting for message... [1]
#29179 1342961418.00000 _get_msg: got it!, len:24, code:101, id:6, status: 0
65 00 00 00 06 00 00 00 00 00 00 00 07 53 75 63 63 65 73 73 00 00 00 00 | e............Success....
#29179 1342961418.00000 _close: closing file handle, return: 1, rid:
00 00 00 00 | ....
#29179 1342961418.00000 DESTROY: Net::SFTP::Foreign=HASH(0x81ab918)->DESTROY called (current pid: 29179, disconnect_by_pid: )
#29179 1342961418.00000 disconnect: Net::SFTP::Foreign=HASH(0x81ab918)->disconnect called (ssh pid: 29182)
Killed by signal 15.
This e-mail message is intended for the recipient only and contains information which is CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have received this transmission in error, please inform us by e-mail, phone or fax, and then delete the original and all copies thereof.
Message body is not shown because it is too large.