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:10:12.613633
- Duration: 121.675 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -19,12 +19,15 @@
- AuthOrder mod_auth_pam.c* mod_auth_unix.c
- DefaultTransferMode ascii
- Port 21
- -TransferLog NONE
- -IdentLookups off
- +TransferLog /var/log/proftpd/xferlog
- +IdentLookups on
- UseReverseDNS off
- TimeoutIdle 1200
- TimeoutNoTransfer 600
- TimeoutStalled 600
- +PassivePorts 49152 65534
- +AllowRetrieveRestart on
- +AllowStoreRestart on
- DeleteAbortedStores off
- MaxConnectionsPerHost 2
- DisplayLogin /srv/ftp/welcome.msg
- @@ -32,55 +35,3 @@
- HideFiles (welcome.msg)
- </Directory>
- -<IfModule mod_auth.c>
- - DefaultRoot /srv/ftp
- - MaxClients 5
- - MaxLoginAttempts 1
- - RequireValidShell off
- - # 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
- -</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:10:12.735492
- Duration: 1.987 ms
- Changes:
- ----------
- ID: prereq_proftpd_mod_tls_certificates
- Function: salt.state
- Result: True
- Comment: States ran successfully. Updating debian.
- Started: 20:10:12.738801
- Duration: 1276.524 ms
- Changes:
- debian:
- ----------
- ID: remove_ssl_certificates_crt
- Function: module.run
- Result: True
- Comment: file.find: []
- Started: 20:10:13.032827
- Duration: 11.003 ms
- Changes:
- ----------
- file.find:
- ----------
- ID: remove_ssl_certificates_key
- Function: module.run
- Name: file.find
- Result: True
- Comment:
- Started: 20:10:13.043986
- Duration: 0.539 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:10:13.045433
- Duration: 965.2 ms
- Changes:
- ----------
- pid:
- 4446
- 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:10:14.010924
- Duration: 1.792 ms
- Changes:
- ----------
- file.find:
- Summary for debian
- ------------
- Succeeded: 4 (changed=3)
- Failed: 0
- ------------
- Total states run: 4
- Total run time: 978.534 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: 20:10:14.015522
- Duration: 25.137 ms
- Changes:
- ----------
- ID: configure_proftpd_mod_auth
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 9 lines
- Started: 20:10:14.040833
- Duration: 20.587 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -35,3 +35,12 @@
- HideFiles (welcome.msg)
- </Directory>
- +<IfModule mod_auth.c>
- + DefaultRoot /srv/ftp
- + MaxClients 5
- + MaxLoginAttempts 1
- + RequireValidShell off
- + # 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:10:14.061612
- Duration: 1.406 ms
- Changes:
- ----------
- ID: configure_proftpd_mod_auth_pam
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 4 lines
- Started: 20:10:14.063174
- Duration: 3.331 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -44,3 +44,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:10:14.066664
- Duration: 17.141 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -48,3 +48,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:10:14.083985
- Duration: 4.736 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -55,3 +55,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:10:14.088904
- Duration: 3.255 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -62,3 +62,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:10:14.092334
- Duration: 3.138 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -65,3 +65,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:10:14.095634
- Duration: 3.114 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -68,3 +68,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:10:14.098908
- Duration: 3.145 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -71,3 +71,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:10:14.102214
- Duration: 3.097 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -74,3 +74,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 5 lines
- Started: 20:10:14.105476
- Duration: 15.062 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -77,3 +77,8 @@
- <IfModule mod_ratio.c>
- Ratios off
- </IfModule>
- +LoadModule mod_vroot.c
- +<IfModule mod_vroot.c>
- + VRootEngine on
- + VRootLog /var/log/proftpd/vroot.log
- +</IfModule>
- ----------
- ID: configure_proftpd_mod_wrap
- Function: file.append
- Name: /etc/proftpd/proftpd.conf
- Result: True
- Comment: Appended 5 lines
- Started: 20:10:14.120720
- Duration: 4.243 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -82,3 +82,8 @@
- VRootEngine on
- VRootLog /var/log/proftpd/vroot.log
- </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:10:14.125126
- Duration: 1.671 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:10:14.126968
- Duration: 1.735 ms
- Changes:
- ----------
- ID: test_proftpd_service_config
- Function: cmd.run
- Name: proftpd --configtest
- Result: True
- Comment: Command "proftpd --configtest" run
- Started: 20:10:14.130078
- Duration: 580.159 ms
- Changes:
- ----------
- pid:
- 5760
- retcode:
- 0
- stderr:
- 2020-03-16 20:10:14,707 MerxaNAS proftpd[5761] 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:10:14.712067
- Duration: 5669.354 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:10:21.350034
- Duration: 104.56 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:10:21.455779
- Duration: 0.005 ms
- Changes:
- Summary for debian
- -------------
- Succeeded: 20 (changed=14)
- Failed: 2
- -------------
- Total states run: 22
- Total run time: 7.865 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/bgstatus9g...', '/tmp/bgoutputWd...')
- #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