Home Forums HDP on Linux – Installation ambari-server install error

This topic contains 4 replies, has 2 voices, and was last updated by  tedr 1 year ago.

  • Creator
    Topic
  • #29507

    hoondong kim
    Member

    I tried to install HDP1.3 in our company’s test machine.
    Test machine’s OS is centos6.4 ( Optional SW was fully installed version. )
    And, I met below error.

    I think that pre installed python2.6 cause this problem.
    But, installation manual recommend that CentOS 6 was not conflict with python2.6.( only conflict in CentOS 5) So, I am very confused about that.

    First, I considered the removing the python6.2.
    But, there are so many dependent sw and library in our machine.
    So, I gave up removing the python6.2.

    Is there any solution about below error????

    ============================================
    [root@HoonNote /]# yum install ambari-server
    ……………….
    Downloading Packages:
    ambari-server-1.2.4.9-1.noarch.rpm | 32 MB 00:04
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing : ambari-server-1.2.4.9-1.noarch 1/1
    Error unpacking rpm package ambari-server-1.2.4.9-1.noarch
    error: unpacking of archive failed on file /usr/lib/python2.6/site-packages/ambari_server: cpio: mkdir
    Verifying : ambari-server-1.2.4.9-1.noarch 1/1

    Failed:
    ambari-server.noarch 0:1.2.4.9-1
    ==============================================

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #29608

    tedr
    Moderator

    Hi Hoondong,

    It is good to hear that the problem is solved. Thanks for letting us know. Sounds like that was a glitch in the way the computer came up, since it was fixed by a reboot.

    Thanks,
    Ted.

    Collapse
    #29565

    hoondong kim
    Member

    Hi!

    I Solved this problem…
    But, I don’t know the exact reason.

    First, I tried to do mkdir command at that directory , directly in terminal console.
    And, there is a error. error message is … Invalid argument!…..

    So, I did restart our system.
    And, That problem was solved.

    All works fine…..^^

    Collapse
    #29510

    hoondong kim
    Member

    hi tedr..
    I had checked that directory’s writing permission. And, the yum installing account was root.

    And, I did below command one more.

    [root@localhost ~]# cd /usr/lib/python2.6/site-packages/
    [root@localhost site-packages]# chmod 777 ./

    And, I did yum install one more.
    But, error message was same.

    Is there any other solution???

    =============================
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing : ambari-server-1.2.4.9-1.noarch 1/1
    Error unpacking rpm package ambari-server-1.2.4.9-1.noarch
    error: unpacking of archive failed on file /usr/lib/python2.6/site-packages/ambari_server: cpio: mkdir
    Verifying : ambari-server-1.2.4.9-1.noarch 1/1

    Failed:
    ambari-server.noarch 0:1.2.4.9-1

    Complete!
    [root@HoonNote /]#

    Collapse
    #29508

    tedr
    Moderator

    Hi Hoondong,

    Does root have write permissions to /usr/lib/python2.6/site-packages/ ? from your error message it looks like it had trouble creating the directory.

    Thanks,
    Ted.

    Collapse
Viewing 4 replies - 1 through 4 (of 4 total)