The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Linux – Installation Forum

ambari-server install error

  • #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
    ==============================================

  • Author
    Replies
  • #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.

    #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 /]#

    #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…..^^

    #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.

The forum ‘HDP on Linux – Installation’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.