cmon unable to start garbd on remote host
After installing garbd via install-garbd.sh I see continued attempts in cmon.log to start garbd on the external host, not sure why it fails but it does
May 19 11:42:15 : (INFO) Command ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -oNumberOfPasswordPrompts=0 -oConnectTimeout=10 -oIdentityFile=/root/.ssh/id_rsa -p22 root@10.137.31.32 " nohup nice /usr/bin/garbd -l /var/log/garbd.log -a gcomm://10.137.31.31:4567 -g my_wsrep_cluster -d" returned 65280 (cmd failed) (956, Communication.cpp)
I can run that command from the command line as root without issue and it starts garbd as expected.
on the host garbd is installed on I see the following in /var/log/secure
when install-garb.sh is executed:
May 19 11:32:57 mysql2 sshd[17582]: Accepted publickey for root from 10.137.31.94 port 47749 ssh2
May 19 11:32:57 mysql2 sshd[17582]: pam_unix(sshd:session): session opened for user root by (uid=0)
May 19 11:32:57 mysql2 sshd[17582]: Received disconnect from 10.137.31.94: 11: disconnected by user
May 19 11:32:57 mysql2 sshd[17582]: pam_unix(sshd:session): session closed for user root
when cmon tries to start garbd:
May 19 11:32:58 mysql2 sshd[17590]: Connection closed by 10.137.31.94
May 19 11:33:28 mysql2 sshd[17597]: Connection closed by 10.137.31.94
May 19 11:33:28 mysql2 sshd[17599]: Connection closed by 10.137.31.94
May 19 11:33:30 mysql2 sshd[17601]: Connection closed by 10.137.31.94
May 19 11:33:32 mysql2 sshd[17603]: Connection closed by 10.137.31.94
May 19 11:33:34 mysql2 sshd[17605]: Connection closed by 10.137.31.94
May 19 11:33:36 mysql2 sshd[17607]: Connection closed by 10.137.31.94
install-garbd.sh was modified to add -l /var/log/garbd.log, the above process was attempted without modifications with the same result
-
Hi Ron,
What happens if you do, from the controller:
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -oNumberOfPasswordPrompts=0 -oConnectTimeout=10 -oIdentityFile=/root/.ssh/id_rsa -p22 root@10.137.31.32 "ls -al /usr"Best regards
Johan -
John:
Works as expect.
# ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -oNumberOfPasswordPrompts=0 -oConnectTimeout=10 -oIdentityFile=/root/.ssh/id_rsa -p22 root@10.137.31.32 "ls -al /usr"
Warning: Permanently added '10.137.31.32' (RSA) to the list of known hosts.
total 88
drwxr-xr-x. 13 root root 4096 May 17 22:11 .
dr-xr-xr-x. 22 root root 4096 May 18 13:43 ..
dr-xr-xr-x. 2 root root 20480 May 19 09:00 bin
drwxr-xr-x. 2 root root 4096 Jul 20 2011 etc
drwxr-xr-x. 2 root root 4096 Jul 20 2011 games
drwxr-xr-x. 5 root root 4096 May 17 22:13 include
dr-xr-xr-x. 9 root root 4096 May 18 09:32 lib
dr-xr-xr-x. 29 root root 20480 May 19 08:53 lib64
drwxr-xr-x. 10 root root 4096 May 18 09:32 libexec
drwxr-xr-x. 12 root root 4096 May 17 22:11 local
dr-xr-xr-x. 2 root root 4096 May 19 09:00 sbin
drwxr-xr-x. 69 root root 4096 May 19 08:53 share
drwxr-xr-x. 4 root root 4096 May 17 22:11 src
lrwxrwxrwx. 1 root root 10 May 17 22:11 tmp -> ../var/tmp
Please sign in to leave a comment.
Comments
7 comments