Hi,<br><br>Urgent - Please can anyone help...?<br><br>Don't know why some of my emails don't get through to the list...trying with new subject...:-o !<br><br>I still haven't gotten this to work...:<br>---1---.cloginrc<br>
-bash-3.2$ cat .cloginrc<br>add method * ssh<br>add user * USER<br>
add identity * /COMPANY/site_home/USER/.ssh/<div id=":1at">id_rsa<br>add password HOSTNAME {PASSWORD} {PASSWORD}<br>---1---<br>---2---just standard output<div class="im"><br>-bash-3.2$ /usr/libexec/rancid/hlogin -c "sh ver" HOSTNAME<br>
</div>HOSTNAME<br>
spawn hpuifilter -- ssh -i PATH_TO/.ssh/id_rsa -c 3des -x -l test HOSTNAME<div class="im"><br>We'd like to keep you up to date about:<br> * Software feature updates<br> * New product announcements<br> * Special events<br>
<br>Please register your products now at: <a href="http://www.procurve.com/" target="_blank">www.ProCurve.com</a><br>
<br><br></div><div class="im">ProCurve J8697A Switch 5406zl<br>Software revision K.15.02.0005<br><br>Copyright (C) 1991-2010 Hewlett-Packard Co. All Rights Reserved.<br><br> RESTRICTED RIGHTS LEGEND<br>
<br> Use, duplication, or disclosure by the Government is subject to restrictions<br>
as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and<br> Computer Software clause at 52.227-7013.<br><br> HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303<br><br></div>Press any key to continueHOSTNAME#...I PRESS <ENTER> HERE...<br>
<br>Error: TIMEOUT reached<br>---2---<br>---3---strace output<br>("/usr/libexec/rancid/hlogin", ["/usr/libexec/rancid/hlogin", "-c", "sh ver", "HOSTNAME"], [/* 18 vars */]) = 0<br>
brk(0) = 0x145bd000<br>mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac42984f000<br>mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac429850000<br>
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)<br>open("/etc/ld.so.cache", O_RDONLY) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=32295, ...}) = 0<br>mmap(NULL, 32295, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ac429851000<br>
close(3) = 0<br>open("/lib64/tls/x86_64/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat("/lib64/tls/x86_64", 0x7fff824f3880) = -1 ENOENT (No such file or directory)<br>
open("/lib64/tls/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat("/lib64/tls", 0x7fff824f3880) = -1 ENOENT (No such file or directory)<br>
open("/lib64/x86_64/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat("/lib64/x86_64", 0x7fff824f3880) = -1 ENOENT (No such file or directory)<br>
open("/lib64/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat("/lib64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>
open("/usr/lib64/tls/x86_64/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>
stat("/usr/lib64/tls/x86_64", 0x7fff824f3880) = -1 ENOENT (No such file or directory)<br>open("/usr/lib64/tls/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>
stat("/usr/lib64/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>open("/usr/lib64/x86_64/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>
stat("/usr/lib64/x86_64", 0x7fff824f3880) = -1 ENOENT (No such file or directory)<br>open("/usr/lib64/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = 3<br>read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\266@w6\0\0\0"..., 832) = 832<br>
fstat(3, {st_mode=S_IFREG|0755, st_size=180608, ...}) = 0<br>mmap(0x3677400000, 2287968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3677400000<br>mprotect(0x3677429000, 2097152, PROT_NONE) = 0<br>mmap(0x3677629000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x29000) = 0x3677629000<br>
mmap(0x367762c000, 10592, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x367762c000<br>close(3) = 0<br>open("/usr/lib64/<a href="http://libtcl8.4.so/" target="_blank">libtcl8.4.so</a>", O_RDONLY) = 3<br>
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\22bZ?\0\0\0"..., 832) = 832<br>fstat(3, {st_mode=S_IFREG|0755, st_size=805656, ...}) = 0<br>mmap(0x3f5a600000, 2903528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3f5a600000<br>
mprotect(0x3f5a6bb000, 2093056, PROT_NONE) = 0<br>mmap(0x3f5a8ba000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xba000) = 0x3f5a8ba000<br>mmap(0x3f5a8c4000, 3560, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3f5a8c4000<br>
close(3) = 0<br>open("/lib64/libdl.so.2", O_RDONLY) = 3<br>read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\240W?\0\0\0"..., 832) = 832<br>fstat(3, {st_mode=S_IFREG|0755, st_size=23360, ...}) = 0<br>
mmap(0x3f57a00000, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3f57a00000<br>mprotect(0x3f57a02000, 2097152, PROT_NONE) = 0<br>mmap(0x3f57c02000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x3f57c02000<br>
close(3) = 0<br>open("/lib64/libpthread.so.0", O_RDONLY) = 3<br>read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240W\340W?\0\0\0"..., 832) = 832<br>fstat(3, {st_mode=S_IFREG|0755, st_size=145824, ...}) = 0<br>
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac429859000<br>mmap(0x3f57e00000, 2204528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3f57e00000<br>mprotect(0x3f57e16000, 2093056, PROT_NONE) = 0<br>
mmap(0x3f58015000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x3f58015000<br>mmap(0x3f58017000, 13168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3f58017000<br>
close(3) = 0<br>open("/lib64/libm.so.6", O_RDONLY) = 3<br>read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`>\240X?\0\0\0"..., 832) = 832<br>fstat(3, {st_mode=S_IFREG|0755, st_size=615136, ...}) = 0<br>
mmap(0x3f58a00000, 2629848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3f58a00000<br>mprotect(0x3f58a82000, 2093056, PROT_NONE) = 0<br>mmap(0x3f58c81000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x81000) = 0x3f58c81000<br>
close(3) = 0<br>open("/lib64/libutil.so.1", O_RDONLY) = 3<br>read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\16\340Z?\0\0\0"..., 832) = 832<br>fstat(3, {st_mode=S_IFREG|0755, st_size=18152, ...}) = 0<br>
mmap(0x3f5ae00000, 2105616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3f5ae00000<br>mprotect(0x3f5ae02000, 2093056, PROT_NONE) = 0<br>mmap(0x3f5b001000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x3f5b001000<br>
close(3) = 0<br>open("/lib64/libc.so.6", O_RDONLY) = 3<br>read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\332aW?\0\0\0"..., 832) = 832<br>fstat(3, {st_mode=S_IFREG|0755, st_size=1722304, ...}) = 0<br>
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac42985a000<br>mmap(0x3f57600000, 3502424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3f57600000<br>mprotect(0x3f5774e000, 2097152, PROT_NONE) = 0<br>
mmap(0x3f5794e000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14e000) = 0x3f5794e000<br>mmap(0x3f57953000, 16728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3f57953000<br>
close(3) = 0<br>mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac42985b000<br>arch_prctl(ARCH_SET_FS, 0x2ac42985b790) = 0<br>mprotect(0x3f57c02000, 4096, PROT_READ) = 0<br>
mprotect(0x3f58015000, 4096, PROT_READ) = 0<br>mprotect(0x3f58c81000, 4096, PROT_READ) = 0<br>mprotect(0x3f5b001000, 4096, PROT_READ) = 0<br>mprotect(0x3f5794e000, 16384, PROT_READ) = 0<br>mprotect(0x3f5741c000, 4096, PROT_READ) = 0<br>
munmap(0x2ac429851000, 32295) = 0<br>set_tid_address(0x2ac42985b820) = 6256<br>set_robust_list(0x2ac42985b830, 0x18) = 0<br>futex(0x7fff824f43cc, FUTEX_WAKE_PRIVATE, 1) = 0<br>rt_sigaction(SIGRTMIN, {0x3f57e05380, [], SA_RESTORER|SA_SIGINFO, 0x3f57e0eb70}, NULL, 8) = 0<br>
rt_sigaction(SIGRT_1, {0x3f57e052b0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x3f57e0eb70}, NULL, 8) = 0<br>rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0<br>getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0<br>
lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)<br>lseek(1, 0, SEEK_CUR) = 0<br>lseek(2, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)<br>rt_sigaction(SIGPIPE, {0x1, [PIPE], SA_RESTORER|SA_RESTART, 0x3f576302d0}, {SIG_DFL, [], 0}, 8) = 0<br>
brk(0) = 0x145bd000<br>brk(0x145de000) = 0x145de000<br>mmap(NULL, 10489856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, -1, 0) = 0x40e28000<br>mprotect(0x40e28000, 4096, PROT_NONE) = 0<br>
clone(child_stack=0x41828250, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLON7<br>futex(0x145c1924, FUTEX_WAIT_PRIVATE, 1, NULL) = 0<br>futex(0x145bdb30, FUTEX_WAIT_PRIVATE, 2, NULL) = 0<br>
futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>uname({sys="Linux", node="LINUXBOX", ...}) = 0<br>open("/usr/lib/locale/locale-archive", O_RDONLY) = 5<br>fstat(5, {st_mode=S_IFREG|0644, st_size=56459024, ...}) = 0<br>
mmap(NULL, 56459024, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aaaaaaab000<br>close(5) = 0<br>lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>lstat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0<br>
lstat("/usr/lib/tcl8.4", {st_mode=S_IFLNK|0777, st_size=17, ...}) = 0<br>readlink("/usr/lib/tcl8.4", "/usr/share/tcl8.4"..., 4096) = 17<br>lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>
lstat("/usr/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>lstat("/usr/share/tcl8.4", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>lstat("/usr/share/tcl8.4/encoding", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>
open("/usr/share/tcl8.4/encoding/iso8859-1.enc", O_RDONLY) = 5<br>fcntl(5, F_SETFD, FD_CLOEXEC) = 0<br>ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff824f39b0) = -1 ENOTTY (Inappropriate ioctl for device)<br>
brk(0x14600000) = 0x14600000<br>read(5, "# Encoding file: iso8859-1, sing"..., 4096) = 1094<br>read(5, "", 4096) = 0<br>close(5) = 0<br>
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>lstat("/usr/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>lstat("/usr/share/tcl8.4", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>
access("/usr/share/tcl8.4/init.tcl", F_OK) = 0<br>stat("/usr/share/tcl8.4/init.tcl", {st_mode=S_IFREG|0644, st_size=22674, ...}) = 0<br>open("/usr/share/tcl8.4/init.tcl", O_RDONLY) = 5<br>fcntl(5, F_SETFD, FD_CLOEXEC) = 0<br>
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff824f2fe0) = -1 ENOTTY (Inappropriate ioctl for device)<br>read(5, "# init.tcl --\n#\n# Default system"..., 4096) = 4096<br>read(5, " the following steps to make the"..., 4096) = 4096<br>
read(5, "in \\\"unknown\\\"\" {} \\\n\t\t\t[list CO"..., 4096) = 4096<br>read(5, "guments: \n# None.\n\nproc auto_loa"..., 4096) = 4096<br>read(5, " namespace eval :: "..., 4096) = 4096<br>
read(5, " give a more precise\n\t# error me"..., 4096) = 2194<br>read(5, "", 4096) = 0<br>close(5) = 0<br>brk(0x14624000) = 0x14624000<br>
open("/dev/tty", O_RDWR) = 5<br>ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>ioctl(5, TIOCGWINSZ, {ws_row=33, ws_col=145, ws_xpixel=0, ws_ypixel=0}) = 0<br>
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff824f42a0) = -1 ENOTTY (Inappropriate ioctl for device)<br>ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)<br>
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>lseek(1, 0, SEEK_CUR) = 0<br>ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff824f4120) = -1 ENOTTY (Inappropriate ioctl for device)<br>
getsockname(1, 0x7fff824f41f0, [16]) = -1 ENOTSOCK (Socket operation on non-socket)<br>lseek(2, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)<br>ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>fcntl(0, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)<br>fcntl(0, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0<br>fcntl(0, F_GETFL) = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)<br>
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>fcntl(2, F_GETFL) = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)<br>fcntl(2, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0<br>
fcntl(2, F_GETFL) = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)<br>fcntl(5, F_SETFD, FD_CLOEXEC) = 0<br>fcntl(5, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)<br>fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0<br>
fcntl(5, F_GETFL) = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)<br>rt_sigaction(SIGINT, {0x367741a760, [INT], SA_RESTORER|SA_RESTART, 0x3f576302d0}, {SIG_DFL, [], 0}, 8) = 0<br>rt_sigaction(SIGTERM, {0x367741a760, [TERM], SA_RESTORER|SA_RESTART, 0x3f576302d0}, {SIG_DFL, [], 0}, 8) = 0<br>
open("/usr/lib/expect5.43/expect.rc", O_RDONLY) = -1 ENOENT (No such file or directory)<br>open("/COMPANY/site_home/USER/.expect.rc", O_RDONLY) = -1 ENOENT (No such file or directory)<br>lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>
lstat("/usr/libexec", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>lstat("/usr/libexec/rancid", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>stat("/usr/libexec/rancid/hlogin", {st_mode=S_IFREG|0755, st_size=22702, ...}) = 0<br>
open("/usr/libexec/rancid/hlogin", O_RDONLY) = 6<br>fcntl(6, F_SETFD, FD_CLOEXEC) = 0<br>ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff824f4020) = -1 ENOTTY (Inappropriate ioctl for device)<br>read(6, "#! /usr/bin/expect --\n##\n## $Id:"..., 4096) = 4096<br>
read(6, " # This uses \"id\" which I think "..., 4096) = 4096<br>read(6, "# This is a helper function to m"..., 4096) = 4096<br>read(6, ";\n\t if !$progs {\n\t\tsend_user "..., 4096) = 4096<br>
read(6, "\t\t\t\t\t catch {send \" \"};\n\t\t\t\t\t "..., 4096) = 4096<br>brk(0x1464c000) = 0x1464c000<br>brk(0x14648000) = 0x14648000<br>read(6, "ompt\" == \"\" } {\n\tset p_prompt \"("..., 4096) = 2222<br>
read(6, "", 4096) = 0<br>close(6) = 0<br>lstat("/COMPANY", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0<br>lstat("/COMPANY/site_home", {st_mode=S_IFDIR|0755, st_size=118784, ...}) = 0<br>
lstat("/COMPANY/site_home/USER", {st_mode=S_IFDIR|S_ISGID|0750, st_size=4096, ...}) = 0<br>access("/COMPANY/site_home/USER/.cloginrc", F_OK) = 0<br>stat("/COMPANY/site_home/USER/.cloginrc", {st_mode=S_IFREG|0600, st_size=130, ...}) = 0<br>
stat("/COMPANY/site_home/USER/.cloginrc", {st_mode=S_IFREG|0600, st_size=130, ...}) = 0<br>open("/COMPANY/site_home/USER/.cloginrc", O_RDONLY) = 6<br>fcntl(6, F_SETFD, FD_CLOEXEC) = 0<br>ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff824f30f0) = -1 ENOTTY (Inappropriate ioctl for device)<br>
read(6, "add method * ssh\nadd user * test"..., 4096) = 130<br>read(6, "", 4096) = 0<br>close(6) = 0<br>brk(0x1466c000) = 0x1466c000<br>
write(1, "HOSTNAME\n", 9) = 9<br>brk(0x14690000) = 0x14690000<br>write(1, "spawn", 5) = 5<br>write(1, " ", 1) = 1<br>
write(1, "hpuifilter", 10) = 10<br>write(1, " ", 1) = 1<br>write(1, "--", 2) = 2<br>write(1, " ", 1) = 1<br>
write(1, "ssh", 3) = 3<br>write(1, " ", 1) = 1<br>write(1, "-i", 2) = 2<br>write(1, " ", 1) = 1<br>
write(1, "/COMPANY/site_home/USER/.ssh"..., 39) = 39<br>write(1, " ", 1) = 1<br>write(1, "-c", 2) = 2<br>write(1, " ", 1) = 1<br>
write(1, "3des", 4) = 4<br>write(1, " ", 1) = 1<br>write(1, "-x", 2) = 2<br>write(1, " ", 1) = 1<br>
write(1, "-l", 2) = 2<br>write(1, " ", 1) = 1<br>write(1, "test", 4) = 4<br>write(1, " ", 1) = 1<br>
write(1, "HOSTNAME", 8) = 8<br>write(1, "\r\n", 2) = 2<br>open("/dev/ptmx", O_RDWR) = 6<br>statfs("/dev/pts",
{f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0,
f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen0<br>
ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>ioctl(6, TIOCGPTN, [3]) = 0<br>stat("/dev/pts/3", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0<br>
statfs("/dev/pts/3", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096,
f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0},
f_namel0<br>ioctl(6, TIOCSPTLCK, [0]) = 0<br>ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>
ioctl(6, TIOCGPTN, [3]) = 0<br>stat("/dev/pts/3", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0<br>open("/dev/pts/3", O_RDWR|O_NOCTTY) = 7<br>ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>
readlink("/proc/self/fd/7", "/dev/pts/3"..., 4095) = 10<br>close(7) = 0<br>fcntl(6, F_SETFD, FD_CLOEXEC) = 0<br>pipe([7, 8]) = 0<br>
pipe([9, 10]) = 0<br>
pipe([11, 12]) = 0<br>clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2ac42985b820) = 6258<br>close(8) = 0<br>close(9) = 0<br>
close(12) = 0<br>fcntl(6, F_SETFD, FD_CLOEXEC) = 0<br>fcntl(6, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)<br>fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0<br>
fcntl(6, F_GETFL) = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)<br>read(7, " ", 1) = 1<br>write(10, " ", 1) = 1<br>close(7) = 0<br>
close(10) = 0<br>read(11, "", 4) = 0<br>close(11) = 0<br>clock_gettime(CLOCK_REALTIME, {1327052097, 956733000}) = 0<br>futex(0x14673f44, FUTEX_WAIT_PRIVATE, 1, {0, 299932000}) = -1 ETIMEDOUT (Connection timed out)<br>
futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>brk(0x146b4000) = 0x146b4000<br>brk(0x146d8000) = 0x146d8000<br>brk(0x146fa000) = 0x146fa000<br>brk(0x146f4000) = 0x146f4000<br>
write(4, "\0", 1) = 1<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>clock_gettime(CLOCK_REALTIME, {1327052098, 261705000}) = 0<br>futex(0x14673f44, FUTEX_WAIT_PRIVATE, 3, {44, 999845000}) = 0<br>
futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>read(6, "We'd like to keep you up to date"..., 4096) = 42<br>write(1, "We'd like to keep you up to date"..., 42) = 42<br>write(4, "\0", 1) = 1<br>
futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>clock_gettime(CLOCK_REALTIME, {1327052099, 489667000}) = 0<br>futex(0x14673f44, FUTEX_WAIT_PRIVATE, 5, {43, 999847000}) = 0<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>
read(6, " * Software feature updates\r\r\n", 4096) = 31<br>write(1, " * Software feature updates\r\r\n", 31) = 31<br>brk(0x14716000) = 0x14716000<br>brk(0x14704000) = 0x14704000<br>
write(4, "\0", 1) = 1<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>clock_gettime(CLOCK_REALTIME, {1327052099, 490805000}) = 0<br>futex(0x14673f44, FUTEX_WAIT_PRIVATE, 7, {43, 999849000}) = 0<br>
futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>read(6, " * New product announcements\r\r\n", 4096) = 32<br>write(1, " * New product announcements\r\r\n", 32) = 32<br>write(4, "\0", 1) = 1<br>
futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>clock_gettime(CLOCK_REALTIME, {1327052099, 491718000}) = 0<br>futex(0x14673f44, FUTEX_WAIT_PRIVATE, 9, {43, 999851000}) = 0<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>
read(6, " * Special events\r\r\n", 4096) = 21<br>write(1, " * Special events\r\r\n", 21) = 21<br>write(4, "\0", 1) = 1<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>
clock_gettime(CLOCK_REALTIME, {1327052099, 492653000}) = 0<br>futex(0x14673f44, FUTEX_WAIT_PRIVATE, 11, {43, 999812000}) = 0<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>read(6, "\r\r\n", 4096) = 3<br>
write(1, "\r\r\n", 3) = 3<br>write(4, "\0", 1) = 1<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>clock_gettime(CLOCK_REALTIME, {1327052099, 493894000}) = 0<br>
futex(0x14673f44, FUTEX_WAIT_PRIVATE, 13, {43, 999803000}) = 0<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>read(6, "Please register your products no"..., 4096) = 58<br>write(1, "Please register your products no"..., 58) = 58<br>
write(4, "\0", 1) = 1<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>clock_gettime(CLOCK_REALTIME, {1327052099, 494800000}) = 0<br>futex(0x14673f44, FUTEX_WAIT_PRIVATE, 15, {43, 999851000}) = 0<br>
futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>read(6, "\r\r\n", 4096) = 3<br>write(1, "\r\r\n", 3) = 3<br>write(4, "\0", 1) = 1<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>
clock_gettime(CLOCK_REALTIME, {1327052099, 495717000}) = 0<br>futex(0x14673f44, FUTEX_WAIT_PRIVATE, 17, {43, 999851000}) = 0<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>read(6, "\r\r\n", 4096) = 3<br>
write(1, "\r\r\n", 3) = 3<br>write(4, "\0", 1) = 1<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>clock_gettime(CLOCK_REALTIME, {1327052099, 496640000}) = 0<br>
futex(0x14673f44, FUTEX_WAIT_PRIVATE, 19, {43, 999851000}) = 0<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>read(6, "ProCurve J8697A Switch 5406zl\r\r\r"..., 4096) = 279<br>write(1, "ProCurve J8697A Switch 5406zl\r\r\r"..., 279) = 279<br>
write(4, "\0", 1) = 1<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>clock_gettime(CLOCK_REALTIME, {1327052099, 750560000}) = 0<br>futex(0x14673f40, FUTEX_WAKE_PRIVATE, 1) = 1<br>futex(0x14673f44, FUTEX_WAIT_PRIVATE, 21, {43, 999800000}) = -1 EAGAIN (Resource temporarily unavailable)<br>
futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>read(6, " as set forth in subdivision (b)"..., 4096) = 204<br>write(1, " as set forth in subdivision (b)"..., 204) = 204<br>write(4, "\0", 1) = 1<br>
futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>clock_gettime(CLOCK_REALTIME, {1327052099, 751914000}) = 0<br>futex(0x14673f44, FUTEX_WAIT_PRIVATE, 23, {43, 999807000}) = 0<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>
read(6, "Press any key to continue", 4096) = 25<br>write(1, "Press any key to continue", 25) = 25<br>write(6, " ", 1) = 1<br>write(4, "\0", 1) = 1<br>
futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>clock_gettime(CLOCK_REALTIME, {1327052099, 950814000}) = 0<br>futex(0x14673f44, FUTEX_WAIT_PRIVATE, 25, {44, 999808000}) = 0<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>
read(6, "HOSTNAME# ", 4096) = 10<br>write(1, "HOSTNAME# ", 10) = 10<br>write(4, "\0", 1) = 1<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>
clock_gettime(CLOCK_REALTIME, {1327052099, 969335000}) = 0<br>futex(0x14673f44, FUTEX_WAIT_PRIVATE, 27, {44, 999848000}<br>) = -1 ETIMEDOUT (Connection timed out)<br>write(4, "\0", 1) = 1<br>
futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>write(1, "\nError: TIMEOUT reached\n", 24) = 24<br>fcntl(6, F_GETFL) = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)<br>fcntl(6, F_SETFL, O_RDWR|O_LARGEFILE) = 0<br>
fcntl(6, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)<br>write(6, "", 0) = 0<br>rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0<br>rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0<br>
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>nanosleep({1, 0}, {1, 0}) = 0<br>close(6) = 0<br>open("/dev/null", O_RDONLY) = 6<br>fcntl(6, F_SETFD, FD_CLOEXEC) = 0<br>
wait4(6258, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6258<br>ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>fcntl(5, F_GETFL) = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)<br>
fcntl(5, F_SETFL, O_RDWR|O_LARGEFILE) = 0<br>fcntl(5, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)<br>close(5) = 0<br>open("/dev/null", O_RDONLY) = 5<br>
fcntl(5, F_SETFD, FD_CLOEXEC) = 0<br>fcntl(2, F_GETFL) = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)<br>fcntl(2, F_SETFL, O_RDWR|O_LARGEFILE) = 0<br>fcntl(2, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)<br>
close(2) = 0<br>open("/dev/null", O_RDONLY) = 2<br>fcntl(2, F_SETFD, FD_CLOEXEC) = 0<br>fcntl(0, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)<br>
fcntl(0, F_SETFL, O_RDWR|O_LARGEFILE) = 0<br>fcntl(0, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)<br>write(1, "", 0) = 0<br>rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0<br>
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0<br>rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>nanosleep({1, 0}, {1, 0}) = 0<br>close(0) = 0<br>close(1) = 0<br>
open("/dev/null", O_RDONLY) = 0<br>fcntl(0, F_SETFD, FD_CLOEXEC) = 0<br>fcntl(6, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)<br>fcntl(6, F_SETFL, O_RDONLY|O_LARGEFILE) = 0<br>
fcntl(6, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)<br>write(6, "", 0) = -1 EBADF (Bad file descriptor)<br>close(6) = 0<br>write(4, "q", 1) = 1<br>
close(4) = 0<br>futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 1<br>futex(0x145c1920, FUTEX_WAKE_PRIVATE, 1) = 1<br>futex(0x145c1924, FUTEX_WAIT_PRIVATE, 3, NULL) = -1 EAGAIN (Resource temporarily unavailable)<br>
futex(0x145bdb30, FUTEX_WAKE_PRIVATE, 1) = 0<br>exit_group(1) = ?<br>---3---<br><br>It seems to complain about some files missing, but maybe this is not the root-cause...?:<br>access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)<br>
open("/lib64/tls/x86_64/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat("/lib64/tls/x86_64", 0x7fff824f3880) = -1 ENOENT (No such file or directory)<br>
open("/lib64/tls/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat("/lib64/tls", 0x7fff824f3880) = -1 ENOENT (No such file or directory)<br>
open("/lib64/x86_64/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat("/lib64/x86_64", 0x7fff824f3880) = -1 ENOENT (No such file or directory)<br>
open("/lib64/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>open("/usr/lib64/tls/x86_64/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>
stat("/usr/lib64/tls/x86_64", 0x7fff824f3880) = -1 ENOENT (No such file or directory)<br>open("/usr/lib64/tls/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>
open("/usr/lib64/x86_64/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>stat("/usr/lib64/x86_64", 0x7fff824f3880) = -1 ENOENT (No such file or directory)<br>
open("/usr/lib/expect5.43/expect.rc", O_RDONLY) = -1 ENOENT (No such file or directory)<br>open("/COMPANY/site_home/USER/.expect.rc", O_RDONLY) = -1 ENOENT (No such file or directory)<br><br>-bash-3.2$ locate expect<br>
/usr/bin/autoexpect<br>/usr/bin/expect<br>/usr/lib/expect5.43<br>/usr/lib/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a><br>/usr/lib/expect5.43/cat-buffers<br>/usr/lib/expect5.43/pkgIndex.tcl<br>
/usr/lib64/expect5.43<br>
/usr/lib64/<a href="http://libexpect5.43.so/" target="_blank">libexpect5.43.so</a><br>/usr/lib64/expect5.43/cat-buffers<br>/usr/lib64/expect5.43/pkgIndex.tcl<br>/usr/share/man/man1/autoexpect.1.gz<br>/usr/share/man/man1/expect.1.gz<br>
/usr/share/man/overrides/man1/expect.1.gz<br>
/usr/share/vim/vim70/syntax/expect.vim<br><br>Just installed rancid from yum on RHEL5.7 64 bit - what could I have done wrong... ?<br><br><br>1. .cloginrc identity still asks for password when remove the "add password" line:<br>
Any surgestions to how I can troubleshoot this further ?<br><br>2. hlogin is timeing out when running "/usr/libexec/rancid/hlogin -c "sh ver" HOSTNAME":<br>Any surgestions to how I can troubleshoot this further ?<br>
<br>Any help is very welcome, as we need to configure snmp+smtp traps+backup of 100+ devices very soon.<br><br>Thanks in advance :-) !<br><br><br>Br.<br>~maymann<br></div>