Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error #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: 23:06:36.886043
- Duration: 61.645 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -68,82 +68,4 @@
- DenyAll
- </Limit>
- </Directory>
- -<Directory /backup>
- - <Limit ALL>
- - AllowUser OR tom
- - DenyAll
- - </Limit>
- - <Limit READ DIRS>
- - AllowUser OR tom
- - DenyAll
- - </Limit>
- -</Directory>
- -<Directory /backups-heinz>
- - <Limit ALL>
- - AllowUser OR heinz,tom
- - DenyAll
- - </Limit>
- - <Limit READ DIRS>
- - AllowUser OR heinz,tom
- - DenyAll
- - </Limit>
- -</Directory>
- -<IfModule mod_auth.c>
- - DefaultRoot /srv/ftp
- - MaxClients 3
- - 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-4TBWDRED/storage/" "storage"
- - VRootAlias "/srv/dev-disk-by-label-4TBWDRED/filme/" "filme"
- - VRootAlias "/srv/dev-disk-by-label-4TBWDRED/heinz/" "heinz"
- - VRootAlias "/srv/dev-disk-by-label-4TBWDRED/ronny/" "ronny"
- - VRootAlias "/srv/dev-disk-by-label-4TBWDRED/backup/" "backup"
- - VRootAlias "/srv/dev-disk-by-label-4TBWDRED/backups-heinz/" "backups-heinz"
- -</IfModule>
- -<IfModule mod_wrap.c>
- - TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
- - TCPAccessSyslogLevels info warn
- - TCPServiceName ftpd
- -</IfModule>
- ----------
- ID: configure_proftpd_mod_core_custom_login_msg
- Function: file.managed
- Name: /srv/ftp/welcome.msg
- Result: True
- Comment: File /srv/ftp/welcome.msg is in the correct state
- Started: 23:06:36.947783
- Duration: 1.638 ms
- Changes:
- ----------
- ID: prereq_proftpd_mod_tls_certificates
- Function: salt.state
- Result: True
- Comment: States ran successfully. Updating debian.
- Started: 23:06:36.950072
- Duration: 734.771 ms
- Changes:
- debian:
- ----------
- ID: remove_ssl_certificates_crt
- Function: module.run
- Result: True
- Comment: file.find: []
- Started: 23:06:37.048756
- Duration: 47.797 ms
- Changes:
- ----------
- file.find:
- ----------
- ID: remove_ssl_certificates_key
- Function: module.run
- Name: file.find
- Result: True
- Comment:
- Started: 23:06:37.096641
- Duration: 0.277 ms
- Changes:
- ----------
- ID: update_ssl_certificates
- Function: cmd.run
- Name: update-ca-certificates --fresh
- Result: True
- Comment: Command "update-ca-certificates --fresh" run
- Started: 23:06:37.097399
- Duration: 584.669 ms
- Changes:
- ----------
- pid:
- 2661
- 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: 23:06:37.682252
- Duration: 1.026 ms
- Changes:
- ----------
- file.find:
- Summary for debian
- ------------
- Succeeded: 4 (changed=3)
- Failed: 0
- ------------
- Total states run: 4
- Total run time: 633.769 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: 23:06:37.684954
- Duration: 18.826 ms
- Changes:
- ----------
- ID: configure_proftpd_mod_auth
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 9 lines
- Started: 23:06:37.703881
- Duration: 13.144 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -69,3 +69,12 @@
- </Limit>
- </Directory>
- +<IfModule mod_auth.c>
- + DefaultRoot /srv/ftp
- + MaxClients 3
- + 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: 23:06:37.717168
- Duration: 1.447 ms
- Changes:
- ----------
- ID: configure_proftpd_mod_auth_pam
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 4 lines
- Started: 23:06:37.718728
- Duration: 2.468 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -78,3 +78,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: 23:06:37.721310
- Duration: 12.283 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -82,3 +82,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: 23:06:37.733729
- Duration: 2.931 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -89,3 +89,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: 23:06:37.736803
- Duration: 1.635 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -96,3 +96,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: 23:06:37.738532
- Duration: 1.464 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -99,3 +99,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: 23:06:37.740086
- Duration: 1.436 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -102,3 +102,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: 23:06:37.741610
- Duration: 1.728 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -105,3 +105,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: 23:06:37.743444
- Duration: 1.633 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -108,3 +108,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 9 lines
- Started: 23:06:37.745173
- Duration: 56.914 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -111,3 +111,12 @@
- <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-4TBWDRED/storage/" "storage"
- + VRootAlias "/srv/dev-disk-by-label-4TBWDRED/filme/" "filme"
- + VRootAlias "/srv/dev-disk-by-label-4TBWDRED/heinz/" "heinz"
- + VRootAlias "/srv/dev-disk-by-label-4TBWDRED/ronny/" "ronny"
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_wrap
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 5 lines
- Started: 23:06:37.802181
- Duration: 1.748 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -120,3 +120,8 @@
- VRootAlias "/srv/dev-disk-by-label-4TBWDRED/heinz/" "heinz"
- VRootAlias "/srv/dev-disk-by-label-4TBWDRED/ronny/" "ronny"
- </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: 23:06:37.804002
- Duration: 0.668 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: 23:06:37.804738
- Duration: 0.626 ms
- Changes:
- ----------
- ID: test_proftpd_service_config
- Function: cmd.run
- Name: proftpd --configtest
- Result: True
- Comment: Command "proftpd --configtest" run
- Started: 23:06:37.805835
- Duration: 129.969 ms
- Changes:
- ----------
- pid:
- 3980
- retcode:
- 0
- stderr:
- 2019-11-16 23:06:37,934 openmediavault.local proftpd[3981] 127.0.1.1: 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: 23:06:37.936730
- Duration: 2779.784 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: 23:06:41.068210
- Duration: 51.994 ms
- Changes:
- Summary for debian
- -------------
- Succeeded: 20 (changed=14)
- Failed: 1
- -------------
- Total states run: 21
- Total run time: 3.879 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:182
- Stack 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/bgstatus4a...', '/tmp/bgoutputGA...')
- #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}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement