Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Installing Ambari MPack Fails Python Usage Message

avatar
Expert Contributor

Trying to install Amabri Management Pack and i cannot get the command to run

ambari-server install-mpack --mpack=http://public-repo-1.hortonworks.com/HDF/centos6/2.x/updates/2.1.1.0/tars/hdf_ambari_mp/hdf-ambari-mpack-2.1.1.0-2.tar.gz --purge --verbose

Using python /usr/bin/python Usage: {start|stop|restart|setup|setup-jce|upgrade|status|upgradestack|setup-ldap|sync-ldap|set-current|setup-security|setup-sso|refresh-stack-hash|backup|restore|update-host-names|check-database|db-cleanup|enable-stack} [options] Use --help to get details on options available. Or, simply invoke ambari-server.py --help to print the options.

What is going on?

I also placed a question on here:

http://stackoverflow.com/questions/42094091/installing-ambari-mpack-fails-python-usage-message

1 ACCEPTED SOLUTION

avatar
Expert Contributor

I'm on RHEL 6, my repo satellite had Ambari for RHEL 7. Running yum install ambari-server --nogpgcheck caused the wrong version to be forced onto rhel 6.

View solution in original post

2 REPLIES 2

avatar
Expert Contributor

I'm on RHEL 6, my repo satellite had Ambari for RHEL 7. Running yum install ambari-server --nogpgcheck caused the wrong version to be forced onto rhel 6.

avatar

What were your steps prior to invoking this command? For example, did Ambari server setup complete successfully?