activating ftp gives error

  • I did a clean install of omv 5, including updates. Added disks and shares.
    After activating ftp i get this error: (and there is more)


    Fout #0:OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run proftpd 2>&1' with exit code '1': debian:---------- ID: configure_proftpd_mod_core Function: file.managed Name: /etc/proftpd/proftpd.conf Result: True Comment: File /etc/proftpd/proftpd.conf updated Started: 14:20:42.161828 Duration: 83.372 ms Changes: ---------- diff: --- +++ @@ -42,56 +42,3 @@ </Limit> </Directory> -<IfModule mod_auth.c> - DefaultRoot /srv/ftp - MaxClients 10 - MaxLoginAttempts 1 - RequireValidShell on - # This option is useless because this is handled via the PAM - # pam_listfile.so module, so set it to 'off' by default. - UseFtpUsers off -</IfModule> -<IfModule mod_auth_pam.c> - AuthPAM on - AuthPAMConfig proftpd -</IfModule> -<IfModule mod_ban.c> - BanEngine off - BanControlsACLs all allow user root - BanLog /var/log/proftpd/ban.log - BanMessage Host %a has been banned - BanTable /var/run/proftpd/ban.tab -</IfModule> -<IfModule mod_ctrls.c> - ControlsEngine on - ControlsMaxClients 2 - ControlsLog /var/log/proftpd/controls.log - ControlsInterval 5 - ControlsSocket /var/run/proftpd/proftpd.sock -</IfModule> -<IfModule mod_ctrls_admin.c> - AdminControlsEngine off -</IfModule> -<IfModule mod_delay.c> - DelayEngine on -</IfModule> -<IfModule mod_facl.c> - FACLEngine on -</IfModule> -<IfModule mod_quotatab.c> - QuotaEngine off -</IfModule> -<IfModule mod_ratio.c> - Ratios off -</IfModule> -LoadModule mod_vroot.c -<IfModule mod_vroot.c> - VRootEngine on - VRootLog /var/log/proftpd/vroot.log - VRootAlias "/srv/dev-disk-by-label-diska/neostrada/" "neostrada" -</IfModule> -<IfModule mod_wrap.c> - TCPAccessFiles /etc/hosts.allow /etc/hosts.deny - TCPAccessSyslogLevels info warn - TCPServiceName ftpd -</IfModule>---------- ID: configure_proftpd_mod_core_default_login_msg Function: file.managed Name: /srv/ftp/welcome.msg Result: True Comment: File /srv/ftp/welcome.msg is in the correct state Started: 14:20:42.245315 Duration: 1.084 ms Changes:---------- ID: prereq_proftpd_mod_tls_certificates Function: salt.state Result: True Comment: States ran successfully. Updating debian. Started: 14:20:42.247166 Duration: 1030.517 ms Changes: debian: ---------- ID: remove_ssl_certificates_crt Function: module.run Result: True Comment: file.find: [] Started: 14:20:42.398973 Duration: 5.361 ms Changes: ---------- file.find: ---------- ID: remove_ssl_certificates_key Function: module.run Name: file.find Result: True Comment: Started: 14:20:42.404430 Duration: 0.311 ms Changes: ---------- ID: update_ssl_certificates Function: cmd.run Name: update-ca-certificates --fresh Result: True Comment: Command "update-ca-certificates --fresh" run Started: 14:20:42.405270 Duration: 867.945 ms Changes: ---------- pid: 2836 retcode: 0 stderr: stdout: Clearing symlinks in /etc/ssl/certs... done. Updating certificates in /etc/ssl/certs... 128 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. ---------- ID: remove_ssh_certificates Function: module.run Result: True Comment: file.find: [] Started: 14:20:43.273495 Duration: 1.628 ms Changes: ---------- file.find: Summary for debian ------------ Succeeded: 4 (changed=3) Failed: 0 ------------ Total states run: 4 Total run time: 875.245 ms---------- ID: configure_proftpd_mod_tls Function: file.managed Name: /etc/proftpd/tls.conf Result: True Comment: File /etc/proftpd/tls.conf is in the correct state Started: 14:20:43.277889 Duration: 29.289 ms Changes:---------- ID: configure_proftpd_mod_auth Function: file.append Name: /etc/proftpd/proftpd.conf Result: True Comment: Appended 9 lines Started: 14:20:43.307353 Duration: 16.598 ms Changes: ---------- diff: --- +++ @@ -42,3 +42,12 @@ </Limit> </Directory> +<IfModule mod_auth.c> + DefaultRoot /srv/ftp + MaxClients 10 + MaxLoginAttempts 1 + RequireValidShell on + # This option is useless because this is handled via the PAM + # pam_listfile.so module, so set it to 'off' by default. + UseFtpUsers off +</IfModule>---------- ID: proftpd_ftpusers_deny_root Function: file.uncomment Name: /etc/ftpusers Result: True Comment: Pattern already uncommented Started: 14:20:43.324082 Duration: 0.93 ms

    OMV 5 on i3-2120 CPU with 8GB

    Portainer with several Dockers

  • and the second part of the error:


    Changes:---------- ID: configure_proftpd_mod_auth_pam Function: file.append Name: /etc/proftpd/proftpd.conf Result: True Comment: Appended 4 lines Started: 14:20:43.325117 Duration: 2.024 ms Changes: ---------- diff: --- +++ @@ -51,3 +51,7 @@ # pam_listfile.so module, so set it to 'off' by default. UseFtpUsers off </IfModule> +<IfModule mod_auth_pam.c> + AuthPAM on + AuthPAMConfig proftpd +</IfModule>---------- ID: configure_proftpd_mod_ban Function: file.append Name: /etc/proftpd/proftpd.conf Result: True Comment: Appended 7 lines Started: 14:20:43.327256 Duration: 9.801 ms Changes: ---------- diff: --- +++ @@ -55,3 +55,10 @@ AuthPAM on AuthPAMConfig proftpd </IfModule> +<IfModule mod_ban.c> + BanEngine off + BanControlsACLs all allow user root + BanLog /var/log/proftpd/ban.log + BanMessage Host %a has been banned + BanTable /var/run/proftpd/ban.tab +</IfModule>---------- ID: configure_proftpd_mod_ctrls Function: file.append Name: /etc/proftpd/proftpd.conf Result: True Comment: Appended 7 lines Started: 14:20:43.337171 Duration: 2.466 ms Changes: ---------- diff: --- +++ @@ -62,3 +62,10 @@ BanMessage Host %a has been banned BanTable /var/run/proftpd/ban.tab </IfModule> +<IfModule mod_ctrls.c> + ControlsEngine on + ControlsMaxClients 2 + ControlsLog /var/log/proftpd/controls.log + ControlsInterval 5 + ControlsSocket /var/run/proftpd/proftpd.sock +</IfModule>---------- ID: configure_proftpd_mod_ctrls_admin Function: file.append Name: /etc/proftpd/proftpd.conf Result: True Comment: Appended 3 lines Started: 14:20:43.339731 Duration: 1.679 ms Changes: ---------- diff: --- +++ @@ -69,3 +69,6 @@ ControlsInterval 5 ControlsSocket /var/run/proftpd/proftpd.sock </IfModule> +<IfModule mod_ctrls_admin.c> + AdminControlsEngine off +</IfModule>---------- ID: configure_proftpd_mod_delay Function: file.append Name: /etc/proftpd/proftpd.conf Result: True Comment: Appended 3 lines Started: 14:20:43.341500 Duration: 1.626 ms Changes: ---------- diff: --- +++ @@ -72,3 +72,6 @@ <IfModule mod_ctrls_admin.c> AdminControlsEngine off </IfModule> +<IfModule mod_delay.c> + DelayEngine on +</IfModule>---------- ID: configure_proftpd_mod_facl Function: file.append Name: /etc/proftpd/proftpd.conf Result: True Comment: Appended 3 lines Started: 14:20:43.343216 Duration: 1.636 ms Changes: ---------- diff: --- +++ @@ -75,3 +75,6 @@ <IfModule mod_delay.c> DelayEngine on </IfModule> +<IfModule mod_facl.c> + FACLEngine on +</IfModule>---------- ID: configure_proftpd_mod_quotatab Function: file.append Name: /etc/proftpd/proftpd.conf Result: True Comment: Appended 3 lines Started: 14:20:43.344949 Duration: 1.707 ms Changes: ---------- diff: --- +++ @@ -78,3 +78,6 @@ <IfModule mod_facl.c> FACLEngine on </IfModule> +<IfModule mod_quotatab.c> + QuotaEngine off +</IfModule>---------- ID: configure_proftpd_mod_ratio Function: file.append Name: /etc/proftpd/proftpd.conf Result: True Comment: Appended 3 lines Started: 14:20:43.346751 Duration: 1.633 ms Changes: ---------- diff: --- +++ @@ -81,3 +81,6 @@ <IfModule mod_quotatab.c> QuotaEngine off </IfModule> +<IfModule mod_ratio.c> + Ratios off +</IfModule>---------- ID: configure_proftpd_mod_vroot Function: file.append Name: /etc/proftpd/proftpd.conf Result: True Comment: Appended 6 lines Started: 14:20:43.348474 Duration: 23.162 ms Changes: ---------- diff: --- +++ @@ -84,3 +84,9 @@ <IfModule mod_ratio.c> Ratios off </IfModule> +LoadModule mod_vroot.c +<IfModule mod_vroot.c> + VRootEngine on + VRootLog /var/log/proftpd/vroot.log + VRootAlias "/srv/dev-disk-by-label-diska/neostrada/" "neostrada" +</IfModule>---------- ID: configure_proftpd_mod_wrap Function: file.append Name: /etc/proftpd/proftpd.conf Result: True Comment: Appended 5 lines Started: 14:20:43.371750 Duration: 2.26 ms Changes: ---------- diff: --- +++ @@ -90,3 +90,8 @@ VRootLog /var/log/proftpd/vroot.log VRootAlias "/srv/dev-disk-by-label-diska/neostrada/" "neostrada" </IfModule> +<IfModule mod_wrap.c> + TCPAccessFiles /etc/hosts.allow /etc/hosts.deny + TCPAccessSyslogLevels info warn + TCPServiceName ftpd +</IfModule>---------- ID: create_proftpd_hosts_file_-etc-hosts.allow Function: file.managed Name: /etc/hosts.allow Result: True Comment: File /etc/hosts.allow exists with proper permissions. No changes made. Started: 14:20:43.374101 Duration: 0.848 ms Changes:---------- ID: create_proftpd_hosts_file_-etc-hosts.deny Function: file.managed Name: /etc/hosts.deny Result: True Comment: File /etc/hosts.deny exists with proper permissions. No changes made. Started: 14:20:43.375037 Duration: 0.815 ms Changes:---------- ID: test_proftpd_service_config Function: cmd.run Name: proftpd --configtest Result: True Comment: Command "proftpd --configtest" run Started: 14:20:43.376404 Duration: 84.861 ms Changes: ---------- pid: 4150 retcode: 0 stderr: 2019-12-13 14:20:43,459 openmediavault.local proftpd[4151] 192.168.1.4: mod_ctrls/0.9.5: error: unable to bind to local socket: No such file or directory stdout: Checking syntax of configuration file---------- ID: chmod_proftpd_pidfile Function: module.run Result: True Comment: onlyif condition is false Started: 14:20:43.463035 Duration: 3660.37 ms Changes:---------- ID: start_proftpd_service Function: service.running Name: proftpd Result: False Comment: Job for proftpd.service failed because the control process exited with error code. See "systemctl status proftpd.service" and "journalctl -xe" for details. Started: 14:20:47.512031 Duration: 78.739 ms Changes:Summary for debian-------------Succeeded: 20 (changed=14)Failed: 1-------------Total states run: 21Total run time: 5.035 s/usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly *salt.utils.args.get_function_argspec(original_function)/usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly *salt.utils.args.get_function_argspec(original_function)/usr/lib/python3/dist-packages/salt/utils/oset.py:47: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working class OrderedSet(collections.MutableSet): in /usr/share/php/openmediavault/system/process.inc:182Stack trace:#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()#1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()#2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusZH...', '/tmp/bgoutpute9...')#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)#8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)#11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)#12 {main}

    OMV 5 on i3-2120 CPU with 8GB

    Portainer with several Dockers

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!