You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2017/07/03 14:56:00 UTC

[jira] [Comment Edited] (AMBARI-21396) /usr/sbin/ambari-agent missing after Ambari upgrade

    [ https://issues.apache.org/jira/browse/AMBARI-21396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072566#comment-16072566 ] 

Andrew Onischuk edited comment on AMBARI-21396 at 7/3/17 2:55 PM:
------------------------------------------------------------------

Committed to trunk and branch-2.5


was (Author: aonishuk):
Committed to branch-2.5

> /usr/sbin/ambari-agent missing after Ambari upgrade
> ---------------------------------------------------
>
>                 Key: AMBARI-21396
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21396
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.5.2
>
>         Attachments: AMBARI-21396.patch
>
>
> STR:
>   * Install Ambari 2.4.2
>   * Upgrade to Ambari 2.5.2
> Result: `/usr/sbin/ambari-agent` missing, Agent can only be started as
> `service start ambari-agent`
>     
>     
>     $ yum upgrade -y ambari-agent
>     ...
>     ---> Package ambari-agent.x86_64 0:2.4.2.0-163 will be updated
>     ---> Package ambari-agent.x86_64 0:2.5.2.0-92 will be an update
>     ...
>     Updated:
>       ambari-agent.x86_64 0:2.5.2.0-92
>     
>     Complete!
>     $ ambari-agent start
>     -bash: /usr/sbin/ambari-agent: No such file or directory
>     $ which ambari-agent
>     /usr/bin/which: no ambari-agent in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
>     
> Works OK if installing from scratch:
>     
>     
>     $ yum install -y ambari-agent
>     ...
>     ---> Package ambari-agent.x86_64 0:2.5.2.0-92 will be installed
>     ...
>     Installed:
>       ambari-agent.x86_64 0:2.5.2.0-92
>     
>     Complete!
>     $ which ambari-agent
>     /usr/sbin/ambari-agent
>     
> Also works OK with previous build:
>     
>     
>     $ yum upgrade -y ambari-agent
>     ...
>     ---> Package ambari-agent.x86_64 0:2.4.2.0-163 will be updated
>     ---> Package ambari-agent.x86_64 0:2.5.2.0-91 will be an update
>     ...
>     Updated:
>       ambari-agent.x86_64 0:2.5.2.0-91
>     
>     Complete!
>     $ which ambari-agent
>     /usr/sbin/ambari-agent



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)