ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-6226) ambari-agent start command fails.
Date Mon, 23 Jun 2014 13:17:24 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitry Lysnichenko resolved AMBARI-6226.
----------------------------------------

    Resolution: Fixed

Committed to trunk and  to branch-1.6.1

> ambari-agent start command fails.
> ---------------------------------
>
>                 Key: AMBARI-6226
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6226
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent, test
>    Affects Versions: 1.6.1
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 1.6.1
>
>
> *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 {code} Found ambari-agent PID: 13954
> ambari-agent not running. Stale PID File at: /var/run/ambari-agent/ambari-agent.pid{code}
> # ambari-agent start command outputs {code} 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
> {code}
> # ps aux | grep ambari_agent | grep -v grep {code} 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message