You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/11/24 10:09:42 UTC
[GitHub] [dolphinscheduler] wan1869 opened a new issue #6983: sudo: sorry, you must have a tty to run sudo
wan1869 opened a new issue #6983:
URL: https://github.com/apache/dolphinscheduler/issues/6983
### 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
![1637746939(1)](https://user-images.githubusercontent.com/75246409/143213898-b75ca41c-9f8a-4db2-958c-4b276cee2158.png)
![1637746999(1)](https://user-images.githubusercontent.com/75246409/143214047-3d504e86-1ac9-4545-90f8-3c0d7468a184.png)
![1637747045(1)](https://user-images.githubusercontent.com/75246409/143214158-ccb111b7-f5a9-4cbb-a8e6-77e4362aa1eb.png)
I installed DolphinScheduler according to the official documentation, created the project and ran a simple shell node. The project failed and the log said "sudo: Sorry, you must have a tty to run sudo ", and also checked my /etc/sudoers file, there is no Default requiretty content, the above three pictures can see the general content of what I said. My DolphinScheduler version is 1.3.9. How can I handle this problem?
### What you expected to happen
How to solve "Sudo: Sorry, you must have a tty to run sudo"?
### How to reproduce
I had problems trying to install the DolphinScheduler on several cloud servers
### Anything else
_No response_
### Version
1.3.9
### Are you willing to submit PR?
- [X] 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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] dailidong commented on issue #6983: sudo: sorry, you must have a tty to run sudo
Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #6983:
URL: https://github.com/apache/dolphinscheduler/issues/6983#issuecomment-979102508
if you're interested in this question, I think you can submit a PR to make it better.
the doc need to update for the right word, requirett -> requiretty
```
sed -i 's/Defaults requiretty/#Defaults requiretty/g' /etc/sudoers
```
the doc repository:
https://github.com/apache/dolphinscheduler-website
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #6983: sudo: sorry, you must have a tty to run sudo
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #6983:
URL: https://github.com/apache/dolphinscheduler/issues/6983#issuecomment-977727189
Hi:
* Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
* In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
* If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] dailidong closed issue #6983: sudo: sorry, you must have a tty to run sudo
Posted by GitBox <gi...@apache.org>.
dailidong closed issue #6983:
URL: https://github.com/apache/dolphinscheduler/issues/6983
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] dailidong commented on issue #6983: sudo: sorry, you must have a tty to run sudo
Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #6983:
URL: https://github.com/apache/dolphinscheduler/issues/6983#issuecomment-979099249
![image](https://user-images.githubusercontent.com/15833811/143430370-f144d36d-35f2-4a0f-90cc-1249e2a50c32.png)
https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/guide/installation/pseudo-cluster.html
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] dailidong commented on issue #6983: sudo: sorry, you must have a tty to run sudo
Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #6983:
URL: https://github.com/apache/dolphinscheduler/issues/6983#issuecomment-979093329
you should execute the following command in the linux terminal:
sed -i 's/Defaults requiretty/#Defaults requiretty/g' /etc/sudoers
this command means you should comment the line like this action
#Defaults requiretty
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org