clemlabprojects / ambari

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

Rocky Linux > 8.5: cannot start ambari-server #32

Open mmichelon-eulerds opened 1 year ago

mmichelon-eulerds commented 1 year ago

systemctl start ambari-server fails with following error on rocky linux (8.5 and higher): /etc/rc.d/init.d/ambari-server: ligne 91: ligne : variable sans liaison

lucasbak commented 1 year ago

Hi @mmichelon-eulerds,

Can you provide the full stack trace so we can investigate ?

Best regards,

Clemlab Team

mmichelon-eulerds commented 1 year ago

Thanks for you quick reply. This is all I get: L'unité (unit) ambari-server.service a commencé à démarrer. oct. 27 03:59:52 edp-06 sudo[3117]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=list oct. 27 03:59:52 edp-06 ambari-server[3108]: /etc/rc.d/init.d/ambari-server: line 91: line: unbound variable oct. 27 03:59:52 edp-06 systemd[1]: ambari-server.service: Control process exited, code=exited status=1 oct. 27 03:59:52 edp-06 systemd[1]: ambari-server.service: Failed with result 'exit-code'. -- Subject: Unit failed

/var/log/ambari-server/ directory is empty, is there some way I could get more info?

lucasbak commented 1 year ago

Hi @mmichelon-eulerds ,

you need to install Python2, for now Ambari support only python2. you can install it with sudo yum install -y python2

Best regards,

Clemlab Team

SGITLOGIN commented 11 months ago

您好: 官方文档中关于ambari server部分安装步骤不全,ambari agent步骤应该是全的, 麻烦问一下您这边可以提供ambari server端的安装步骤吗