2015-07-30 18:06:44,116 INFO [com.wizincloud.utils.FFmpegUtil,189]
- ffmpeg command:sudo ffmpeg -i /mnt/online/resource/message/E6xn8NYNe58OFp6z-Ka1pUPQiCSE3Jq2V5iHEMTNEDlTSHxHPnaBsyu1Ruw79r42.amr -f mp3 /mnt/online/resource/message/E6xn8NYNe58OFp6z-Ka1pUPQiCSE3Jq2V5iHEMTNEDlTSHxHPnaBsyu1Ruw79r42.mp3
sudo: sorry, you must have a tty to run sudo
Process exitValue: 1
sudo: sorry, you must have a tty to run sudo
导致这问题的原因是 sudo默认需要在 tty终端里才能正确被调用,我们可以通过修改 /etc/sudoers配置文件来解决这个问题:
vi /etc/sudoers
注释掉 Default requiretty 一行
版权声明:本文为博主原创文章,未经博主允许不得转载。
sudo: sorry, you must have a tty to run sudo
原文地址:http://blog.csdn.net/u013628152/article/details/47154273