failed during bootstrap

Comments

20 comments

  • Avatar
    umarzuki

    mysql.log on db server script ran

    192.168.10.10: Executing 'echo password | sudo 2>/dev/null -S  /usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --default-storage-engine=myisam < /tmp/s9s_init.sql' [failed: retrying 1/10]
    [failed: retrying 2/10]
    [failed: retrying 3/10]
    [failed: retrying 4/10]
    [failed: retrying 5/10]
    [failed: retrying 6/10]
    [failed: retrying 7/10]
    [failed: retrying 8/10]
    [failed: retrying 9/10]
    [failed: retrying 10/10]
    [failed]

    $ tail -20 /var/log/mysql.log
    150401 13:32:49 [Note] WSREP: Read nil XID from storage engines, skipping position init
    150401 13:32:49 [Note] WSREP: wsrep_load(): loading provider library 'none'
    150401 13:32:49 [Note] InnoDB: Using mutexes to ref count buffer pool pages
    150401 13:32:49 [Note] InnoDB: The InnoDB memory heap is disabled
    150401 13:32:49 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    150401 13:32:49 [Note] InnoDB: Memory barrier is not used
    150401 13:32:49 [Note] InnoDB: Compressed tables use zlib 1.2.8
    150401 13:32:49 [Note] InnoDB: Using Linux native AIO
    150401 13:32:49 [Note] InnoDB: Using CPU crc32 instructions
    150401 13:32:49 [Note] InnoDB: Initializing buffer pool, size = 70.7G
    150401 13:32:52 [Note] InnoDB: Completed initialization of buffer pool
    150401 13:32:53 [Note] InnoDB: Highest supported file format is Barracuda.
    150401 13:32:54 [Note] InnoDB: 128 rollback segment(s) are active.
    150401 13:32:54 [Note] InnoDB: Waiting for purge to start
    150401 13:32:54 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 1616697
    150401 13:32:54 [Note] WSREP: Service disconnected.
    150401 13:32:55 [Note] WSREP: Some threads may fail to exit.
    150401 13:32:55 [Note] InnoDB: FTS optimize thread exiting.
    150401 13:32:55 [Note] InnoDB: Starting shutdown...
    150401 13:33:01 [Note] InnoDB: Shutdown completed; log sequence number 1616707

    0
    Comment actions Permalink
  • Avatar
    Ashraf Sharif

    Hi,

    Ensure /tmp/s9s_init.sql does exist and also please send the output of following commmand on 192.168.10.10:

    echo password | sudo 2>/dev/null -S  /usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --default-storage-engine=myisam < /tmp/s9s_init.sql

    Please also attach the full deployment log cc.log here in this thread.

    Regards,

    Ashraf

    0
    Comment actions Permalink
  • Avatar
    umarzuki

    there's no /tmp/s9s_init.sql

    there's a delete command ran on cc.lo

     

     

    0
    Comment actions Permalink
  • Avatar
    umarzuki

    my mistake. sql file on /tmp of db server but "echo password | sudo 2>/dev/null -S  /usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --default-storage-engine=myisam < /tmp/s9s_init.sql" returns nothing. Nothing on mysql.log during time I ran it.

    0
    Comment actions Permalink
  • Avatar
    Ashraf Sharif

    Hi,

    Please edit s9s-galera-mariadb-3.5.0/mysql/scripts/install/bootstrap.sh on line 111, as follows:

    remote_cmd ${host} "$SUDO /usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --default-storage-engine=myisam < /tmp/s9s_init.sql"

    Replace that line with:

    remote_cmd ${host} "/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --default-storage-engine=myisam < /tmp/s9s_init.sql"

    Then, retry the deployment and let us know the outcome. If the problem still persists, attach the newly generated cc.log here.

    Regards,

    Ashraf

    0
    Comment actions Permalink
  • Avatar
    umarzuki

    problem persist

    cc.lo attached

    0
    Comment actions Permalink
  • Avatar
    Ashraf Sharif

    Hi,

    Thanks for the log. We are able to reproduce the issue. Please apply fixes inside bootstrap.sh on following lines:

    Line 111:

    remote_cmd ${host} "sh -c '/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --default-storage-engine=myisam < /tmp/s9s_init.sql'"

    Line 114:

     remote_cmd3 ${host} "sh -c 'MYSQLD_STARTUP_TIMEOUT=180 nohup /etc/init.d/mysql start >/tmp/mysql.out 2>/tmp/mysql.err < /dev/null'"

    Line 210:

    remote_cmd ${cmon_monitor} "sh -c '/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --default-storage-engine=myisam < /tmp/s9s_init.sql'"

    Line 213:

    remote_cmd3 ${cmon_monitor} "sh -c 'MYSQLD_STARTUP_TIMEOUT=180 nohup /etc/init.d/mysql start >/tmp/mysql.out 2>/tmp/mysql.err < /dev/null'"

     

    It missed "sh -c '<command that has stdin>'" . Please retry the deployment and let us know the outcome. You can basically run following command since you already passed the installation stage:

    ./bootstrap.sh && ./install-cmon.sh -s && cat .s9s/greetings

    We are going to apply the fix soonest possible. Thanks for reporting this.

    Regards,
    Ashraf

    0
    Comment actions Permalink
  • Avatar
    umarzuki

    thanks, that fix works well enough although I had re-run 2.8 script and got mariadb 5.5 galera up. Still, I managed to get 10.0 up and running with provided fix.

    0
    Comment actions Permalink
  • Avatar
    umarzuki

    with s9s-galera-percona-3.5.0 I'm also having below error during bootstrap stage

    The following command failed:
    ssh -q -nqtt -p22 svadmin@10.1.1.100 "echo ucssa1bs | sudo 2>/dev/null -S  LC_ALL=en_US.utf8 DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::='--force-confnew' -y -q install percona-xtradb-cluster-galera-3.x percona-xtradb-cluster-client-5.6 percona-xtradb-cluster-server-5.6 percona-xtrabackup percona-toolkit "
    Try running the command on the line above again, contact http://support.severalnines.com/tickets/new, attach the output from deploy.sh and the error from running the command to the Support issue.

    cc.log attached.

    0
    Comment actions Permalink
  • Avatar
    Ashraf Sharif

    Hi,

    Please send us the output of following command on ClusterControl node:

    ssh -vvv -ntt -p22 svadmin@10.1.1.100 "echo password | sudo 2>/dev/null -S  LC_ALL=en_US.utf8 DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::='--force-confnew' -y -q install percona-xtradb-cluster-galera-3.x percona-xtradb-cluster-client-5.6 percona-xtradb-cluster-server-5.6 percona-xtrabackup percona-toolkit "

     

    Regards,

    Ashraf

    0
    Comment actions Permalink
  • Avatar
    umarzuki

    command output:

    $ ssh -vvv -ntt -p22 svadmin@10.1.1.100 "echo password | sudo 2>/dev/null -S  LC_ALL=en_US.utf8 DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::='--force-confnew' -y -q install percona-xtradb-cluster-galera-3.x percona-xtradb-cluster-client-5.6 percona-xtradb-cluster-server-5.6 percona-xtrabackup percona-toolkit "
    OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: /etc/ssh/ssh_config line 19: Applying options for *
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to 10.1.1.100 [10.1.1.100] port 22.
    debug1: Connection established.
    debug3: Incorrect RSA1 identifier
    debug3: Could not load "/home/svadmin/.ssh/id_rsa" as a RSA1 public key
    debug1: identity file /home/svadmin/.ssh/id_rsa type 1
    debug1: identity file /home/svadmin/.ssh/id_rsa-cert type -1
    debug1: identity file /home/svadmin/.ssh/id_dsa type -1
    debug1: identity file /home/svadmin/.ssh/id_dsa-cert type -1
    debug1: identity file /home/svadmin/.ssh/id_ecdsa type -1
    debug1: identity file /home/svadmin/.ssh/id_ecdsa-cert type -1
    debug1: identity file /home/svadmin/.ssh/id_ed25519 type -1
    debug1: identity file /home/svadmin/.ssh/id_ed25519-cert type -1
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
    debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
    debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1* compat 0x04000000
    debug2: fd 3 setting O_NONBLOCK
    debug3: load_hostkeys: loading entries for host "10.1.1.100" from file "/home/svadmin/.ssh/known_hosts"
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:2
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:8
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:14
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:20
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:26
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:28
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:34
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:40
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:46
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:52
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:58
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:64
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:70
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:79
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:85
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:91
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:97
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:103
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:109
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:115
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:121
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:127
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:133
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:139
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:145
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:151
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:157
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:163
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:169
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:175
    debug3: load_hostkeys: loaded 30 keys
    debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
    debug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-dss-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-dss
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
    debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
    debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit: first_kex_follows 0
    debug2: kex_parse_kexinit: reserved 0
    debug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
    debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
    debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: none,zlib@openssh.com
    debug2: kex_parse_kexinit: none,zlib@openssh.com
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit: first_kex_follows 0
    debug2: kex_parse_kexinit: reserved 0
    debug2: mac_setup: setup hmac-md5-etm@openssh.com
    debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
    debug2: mac_setup: setup hmac-md5-etm@openssh.com
    debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
    debug1: sending SSH2_MSG_KEX_ECDH_INIT
    debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
    debug1: Server host key: RSA 06:05:98:9c:f1:4d:f7:c6:9f:48:94:fe:b8:dc:10:f2
    debug3: load_hostkeys: loading entries for host "10.1.1.100" from file "/home/svadmin/.ssh/known_hosts"
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:2
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:8
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:14
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:20
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:26
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:28
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:34
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:40
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:46
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:52
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:58
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:64
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:70
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:79
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:85
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:91
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:97
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:103
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:109
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:115
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:121
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:127
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:133
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:139
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:145
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:151
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:157
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:163
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:169
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:175
    debug3: load_hostkeys: loaded 30 keys
    debug1: Host '10.1.1.100' is known and matches the RSA host key.
    debug1: Found key in /home/svadmin/.ssh/known_hosts:26
    debug1: ssh_rsa_verify: signature correct
    debug2: kex_derive_keys
    debug2: set_newkeys: mode 1
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug2: set_newkeys: mode 0
    debug1: SSH2_MSG_NEWKEYS received
    debug1: Roaming not allowed by server
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug2: service_accept: ssh-userauth
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug2: key: /home/svadmin/.ssh/id_rsa (0x7f38a4c3dad0),
    debug2: key: /home/svadmin/.ssh/id_dsa ((nil)),
    debug2: key: /home/svadmin/.ssh/id_ecdsa ((nil)),
    debug2: key: /home/svadmin/.ssh/id_ed25519 ((nil)),
    debug1: Authentications that can continue: publickey,password
    debug3: start over, passed a different list publickey,password
    debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
    debug3: authmethod_lookup publickey
    debug3: remaining preferred: keyboard-interactive,password
    debug3: authmethod_is_enabled publickey
    debug1: Next authentication method: publickey
    debug1: Offering RSA public key: /home/svadmin/.ssh/id_rsa
    debug3: send_pubkey_test
    debug2: we sent a publickey packet, wait for reply
    debug1: Server accepts key: pkalg ssh-rsa blen 279
    debug2: input_userauth_pk_ok: fp 3a:67:13:5a:62:13:8a:d6:5b:3e:7c:5e:50:47:22:da
    debug3: sign_and_send_pubkey: RSA 3a:67:13:5a:62:13:8a:d6:5b:3e:7c:5e:50:47:22:da
    debug1: key_parse_private2: missing begin marker
    debug1: read PEM private key done: type RSA
    debug1: Authentication succeeded (publickey).
    Authenticated to 10.1.1.100 ([10.1.1.100]:22).
    debug2: fd 4 setting O_NONBLOCK
    debug1: channel 0: new [client-session]
    debug3: ssh_session2_open: channel_new: 0
    debug2: channel 0: send open
    debug1: Requesting no-more-sessions@openssh.com
    debug1: Entering interactive session.
    debug2: callback start
    debug2: fd 3 setting TCP_NODELAY
    debug3: packet_set_tos: set IP_TOS 0x10
    debug2: client_session2_setup: id 0
    debug2: channel 0: request pty-req confirm 1
    debug1: Sending environment.
    debug1: Sending env LC_PAPER = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env XDG_SESSION_ID
    debug1: Sending env LC_ADDRESS = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug1: Sending env LC_MONETARY = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env TERM
    debug3: Ignored env SHELL
    debug3: Ignored env SSH_CLIENT
    debug1: Sending env LC_NUMERIC = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env SSH_TTY
    debug3: Ignored env USER
    debug3: Ignored env LS_COLORS
    debug1: Sending env LC_TELEPHONE = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env MAIL
    debug3: Ignored env PATH
    debug3: Ignored env QT_QPA_PLATFORMTHEME
    debug1: Sending env LC_IDENTIFICATION = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env PWD
    debug1: Sending env LANG = en_US.UTF-8
    debug2: channel 0: request env confirm 0
    debug1: Sending env LC_MEASUREMENT = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env SHLVL
    debug3: Ignored env HOME
    debug3: Ignored env LOGNAME
    debug3: Ignored env SSH_CONNECTION
    debug3: Ignored env LESSOPEN
    debug3: Ignored env XDG_RUNTIME_DIR
    debug3: Ignored env DISPLAY
    debug3: Ignored env LESSCLOSE
    debug1: Sending env LC_TIME = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug1: Sending env LC_NAME = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env _
    debug3: Ignored env OLDPWD
    debug1: Sending command: echo password | sudo 2>/dev/null -S  LC_ALL=en_US.utf8 DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::='--force-confnew' -y -q install percona-xtradb-cluster-galera-3.x percona-xtradb-cluster-client-5.6 percona-xtradb-cluster-server-5.6 percona-xtrabackup percona-toolkit
    debug2: channel 0: request exec confirm 1
    debug2: callback done
    debug2: channel 0: open confirm rwindow 0 rmax 32768
    debug2: channel_input_status_confirm: type 99 id 0
    debug2: PTY allocation request accepted on channel 0
    debug2: channel 0: rcvd adjust 2097152
    debug2: channel_input_status_confirm: type 99 id 0
    debug2: exec request accepted on channel 0
    debug2: channel 0: read<=0 rfd 4 len 0
    debug2: channel 0: read failed
    debug2: channel 0: close_read
    debug2: channel 0: input open -> drain
    debug2: channel 0: ibuf empty
    debug2: channel 0: send eof
    debug2: channel 0: input drain -> closed
    Reading package lists...
    Building dependency tree...
    Reading state information...
    percona-toolkit is already the newest version.
    percona-xtrabackup is already the newest version.
    percona-xtradb-cluster-client-5.6 is already the newest version.
    percona-xtradb-cluster-galera-3.x is already the newest version.
    Suggested packages:
      tinyca pv qpress
    The following NEW packages will be installed:
      percona-xtradb-cluster-server-5.6
    0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
    13 not fully installed or removed.
    Need to get 0 B/6,112 kB of archives.
    After this operation, 68.6 MB of additional disk space will be used.
    Preconfiguring packages ...
    (Reading database ... 56388 files and directories currently installed.)
    Preparing to unpack .../percona-xtradb-cluster-server-5.6_5.6.22-25.8-978.trusty_amd64.deb ...
    Unpacking percona-xtradb-cluster-server-5.6 (5.6.22-25.8-978.trusty) ...
    dpkg: error processing archive /var/cache/apt/archives/percona-xtradb-cluster-server-5.6_5.6.22-25.8-978.trusty_amd64.deb (--unpack):
     trying to overwrite '/usr/lib/mysql/plugin/dialog.so', which is also in package libmariadbclient18 10.0.17+maria-1~trusty
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/percona-xtradb-cluster-server-5.6_5.6.22-25.8-978.trusty_amd64.deb
    debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
    debug2: channel 0: rcvd eof
    debug2: channel 0: output open -> drain
    debug2: channel 0: obuf empty
    debug2: channel 0: close_write
    debug2: channel 0: output drain -> closed
    debug2: channel 0: rcvd close
    debug3: channel 0: will not send data after close
    debug2: channel 0: almost dead
    debug2: channel 0: gc: notify user
    debug2: channel 0: gc: user detached
    debug2: channel 0: send close
    debug2: channel 0: is dead
    debug2: channel 0: garbage collecting
    debug1: channel 0: free: client-session, nchannels 1
    debug3: channel 0: status: The following connections are open:
      #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)

    Connection to 10.1.1.100 closed.
    Transferred: sent 4500, received 5424 bytes, in 11.0 seconds
    Bytes per second: sent 409.7, received 493.8
    debug1: Exit status 100

    0
    Comment actions Permalink
  • Avatar
    Ashraf Sharif

    Hi,

    Take a closer look at following lines where indicates the error:

    Unpacking percona-xtradb-cluster-server-5.6 (5.6.22-25.8-978.trusty) ...
    dpkg: error processing archive /var/cache/apt/archives/percona-xtradb-cluster-server-5.6_5.6.22-25.8-978.trusty_amd64.deb (--unpack):
     trying to overwrite '/usr/lib/mysql/plugin/dialog.so', which is also in package libmariadbclient18 10.0.17+maria-1~trusty
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/percona-xtradb-cluster-server-5.6_5.6.22-25.8-978.trusty_amd64.deb

    It seems like you have MariaDB 10 client's installed and conflicting the PXC server installation. Please fix as per mentioned and retry again the deployment.

    Regards,

    Ashraf

    0
    Comment actions Permalink
  • Avatar
    umarzuki

    it seems uninstall-deb script does not completely removes those packages.

    even after purging it at 10.1.1.100 I'm still seeing

    Unpacking percona-xtradb-cluster-server-5.6 (5.6.22-25.8-978.trusty) ...
    dpkg: error processing archive /var/cache/apt/archives/percona-xtradb-cluster-server-5.6_5.6.22-25.8-978.trusty_amd64.deb (--unpack):
     trying to overwrite '/usr/lib/mysql/plugin/dialog.so', which is also in package libmariadbclient18 10.0.17+maria-1~trusty
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Selecting previously unselected package percona-toolkit.
    Preparing to unpack .../percona-toolkit_2.2.14_all.deb ...
    Unpacking percona-toolkit (2.2.14) ...
    Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
    Errors were encountered while processing:
     /var/cache/apt/archives/percona-xtradb-cluster-server-5.6_5.6.22-25.8-978.trusty_amd64.deb
    debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
    debug2: channel 0: rcvd eof
    debug2: channel 0: output open -> drain
    debug2: channel 0: obuf empty
    debug2: channel 0: close_write
    debug2: channel 0: output drain -> closed
    debug2: channel 0: rcvd close
    debug3: channel 0: will not send data after close
    debug2: channel 0: almost dead
    debug2: channel 0: gc: notify user
    debug2: channel 0: gc: user detached
    debug2: channel 0: send close
    debug2: channel 0: is dead
    debug2: channel 0: garbage collecting
    debug1: channel 0: free: client-session, nchannels 1
    debug3: channel 0: status: The following connections are open:
      #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)

    Connection to 10.224.204.160 closed.
    Transferred: sent 4500, received 6888 bytes, in 16.7 seconds
    Bytes per second: sent 270.0, received 413.3
    debug1: Exit status 100

    0
    Comment actions Permalink
  • Avatar
    umarzuki

    after removing MariaDB.list & ran apt-get update, it failed with different message

    The following command failed:
    ssh -q -nqtt -p22 svadmin@10.224.204.160 "echo ucssa1bs | sudo 2>/dev/null -S  chmod 755 /etc/init.d/mysql "

    0
    Comment actions Permalink
  • Avatar
    Ashraf Sharif

    Hi,

    Please attach the cc.log and also the output of failed command, by replacing '-q -nqtt' with '-vvv -ntt' in the SSH options.

    Regards,

    Ashraf

    0
    Comment actions Permalink
  • Avatar
    umarzuki

    ssh -vvv -nqtt -p22 svadmin@10.224.204.160 "echo ucssa1bs | sudo 2>/dev/null -S  chmod 755 /etc/init.d/mysql "

    does not display anything on screen. cc.log attached.

    0
    Comment actions Permalink
  • Avatar
    Ashraf Sharif

    Hi,

    You need to remove '-q' as stated in my previous reply.

     

    Regards,

    Ashraf

    0
    Comment actions Permalink
  • Avatar
    umarzuki

    $ ssh -vvv -nvtt -p22 svadmin@10.224.204.160 "echo ucssa1bs | sudo 2>/dev/null -S  chmod 755 /etc/init.d/mysql "
    OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: /etc/ssh/ssh_config line 19: Applying options for *
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to 10.224.204.160 [10.224.204.160] port 22.
    debug1: Connection established.
    debug3: Incorrect RSA1 identifier
    debug3: Could not load "/home/svadmin/.ssh/id_rsa" as a RSA1 public key
    debug1: identity file /home/svadmin/.ssh/id_rsa type 1
    debug1: identity file /home/svadmin/.ssh/id_rsa-cert type -1
    debug1: identity file /home/svadmin/.ssh/id_dsa type -1
    debug1: identity file /home/svadmin/.ssh/id_dsa-cert type -1
    debug1: identity file /home/svadmin/.ssh/id_ecdsa type -1
    debug1: identity file /home/svadmin/.ssh/id_ecdsa-cert type -1
    debug1: identity file /home/svadmin/.ssh/id_ed25519 type -1
    debug1: identity file /home/svadmin/.ssh/id_ed25519-cert type -1
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
    debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
    debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1* compat 0x04000000
    debug2: fd 3 setting O_NONBLOCK
    debug3: load_hostkeys: loading entries for host "10.224.204.160" from file "/home/svadmin/.ssh/known_hosts"
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:2
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:8
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:14
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:20
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:26
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:28
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:34
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:40
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:46
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:52
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:58
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:64
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:70
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:79
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:85
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:91
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:97
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:103
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:109
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:115
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:121
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:127
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:133
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:139
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:145
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:151
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:157
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:163
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:169
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:175
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:181
    debug3: load_hostkeys: loaded 31 keys
    debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
    debug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-dss-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-dss
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
    debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
    debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit: first_kex_follows 0
    debug2: kex_parse_kexinit: reserved 0
    debug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
    debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
    debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: none,zlib@openssh.com
    debug2: kex_parse_kexinit: none,zlib@openssh.com
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit: first_kex_follows 0
    debug2: kex_parse_kexinit: reserved 0
    debug2: mac_setup: setup hmac-md5-etm@openssh.com
    debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
    debug2: mac_setup: setup hmac-md5-etm@openssh.com
    debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
    debug1: sending SSH2_MSG_KEX_ECDH_INIT
    debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
    debug1: Server host key: RSA 06:05:98:9c:f1:4d:f7:c6:9f:48:94:fe:b8:dc:10:f2
    debug3: load_hostkeys: loading entries for host "10.224.204.160" from file "/home/svadmin/.ssh/known_hosts"
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:2
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:8
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:14
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:20
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:26
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:28
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:34
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:40
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:46
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:52
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:58
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:64
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:70
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:79
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:85
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:91
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:97
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:103
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:109
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:115
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:121
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:127
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:133
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:139
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:145
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:151
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:157
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:163
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:169
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:175
    debug3: load_hostkeys: found key type RSA in file /home/svadmin/.ssh/known_hosts:181
    debug3: load_hostkeys: loaded 31 keys
    debug1: Host '10.224.204.160' is known and matches the RSA host key.
    debug1: Found key in /home/svadmin/.ssh/known_hosts:26
    debug1: ssh_rsa_verify: signature correct
    debug2: kex_derive_keys
    debug2: set_newkeys: mode 1
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug2: set_newkeys: mode 0
    debug1: SSH2_MSG_NEWKEYS received
    debug1: Roaming not allowed by server
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug2: service_accept: ssh-userauth
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug2: key: /home/svadmin/.ssh/id_rsa (0x7f1c4abb7980),
    debug2: key: /home/svadmin/.ssh/id_dsa ((nil)),
    debug2: key: /home/svadmin/.ssh/id_ecdsa ((nil)),
    debug2: key: /home/svadmin/.ssh/id_ed25519 ((nil)),
    debug1: Authentications that can continue: publickey,password
    debug3: start over, passed a different list publickey,password
    debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
    debug3: authmethod_lookup publickey
    debug3: remaining preferred: keyboard-interactive,password
    debug3: authmethod_is_enabled publickey
    debug1: Next authentication method: publickey
    debug1: Offering RSA public key: /home/svadmin/.ssh/id_rsa
    debug3: send_pubkey_test
    debug2: we sent a publickey packet, wait for reply
    debug1: Server accepts key: pkalg ssh-rsa blen 279
    debug2: input_userauth_pk_ok: fp 3a:67:13:5a:62:13:8a:d6:5b:3e:7c:5e:50:47:22:da
    debug3: sign_and_send_pubkey: RSA 3a:67:13:5a:62:13:8a:d6:5b:3e:7c:5e:50:47:22:da
    debug1: key_parse_private2: missing begin marker
    debug1: read PEM private key done: type RSA
    debug1: Authentication succeeded (publickey).
    Authenticated to 10.224.204.160 ([10.224.204.160]:22).
    debug2: fd 4 setting O_NONBLOCK
    debug1: channel 0: new [client-session]
    debug3: ssh_session2_open: channel_new: 0
    debug2: channel 0: send open
    debug1: Requesting no-more-sessions@openssh.com
    debug1: Entering interactive session.
    debug2: callback start
    debug2: fd 3 setting TCP_NODELAY
    debug3: packet_set_tos: set IP_TOS 0x10
    debug2: client_session2_setup: id 0
    debug2: channel 0: request pty-req confirm 1
    debug1: Sending environment.
    debug1: Sending env LC_PAPER = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env XDG_SESSION_ID
    debug1: Sending env LC_ADDRESS = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug1: Sending env LC_MONETARY = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env TERM
    debug3: Ignored env SHELL
    debug3: Ignored env SSH_CLIENT
    debug1: Sending env LC_NUMERIC = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env SSH_TTY
    debug3: Ignored env USER
    debug3: Ignored env LS_COLORS
    debug1: Sending env LC_TELEPHONE = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env MAIL
    debug3: Ignored env PATH
    debug3: Ignored env QT_QPA_PLATFORMTHEME
    debug1: Sending env LC_IDENTIFICATION = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env PWD
    debug1: Sending env LANG = en_US.UTF-8
    debug2: channel 0: request env confirm 0
    debug1: Sending env LC_MEASUREMENT = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env SHLVL
    debug3: Ignored env HOME
    debug3: Ignored env LOGNAME
    debug3: Ignored env SSH_CONNECTION
    debug3: Ignored env LESSOPEN
    debug3: Ignored env XDG_RUNTIME_DIR
    debug3: Ignored env DISPLAY
    debug3: Ignored env LESSCLOSE
    debug1: Sending env LC_TIME = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug1: Sending env LC_NAME = ms_MY.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env _
    debug1: Sending command: echo ucssa1bs | sudo 2>/dev/null -S  chmod 755 /etc/init.d/mysql
    debug2: channel 0: request exec confirm 1
    debug2: callback done
    debug2: channel 0: open confirm rwindow 0 rmax 32768
    debug2: channel_input_status_confirm: type 99 id 0
    debug2: PTY allocation request accepted on channel 0
    debug2: channel 0: rcvd adjust 2097152
    debug2: channel_input_status_confirm: type 99 id 0
    debug2: exec request accepted on channel 0
    debug2: channel 0: read<=0 rfd 4 len 0
    debug2: channel 0: read failed
    debug2: channel 0: close_read
    debug2: channel 0: input open -> drain
    debug2: channel 0: ibuf empty
    debug2: channel 0: send eof
    debug2: channel 0: input drain -> closed
    debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
    debug2: channel 0: rcvd eof
    debug2: channel 0: output open -> drain
    debug2: channel 0: obuf empty
    debug2: channel 0: close_write
    debug2: channel 0: output drain -> closed
    debug2: channel 0: rcvd close
    debug3: channel 0: will not send data after close
    debug2: channel 0: almost dead
    debug2: channel 0: gc: notify user
    debug2: channel 0: gc: user detached
    debug2: channel 0: send close
    debug2: channel 0: is dead
    debug2: channel 0: garbage collecting
    debug1: channel 0: free: client-session, nchannels 1
    debug3: channel 0: status: The following connections are open:
      #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)

    Connection to 10.224.204.160 closed.
    Transferred: sent 4276, received 2844 bytes, in 1.1 seconds
    Bytes per second: sent 3854.2, received 2563.5
    debug1: Exit status 1

    0
    Comment actions Permalink
  • Avatar
    Ashraf Sharif

    Hi,

    I can't see anything wrong with the SSH output. On 10.224.204.160 what are the outputs of following commands:

    echo ucssa1bs | sudo 2>/dev/null -S  chmod 755 /etc/init.d/mysql
    echo $?

    Please also send the output of following commands, execute it on ClusterControl node and 10.224.204.160:

    grep -i ssh /var/log/syslog

     

    Regards,

    Ashraf

    0
    Comment actions Permalink
  • Avatar
    umarzuki

    on 160, output for

    echo ucssa1bs | sudo 2>/dev/null -S  chmod 755 /etc/init.d/mysql
    echo $?

    is 1

    on clustercontrol, "grep -i ssh /var/log/syslog" returns
    grep: /var/log/syslog: Permission denied

    "sudo grep -i ssh /var/log/syslog" returns nothing

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk