[ main] DbCommandExecutor INFO Successfully connected to database.
All done, your SCM database is configured correctly!
启动SCM server
[hadoop@master init.d]$ sudo ./cloudera-scm-server start
Starting cloudera-scm-server: [ OK ]
Starting cloudera-scm-agent: [FAILED]
排错中..... 看日志,发现少个什么libpython的东西
/opt/cloudera-manager-5.1.0/lib64/cmf/agent/build/env/bin/python: error
while loading shared libraries: libpython2.4.so.1.0: cannot open shared
object file: No such file or directory
***,万能的google,发现有人也在抱怨,因为RHEL6默认指向是python2.6,RHEL5是python2.4况,https://groups.google.com/a/cloudera.org/forum/#!msg/scm-users/Nz8O8eRn1RA/Jk0PUOAhQUkJ
Hi Simon,
On Wed, Dec 21, 2011 at 6:44 AM, Simon wrote:
Hello,
during the installation on all hosts process I get a few installation
errors:
1. the master (runs the manager) installs all hadoop packages, but
when it comes to Installing Clouder Manager agent package... it says
that it requires libpython2.4.so.1.0()(64bit), of course python2.4 is
not installed but 2.6 is, is there any workaround?
This also occurs if I try to install the agent manually via yum
What OS are you running? Is this an Amazon AMI?
Usually, when folks report this error, they're using RHEL/CentOS 6 (which has python 2.6) but their yum repos are pointed to our RHEL/CentOS 5 repos (5 has python 2.4).
突然恍然大悟,我的问题应该也是版本的问题,翻到前面的步骤,果然,一个眼花我下载的是el5版本的cdh5.1
下载离线的cloudera manager安装包, 放置于/opt目录,并解压,改名
12[hadoop@master opt]$ sudo tar -xzvf cloudera-manager-el5-cm5.1.0_x86_64.tar.gz[hadoop@master opt]$ sudo mv cm-5.1.0 cloudera-manager-5.1.0 发现了原因就好办了。删掉
[hadoop@master opt]$ sudo rm -rf /opt/cloudera
[hadoop@master opt]$ sudo rm -rf /opt/cloudera-manager-5.1.0/