You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Mark S (JIRA)" <ji...@apache.org> on 2016/02/17 21:45:18 UTC

[jira] [Created] (AMBARI-15078) Command "ambari-server backup" fails as /var/run/ambari-server/bootstrap/ does not exist.

Mark S created AMBARI-15078:
-------------------------------

             Summary: Command "ambari-server backup" fails as /var/run/ambari-server/bootstrap/ does not exist.
                 Key: AMBARI-15078
                 URL: https://issues.apache.org/jira/browse/AMBARI-15078
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.2
         Environment: CentOS Linux release 7.2.1511 (Core)

rpm -qa | grep ambari
ambari-agent-2.1.2-377.x86_64
ambari-server-2.1.2-377.x86_64
ambari-metrics-hadoop-sink-2.1.2-377.x86_64
ambari-metrics-monitor-2.1.2-377.x86_64
ambari-metrics-collector-2.1.2-377.x86_64
            Reporter: Mark S
             Fix For: 2.2.0


I am looking to backup my Ambari 2.1.2 instance and I am trying to follow the instructions outlined here:

http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_ambari_reference_guide/content/_back_up_current_data.html

However, the final step throws an error:
{code}
ambari-server backup
Using python  /usr/bin/python2.7
Backing up Ambari File System state... *this will not backup the server database*
Backup requested.
No path specified. Will use /var/lib/ambari-server/Ambari_State_Backup.zip
Backup process initiated.
Error while validating folders. Folder /var/run/ambari-server/bootstrap/ does not exist.
{code}

There seems to be missing folders:
{code}
ls -al /var/run/ambari-server/
total 0
drwxr-xr-x.  2 root root   40 Feb 17 15:10 .
drwxr-xr-x. 38 root root 1000 Feb 11 17:38 ..
{code}

{panel}
Note**:  It is worth mentioning that this issue does not occur on my Ambari 2.2.0 instance.
{panel}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)