|

楼主 |
发表于 2020-2-3 12:53:24
|
显示全部楼层
还是不行
配置文件如下:
root@unas:/mnt# cat /etc/proftpd/conf.d/unas-ftp.conf
<IfModule mod_vroot.c>
VRootAlias /mnt/hd3/nas1/ys ys
</IfModule>
<Directory /ys>
<Limit ALL>
AllowAll
Order Allow,Deny
</Limit>
</Directory>
运行以后报错
root@unas:/mnt# service proftpd status
● proftpd.service - LSB: Starts ProFTPD daemon
Loaded: loaded (/etc/init.d/proftpd; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-02-03 14:56:35 +12; 1h 25min ago
Docs: man:systemd-sysv-generator(8)
Feb 03 14:56:35 unas proftpd[12424]: Starting ftp server: proftpd2020-02-03 14:56:35,685 unas proftpd[12431]: fatal
: VRootAlias: missing arguments on line 2 of '/etc/proftpd/conf.d/unas-ftp.conf'
Feb 03 14:56:35 unas proftpd[12424]: failed!
Feb 03 14:56:35 unas systemd[1]: proftpd.service: Control process exited, code=exited status=1
Feb 03 14:56:35 unas systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
Feb 03 14:56:35 unas systemd[1]: proftpd.service: Unit entered failed state.
Feb 03 14:56:35 unas systemd[1]: proftpd.service: Failed with result 'exit-code'.
Feb 03 15:06:07 unas systemd[1]: proftpd.service: Unit cannot be reloaded because it is inactive.
Feb 03 15:06:13 unas systemd[1]: proftpd.service: Unit cannot be reloaded because it is inactive.
Feb 03 15:12:55 unas systemd[1]: proftpd.service: Unit cannot be reloaded because it is inactive.
Feb 03 15:15:21 unas systemd[1]: proftpd.service: Unit cannot be reloaded because it is inactive. |
|