通过supervisord启动plumi守护进程后。检查supervisorctl状态后的终端截图如下。
日志ploneftp-stdout---supervisor-mlgou2.log文件是
Traceback (most recent call last):
File "/home/abhishek/tuts/test/plumi.app/bin/ploneftp", line 21, in + sys.argv[1:])
File "/home/abhishek/tuts/test/plumi.app/eggs/unweb.recipe.ploneftp-0.1-py2.7.egg/unweb/recipe/ploneftp/ctl.py", line 57, in main ploneftp.zope_ftpd.main(args[0])
File "/home/abhishek/tuts/test/plumi.app/eggs/unweb.recipe.ploneftp-0.1-py2.7.egg/unweb/recipe/ploneftp/zope_ftpd.py", line 232, in main ftpd = ftpserver.FTPServer(address, ftp_handler)
File "/home/abhishek/tuts/test/plumi.app/eggs/pyftpdlib-0.7.0-py2.7.egg/pyftpdlib/ftpserver.py", line 3712, in init raise socket.error(msg) socket.error: [Errno 13] Permission denied
答案1
如果您不是以 root 身份运行,则将无法启动监听标准低号端口(如 21(标准 FTP 端口))的服务器。