Support Questions

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

rpm's missing when i install Ambari with local repository

avatar
Expert Contributor

Hi all, I asked similar question earlier when I got this error, I came to know it is network issue and for it to get resolved it will take some time. But my question is: Is it ok to download the rpm's individually from the redhat rpm's online and use them ( are the below rpm's generic or does it have any dependencies that I hvae to download it from the same repository where my machine is unable to reach currently.

EVen if I download, where should i place them? When install begins through Ambari how would it find those rpms? automatically ?

Is it the right way to do or its good practice to wait until i get my network issues resolved?

Thanks for all your suggestions.

1 ACCEPTED SOLUTION

avatar

@PJ

Yes, You can configure Local Repository inside your company N/W or in the same VM (if you do not have internet available).

From ambari side you can refer to : https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.1/bk_ambari-installation/content/setting_up_a...

As some of the packages like postgres are needed from the OS side repositories so you will need to also configure the OS local repository as well.

From RHEL side you can refer to: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Y...

View solution in original post

8 REPLIES 8

avatar

@PJ

You can download the whole amabri RPM in archived format from :

http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.2.0/ambari-2.4.2.0-centos6.tar.g...

For other OS.

See: https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-installation/content/ambari_repos...

After extracting the tar.gz file you shoudl see the RPMs.

- The Non Ambari RPMs will be doesnloaded from the Operating System Repository. like postgres...

avatar

@PJ

Additionally, You can get some more informations from:

https://github.com/apache/ambari/blob/release-2.4.2/ambari-server/src/main/package/dependencies.prop...

.

As per the note: http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-installation/content/download_the_...

- When you install the Ambari Server, the PostgreSQL packages and dependencies must be available for install. These packages are typically available as part of your Operating System repositories. Please confirm you have the appropriate repositories available for the postgresql-server packages. Similarly the openssl + python-xml dependencies also should come from the OS repository.

avatar
Expert Contributor

Hi, Thanks for the answer: I forgot to paste the packages missing: These are missing..... These are being downloaded from another repo server which is unable to reach... can i download these separately too and follow ambari installation?

Error Downloading Packages: fuse-2.8.3-4.el6.x86_64: failure: Packages/fuse-2.8.3-4.el6.x86_64.rpm from rhel-http: [Errno 256] No more mirrors to try. procmail-3.22-25.1.el6_5.1.x86_64: failure: Packages/procmail-3.22-25.1.el6_5.1.x86_64.rpm from rhel-http: [Errno 256] No more mirrors to try. hesiod-3.1.0-19.el6.x86_64: failure: Packages/hesiod-3.1.0-19.el6.x86_64.rpm from rhel-http: [Errno 256] No more mirrors to try. sendmail-8.14.4-9.el6.x86_64: failure: Packages/sendmail-8.14.4-9.el6.x86_64.rpm from rhel-http: [Errno 256] No more mirrors to try. crontabs-1.10-33.el6.noarch: failure: Packages/crontabs-1.10-33.el6.noarch.rpm from rhel-http: [Errno 256] No more mirrors to try. redhat-lsb-graphics-4.0-7.el6.x86_64: failure: Packages/redhat-lsb-graphics-4.0-7.el6.x86_64.rpm from rhel-http: [Errno 256] No more mirrors to try. redhat-lsb-printing-4.0-7.el6.x86_64: failure: Packages/redhat-lsb-printing-4.0-7.el6.x86_64.rpm from rhel-http: [Errno 256] No more mirrors to try. redhat-lsb-compat-4.0-7.el6.x86_64: failure: Packages/redhat-lsb-compat-4.0-7.el6.x86_64.rpm from rhel-http: [Errno 256] No more mirrors to try. fuse-libs-2.8.3-4.el6.x86_64: failure: Packages/fuse-libs-2.8.3-4.el6.x86_64.rpm from rhel-http: [Errno 256] No more mirrors to try. redhat-lsb-core-4.0-7.el6.x86_64: failure: Packages/redhat-lsb-core-4.0-7.el6.x86_64.rpm from rhel-http: [Errno 256] No more mirrors to try. cronie-anacron-1.4.4-15.el6.x86_64: failure: Packages/cronie-anacron-1.4.4-15.el6.x86_64.rpm from rhel-http: [Errno 256] No more mirrors to try. cronie-1.4.4-15.el6.x86_64: failure: Packages/cronie-1.4.4-15.el6.x86_64.rpm from rhel-http: [Errno 256] No more mirrors to try. redhat-lsb-4.0-7.el6.x86_64: failure: Packages/redhat-lsb-4.0-7.el6.x86_64.rpm from rhel-http: [Errno 256] No more mirrors to try.

avatar

@PJ

Ambari does not directly need those dependencies that you posted in the previous update.

Those might be part of some recursive dependencies on OS package. It is better to make sure that the RHEL repository (satellite) is available when you install any package so that the required RHEL dependencies will be downloaded automatically.

avatar
Expert Contributor
@jss

So you mean I should download it from our local Satellite repo once i get the network issues resolved...?

avatar

@PJ

I mean to say that Ambari actually does not need the packages that you posted in the previous error snippet.

There are some very basic OS utilities like "crontab", "procmail", "redhat-lsb-graphics" are missing on your OS. It's not ambari that is asking for these dependencies directly, But some very basic common OS packages are missing on your OS.

I will suggest you to first check why your OS has so many basic missing packages (like: "crontab", "procmail", "redhat-lsb-graphics")?

Most probably once your N/W issue is resolved at the OS level you should be able to run the install command find and if there are any deep dependency at the package level then those should get downloaded/installed automatically.

avatar
Expert Contributor

Thanks for the reply. I can wait until the n/w issue is resolved. But do you think I can create a repo of these rpm's downloaded individually and store them in the same repo server which is already accessible? Is it a good idea?

Thanks...

avatar

@PJ

Yes, You can configure Local Repository inside your company N/W or in the same VM (if you do not have internet available).

From ambari side you can refer to : https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.1/bk_ambari-installation/content/setting_up_a...

As some of the packages like postgres are needed from the OS side repositories so you will need to also configure the OS local repository as well.

From RHEL side you can refer to: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Y...