clemlabprojects / ambari

Fork of Apache Ambari maintained by Clemlab Company
https://www.clemlab.com
Apache License 2.0
39 stars 14 forks source link

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

Open max-kuklinski opened 3 weeks ago

max-kuklinski commented 3 weeks ago

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 commented 2 weeks ago

Hi @max-kuklinski,

Can you check the content of ambari.repo file

max-kuklinski commented 2 weeks ago

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)