I can't enable FTP, I receive "Failed to execute command" when I try to apply the changes.
I don't have a clue about Linux, especially it's command line utility, so please bear with me.
Below are the error details:
ZitatAlles anzeigenFailed to execute command 'export LANG=C; invoke-rc.d 'proftpd' start
2>&1': Starting ftp server: proftpdNAS-T proftpd[27564]:
mod_tls_memcache/0.1: notice: unable to register 'memcache' SSL session
cache: Memcache support not enabled
NAS-T proftpd[27564]: Fatal: PassivePorts: min port must be less than
max port on line 60 of '/etc/proftpd/proftpd.conf'
failed!
invoke-rc.d: initscript proftpd, action "start" failed.
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'export LANG=C; invoke-rc.d 'proftpd' start 2>&1': Starting ftp server: proftpdNAS-T proftpd[27564]: mod_tls_memcache/0.1: notice: unable to register 'memcache' SSL session cache: Memcache support not enabled
NAS-T proftpd[27564]: Fatal: PassivePorts: min port must be less than max port on line 60 of '/etc/proftpd/proftpd.conf'
failed!
invoke-rc.d: initscript proftpd, action "start" failed.' in /usr/share/php/openmediavault/initscript.inc:176
Stack trace:
#0 /usr/share/php/openmediavault/initscript.inc(141): OMVSysVInitScript->invoke('start')
#1 /usr/share/php/openmediavault/initscript.inc(61): OMVSysVInitScript->start()
#2 /usr/share/openmediavault/engined/module/proftpd.inc(79): OMVSysVInitScript->exec()
#3 /usr/share/openmediavault/engined/rpc/config.inc(206): OMVModuleProftpd->startService()
#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#5 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#6 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
#7 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
I've tried this, but had no luck as that package isn't on the site anymore anywhere, nor is any mod-vroot package.
Alles anzeigenReinstall proftpd was no good idea.
At the end of this idea I reinstalled OMV again - with no success for FTP.
I checked google for the error I had and found in this forum an new package of mod-vroot, compiled an raspberry pi.
Codewget http://omv-extras.org/testing/proftpd-mod-vroot_0.9.2-3_armhf.deb dpkg -i proftpd-mod-vroot_0.9.2-3_armhf.deb
After loading this and installing it, FTP works.