worker24h opened a new issue, #13779:
URL: https://github.com/apache/dolphinscheduler/issues/13779

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   The terminal show error info,  **sudo command not found** When I exectued 
**install.sh**, but I had installed sudo command on Ubuntu
   
   ```bash
   root@hadoop05:/opt/apps/apache-dolphinscheduler-3.1.0-bin# bash 
bin/install.sh
   1.create directory
   bin/install.sh: line 31: sudo: command not found
   bin/install.sh: line 32: sudo: command not found
   2.scp resources
   bin/install.sh: line 40: bash: command not found
   scp copy failed to exit
   root@hadoop05:/opt/apps/apache-dolphinscheduler-3.1.0-bin# 
   root@hadoop05:/opt/apps/apache-dolphinscheduler-3.1.0-bin# 
   root@hadoop05:/opt/apps/apache-dolphinscheduler-3.1.0-bin# which sudo
   /usr/bin/sudo
   root@hadoop05:/opt/apps/apache-dolphinscheduler-3.1.0-bin# echo $PATH
   
/opt/apps/flink-1.15.4/bin:/usr/local/apache-maven-3.6.3/bin:/opt/apps/jdk1.8.0_291/bin:/opt/apps/jdk1.8.0_291/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/opt/apps/hadoop-3.3.4/bin:/opt/apps/hadoop-3.3.4/sbin:/opt/apps/jdk1.8.0_291/bin:/opt/apps/jdk1.8.0_291/bin:/opt/apps/hadoop-3.3.4/bin:/opt/apps/hadoop-3.3.4/sbin:/usr/local/scala-2.12.17/bin:/opt/apps/hadoop-3.3.4/bin:/opt/apps/hadoop-3.3.4/sbin:/opt/apps/jdk1.8.0_291/bin:/opt/apps/hadoop-3.3.4/bin:/opt/apps/hadoop-3.3.4/sbin:/opt/apps/jdk1.8.0_291/bin
   root@hadoop05:/opt/apps/apache-dolphinscheduler-3.1.0-bin#
   ```
   
   ### What you expected to happen
   
   none
   
   ### How to reproduce
   
   none
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.1.x
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to