关于 'start-stop-daemon' not found in PATH or not executable

  有段时间没有登上ubuntu了,再次登上系统安装软件时,出现可如下的情况:

  如图提示:start-stop-daemon 不在环境变量中,或不能执行;

  根据文章中的方法进行尝试,但是,问题任然没有结果。可能是start-stop-daemon没有安装(可能是之前文件误删导致)。于是有对守护进程“start-stop-daemon”进行安装。问题得到解决。

  安装"start-stop-daemon"

cd /tmp  
wget http://developer.axis.com/download/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz  
tar zxf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz  
cd apps/sys-utils/start-stop-daemon-IR1_9_18-2/  
gcc start-stop-daemon.c -o start-stop-daemon  
cp start-stop-daemon /usr/local/bin/start-stop-daemon 

   参考:https://blog.csdn.net/weixin_33701617/article/details/88694701

     https://blog.csdn.net/weixin_33858336/article/details/91886882

猜你喜欢

转载自www.cnblogs.com/der1128/p/12595972.html