Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

failed to start cloudera manager agent

avatar
New Contributor

Hi I am trying to add two nodes to cluster in centos6.5 op system  in which on one of the nodes cloudera manager server is running

 

my resolv.conf

 

www.node1.com

nameserver 192.168.1.254

 

my hosts

192.168.x.x   www.node1.com

192.168.x.x   www.node2.com

 

_________________________________________

 

my network  file

 

 

networking =yes

hostname=www.node1.com

gateway=192.168.1.254

 

when i was trying to install i am getting an error like failed to start cloudera manager agent   -- please help me i am stuck here from many days ........................................

 

 

 

 

 

Support
admin

Add New Hosts to Cluster
Installation in progress.

0 of 2 host(s) completed successfully.
Installation failed on 1 host(s).
Hostname IP Address Progress Status
www.node1.com 192.168.1.10

Details
Starting Cloudera Manager Agent...
www.node5.com 192.168.1.5

Uninstall | Details
Installation failed.
Failed to start Cloudera Manager Agent. (Failed Step)
(Current Step) Last Refreshed: May 3, 2014 9:17:59 AM BST
/tmp/scm_prepare_node.mJZsClYs
using SSH_CLIENT to get the SCM hostname: 192.168.1.10 42961 22
opening logging file descriptor
Starting installation script...
Acquiring installation lock...
BEGIN flock 4
END (0)
Detecting root privileges...
effective UID is 0
Detecting distribution...
BEGIN grep Tikanga /etc/redhat-release
END (1)
BEGIN grep 'CentOS release 5' /etc/redhat-release
END (1)
BEGIN grep 'Scientific Linux release 5' /etc/redhat-release
END (1)
BEGIN grep Santiago /etc/redhat-release
END (1)
BEGIN grep 'CentOS Linux release 6' /etc/redhat-release
END (1)
BEGIN grep 'CentOS release 6' /etc/redhat-release
CentOS release 6.5 (Final)
END (0)
/etc/redhat-release ==> CentOS 6
Detecting Cloudera Manager Server...
BEGIN host -t PTR 192.168.1.10
Host 10.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
END (1)
BEGIN which python
/usr/bin/python
END (0)
BEGIN python -c 'import socket; import sys; s = socket.socket(socket.AF_INET); s.settimeout(5.0); s.connect((sys.argv[1], int(sys.argv[2]))); s.close();' 192.168.1.10 7182
END (0)
BEGIN which wget
/usr/bin/wget
END (0)
BEGIN wget -qO- -T 1 -t 1 http://169.254.169.254/latest/meta-data/public-hostname && /bin/echo
END (4)
Installing package repositories...
validating format of repository file /tmp/scm_prepare_node.mJZsClYs/repos/rhel6/cloudera-manager.repo
installing repository file /tmp/scm_prepare_node.mJZsClYs/repos/rhel6/cloudera-manager.repo
repository file /tmp/scm_prepare_node.mJZsClYs/repos/rhel6/cloudera-manager.repo installed
Refreshing package metadata...
BEGIN yum clean all
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: base cdh-solr cloudera-cdh4 cloudera-impala cloudera-manager
: extras updates
Cleaning up Everything
END (0)
BEGIN rm -Rf /var/cache/yum/x86_64
END (0)
BEGIN yum makecache
Loaded plugins: fastestmirror, refresh-packagekit, security
Metadata Cache Created
END (0)
Installing jdk package...
BEGIN yum list installed jdk
Loaded plugins: fastestmirror, refresh-packagekit, security
Installed Packages
jdk.x86_64 2000:1.6.0_31-fcs @cloudera-manager
END (0)
BEGIN echo jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons | grep jdk
jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons
END (0)
BEGIN yum info jdk
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
* base: mirror.simwood.com
* extras: mirrors.manchester.m247.com
* updates: mirror.simwood.com
Installed Packages
Name : jdk
Arch : x86_64
Epoch : 2000
Version : 1.6.0_31
Release : fcs
Size : 143 M
Repo : installed
From repo : cloudera-manager
Summary : Java(TM) Platform Standard Edition Development Kit
URL : http://java.sun.com/
License : Copyright (c) 2011, Oracle and/or its affiliates. All rights
: reserved. Also under other license(s) as shown at the Description
: field.
Description : The Java Platform Standard Edition Development Kit (JDK) includes
: both the runtime environment (Java virtual machine, the Java
: platform classes and supporting files) and development tools
: (compilers, debuggers, tool libraries and other tools).
:
: The JDK is a development environment for building applications,
: applets and components that can be deployed with the Java Platform
: Standard Edition Runtime Environment.

END (0)
BEGIN yum -y install jdk.x86_64
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.simwood.com
* extras: mirrors.manchester.m247.com
* updates: mirror.simwood.com
Setting up Install Process
Package 2000:jdk-1.6.0_31-fcs.x86_64 already installed and latest version
Nothing to do
END (0)
remote package jdk installed
Installing oracle-j2sdk1.7 package...
BEGIN yum list installed oracle-j2sdk1.7
Loaded plugins: fastestmirror, refresh-packagekit, security
Installed Packages
oracle-j2sdk1.7.x86_64 1.7.0+update45-1 @cloudera-manager
END (0)
BEGIN echo jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons | grep oracle-j2sdk1.7
jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons
END (0)
BEGIN yum info oracle-j2sdk1.7
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.simwood.com
* extras: mirrors.manchester.m247.com
* updates: mirror.simwood.com
Installed Packages
Name : oracle-j2sdk1.7
Arch : x86_64
Version : 1.7.0+update45
Release : 1
Size : 274 M
Repo : installed
From repo : cloudera-manager
Summary : no description given
URL : http://example.com/no-uri-given
License : unknown
Description : no description given

END (0)
BEGIN yum -y install oracle-j2sdk1.7.x86_64
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.simwood.com
* extras: mirrors.manchester.m247.com
* updates: mirror.simwood.com
Setting up Install Process
Package oracle-j2sdk1.7-1.7.0+update45-1.x86_64 already installed and latest version
Nothing to do
END (0)
remote package oracle-j2sdk1.7 installed
Installing cloudera-manager-agent package...
BEGIN yum list installed cloudera-manager-agent
Loaded plugins: fastestmirror, refresh-packagekit, security
Installed Packages
cloudera-manager-agent.x86_64 5.0.0-1.cm500.p0.215.el6 @cloudera-manager
END (0)
BEGIN echo jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons | grep cloudera-manager-agent
jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons
END (0)
BEGIN yum info cloudera-manager-agent
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.simwood.com
* extras: mirrors.manchester.m247.com
* updates: mirror.simwood.com
Installed Packages
Name : cloudera-manager-agent
Arch : x86_64
Version : 5.0.0
Release : 1.cm500.p0.215.el6
Size : 26 M
Repo : installed
From repo : cloudera-manager
Summary : The Cloudera Manager Agent
URL : http://www.cloudera.com
License : Proprietary
Description : The Cloudera Manager Agent.
:
: The Agent is deployed to machines running services managed by
: Cloudera Manager.

END (0)
Version : 5.0.0
Release : 1.cm500.p0.215.el6
BEGIN yum -y install cloudera-manager-agent
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.simwood.com
* extras: mirrors.manchester.m247.com
* updates: mirror.simwood.com
Setting up Install Process
Package cloudera-manager-agent-5.0.0-1.cm500.p0.215.el6.x86_64 already installed and latest version
Nothing to do
END (0)
remote package cloudera-manager-agent installed
Installing cloudera-manager-daemons package...
BEGIN yum list installed cloudera-manager-daemons
Loaded plugins: fastestmirror, refresh-packagekit, security
Installed Packages
cloudera-manager-daemons.x86_64 5.0.0-1.cm500.p0.215.el6 @cloudera-manager
END (0)
BEGIN echo jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons | grep cloudera-manager-daemons
jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons
END (0)
BEGIN yum info cloudera-manager-daemons
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.simwood.com
* extras: mirrors.manchester.m247.com
* updates: mirror.simwood.com
Installed Packages
Name : cloudera-manager-daemons
Arch : x86_64
Version : 5.0.0
Release : 1.cm500.p0.215.el6
Size : 394 M
Repo : installed
From repo : cloudera-manager
Summary : Provides daemons for monitoring Hadoop and related tools.
URL : http://www.cloudera.com
License : Proprietary
Description : This package includes daemons for monitoring and managing Hadoop.

END (0)
Version : 5.0.0
Release : 1.cm500.p0.215.el6
BEGIN yum -y install cloudera-manager-daemons
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.simwood.com
* extras: mirrors.manchester.m247.com
* updates: mirror.simwood.com
Setting up Install Process
Package cloudera-manager-daemons-5.0.0-1.cm500.p0.215.el6.x86_64 already installed and latest version
Nothing to do
END (0)
remote package cloudera-manager-daemons installed
Configuring Cloudera Manager Agent...
BEGIN grep server_host=192.168.1.10 /etc/cloudera-scm-agent/config.ini
server_host=192.168.1.10
END (0)
scm agent is already configured
Starting Cloudera Manager Agent...
BEGIN /sbin/service cloudera-scm-agent status | grep running
END (1)
BEGIN /sbin/service cloudera-scm-agent start
Starting cloudera-scm-agent: [FAILED]
END (1)
agent logs:
BEGIN tail -n 50 /var/log/cloudera-scm-agent//cloudera-scm-agent.out | sed 's/^/>>/'
>>/usr/lib64/cmf/agent/src/cmf/agent.py:24: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
>> import sha
>>/usr/lib64/cmf/agent/src/cmf/parcel.py:15: DeprecationWarning: the sets module is deprecated
>> from sets import Set
>>[03/May/2014 09:16:53 +0000] 30960 MainThread agent INFO SCM Agent Version: 5.0.0
>>[03/May/2014 09:16:53 +0000] 30960 MainThread agent INFO Agent Protocol Version: 4
>>[03/May/2014 09:16:54 +0000] 30960 MainThread agent ERROR Could not determine hostname or ip address; proceeding.
>>Traceback (most recent call last):
>> File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 1713, in parse_arguments
>> ip_address = socket.gethostbyname(fqdn)
>>gaierror: [Errno -2] Name or service not known
>>usage: agent.py [-h] [--agent_dir AGENT_DIR] [--lib_dir LIB_DIR]
>> [--agent_httpd_port AGENT_HTTPD_PORT] --package_dir
>> PACKAGE_DIR [--parcel_dir PARCEL_DIR]
>> [--supervisord_path SUPERVISORD_PATH]
>> [--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]
>> [--standalone STANDALONE] [--master MASTER]
>> [--environment ENVIRONMENT] [--host_id HOST_ID]
>> [--disable_supervisord_events] --hostname HOSTNAME
>> --ip_address IP_ADDRESS [--use_tls]
>> [--client_key_file CLIENT_KEY_FILE]
>> [--client_cert_file CLIENT_CERT_FILE]
>> [--verify_cert_file VERIFY_CERT_FILE]
>> [--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE]
>> [--logdir LOGDIR] [--optional_token] [--clear_agent_dir]
>>agent.py: error: argument --hostname is required
>>[03/May/2014 09:16:54 +0000] 30960 Dummy-1 agent INFO Stopping agent...
>>/usr/lib64/cmf/agent/src/cmf/agent.py:24: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
>> import sha
>>/usr/lib64/cmf/agent/src/cmf/parcel.py:15: DeprecationWarning: the sets module is deprecated
>> from sets import Set
>>[03/May/2014 09:16:53 +0000] 30960 MainThread agent INFO SCM Agent Version: 5.0.0
>>[03/May/2014 09:16:53 +0000] 30960 MainThread agent INFO Agent Protocol Version: 4
>>[03/May/2014 09:16:54 +0000] 30960 MainThread agent ERROR Could not determine hostname or ip address; proceeding.
>>Traceback (most recent call last):
>> File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 1713, in parse_arguments
>> ip_address = socket.gethostbyname(fqdn)
>>gaierror: [Errno -2] Name or service not known
>>usage: agent.py [-h] [--agent_dir AGENT_DIR] [--lib_dir LIB_DIR]
>> [--agent_httpd_port AGENT_HTTPD_PORT] --package_dir
>> PACKAGE_DIR [--parcel_dir PARCEL_DIR]
>> [--supervisord_path SUPERVISORD_PATH]
>> [--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]
>> [--standalone STANDALONE] [--master MASTER]
>> [--environment ENVIRONMENT] [--host_id HOST_ID]
>> [--disable_supervisord_events] --hostname HOSTNAME
>> --ip_address IP_ADDRESS [--use_tls]
>> [--client_key_file CLIENT_KEY_FILE]
>> [--client_cert_file CLIENT_CERT_FILE]
>> [--verify_cert_file VERIFY_CERT_FILE]
>> [--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE]
>> [--logdir LOGDIR] [--optional_token] [--clear_agent_dir]
>>agent.py: error: argument --hostname is required
>>[03/May/2014 09:16:54 +0000] 30960 Dummy-1 agent INFO Stopping agent...
END (0)
BEGIN tail -n 50 /var/log/cloudera-scm-agent//cloudera-scm-agent.log | sed 's/^/>>/'
>>Traceback (most recent call last):
>> File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 761, in send_heartbeat
>> self.master_port)
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __init__
>> self.conn.connect()
>> File "/usr/lib64/python2.6/httplib.py", line 720, in connect
>> self.timeout)
>> File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
>> raise error, msg
>>error: [Errno 113] No route to host
>>[01/May/2014 00:49:31 +0000] 2102 MainThread agent ERROR Heartbeating to 192.168.1.1:7182 failed.
>>Traceback (most recent call last):
>> File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 761, in send_heartbeat
>> self.master_port)
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __init__
>> self.conn.connect()
>> File "/usr/lib64/python2.6/httplib.py", line 720, in connect
>> self.timeout)
>> File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
>> raise error, msg
>>error: [Errno 113] No route to host
>>[01/May/2014 00:49:46 +0000] 2102 MainThread agent ERROR Heartbeating to 192.168.1.1:7182 failed.
>>Traceback (most recent call last):
>> File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 761, in send_heartbeat
>> self.master_port)
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __init__
>> self.conn.connect()
>> File "/usr/lib64/python2.6/httplib.py", line 720, in connect
>> self.timeout)
>> File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
>> raise error, msg
>>error: [Errno 113] No route to host
>>[01/May/2014 00:50:01 +0000] 2102 MainThread agent ERROR Heartbeating to 192.168.1.1:7182 failed.
>>Traceback (most recent call last):
>> File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 761, in send_heartbeat
>> self.master_port)
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __init__
>> self.conn.connect()
>> File "/usr/lib64/python2.6/httplib.py", line 720, in connect
>> self.timeout)
>> File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
>> raise error, msg
>>error: [Errno 113] No route to host
>>[01/May/2014 00:50:07 +0000] 2102 MainThread agent INFO Stopping agent...
>>[01/May/2014 00:50:07 +0000] 2102 MainThread agent INFO No extant cgroups; unmounting any cgroup roots
>>[01/May/2014 00:50:07 +0000] 2102 MainThread agent INFO No processes are being managed; Supervisor will shutdown.
>>[01/May/2014 00:50:07 +0000] 2102 MainThread agent INFO Shutting down supervisord, pid 2135
>>[01/May/2014 00:50:08 +0000] 2102 MainThread agent INFO waiting for process to terminate...
>>[01/May/2014 00:50:08 +0000] 2102 MainThread agent INFO Successfully killed process with pid 2135
>>[01/May/2014 00:50:08 +0000] 2102 MainThread _cplogging INFO [01/May/2014:00:50:08] ENGINE Bus STOPPING
>>Traceback (most recent call last):
>> File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 761, in send_heartbeat
>> self.master_port)
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __init__
>> self.conn.connect()
>> File "/usr/lib64/python2.6/httplib.py", line 720, in connect
>> self.timeout)
>> File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
>> raise error, msg
>>error: [Errno 113] No route to host
>>[01/May/2014 00:49:31 +0000] 2102 MainThread agent ERROR Heartbeating to 192.168.1.1:7182 failed.
>>Traceback (most recent call last):
>> File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 761, in send_heartbeat
>> self.master_port)
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __init__
>> self.conn.connect()
>> File "/usr/lib64/python2.6/httplib.py", line 720, in connect
>> self.timeout)
>> File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
>> raise error, msg
>>error: [Errno 113] No route to host
>>[01/May/2014 00:49:46 +0000] 2102 MainThread agent ERROR Heartbeating to 192.168.1.1:7182 failed.
>>Traceback (most recent call last):
>> File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 761, in send_heartbeat
>> self.master_port)
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __init__
>> self.conn.connect()
>> File "/usr/lib64/python2.6/httplib.py", line 720, in connect
>> self.timeout)
>> File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
>> raise error, msg
>>error: [Errno 113] No route to host
>>[01/May/2014 00:50:01 +0000] 2102 MainThread agent ERROR Heartbeating to 192.168.1.1:7182 failed.
>>Traceback (most recent call last):
>> File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 761, in send_heartbeat
>> self.master_port)
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __init__
>> self.conn.connect()
>> File "/usr/lib64/python2.6/httplib.py", line 720, in connect
>> self.timeout)
>> File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
>> raise error, msg
>>error: [Errno 113] No route to host
>>[01/May/2014 00:50:07 +0000] 2102 MainThread agent INFO Stopping agent...
>>[01/May/2014 00:50:07 +0000] 2102 MainThread agent INFO No extant cgroups; unmounting any cgroup roots
>>[01/May/2014 00:50:07 +0000] 2102 MainThread agent INFO No processes are being managed; Supervisor will shutdown.
>>[01/May/2014 00:50:07 +0000] 2102 MainThread agent INFO Shutting down supervisord, pid 2135
>>[01/May/2014 00:50:08 +0000] 2102 MainThread agent INFO waiting for process to terminate...
>>[01/May/2014 00:50:08 +0000] 2102 MainThread agent INFO Successfully killed process with pid 2135
>>[01/May/2014 00:50:08 +0000] 2102 MainThread _cplogging INFO [01/May/2014:00:50:08] ENGINE Bus STOPPING
END (0)
end of agent logs.
scm agent could not be started, giving up
waiting for rollback request
1 2 3 4 5 6 7

Who agreed with this topic