simonj217 commented on PR #3751:
URL: https://github.com/apache/ambari/pull/3751#issuecomment-2717724065
hi @JiaLiangC
Hello,
I was able to successfully build Ambari on RHEL 8 without any issues but i
can not install ambari server .
log ---------------------------
/usr/jdk64/bin/java -version
openjdk version "17.0.14" 2025-01-21 LTS
OpenJDK Runtime Environment (Red_Hat-17.0.14.0.7-1) (build 17.0.14+7-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.14.0.7-1) (build 17.0.14+7-LTS, mixed
mode, sharing)
[root@m1 ~]# ambari-server setup ^C
[root@m1 ~]# ambari-server setup
bash: /usr/sbin/ambari-server: No such file or directory
[root@m1 ~]# yum install ambari-server
Last metadata expiration check: 1:32:51 ago on Wed 12 Mar 2025 01:47:47 PM
+0330.
Dependencies resolved.
================================================================================================================================================================
Package Architecture Version
Repository
Size
================================================================================================================================================================
Installing:
ambari-server x86_64
3.0.0.0-SNAPSHOT ambari
134 M
Installing dependencies:
libpq x86_64
13.20-1.el8_10 appstream
198 k
postgresql x86_64
10.23-4.module+el8.9.0+1734+74bd286c appstream
1.5 M
postgresql-server x86_64
10.23-4.module+el8.9.0+1734+74bd286c appstream
5.1 M
Transaction Summary
================================================================================================================================================================
Install 4 Packages
Total download size: 141 M
Installed size: 207 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): libpq-13.20-1.el8_10.x86_64.rpm
53 kB/s | 198 kB 00:03
(2/4): postgresql-server-10.23-4.module+el8.9.0+1734+74bd286c.x86_64.rpm
1.3 MB/s | 5.1 MB 00:03
(3/4): postgresql-10.23-4.module+el8.9.0+1734+74bd286c.x86_64.rpm
404 kB/s | 1.5 MB 00:03
(4/4): ambari-server-3.0.0.0-SNAPSHOT.x86_64.rpm
346 MB/s | 134 MB 00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Total
33 MB/s | 141 MB 00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing :
1/1
Installing : libpq-13.20-1.el8_10.x86_64
1/4
Installing : postgresql-10.23-4.module+el8.9.0+1734+74bd286c.x86_64
2/4
Running scriptlet:
postgresql-server-10.23-4.module+el8.9.0+1734+74bd286c.x86_64
3/4
Installing :
postgresql-server-10.23-4.module+el8.9.0+1734+74bd286c.x86_64
3/4
Running scriptlet:
postgresql-server-10.23-4.module+el8.9.0+1734+74bd286c.x86_64
3/4
Running scriptlet: ambari-server-3.0.0.0-SNAPSHOT.x86_64
4/4
Backing up configs: /etc/ambari-server/conf.save ->
/etc/ambari-server/conf_12_03_25_15_20.save
Installing : ambari-server-3.0.0.0-SNAPSHOT.x86_64
4/4
Running scriptlet: ambari-server-3.0.0.0-SNAPSHOT.x86_64
4/4
Verifying : libpq-13.20-1.el8_10.x86_64
1/4
Verifying : postgresql-10.23-4.module+el8.9.0+1734+74bd286c.x86_64
2/4
Verifying :
postgresql-server-10.23-4.module+el8.9.0+1734+74bd286c.x86_64
3/4
Verifying : ambari-server-3.0.0.0-SNAPSHOT.x86_64
4/4
Installed:
ambari-server-3.0.0.0-SNAPSHOT.x86_64
libpq-13.20-1.el8_10.x86_64
postgresql-10.23-4.module+el8.9.0+1734+74bd286c.x86_64
postgresql-server-10.23-4.module+el8.9.0+1734+74bd286c.x86_64
Complete!
[root@m1 ~]# ambari-server setup
Using python /usr/bin/python3
Setup ambari-server
Checking SELinux...
SELinux status is 'disabled'
Customize user account for ambari-server daemon [y/n] (n)?
Adjusting ambari-server permissions and ownership...
Checking firewall status...
Checking JDK...
[1] Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8
[2] Custom JDK
==============================================================================
Enter choice (1): 2
WARNING: JDK must be installed on all hosts and JAVA_HOME must be valid on
all hosts.
WARNING: JCE Policy files are required for configuring Kerberos security. If
you plan to use Kerberos,please make sure JCE Unlimited Strength Jurisdiction
Policy Files are valid on all hosts.
Path to JAVA_HOME: /usr/jdk64/
Validating JDK on Ambari Server...done.
Checking GPL software agreement...
GPL License for LZO:
https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
Enable Ambari Server to download and install GPL Licensed LZO packages [y/n]
(n)?
Completing setup...
Configuring database...
Enter advanced database configuration [y/n] (n)? n
Configuring database...
Default properties detected. Using built-in database.
Configuring ambari database...
Checking PostgreSQL...
Running initdb: This may take up to a minute.
About to start PostgreSQL
Configuring local database...
Configuring PostgreSQL...
Backup for pg_hba found, reconfiguration not required
Creating schema and user...
done.
Creating tables...
done.
Extracting system views...
INFO: Looking for available JDKs at /usr/jdk64
ERROR: No JDK found, please run the "setup" command to install a JDK
automatically or install any JDK manually to /usr/jdk64
ERROR: Exiting with exit code 1.
REASON: Error while extracting system views. Exiting
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]