[Pdx-pm] Net::SSH::Perl

Robby Russell robbyrussell at pdxlug.org
Thu Jan 29 14:45:22 CST 2004


Austin Schutz typed this on 01/29/2004 12:15 PM:

>>
> 
> 
> 	Try using truss/strace to figure out what it is trying to open.
> On linux this would be:
> 
> strace -o script.out -f script
> 
> 	then grep open script.out. Maybe there's some odd permissions problem.

 From the readkey area of the output:

24548 
open("/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Term/ReadKey/ReadKey.so", 
O_RDONLY) = 5
24548 read(5, 
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\32"..., 512) = 512
24548 fstat64(5, {st_mode=S_IFREG|0555, st_size=121252, ...}) = 0
24548 old_mmap(NULL, 38200, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 
0x40612000
24548 old_mmap(0x4061b000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED, 5, 0x8000) = 0x4061b000
24548 close(5)                          = 0
24548 brk(0)                            = 0x85a0000
24548 brk(0x85a1000)                    = 0x85a1000
24548 brk(0)                            = 0x85a1000
24548 brk(0x85a2000)                    = 0x85a2000
24548 brk(0)                            = 0x85a2000
24548 brk(0x85a3000)                    = 0x85a3000
24548 ioctl(0, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
24548 ioctl(0, SNDCTL_TMR_START, {B38400 opost isig icanon -echo ...}) = 0
24548 ioctl(0, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon -echo 
...}) = 0
24548 brk(0)                            = 0x85a3000
24548 brk(0x85a4000)                    = 0x85a4000
24548 write(1, "Password: ", 10)        = 10



More information about the Pdx-pm-list mailing list