简体   繁体   English

/ usr / local / bin / qtpasswd:没有这样的文件或目录

[英]/usr/local/bin/qtpasswd: No such file or directory

I'm Trying to install Darwin Streaming Server on virtualbox ubuntu desktop amd64. 我正在尝试在virtualbox ubuntu桌面amd64上安装Darwin Streaming Server。 Running the darwin setup at the end gives this 最后运行darwin设置可以做到这一点

./Install: line 406: /usr/local/bin/qtpasswd: No such file or directory
./Install: line 406: /usr/local/bin/qtpasswd: No such file or directory
Setup Complete!

And When I hit the url on the browser it says "Server is not running please start it before attempting to administer it". 当我在浏览器中单击URL时,它显示“服务器未运行,请在尝试管理它之前启动它”。

you can post your complete installing log. 您可以发布完整的安装日志。 i run into the same error prompt as yours while i build my Darwin Stream Server-5.5.5 source on centOS6.5 . 在centOS6.5上构建Darwin Stream Server-5.5.5源代码时,遇到了与您相同的错误提示。

you can modify part of the installing script "Install" (about line 191) 您可以修改部分安装脚本“ Install”(关于第191行)

# Add the unprivileged user qtss as the server's run user
echo "Creating unprivileged user to run the server = \"qtss\"."
if [ $INSTALL_OS = "Linux" ]; then
    /usr/sbin/useradd -M qtss > /dev/null 2>&1
else
    /usr/sbin/useradd qtss > /dev/null 2>&1
fi

into

# Add the unprivileged user qtss as the server's run user
echo "Creating unprivileged user to run the server = \"qtss\"."
if [ $INSTALL_OS = "Linux" ]; then

groupadd -r qtss

/usr/sbin/useradd -M -r -g qtss qtss > /dev/null 2>&1

else
    /usr/sbin/useradd qtss > /dev/null 2>&1
fi

then try to run ./Install again. 然后尝试再次运行./Install。 it works for me. 这个对我有用。

make sure you have installed perl before you run ./Install 在运行./Install之前,请确保已安装了perl。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM