我目前在安装 Proftpd 时遇到以下错误:
Can't open PID file /run/proftpd/proftpd.pid (yet?) after start: No such file or directory
但是,当我运行时,ls /run/proftpd/
我看到了以下文件,proftpd.delay proftpd.pid proftpd.scoreboard proftpd.scoreboard.lck proftpd.sock
其中 proftpd.pid 肯定存在。
我尝试删除 proftpd 并重新安装,但即使是全新安装也会出现同样的错误。
我还禁用了 SELinux,因为我在网上看到某处可能会导致该问题。
还有其他想法吗?
完整状态日志:
Redirecting to /bin/systemctl status proftpd.service
● proftpd.service - ProFTPD FTP Server
Loaded: loaded (/usr/lib/systemd/system/proftpd.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2022-06-30 09:42:02 EDT; 6s ago
Process: 30580 ExecStart=/usr/sbin/proftpd $PROFTPD_OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 30581 (proftpd)
CGroup: /system.slice/proftpd.service
└─30581 proftpd: (accepting connections)
Jun 30 09:42:02 xxx.xxx.xxx systemd[1]: Starting ProFTPD FTP Server...
Jun 30 09:42:02 xxx.xxx.xxx systemd[1]: Can't open PID file /run/proftpd/proftpd.pid (yet?) after start: No such file or directory
Jun 30 09:42:02 xxx.xxx.xxx proftpd[30581]: xxx.xxx.xxx - ProFTPD 1.3.5e (maint) (built Tue Sep 7 2021 10:34:22 UTC) standalone mode STARTUP
Jun 30 09:42:02 xxx.xxx.xxx systemd[1]: Started ProFTPD FTP Server.