[cssh-users] Solaris 10: ccsh does not work
Status: Beta
Brought to you by:
snafux
From: Cristina V. <cva...@co...> - 2014-10-08 10:15:18
|
Hi All, I have been testing cssh with Solaris 10 Sparc. I have installed the CSWclusterssh package and all dependencies but cssh is not working: # cssh -l user remote_machine_IP A terminal in the remote machine is opened and I am prompted to enter the password, but as soon as I do it, this terminal shows an error like: Error: [error:00000000:lib(0):func(0):reason(0)] and the terminal closes. Here you have my .csshrc file (I have only changed the terminal entry): ================================================= [root@localmachine:~]# cat .csshrc auto_quit=yes command= comms=ssh console_position= extra_cluster_file= history_height=10 history_width=40 key_addhost=Control-Shift-plus key_clientname=Alt-n key_history=Alt-h key_paste=Control-v key_quit=Control-q key_retilehosts=Alt-r max_addhost_menu_cluster_items=6 max_host_menu_items=30 menu_host_autotearoff=0 menu_send_autotearoff=0 method=ssh mouse_paste=Button-2 rsh_args= screen_reserve_bottom=60 screen_reserve_left=0 screen_reserve_right=0 screen_reserve_top=0 send_menu_xml_file=/root/.csshrc_send_menu show_history=0 ssh=/usr/bin/ssh ssh_args=-x -o ConnectTimeout=10 telnet_args= terminal=/usr/openwin/bin/xterm ##terminal= ##terminal=/usr/dt/bin/dtterm terminal_allow_send_events=-xrm '*.VT100.allowSendEvents:true' terminal_args= terminal_bg_style=dark terminal_colorize=1 terminal_decoration_height=10 terminal_decoration_width=8 terminal_font=6x13 terminal_reserve_bottom=0 terminal_reserve_left=5 terminal_reserve_right=0 terminal_reserve_top=5 terminal_size=80x24 terminal_title_opt=-T title=CSSH unmap_on_redraw=no use_hotkeys=yes window_tiling=yes window_tiling_direction=right ================================================ And the debug output when executing the command: [root@localmachine:~]# cssh --debug 4 remote_machine_Ip 11:34:53: VERSION: 3.28 11:34:53: Reading in from config file /etc/opt/csw/csshrc 11:34:53: Reading in from config file /root/.csshrc 11:34:53: auto_quit=yes 11:34:53: command= 11:34:53: comms=ssh 11:34:53: console_position= 11:34:53: extra_cluster_file= 11:34:53: history_height=10 11:34:53: history_width=40 11:34:53: key_addhost=Control-Shift-plus 11:34:53: key_clientname=Alt-n 11:34:53: key_history=Alt-h 11:34:53: key_paste=Control-v 11:34:53: key_quit=Control-q 11:34:53: key_retilehosts=Alt-r 11:34:53: max_addhost_menu_cluster_items=6 11:34:53: max_host_menu_items=30 11:34:53: menu_host_autotearoff=0 11:34:53: menu_send_autotearoff=0 11:34:53: method=ssh 11:34:53: mouse_paste=Button-2 11:34:53: rsh_args= 11:34:53: screen_reserve_bottom=60 11:34:53: screen_reserve_left=0 11:34:53: screen_reserve_right=0 11:34:53: screen_reserve_top=0 11:34:53: send_menu_xml_file=/root/.csshrc_send_menu 11:34:53: show_history=0 11:34:53: ssh=/usr/bin/ssh.audit 11:34:53: ssh_args=-x -o ConnectTimeout=10 11:34:53: telnet_args= 11:34:53: terminal=/usr/openwin/bin/xterm 11:34:53: terminal_allow_send_events=-xrm '*.VT100.allowSendEvents:true' 11:34:53: terminal_args= 11:34:53: terminal_bg_style=dark 11:34:53: terminal_colorize=1 11:34:53: terminal_decoration_height=10 11:34:53: terminal_decoration_width=8 11:34:53: terminal_font=6x13 11:34:53: terminal_reserve_bottom=0 11:34:53: terminal_reserve_left=5 11:34:53: terminal_reserve_right=0 11:34:53: terminal_reserve_top=5 11:34:53: terminal_size=80x24 11:34:53: terminal_title_opt=-T 11:34:53: title=CSSH 11:34:53: unmap_on_redraw=no 11:34:53: use_hotkeys=yes 11:34:53: window_tiling=yes 11:34:53: window_tiling_direction=right 11:34:53: Checking path to xterm 11:34:53: Looking for /usr/openwin/bin/xterm 11:34:53: Already configured OK 11:34:53: Checking path to ssh 11:34:53: Looking for /usr/bin/ssh.audit 11:34:53: Already configured OK 11:34:53: Fetching font size 11:34:53: Done with font size 11:34:53: No hostnames parsed from user ssh config file 11:34:53: Loading keymaps and keycodes 11:34:53: Unknown keycode 269025042 11:34:53: Unknown keycode 269025042 11:34:53: Unknown keycode 269025041 11:34:53: Unknown keycode 269025041 11:34:53: Unknown keycode 269025043 11:34:53: Unknown keycode 269025043 11:34:53: Unknown keycode 269025066 11:34:53: Unknown keycode 269025066 11:34:53: Unknown keycode 269025098 11:34:53: Unknown keycode 269025098 11:34:53: Unknown keycode 268828528 11:34:53: Unknown keycode 268828528 11:34:53: Unknown keycode 268828529 11:34:53: Unknown keycode 268828529 11:34:53: Unknown keycode 269025111 11:34:53: Unknown keycode 269025111 11:34:53: Unknown keycode 268828531 11:34:53: Unknown keycode 268828531 11:34:53: Unknown keycode 269025133 11:34:53: Unknown keycode 269025133 11:34:53: Unknown keycode 269025112 11:34:53: Unknown keycode 269025112 11:34:53: Unknown keycode 269025125 11:34:53: Unknown keycode 269025125 11:34:53: Unknown keycode 269025053 11:34:53: Unknown keycode 269025053 11:34:53: Unknown keycode 269025071 11:34:53: Unknown keycode 269025071 11:34:53: Unknown keycode 269025067 11:34:53: Unknown keycode 269025067 11:34:53: Unknown keycode 269025117 11:34:53: Unknown keycode 269025117 11:34:53: Unknown keycode 269025147 11:34:53: Unknown keycode 269025147 11:34:53: Unknown keycode 269025162 11:34:53: Unknown keycode 269025162 11:34:53: Unknown keycode 269025089 11:34:53: Unknown keycode 269025089 11:34:53: Unknown keycode 269025090 11:34:53: Unknown keycode 269025090 11:34:53: Unknown keycode 269025070 11:34:53: Unknown keycode 269025070 11:34:53: Unknown keycode 269025114 11:34:53: Unknown keycode 269025114 11:34:53: Unknown keycode 269025069 11:34:53: Unknown keycode 269025069 11:34:53: Unknown keycode 269025140 11:34:53: Unknown keycode 269025140 11:34:53: Unknown keycode 269025049 11:34:53: Unknown keycode 269025049 11:34:53: Unknown keycode 269025072 11:34:53: Unknown keycode 269025072 11:34:53: Unknown keycode 269025075 11:34:53: Unknown keycode 269025075 11:34:53: Unknown keycode 269025062 11:34:53: Unknown keycode 269025062 11:34:53: Unknown keycode 269025063 11:34:53: Unknown keycode 269025063 11:34:53: Unknown keycode 269025068 11:34:53: Unknown keycode 269025068 11:34:53: Unknown keycode 269025068 11:34:53: Unknown keycode 269025068 11:34:53: Unknown keycode 269025068 11:34:53: Unknown keycode 269025068 11:34:53: Unknown keycode 269025047 11:34:53: Unknown keycode 269025047 11:34:53: Unknown keycode 269025073 11:34:53: Unknown keycode 269025044 11:34:53: Unknown keycode 269025073 11:34:53: Unknown keycode 269025044 11:34:53: Unknown keycode 269025046 11:34:53: Unknown keycode 269025046 11:34:53: Unknown keycode 269025068 11:34:53: Unknown keycode 269025045 11:34:53: Unknown keycode 269025068 11:34:53: Unknown keycode 269025045 11:34:53: Unknown keycode 269025052 11:34:53: Unknown keycode 269025052 11:34:53: Unknown keycode 269025086 11:34:53: Unknown keycode 269025086 11:34:53: Unknown keycode 269025134 11:34:53: Unknown keycode 269025134 11:34:53: Unknown keycode 269025153 11:34:53: Unknown keycode 269025153 11:34:53: Unknown keycode 269025048 11:34:53: Unknown keycode 269025048 11:34:53: Unknown keycode 269025139 11:34:53: Unknown keycode 269025139 11:34:53: Unknown keycode 269025110 11:34:53: Unknown keycode 269025110 11:34:53: Unknown keycode 269025144 11:34:53: Unknown keycode 269025144 11:34:53: Unknown keycode 269025145 11:34:53: Unknown keycode 269025145 11:34:53: Unknown keycode 269025128 11:34:53: Unknown keycode 269025128 11:34:53: Unknown keycode 269025153 11:34:53: Unknown keycode 269025153 11:34:53: Unknown keycode 269025093 11:34:53: Unknown keycode 269025093 11:34:53: Unknown keycode 269025094 11:34:53: Unknown keycode 269025094 11:34:53: Unknown keycode 269025095 11:34:53: Unknown keycode 269025095 11:34:53: Unknown keycode 269025096 11:34:53: Unknown keycode 269025096 11:34:53: Unknown keycode 269025097 11:34:53: Unknown keycode 269025097 11:34:53: Unknown keycode 269025202 11:34:53: Unknown keycode 269025202 11:34:53: Unknown keycode 269025193 11:34:53: Unknown keycode 269025193 11:34:53: Unknown keycode 269025200 11:34:53: Unknown keycode 269025200 11:34:53: Unknown keycode 269025201 11:34:53: Unknown keycode 269025201 11:34:53: Unknown keycode 269025044 11:34:53: Unknown keycode 269025044 11:34:53: Unknown keycode 269025073 11:34:53: Unknown keycode 269025073 11:34:53: Unknown keycode 269025091 11:34:53: Unknown keycode 269025091 11:34:53: Unknown keycode 269025092 11:34:53: Unknown keycode 269025092 11:34:53: Unknown keycode 269025099 11:34:53: Unknown keycode 269025099 11:34:53: Unknown keycode 269025191 11:34:53: Unknown keycode 269025191 11:34:53: Unknown keycode 269025110 11:34:53: Unknown keycode 269025110 11:34:53: Unknown keycode 269025044 11:34:53: Unknown keycode 269025044 11:34:53: Unknown keycode 269025175 11:34:53: Unknown keycode 269025175 11:34:53: Unknown keycode 269025167 11:34:53: Unknown keycode 269025167 11:34:53: Unknown keycode 269025049 11:34:53: Unknown keycode 269025049 11:34:53: Unknown keycode 269025166 11:34:53: Unknown keycode 269025166 11:34:53: Unknown keycode 269025051 11:34:53: Unknown keycode 269025051 11:34:53: Unknown keycode 269025119 11:34:53: Unknown keycode 269025119 11:34:53: Unknown keycode 269025084 11:34:53: Unknown keycode 269025084 11:34:53: Unknown keycode 269025118 11:34:53: Unknown keycode 269025118 11:34:53: Unknown keycode 269025078 11:34:53: Unknown keycode 269025078 11:34:53: Unknown keycode 269025027 11:34:53: Unknown keycode 269025027 11:34:53: Unknown keycode 269025026 11:34:53: Unknown keycode 269025026 11:34:53: Unknown keycode 269025074 11:34:53: Unknown keycode 269025074 11:34:53: Unknown keycode 269025113 11:34:53: Unknown keycode 269025113 11:34:53: Unknown keycode 269025028 11:34:53: Unknown keycode 269025028 11:34:53: Unknown keycode 269025030 11:34:53: Unknown keycode 269025030 11:34:53: Unknown keycode 269025029 11:34:53: Unknown keycode 269025029 11:34:53: Unknown keycode 269025147 11:34:53: Unknown keycode 269025147 11:34:53: Unknown keycode 269025138 11:34:53: Unknown keycode 269025138 11:34:53: Unknown keycode 269025168 11:34:53: Unknown keycode 269025168 11:34:53: Unknown keycode 269025143 11:34:53: Unknown keycode 269025143 11:34:53: Unknown keycode 269025115 11:34:53: Unknown keycode 269025115 11:34:53: Unknown keycode 269025171 11:34:53: Unknown keycode 269025171 11:34:53: Unknown keycode 269025172 11:34:53: Unknown keycode 269025172 11:34:53: Unknown keycode 269025173 11:34:53: Unknown keycode 269025173 11:34:53: Logging for /etc/clusters 11:34:53: Looking for csshrc 11:34:53: Finished loading clusters 11:34:53: Resolving cluster names: started 11:34:53: Checking tag 10.164.81.24 11:34:53: leaving with 10.164.81.24 11:34:53: Resolving cluster names: completed 11:34:53: create_windows: started 11:34:54: REAPER currently returns: 6461 11:34:54: REAPER currently returns: -1 11:34:55: create_windows: completed 11:34:55: create_menubar: started 11:34:55: Using default send menu 11:34:55: create_menubar: completed 11:34:55: Capture map events 11:34:55: Setting up helper script 11:34:55: my $pipe=shift; my $svr=shift; my $user=shift; my $port=shift; my $command="/usr/bin/ssh.audit -x -o ConnectTimeout=10 "; open(PIPE, ">", $pipe) or die("Failed to open pipe: $!\n"); print PIPE "$$:$ENV{WINDOWID}" or die("Failed to write to pipe: No such file or directory\n"); close(PIPE) or die("Failed to close pipe: No such file or directory\n"); if($svr =~ m/==$/) { $svr =~ s/==$//; warn("\nWARNING: failed to resolve IP address for $svr.\n\n" ); sleep 5; } if($user) { unless("ssh" eq "telnet") { $user = $user ? "-l $user " : ""; $command .= $user; } } if("ssh" eq "telnet") { $command .= "$svr $port"; } else { if ($port) { $command .= "-p $port $svr"; } else { $command .= "$svr"; } } $command .= " || sleep 5"; # warn("Running:$command\n"); # for debug purposes exec($command); 11:34:55: Helper script done 11:34:55: split_hostname: connect_string=10.164.81.24 11:34:55: username=, server=10.164.81.24, port= 11:34:55: Not resolving IP address '10.164.81.24' 11:34:55: Working on server 10.164.81.24 for 10.164.81.24 11:34:55: Set temp name to: /tmp/xhtbfMl0di 11:34:55: Terminal exec line: /usr/openwin/bin/xterm -bg \#000000 -fg \#AABBEE -xrm '*.VT100.allowSendEvents:true' -T 'CSSH: 10.164.81.24' -font 6x13 -e "/opt/csw/bin/perl" "-e" ' my $pipe=shift; my $svr=shift; my $user=shift; my $port=shift; my $command="/usr/bin/ssh.audit -x -o ConnectTimeout=10 "; open(PIPE, ">", $pipe) or die("Failed to open pipe: $!\n"); print PIPE "$$:$ENV{WINDOWID}" or die("Failed to write to pipe: No such file or directory\n"); close(PIPE) or die("Failed to close pipe: No such file or directory\n"); if($svr =~ m/==$/) { $svr =~ s/==$//; warn("\nWARNING: failed to resolve IP address for $svr.\n\n" ); sleep 5; } if($user) { unless("ssh" eq "telnet") { $user = $user ? "-l $user " : ""; $command .= $user; } } if("ssh" eq "telnet") { $command .= "$svr $port"; } else { if ($port) { $command .= "-p $port $svr"; } else { $command .= "$svr"; } } $command .= " || sleep 5"; # warn("Running:$command\n"); # for debug purposes exec($command); ' '/tmp/xhtbfMl0di' '10.164.81.24' '' '' 11:34:55: Performing sysread 11:34:55: Done and closing pipe 11:34:55: All client windows opened 11:34:55: Retiling windows 11:34:55: Count is currently 1 11:34:55: Screen Columns: 5 11:34:55: Screen Rows: 1 11:34:55: Terminal height=959 11:34:55: Dumping config to STDOUT # Configuration dump produced by 'cssh -u' auto_quit=yes command= comms=ssh console_position= extra_cluster_file= history_height=10 history_width=40 internal_activate_autoquit=1 internal_columns=5 internal_font_height=13 internal_font_width=6 internal_previous_state= internal_rows=1 internal_screen_height=1024 internal_screen_width=2646 internal_terminal_cols=80 internal_terminal_height=322 internal_terminal_rows=24 internal_terminal_width=488 internal_total=1 key_addhost=Control-Shift-plus key_clientname=Alt-n key_history=Alt-h key_paste=Control-v key_quit=Control-q key_retilehosts=Alt-r max_addhost_menu_cluster_items=6 max_host_menu_items=30 menu_host_autotearoff=0 menu_send_autotearoff=0 method=ssh mouse_paste=Button-2 rsh_args= screen_reserve_bottom=60 screen_reserve_left=0 screen_reserve_right=0 screen_reserve_top=0 send_menu_xml_file=/root/.csshrc_send_menu show_history=0 ssh=/usr/bin/ssh.audit ssh_args=-x -o ConnectTimeout=10 telnet_args= terminal=/usr/openwin/bin/xterm terminal_allow_send_events=-xrm '*.VT100.allowSendEvents:true' terminal_args= terminal_bg_style=dark terminal_colorize=1 terminal_decoration_height=10 terminal_decoration_width=8 terminal_font=6x13 terminal_reserve_bottom=0 terminal_reserve_left=5 terminal_reserve_right=0 terminal_reserve_top=5 terminal_size=80x24 terminal_title_opt=-T title=CSSH unmap_on_redraw=no use_hotkeys=yes window_tiling=yes window_tiling_direction=right 11:34:55: Tiling top left going bot right 11:34:55: x:5 y:5, r:0 c:0 11:34:55: Moving 10.164.81.24 window 11:34:55: Moving window 85983245 to x:5 y:5 (size x:488 y:322) 11:34:55: Setting focus on 10.164.81.24 11:34:55: Sending console to front 11:34:56: Entering MAP 11:34:56: state=normal previous=mid-change 11:34:56: Entering MAP 11:34:56: dropping out as mid-change 11:34:56: Building hosts menu 11:34:56: Menu deleted 11:34:56: Parsing list 11:34:56: Checking 10.164.81.24 and restoring active value 11:34:56: Changing window title 11:34:56: Done 11:34:56: Sleeping for a mo 11:34:56: Sorting focus on console 11:34:56: Marking main window as user positioned 11:34:56: Setting up repeat 11:34:56: Repeat setup 11:34:56: Writing default user configuration 11:34:56: Starting MainLoop 11:34:56: Entering MAP 11:34:56: state=normal previous=normal 11:34:56: Entering MAP 11:34:56: repeating the same 11:34:56: state=normal previous=normal ==> here I enter the root password >== 11:36:04: REAPER currently returns: 6463 11:36:04: REAPER currently returns: -1 11:36:04: 10.164.81.24 session closed 11:36:04: Autoquitting 11:36:04: Exiting via normal routine 11:36:04: Exiting via normal routine 11:36:04: Exiting via normal routine 11:36:04: Exiting via normal routine 11:36:04: Exiting via normal routine 11:36:04: Exiting via normal routine 11:36:04: Exiting via normal routine 11:36:04: Exiting via normal routine Any help would be really appreciated. best regards -- *Cristina Valderas* | Departamento de Desarrollo de Productos core networks Tel.: +34 91 767 10 65 Mov.: +34 666 594 361 C.E.Parque Norte, Edificio Olmo, Planta 1 Serrano Galvache 56 | 28033, Madrid Fax: +34 91 766 20 20 core facebook <https://www.facebook.com/pages/Core-Networks/150695541723604> core twitter <https://twitter.com/corenetw> core linkedin <http://www.linkedin.com/company/core-networks-sl> -- Segun el Articulo 5 de la L.O.P.D, le informamos que sus datos constan en un fichero titularidad de CORE NETWORKS, S.L., cuya finalidad es la gestion administrativa. Podra ejercer su derecho de acceso, rectificacion, cancelacion y oposicion mediante correo postal a C/ Serrano Galvache, 56, Edificio Olmo, 1 Planta - C.P. 28033 (MADRID), o enviando un correo electronico a in...@co.... |