Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.1
-
None
Description
STR:
- Start ambari server
- yum update ambari-server -y. This installed new bits
- ambari-server restart
- Go To UI->install options and let ambari install the agent on all hosts
- This failed for the ambari-agent co-hosted with ambari-server
- Manually installed ambari-agent on that host. yum install ambari-agent -y
- ambari-agent status command outputs
Found ambari-agent PID: 13954 ambari-agent not running. Stale PID File at: /var/run/ambari-agent/ambari-agent.pid
- ambari-agent start command outputs
Verifying Python version compatibility... Using python /usr/bin/python2.6 Checking for previously running Ambari Agent... /var/run/ambari-agent/ambari-agent.pid found with no process. Removing 13954... Starting ambari-agent Verifying ambari-agent process status... ERROR: ambari-agent start failed. For more details, see /var/log/ambari-agent/ambari-agent.out: ==================== Failed to start ping port listener of: Could not open port 8670 because port already used by another process: UID PID PPID C STIME TTY TIME CMD root 2166 2156 0 Jun17 ? 00:05:35 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start restart --expected-hostname=host ==================== Agent out at: /var/log/ambari-agent/ambari-agent.out Agent log at: /var/log/ambari-agent/ambari-agent.log
- ps aux | grep ambari_agent | grep -v grep
root 2156 0.0 0.3 206732 11008 ? S Jun17 0:00 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py start restart --expected-hostname=host root 2166 0.3 0.4 590496 18064 ? Sl Jun17 5:36 /usr/bin/python2.6 /usr/lib/python2.6/site-packages/ambari_agent/main.py start restart --expected-hostname=host
Attachments
Issue Links
- links to