Topic
  • 6 replies
  • Latest Post - ‏2014-04-11T13:48:09Z by waranlogesh
rthiagoIBM
rthiagoIBM
2 Posts

Pinned topic Instalation problems (Permission denied) - Big Insights Version 2.1.0.0

‏2013-07-15T16:11:47Z |

Hi all,

I'm having problems to install biginsights-basic-linux64_b20130531_1113 (Version 2.1.0.0), please see below the error:

[INFO] Launching installer back end
[INFO] Running as root, /home/rthiago/Downloads/biginsights-basic-linux64_b20130531_1113/installer/bin/install.sh simple-fullinstall.xml
[INFO] Distribution Vendor : ibm
[INFO] Progress - Initializing install properties
[INFO] Progress - 0%
[INFO] HadoopConf - Hadoop Configuration class is not on classpath
[INFO] MgmtConfInitializer - Biginsights nodes [oc0347327500.ibm.com]
[INFO] MgmtConfInitializer - install mode : install
[INFO] MgmtConfInitializer - distro vendor : ibm
[INFO] MgmtConfInitializer - dfs.name.dir=/hadoop/hdfs/name
[INFO] MgmtConfInitializer - fs.checkpoint.dir=/hadoop/hdfs/namesecondary
[INFO] MgmtConfInitializer - default dfs.data.dir=/hadoop/hdfs/data
[INFO] MgmtConfInitializer - mapred.system.dir=/hadoop/mapred/system
[INFO] MgmtConfInitializer - mapred.local.dir=/hadoop/mapred/local
[INFO] MgmtConfInitializer - hadoop.log.dir=/var/ibm/biginsights/hadoop/logs
[INFO] MgmtConfInitializer - hadoop.proxyuser.biadmin.hosts=*
[INFO] MgmtConfInitializer - hadoop.proxyuser.biadmin.groups=*
[INFO] MgmtConfInitializer - datanode is not set
[INFO] MgmtConfInitializer - oc0347327500.ibm.com is NameNode
[INFO] MgmtConfInitializer - MgmtConfInitializer: oc0347327500.ibm.com is Secondary NameNode
[INFO] MgmtConfInitializer - oc0347327500.ibm.com is JobTracker
[INFO] MgmtConfInitializer - oc0347327500.ibm.com is DataNode
[INFO] MgmtConfInitializer - biginsights.home=/opt/ibm/biginsights
[INFO] MgmtConfInitializer - biginsights.var=/var/ibm/biginsights
[INFO] MgmtConfInitializer - mgmt.ssh.config=by_privileged_user
[INFO] MgmtConfInitializer - mgmt.user=biadmin
[INFO] MgmtConfInitializer - mgmt.group=biadmin
[INFO] MgmtConfInitializer - biginsights.virtualnodes=null
[INFO] HadoopConf - Hadoop conf saved to /home/rthiago/Downloads/biginsights-basic-linux64_b20130531_1113/installer/hdm/hadoop-conf-staging
[INFO] Progress - Check cluster environment
[INFO] Progress - 2%
[INFO] HadoopConf - Hadoop Configuration class is not on classpath
[INFO] Prerequisite check - Proceeding mandatory check to verify if given credentials are correct to access cluster nodes : [oc0347327500.ibm.com]
java.io.IOException: exit code: 255 -- /home/rthiago/Downloads/biginsights-basic-linux64_b20130531_1113/installer/hdm/bin/_ssh-remote.exp {xor}KzduDTAsLDor ssh -o NumberOfPasswordPrompts=1 root@oc0347327500.ibm.com date
root@oc0347327500.ibm.com s password:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).


at com.ibm.xap.mgmt.util.ExecUtil.exec(ExecUtil.java:101)
at com.ibm.xap.mgmt.hdm.AccountSshSetup.runAsRootRemote(AccountSshSetup.java:746)
at com.ibm.xap.mgmt.hdm.AccountSshSetup.runAsRootRemote(AccountSshSetup.java:735)
at com.ibm.xap.mgmt.hdm.AccountSshSetup.runAsRootRemote(AccountSshSetup.java:707)
at com.ibm.xap.mgmt.hdm.PriorChecker.checkNodeAccess(PriorChecker.java:383)
at com.ibm.xap.mgmt.hdm.PriorChecker.preCheck(PriorChecker.java:159)
at com.ibm.xap.mgmt.hdm.PriorChecker.preCheck(PriorChecker.java:130)
at com.ibm.xap.mgmt.hdm.PriorChecker.main(PriorChecker.java:125)
[ERROR] Prerequisite check - Cannot use given credenital to access [oc0347327500.ibm.com], please revisit Secure Shell page from installer UI to make sure all prerequisites are satisfied, then re-run the installer.
[FATAL] System pre-check fails, some prerequisite is not fulfilled. Check log for detail.

I tried a workaroudn already, but it did not work properly. A website gave me a suggestion to edit the file: sshd_config and add the user: biadmin as the AllowUser, but as I said it did not work.

P.S I extrated the file + issued the comand ./start.sh as a root user. Regarding to "Passwordless secure shell (SSH) screen", I choose the option:

-> Use the root user. Select this option if the following statement is true:

- You can provide the password for the root user.

....

Please advise.

Thanks in advance!

Updated on 2013-07-15T18:37:44Z at 2013-07-15T18:37:44Z by rthiagoIBM
  • YangWeiWei
    YangWeiWei
    72 Posts
    ACCEPTED ANSWER

    Re: Instalation problems (Permission denied) - Big Insights Version 2.1.0.0

    ‏2013-07-16T02:46:15Z  

    Hello 

    I assume you should have double checked you were using correct password. So lets move on, it looks like the sshd_config denied the connection of root SSH, could you please attach the file content of /etc/ssh/sshd_config ? Most concerning part is

    AllowUsers is either commented out or contains root user in the list

    PermitRootLogin is either commented out or yes

    An workable configuration example is 

    PermitRootLogin yes

    AllowUsers biadmin root

  • YangWeiWei
    YangWeiWei
    72 Posts

    Re: Instalation problems (Permission denied) - Big Insights Version 2.1.0.0

    ‏2013-07-16T02:46:15Z  

    Hello 

    I assume you should have double checked you were using correct password. So lets move on, it looks like the sshd_config denied the connection of root SSH, could you please attach the file content of /etc/ssh/sshd_config ? Most concerning part is

    AllowUsers is either commented out or contains root user in the list

    PermitRootLogin is either commented out or yes

    An workable configuration example is 

    PermitRootLogin yes

    AllowUsers biadmin root

  • rthiagoIBM
    rthiagoIBM
    2 Posts

    Re: Instalation problems (Permission denied) - Big Insights Version 2.1.0.0

    ‏2013-07-16T03:44:36Z  

    Hello 

    I assume you should have double checked you were using correct password. So lets move on, it looks like the sshd_config denied the connection of root SSH, could you please attach the file content of /etc/ssh/sshd_config ? Most concerning part is

    AllowUsers is either commented out or contains root user in the list

    PermitRootLogin is either commented out or yes

    An workable configuration example is 

    PermitRootLogin yes

    AllowUsers biadmin root

    YangWeiWei,

    The PermitRootLogin was set to NO! I have just changed it to YES and now the instalation is progressing.

    Thank you for your help!

  • Rouser_2013
    Rouser_2013
    1 Post

    Re: Instalation problems (Permission denied) - Big Insights Version 2.1.0.0

    ‏2013-12-08T11:59:39Z  

    YangWeiWei,

    The PermitRootLogin was set to NO! I have just changed it to YES and now the instalation is progressing.

    Thank you for your help!

    I have attempted above steps but still getting the same issue (Cannot use given credentials to access [all nodes]. please revisit secure shell page....

     

    . i am using virtual box version of ubuntu linux and installing v2.1 of IBM InSights. I have tried all 4 options of the Secure Shell.

    Updated on 2013-12-08T12:01:18Z at 2013-12-08T12:01:18Z by Rouser_2013
  • MOHNISH
    MOHNISH
    3 Posts

    Re: Instalation problems (Permission denied) - Big Insights Version 2.1.0.0

    ‏2014-03-19T15:22:28Z  

    I can see PermitRootLogin yes but cannot see any 'AllowUsers'.

    Can you help here , can i edit this value if yes, what should be the value for this??

  • MOHNISH
    MOHNISH
    3 Posts

    Re: Instalation problems (Permission denied) - Big Insights Version 2.1.0.0

    ‏2014-03-19T15:32:48Z  

    I can see PermitRootLogin yes but cannot see any 'AllowUsers'.

    Can you help here , can i edit this value if yes, what should be the value for this??

    Following is the log:

    [INFO] Launching installer back end
    [INFO] Running as biadmin, /home/biadmin/biginsights-quickstart-linux64_b20130821_1818/installer/bin/install.sh simple-fullinstall.xml
    [INFO] Distribution Vendor : ibm
    [INFO] Progress - Initializing install properties
    [INFO] Progress - 0%
    [INFO] HadoopConf - Hadoop Configuration class is not on classpath
    [INFO] MgmtConfInitializer - Biginsights nodes [localhost]
    [INFO] MgmtConfInitializer - install mode : install
    [INFO] MgmtConfInitializer - distro vendor : ibm
    [INFO] MgmtConfInitializer - dfs.name.dir=/hadoop/hdfs/name
    [INFO] MgmtConfInitializer - fs.checkpoint.dir=/hadoop/hdfs/namesecondary
    [INFO] MgmtConfInitializer - default dfs.data.dir=/hadoop/hdfs/data
    [INFO] MgmtConfInitializer - mapred.system.dir=/hadoop/mapred/system
    [INFO] MgmtConfInitializer - mapred.local.dir=/hadoop/mapred/local
    [INFO] MgmtConfInitializer - hadoop.log.dir=/var/ibm/biginsights/hadoop/logs
    [INFO] MgmtConfInitializer - datanode is not set
    [INFO] MgmtConfInitializer - localhost is NameNode
    [INFO] MgmtConfInitializer - MgmtConfInitializer: localhost is Secondary NameNode
    [INFO] MgmtConfInitializer - localhost is JobTracker
    [INFO] MgmtConfInitializer - localhost is DataNode
    [INFO] MgmtConfInitializer - hadoop.proxyuser.biadmin.hosts=*
    [INFO] MgmtConfInitializer - hadoop.proxyuser.biadmin.groups=*
    [INFO] HadoopConf - Hadoop Configuration class is not on classpath
    [INFO] MgmtConfInitializer - Detect user group: biadmin
    [INFO] MgmtConfInitializer - biginsights.home=/opt/ibm/biginsights
    [INFO] MgmtConfInitializer - biginsights.var=/var/ibm/biginsights
    [INFO] MgmtConfInitializer - mgmt.ssh.config=by_sudo_root_ssh
    [INFO] MgmtConfInitializer - mgmt.user=biadmin
    [INFO] MgmtConfInitializer - mgmt.group=biadmin
    [INFO] MgmtConfInitializer - biginsights.virtualnodes=null
    [INFO] HadoopConf - Hadoop conf saved to /home/biadmin/biginsights-quickstart-linux64_b20130821_1818/installer/hdm/hadoop-conf-staging
    [INFO] Progress - Check cluster environment
    [INFO] Progress - 2%
    [INFO] HadoopConf - Hadoop Configuration class is not on classpath
    [INFO] Prerequisite check - Proceeding mandatory check to verify if given credentials are correct to access cluster nodes : [localhost]
    com.ibm.xap.mgmt.util.TimeoutException: Timeout when executing process, timeout = 300000
        at com.ibm.xap.mgmt.util.Code.exec(Code.java:707)
        at com.ibm.xap.mgmt.util.ExecUtil.exec(ExecUtil.java:89)
        at com.ibm.xap.mgmt.hdm.AccountSshSetup.sudo(AccountSshSetup.java:1334)
        at com.ibm.xap.mgmt.hdm.AccountSshSetup.runAsRootRemote(AccountSshSetup.java:777)
        at com.ibm.xap.mgmt.hdm.AccountSshSetup.runAsRootRemote(AccountSshSetup.java:735)
        at com.ibm.xap.mgmt.hdm.AccountSshSetup.runAsRootRemote(AccountSshSetup.java:707)
        at com.ibm.xap.mgmt.hdm.PriorChecker.checkNodeAccess(PriorChecker.java:385)
        at com.ibm.xap.mgmt.hdm.PriorChecker.preCheck(PriorChecker.java:160)
        at com.ibm.xap.mgmt.hdm.PriorChecker.preCheck(PriorChecker.java:131)
        at com.ibm.xap.mgmt.hdm.PriorChecker.main(PriorChecker.java:126)
    [ERROR] Prerequisite check - Cannot use given credenital to access [localhost], please revisit Secure Shell page from installer UI to make sure all prerequisites are satisfied, then re-run the installer.
    [FATAL] System pre-check fails, some prerequisite is not fulfilled. Check log for detail.

  • waranlogesh
    waranlogesh
    7 Posts

    Re: Instalation problems (Permission denied) - Big Insights Version 2.1.0.0

    ‏2014-04-11T13:48:09Z  
    • MOHNISH
    • ‏2014-03-19T15:32:48Z

    I can see PermitRootLogin yes but cannot see any 'AllowUsers'.

    Can you help here , can i edit this value if yes, what should be the value for this??

    Following is the log:

    [INFO] Launching installer back end
    [INFO] Running as biadmin, /home/biadmin/biginsights-quickstart-linux64_b20130821_1818/installer/bin/install.sh simple-fullinstall.xml
    [INFO] Distribution Vendor : ibm
    [INFO] Progress - Initializing install properties
    [INFO] Progress - 0%
    [INFO] HadoopConf - Hadoop Configuration class is not on classpath
    [INFO] MgmtConfInitializer - Biginsights nodes [localhost]
    [INFO] MgmtConfInitializer - install mode : install
    [INFO] MgmtConfInitializer - distro vendor : ibm
    [INFO] MgmtConfInitializer - dfs.name.dir=/hadoop/hdfs/name
    [INFO] MgmtConfInitializer - fs.checkpoint.dir=/hadoop/hdfs/namesecondary
    [INFO] MgmtConfInitializer - default dfs.data.dir=/hadoop/hdfs/data
    [INFO] MgmtConfInitializer - mapred.system.dir=/hadoop/mapred/system
    [INFO] MgmtConfInitializer - mapred.local.dir=/hadoop/mapred/local
    [INFO] MgmtConfInitializer - hadoop.log.dir=/var/ibm/biginsights/hadoop/logs
    [INFO] MgmtConfInitializer - datanode is not set
    [INFO] MgmtConfInitializer - localhost is NameNode
    [INFO] MgmtConfInitializer - MgmtConfInitializer: localhost is Secondary NameNode
    [INFO] MgmtConfInitializer - localhost is JobTracker
    [INFO] MgmtConfInitializer - localhost is DataNode
    [INFO] MgmtConfInitializer - hadoop.proxyuser.biadmin.hosts=*
    [INFO] MgmtConfInitializer - hadoop.proxyuser.biadmin.groups=*
    [INFO] HadoopConf - Hadoop Configuration class is not on classpath
    [INFO] MgmtConfInitializer - Detect user group: biadmin
    [INFO] MgmtConfInitializer - biginsights.home=/opt/ibm/biginsights
    [INFO] MgmtConfInitializer - biginsights.var=/var/ibm/biginsights
    [INFO] MgmtConfInitializer - mgmt.ssh.config=by_sudo_root_ssh
    [INFO] MgmtConfInitializer - mgmt.user=biadmin
    [INFO] MgmtConfInitializer - mgmt.group=biadmin
    [INFO] MgmtConfInitializer - biginsights.virtualnodes=null
    [INFO] HadoopConf - Hadoop conf saved to /home/biadmin/biginsights-quickstart-linux64_b20130821_1818/installer/hdm/hadoop-conf-staging
    [INFO] Progress - Check cluster environment
    [INFO] Progress - 2%
    [INFO] HadoopConf - Hadoop Configuration class is not on classpath
    [INFO] Prerequisite check - Proceeding mandatory check to verify if given credentials are correct to access cluster nodes : [localhost]
    com.ibm.xap.mgmt.util.TimeoutException: Timeout when executing process, timeout = 300000
        at com.ibm.xap.mgmt.util.Code.exec(Code.java:707)
        at com.ibm.xap.mgmt.util.ExecUtil.exec(ExecUtil.java:89)
        at com.ibm.xap.mgmt.hdm.AccountSshSetup.sudo(AccountSshSetup.java:1334)
        at com.ibm.xap.mgmt.hdm.AccountSshSetup.runAsRootRemote(AccountSshSetup.java:777)
        at com.ibm.xap.mgmt.hdm.AccountSshSetup.runAsRootRemote(AccountSshSetup.java:735)
        at com.ibm.xap.mgmt.hdm.AccountSshSetup.runAsRootRemote(AccountSshSetup.java:707)
        at com.ibm.xap.mgmt.hdm.PriorChecker.checkNodeAccess(PriorChecker.java:385)
        at com.ibm.xap.mgmt.hdm.PriorChecker.preCheck(PriorChecker.java:160)
        at com.ibm.xap.mgmt.hdm.PriorChecker.preCheck(PriorChecker.java:131)
        at com.ibm.xap.mgmt.hdm.PriorChecker.main(PriorChecker.java:126)
    [ERROR] Prerequisite check - Cannot use given credenital to access [localhost], please revisit Secure Shell page from installer UI to make sure all prerequisites are satisfied, then re-run the installer.
    [FATAL] System pre-check fails, some prerequisite is not fulfilled. Check log for detail.

    did u configure paswordless ssh for root user?