Andrew Onischuk created AMBARI-8333:
---------------------------------------
Summary: Ambari-agent restart fails on Ubuntu.
Key: AMBARI-8333
URL: https://issues.apache.org/jira/browse/AMBARI-8333
Project: Ambari
Issue Type: Bug
Reporter: Andrew Onischuk
Assignee: Andrew Onischuk
Fix For: 1.7.0
STR:
1\. Start ambari-agent
2\. Make sure it's registered with ambari-server.
3\. Execute ambari-agent restart
root@u1201:~# ambari-agent restart
Restarting ambari-agent
Verifying Python version compatibility...
Using python /usr/bin/python2.7
Found ambari-agent PID: 8240
Stopping ambari-agent
Removing PID file at /var/run/ambari-agent/ambari-agent.pid
ambari-agent successfully stopped
Verifying Python version compatibility...
Using python /usr/bin/python2.7
Checking for previously running Ambari Agent...
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 9186 8274 0 11:24 pts/0 00:00:00 apt-cache showpkg iso-codes
====================
Agent out at: /var/log/ambari-agent/ambari-agent.out
Agent log at: /var/log/ambari-agent/ambari-agent.log
The reason for this, is that we don't kill child processes, when killing
ambari-agent, during restart.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)