You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2014/11/17 13:37:34 UTC

[jira] [Resolved] (AMBARI-8333) Ambari-agent restart fails on Ubuntu.

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

Dmitry Lysnichenko resolved AMBARI-8333.
----------------------------------------
    Resolution: Fixed

Committed to trunk

> 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: Dmitry Lysnichenko
>             Fix For: 2.0.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)