proftpd服务启动的问题 Starting proftpd: execvp: No such file or directory

proftpd服务启动的问题 Starting proftpd: execvp: No such file or directory

把profpd源代码目录下的proftpd-1.3.1/contrib/dist/rpm/proftpd.init.d拷贝到/etc/rc.d/init.d/proftpd
在/etc/rc.d/rc3.d中建立proftpd的启动停止链接:
    ln -s ../init.d/proftpd S86proftpd
    ln -s ../init.d/proftpd K18proftpd
然后,/sbin/service proftpd start
报错误:Starting proftpd: execvp: No such file or directory
经检查,是proftpd.init.d脚本中的路径有问题:
  PATH="$PATH:/usr/local/sbin"
而我的proftpd安装在/usr/local/proftpd目录下
修改上面的路径为PATH="$PATH:/usr/local/proftpd/sbin",重新启动,问题解决

你可能感兴趣的:(proftpd服务启动的问题 Starting proftpd: execvp: No such file or directory)