ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21396) /usr/sbin/ambari-agent missing after Ambari upgrade
Date Mon, 03 Jul 2017 14:41:00 GMT

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

Andrew Onischuk updated AMBARI-21396:
-------------------------------------
    Status: Patch Available  (was: Open)

> /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)

Mime
View raw message