Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ошибка #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: 20:07:51.757122
- Duration: 176.946 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -53,57 +53,3 @@
- </Limit>
- </Directory>
- -<IfModule mod_auth.c>
- - DefaultRoot /srv/ftp
- - MaxClients 5
- - 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 /run/proftpd/ban.tab
- -</IfModule>
- -<IfModule mod_ctrls.c>
- - ControlsEngine on
- - ControlsMaxClients 2
- - ControlsLog /var/log/proftpd/controls.log
- - ControlsInterval 5
- - ControlsSocket /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-HDD1/Mama/" "Mama"
- - VRootAlias "/srv/dev-disk-by-label-HDD1/Merxa/" "Merxa"
- -</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: 20:07:51.934254
- Duration: 35.382 ms
- Changes:
- ----------
- ID: prereq_proftpd_mod_tls_certificates
- Function: salt.state
- Result: True
- Comment: States ran successfully. Updating debian.
- Started: 20:07:51.971098
- Duration: 1584.444 ms
- Changes:
- debian:
- ----------
- ID: remove_ssl_certificates_crt
- Function: module.run
- Result: True
- Comment: file.find: []
- Started: 20:07:52.253374
- Duration: 84.882 ms
- Changes:
- ----------
- file.find:
- ----------
- ID: remove_ssl_certificates_key
- Function: module.run
- Name: file.find
- Result: True
- Comment:
- Started: 20:07:52.338427
- Duration: 0.559 ms
- Changes:
- ----------
- ID: update_ssl_certificates
- Function: cmd.run
- Name: update-ca-certificates --fresh
- Result: True
- Comment: Command "update-ca-certificates --fresh" run
- Started: 20:07:52.339944
- Duration: 1210.329 ms
- Changes:
- ----------
- pid:
- 1469
- 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: 20:07:53.550615
- Duration: 2.001 ms
- Changes:
- ----------
- file.find:
- Summary for debian
- ------------
- Succeeded: 4 (changed=3)
- Failed: 0
- ------------
- Total states run: 4
- Total run time: 1.298 s
- ----------
- 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: 20:07:53.555763
- Duration: 49.815 ms
- Changes:
- ----------
- ID: configure_proftpd_mod_auth
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 9 lines
- Started: 20:07:53.605765
- Duration: 19.109 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -53,3 +53,12 @@
- </Limit>
- </Directory>
- +<IfModule mod_auth.c>
- + DefaultRoot /srv/ftp
- + MaxClients 5
- + 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: 20:07:53.625043
- Duration: 16.202 ms
- Changes:
- ----------
- ID: configure_proftpd_mod_auth_pam
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 4 lines
- Started: 20:07:53.641388
- Duration: 2.919 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -62,3 +62,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: 20:07:53.644462
- Duration: 15.19 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -66,3 +66,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 /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: 20:07:53.659809
- Duration: 3.964 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -73,3 +73,10 @@
- BanMessage Host %a has been banned
- BanTable /run/proftpd/ban.tab
- </IfModule>
- +<IfModule mod_ctrls.c>
- + ControlsEngine on
- + ControlsMaxClients 2
- + ControlsLog /var/log/proftpd/controls.log
- + ControlsInterval 5
- + ControlsSocket /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: 20:07:53.663910
- Duration: 2.701 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -80,3 +80,6 @@
- ControlsInterval 5
- ControlsSocket /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: 20:07:53.666744
- Duration: 2.629 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -83,3 +83,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: 20:07:53.669505
- Duration: 2.599 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -86,3 +86,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: 20:07:53.672235
- Duration: 2.664 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -89,3 +89,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: 20:07:53.675029
- Duration: 2.637 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -92,3 +92,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 7 lines
- Started: 20:07:53.677796
- Duration: 82.922 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -95,3 +95,10 @@
- <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-HDD1/Mama/" "Mama"
- + VRootAlias "/srv/dev-disk-by-label-HDD1/Merxa/" "Merxa"
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_wrap
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 5 lines
- Started: 20:07:53.760880
- Duration: 3.609 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -102,3 +102,8 @@
- VRootAlias "/srv/dev-disk-by-label-HDD1/Mama/" "Mama"
- VRootAlias "/srv/dev-disk-by-label-HDD1/Merxa/" "Merxa"
- </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: 20:07:53.764628
- Duration: 1.397 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: 20:07:53.766157
- Duration: 1.342 ms
- Changes:
- ----------
- ID: test_proftpd_service_config
- Function: cmd.run
- Name: proftpd --configtest
- Result: True
- Comment: Command "proftpd --configtest" run
- Started: 20:07:53.768357
- Duration: 566.008 ms
- Changes:
- ----------
- pid:
- 2782
- retcode:
- 0
- stderr:
- 2020-03-02 20:07:54,332 MerxaNAS.home proftpd[2783] 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: 20:07:54.336201
- Duration: 7038.21 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: 20:08:02.264583
- Duration: 98.709 ms
- Changes:
- ----------
- ID: monitor_proftpd_service
- Function: module.run
- Name: monit.monitor
- Result: False
- Comment: One or more requisite failed: omv.deploy.proftpd.default.start_proftpd_service
- Started: 20:08:02.364831
- Duration: 0.005 ms
- Changes:
- Summary for debian
- -------------
- Succeeded: 20 (changed=14)
- Failed: 2
- -------------
- Total states run: 22
- Total run time: 9.709 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/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/bgstatusJi...', '/tmp/bgoutputEL...')
- #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