Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation of ambari-server fails on Rocky Linux 8 (install-helper.sh: Permission denied) #87

Open
max-kuklinski opened this issue Jun 10, 2024 · 5 comments

Comments

@max-kuklinski
Copy link

After adding Ambari Repo (https://archive.clemlab.com/centos8-python3/ambari-release/2.7.9.0.0-110/ambari.repo)

Command: sudo dnf install -y ambari-server

Output:

Transaction Summary
=======================================================================================================================================================================
Install  7 Packages

Total size: 642 M
Installed size: 768 M
Downloading Packages:
[SKIPPED] python2-2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2.x86_64.rpm: Already downloaded
[SKIPPED] python2-libs-2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2.x86_64.rpm: Already downloaded
[SKIPPED] python2-pip-9.0.3-19.module+el8.9.0+1531+a18208f5.noarch.rpm: Already downloaded
[SKIPPED] python2-pip-wheel-9.0.3-19.module+el8.9.0+1531+a18208f5.noarch.rpm: Already downloaded
[SKIPPED] python2-setuptools-39.0.1-14.module+el8.10.0+1813+4b021305.noarch.rpm: Already downloaded
[SKIPPED] python2-setuptools-wheel-39.0.1-14.module+el8.10.0+1813+4b021305.noarch.rpm: Already downloaded
[SKIPPED] ambari-server-2.7.9.0-110.x86_64.rpm: Already downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                               1/1
  Installing       : python2-setuptools-wheel-39.0.1-14.module+el8.10.0+1813+4b021305.noarch                                                                       1/7
  Installing       : python2-pip-wheel-9.0.3-19.module+el8.9.0+1531+a18208f5.noarch                                                                                2/7
  Installing       : python2-libs-2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2.x86_64                                                                         3/7
  Installing       : python2-pip-9.0.3-19.module+el8.9.0+1531+a18208f5.noarch                                                                                      4/7
  Installing       : python2-setuptools-39.0.1-14.module+el8.10.0+1813+4b021305.noarch                                                                             5/7
  Installing       : python2-2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2.x86_64                                                                              6/7
  Running scriptlet: python2-2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2.x86_64                                                                              6/7
  Running scriptlet: ambari-server-2.7.9.0-110.x86_64                                                                                                              7/7
  Installing       : ambari-server-2.7.9.0-110.x86_64                                                                                                              7/7
  Running scriptlet: ambari-server-2.7.9.0-110.x86_64                                                                                                              7/7
/var/tmp/rpm-tmp.k2D6sk: line 23: //var/lib/ambari-server/install-helper.sh: Permission denied

  Verifying        : python2-2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2.x86_64                                                                              1/7
  Verifying        : python2-libs-2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2.x86_64                                                                         2/7
  Verifying        : python2-pip-9.0.3-19.module+el8.9.0+1531+a18208f5.noarch                                                                                      3/7
  Verifying        : python2-pip-wheel-9.0.3-19.module+el8.9.0+1531+a18208f5.noarch                                                                                4/7
  Verifying        : python2-setuptools-39.0.1-14.module+el8.10.0+1813+4b021305.noarch                                                                             5/7
  Verifying        : python2-setuptools-wheel-39.0.1-14.module+el8.10.0+1813+4b021305.noarch                                                                       6/7
  Verifying        : ambari-server-2.7.9.0-110.x86_64                                                                                                              7/7

Installed:
  ambari-server-2.7.9.0-110.x86_64                                                      python2-2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2.x86_64
  python2-libs-2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2.x86_64                 python2-pip-9.0.3-19.module+el8.9.0+1531+a18208f5.noarch
  python2-pip-wheel-9.0.3-19.module+el8.9.0+1531+a18208f5.noarch                        python2-setuptools-39.0.1-14.module+el8.10.0+1813+4b021305.noarch
  python2-setuptools-wheel-39.0.1-14.module+el8.10.0+1813+4b021305.noarch

Complete!
[root@rocky-8gb-nbg1-1 yum.repos.d]# ll /var/lib/ambari-server/install-helper.sh
-rw-------. 1 root root 9497 Apr  4 08:14 /var/lib/ambari-server/install-helper.sh

Things I observed:

@lucasbak
Copy link
Collaborator

Hi @max-kuklinski,

Can you check the content of ambari.repo file

@max-kuklinski
Copy link
Author

What should I check in detail? I used the ambari.repo file mentioned in my first post (https://archive.clemlab.com/centos8-python3/ambari-release/2.7.9.0.0-110/ambari.repo)

@Natsuc0
Copy link

Natsuc0 commented Nov 28, 2024

Do you get any news or solve your problem ? i facing the same issue

@lucasbak
Copy link
Collaborator

@max-kuklinski @Natsuc0

Do you have enough space on /tmp ?
/var/lib/ambari-server/install-helper.sh does not need to be called manually
check if binaries are installed.

Regards,

Clemlab Team

@Natsuc0
Copy link

Natsuc0 commented Nov 29, 2024

I don't call this script manually. This issue occured when I yum installed ambari-server from downloaded repository from your website. But i workarrount my issue with install from your repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants