[ 
https://issues.apache.org/jira/browse/AMBARI-26108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

穆喜军 updated AMBARI-26108:
-------------------------
    Description: 
When I install ambari-server by yum, i found the error message.

!微信截图_20240802113442.png|width=650,height=373!

After run ambari-server setup and exec faild

[root@node1 opt]#  ambari-server setup 
/usr/sbin/ambari-server: line 91: line: unbound variable

---------------------

Later, I found that install-helper.sh and ambari-env.sh did not have+x 
permission

[root@node1 opt]# ll /var/lib/ambari-server/
total 28
{-}rw-r{-}{-}r{-}-  1 root root 1526 Jul 30  2024 ambari-env.sh
-rwxr-xr-x  1 root root 1345 Jul 30  2024 ambari-sudo.sh
-rwxr-xr-x  1 root root 1523 Jul 30  2024 create-python-wrap.sh
drwxr-xr-x  4 root root   30 Jul 30 14:14 data
{-}rw-r{-}{-}r{-}-  1 root root 9467 Jul 30  2024 install-helper.sh
drwxr-xr-x  3 root root   33 Jul 30 14:14 keys
drwxr-xr-x 12 root root 4096 Jul 30 14:14 resources

 

  was:
When I install ambari-server by yum, i found the error message.

!微信截图_20240802113442.png! After run ambari-server setup and exec faild

[root@node1 opt]#  ambari-server setup 
/usr/sbin/ambari-server: line 91: line: unbound variable

---------------------

Later, I found that install-helper.sh and ambari-env.sh did not have+x 
permission

[root@node1 opt]# ll /var/lib/ambari-server/
total 28
-rw-r--r--  1 root root 1526 Jul 30  2024 ambari-env.sh
-rwxr-xr-x  1 root root 1345 Jul 30  2024 ambari-sudo.sh
-rwxr-xr-x  1 root root 1523 Jul 30  2024 create-python-wrap.sh
drwxr-xr-x  4 root root   30 Jul 30 14:14 data
-rw-r--r--  1 root root 9467 Jul 30  2024 install-helper.sh
drwxr-xr-x  3 root root   33 Jul 30 14:14 keys
drwxr-xr-x 12 root root 4096 Jul 30 14:14 resources

 


> Ambari server install error and failed to exec ambari-server setup
> ------------------------------------------------------------------
>
>                 Key: AMBARI-26108
>                 URL: https://issues.apache.org/jira/browse/AMBARI-26108
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 3.0.0
>         Environment: Rocky Linux8.10
>            Reporter: 穆喜军
>            Priority: Major
>         Attachments: 微信截图_20240802113442.png
>
>
> When I install ambari-server by yum, i found the error message.
> !微信截图_20240802113442.png|width=650,height=373!
> After run ambari-server setup and exec faild
> [root@node1 opt]#  ambari-server setup 
> /usr/sbin/ambari-server: line 91: line: unbound variable
> ---------------------
> Later, I found that install-helper.sh and ambari-env.sh did not have+x 
> permission
> [root@node1 opt]# ll /var/lib/ambari-server/
> total 28
> {-}rw-r{-}{-}r{-}-  1 root root 1526 Jul 30  2024 ambari-env.sh
> -rwxr-xr-x  1 root root 1345 Jul 30  2024 ambari-sudo.sh
> -rwxr-xr-x  1 root root 1523 Jul 30  2024 create-python-wrap.sh
> drwxr-xr-x  4 root root   30 Jul 30 14:14 data
> {-}rw-r{-}{-}r{-}-  1 root root 9467 Jul 30  2024 install-helper.sh
> drwxr-xr-x  3 root root   33 Jul 30 14:14 keys
> drwxr-xr-x 12 root root 4096 Jul 30 14:14 resources
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to