Advertisement
Guest User

omv4-5

a guest
Aug 12th, 2021
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 17.20 KB | None | 0 0
  1. Errore #0:
  2. 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 --no-color proftpd 2>&1' with exit code '1': openmediavault.soppalco:
  3. ----------
  4.           ID: configure_proftpd_mod_core
  5.     Function: file.managed
  6.         Name: /etc/proftpd/proftpd.conf
  7.       Result: True
  8.      Comment: File /etc/proftpd/proftpd.conf updated
  9.      Started: 09:53:01.038172
  10.     Duration: 191.835 ms
  11.      Changes:
  12.               ----------
  13.               diff:
  14.                   ---
  15.                   +++
  16.                   @@ -31,55 +31,3 @@
  17.                      HideFiles (welcome.msg)
  18.                    </Directory>
  19.  
  20.                   -<IfModule mod_auth.c>
  21.                   -  DefaultRoot /srv/ftp
  22.                   -  MaxClients 5
  23.                   -  MaxLoginAttempts 1
  24.                   -  RequireValidShell on
  25.                   -  # This option is useless because this is handled via the PAM
  26.                   -  # pam_listfile.so module, so set it to 'off' by default.
  27.                   -  UseFtpUsers off
  28.                   -</IfModule>
  29.                   -<IfModule mod_auth_pam.c>
  30.                   -  AuthPAM on
  31.                   -  AuthPAMConfig proftpd
  32.                   -</IfModule>
  33.                   -<IfModule mod_ban.c>
  34.                   -  BanEngine off
  35.                   -  BanControlsACLs all allow user root
  36.                   -  BanLog /var/log/proftpd/ban.log
  37.                   -  BanMessage Host %a has been banned
  38.                   -  BanTable /run/proftpd/ban.tab
  39.                   -</IfModule>
  40.                   -<IfModule mod_ctrls.c>
  41.                   -  ControlsEngine on
  42.                   -  ControlsMaxClients 2
  43.                   -  ControlsLog /var/log/proftpd/controls.log
  44.                   -  ControlsInterval 5
  45.                   -  ControlsSocket /run/proftpd/proftpd.sock
  46.                   -</IfModule>
  47.                   -<IfModule mod_ctrls_admin.c>
  48.                   -  AdminControlsEngine off
  49.                   -</IfModule>
  50.                   -<IfModule mod_delay.c>
  51.                   -  DelayEngine on
  52.                   -</IfModule>
  53.                   -<IfModule mod_facl.c>
  54.                   -  FACLEngine on
  55.                   -</IfModule>
  56.                   -<IfModule mod_quotatab.c>
  57.                   -  QuotaEngine off
  58.                   -</IfModule>
  59.                   -<IfModule mod_ratio.c>
  60.                   -  Ratios off
  61.                   -</IfModule>
  62.                   -LoadModule mod_vroot.c
  63.                   -<IfModule mod_vroot.c>
  64.                   -  VRootEngine on
  65.                   -  VRootLog /var/log/proftpd/vroot.log
  66.                   -</IfModule>
  67.                   -<IfModule mod_wrap.c>
  68.                   -  TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
  69.                   -  TCPAccessSyslogLevels info warn
  70.                   -  TCPServiceName ftpd
  71.                   -</IfModule>
  72. ----------
  73.           ID: configure_proftpd_mod_core_custom_login_msg
  74.     Function: file.managed
  75.         Name: /srv/ftp/welcome.msg
  76.       Result: True
  77.      Comment: File /srv/ftp/welcome.msg is in the correct state
  78.      Started: 09:53:01.230201
  79.     Duration: 2.436 ms
  80.      Changes:
  81. ----------
  82.           ID: prereq_proftpd_mod_tls_certificates
  83.     Function: salt.state
  84.       Result: True
  85.      Comment: States ran successfully. Updating openmediavault.soppalco.
  86.      Started: 09:53:01.234100
  87.     Duration: 1581.278 ms
  88.      Changes:
  89.               openmediavault.soppalco:
  90.               ----------
  91.                         ID: remove_ssl_certificates_crt
  92.                   Function: module.run
  93.                     Result: True
  94.                    Comment: file.find: []
  95.                    Started: 09:53:01.491961
  96.                   Duration: 9.353 ms
  97.                    Changes:
  98.                             ----------
  99.                             file.find:
  100.               ----------
  101.                         ID: remove_ssl_certificates_key
  102.                   Function: module.run
  103.                     Result: True
  104.                    Comment: file.find: []
  105.                    Started: 09:53:01.501480
  106.                   Duration: 1.715 ms
  107.                    Changes:
  108.                             ----------
  109.                             file.find:
  110.               ----------
  111.                         ID: update_ssl_certificates
  112.                   Function: cmd.run
  113.                       Name: update-ca-certificates --fresh
  114.                     Result: True
  115.                    Comment: Command "update-ca-certificates --fresh" run
  116.                    Started: 09:53:01.504137
  117.                   Duration: 1302.969 ms
  118.                    Changes:
  119.                             ----------
  120.                             pid:
  121.                                 45144
  122.                             retcode:
  123.                                 0
  124.                             stderr:
  125.                             stdout:
  126.                                 Clearing symlinks in /etc/ssl/certs...
  127.                                 done.
  128.                                 Updating certificates in /etc/ssl/certs...
  129.                                 126 added, 0 removed; done.
  130.                                 Running hooks in /etc/ca-certificates/update.d...
  131.                                 done.
  132.               ----------
  133.                         ID: remove_ssh_certificates
  134.                   Function: module.run
  135.                     Result: True
  136.                    Comment: file.find: []
  137.                    Started: 09:53:02.807508
  138.                   Duration: 4.631 ms
  139.                    Changes:
  140.                             ----------
  141.                             file.find:
  142.  
  143.               Summary for openmediavault.soppalco
  144.               ------------
  145.               Succeeded: 4 (changed=4)
  146.               Failed:    0
  147.               ------------
  148.               Total states run:     4
  149.               Total run time:   1.319 s
  150. ----------
  151.           ID: configure_proftpd_mod_tls
  152.     Function: file.managed
  153.         Name: /etc/proftpd/tls.conf
  154.       Result: True
  155.      Comment: File /etc/proftpd/tls.conf is in the correct state
  156.      Started: 09:53:02.815651
  157.     Duration: 39.91 ms
  158.      Changes:
  159. ----------
  160.           ID: configure_proftpd_mod_auth
  161.     Function: file.append
  162.         Name: /etc/proftpd/proftpd.conf
  163.       Result: True
  164.      Comment: Appended 9 lines
  165.      Started: 09:53:02.855790
  166.     Duration: 16.368 ms
  167.      Changes:
  168.               ----------
  169.               diff:
  170.                   ---
  171.  
  172.                   +++
  173.  
  174.                   @@ -31,3 +31,12 @@
  175.  
  176.                      HideFiles (welcome.msg)
  177.                    </Directory>
  178.  
  179.                   +<IfModule mod_auth.c>
  180.                   +  DefaultRoot /srv/ftp
  181.                   +  MaxClients 5
  182.                   +  MaxLoginAttempts 1
  183.                   +  RequireValidShell on
  184.                   +  # This option is useless because this is handled via the PAM
  185.                   +  # pam_listfile.so module, so set it to 'off' by default.
  186.                   +  UseFtpUsers off
  187.                   +</IfModule>
  188. ----------
  189.           ID: proftpd_ftpusers_deny_root
  190.     Function: file.uncomment
  191.         Name: /etc/ftpusers
  192.       Result: True
  193.      Comment: Pattern already uncommented
  194.      Started: 09:53:02.872365
  195.     Duration: 2.623 ms
  196.      Changes:
  197. ----------
  198.           ID: configure_proftpd_mod_auth_pam
  199.     Function: file.append
  200.         Name: /etc/proftpd/proftpd.conf
  201.       Result: True
  202.      Comment: Appended 4 lines
  203.      Started: 09:53:02.875180
  204.     Duration: 3.578 ms
  205.      Changes:
  206.               ----------
  207.               diff:
  208.                   ---
  209.  
  210.                   +++
  211.  
  212.                   @@ -40,3 +40,7 @@
  213.  
  214.                      # pam_listfile.so module, so set it to 'off' by default.
  215.                      UseFtpUsers off
  216.                    </IfModule>
  217.                   +<IfModule mod_auth_pam.c>
  218.                   +  AuthPAM on
  219.                   +  AuthPAMConfig proftpd
  220.                   +</IfModule>
  221. ----------
  222.           ID: configure_proftpd_mod_ban
  223.     Function: file.append
  224.         Name: /etc/proftpd/proftpd.conf
  225.       Result: True
  226.      Comment: Appended 7 lines
  227.      Started: 09:53:02.878944
  228.     Duration: 15.692 ms
  229.      Changes:
  230.               ----------
  231.               diff:
  232.                   ---
  233.  
  234.                   +++
  235.  
  236.                   @@ -44,3 +44,10 @@
  237.  
  238.                      AuthPAM on
  239.                      AuthPAMConfig proftpd
  240.                    </IfModule>
  241.                   +<IfModule mod_ban.c>
  242.                   +  BanEngine off
  243.                   +  BanControlsACLs all allow user root
  244.                   +  BanLog /var/log/proftpd/ban.log
  245.                   +  BanMessage Host %a has been banned
  246.                   +  BanTable /run/proftpd/ban.tab
  247.                   +</IfModule>
  248. ----------
  249.           ID: configure_proftpd_mod_ctrls
  250.     Function: file.append
  251.         Name: /etc/proftpd/proftpd.conf
  252.       Result: True
  253.      Comment: Appended 7 lines
  254.      Started: 09:53:02.894874
  255.     Duration: 5.365 ms
  256.      Changes:
  257.               ----------
  258.               diff:
  259.                   ---
  260.  
  261.                   +++
  262.  
  263.                   @@ -51,3 +51,10 @@
  264.  
  265.                      BanMessage Host %a has been banned
  266.                      BanTable /run/proftpd/ban.tab
  267.                    </IfModule>
  268.                   +<IfModule mod_ctrls.c>
  269.                   +  ControlsEngine on
  270.                   +  ControlsMaxClients 2
  271.                   +  ControlsLog /var/log/proftpd/controls.log
  272.                   +  ControlsInterval 5
  273.                   +  ControlsSocket /run/proftpd/proftpd.sock
  274.                   +</IfModule>
  275. ----------
  276.           ID: configure_proftpd_mod_ctrls_admin
  277.     Function: file.append
  278.         Name: /etc/proftpd/proftpd.conf
  279.       Result: True
  280.      Comment: Appended 3 lines
  281.      Started: 09:53:02.900456
  282.     Duration: 3.933 ms
  283.      Changes:
  284.               ----------
  285.               diff:
  286.                   ---
  287.  
  288.                   +++
  289.  
  290.                   @@ -58,3 +58,6 @@
  291.  
  292.                      ControlsInterval 5
  293.                      ControlsSocket /run/proftpd/proftpd.sock
  294.                    </IfModule>
  295.                   +<IfModule mod_ctrls_admin.c>
  296.                   +  AdminControlsEngine off
  297.                   +</IfModule>
  298. ----------
  299.           ID: configure_proftpd_mod_delay
  300.     Function: file.append
  301.         Name: /etc/proftpd/proftpd.conf
  302.       Result: True
  303.      Comment: Appended 3 lines
  304.      Started: 09:53:02.904603
  305.     Duration: 3.809 ms
  306.      Changes:
  307.               ----------
  308.               diff:
  309.                   ---
  310.  
  311.                   +++
  312.  
  313.                   @@ -61,3 +61,6 @@
  314.  
  315.                    <IfModule mod_ctrls_admin.c>
  316.                      AdminControlsEngine off
  317.                    </IfModule>
  318.                   +<IfModule mod_delay.c>
  319.                   +  DelayEngine on
  320.                   +</IfModule>
  321. ----------
  322.           ID: configure_proftpd_mod_facl
  323.     Function: file.append
  324.         Name: /etc/proftpd/proftpd.conf
  325.       Result: True
  326.      Comment: Appended 3 lines
  327.      Started: 09:53:02.908627
  328.     Duration: 3.808 ms
  329.      Changes:
  330.               ----------
  331.               diff:
  332.                   ---
  333.  
  334.                   +++
  335.  
  336.                   @@ -64,3 +64,6 @@
  337.  
  338.                    <IfModule mod_delay.c>
  339.                      DelayEngine on
  340.                    </IfModule>
  341.                   +<IfModule mod_facl.c>
  342.                   +  FACLEngine on
  343.                   +</IfModule>
  344. ----------
  345.           ID: configure_proftpd_mod_quotatab
  346.     Function: file.append
  347.         Name: /etc/proftpd/proftpd.conf
  348.       Result: True
  349.      Comment: Appended 3 lines
  350.      Started: 09:53:02.912647
  351.     Duration: 3.898 ms
  352.      Changes:
  353.               ----------
  354.               diff:
  355.                   ---
  356.  
  357.                   +++
  358.  
  359.                   @@ -67,3 +67,6 @@
  360.  
  361.                    <IfModule mod_facl.c>
  362.                      FACLEngine on
  363.                    </IfModule>
  364.                   +<IfModule mod_quotatab.c>
  365.                   +  QuotaEngine off
  366.                   +</IfModule>
  367. ----------
  368.           ID: configure_proftpd_mod_ratio
  369.     Function: file.append
  370.         Name: /etc/proftpd/proftpd.conf
  371.       Result: True
  372.      Comment: Appended 3 lines
  373.      Started: 09:53:02.916763
  374.     Duration: 3.824 ms
  375.      Changes:
  376.               ----------
  377.               diff:
  378.                   ---
  379.  
  380.                   +++
  381.  
  382.                   @@ -70,3 +70,6 @@
  383.  
  384.                    <IfModule mod_quotatab.c>
  385.                      QuotaEngine off
  386.                    </IfModule>
  387.                   +<IfModule mod_ratio.c>
  388.                   +  Ratios off
  389.                   +</IfModule>
  390. ----------
  391.           ID: configure_proftpd_mod_vroot
  392.     Function: file.append
  393.         Name: /etc/proftpd/proftpd.conf
  394.       Result: True
  395.      Comment: Appended 5 lines
  396.      Started: 09:53:02.920798
  397.     Duration: 17.282 ms
  398.      Changes:
  399.               ----------
  400.               diff:
  401.                   ---
  402.  
  403.                   +++
  404.  
  405.                   @@ -73,3 +73,8 @@
  406.  
  407.                    <IfModule mod_ratio.c>
  408.                      Ratios off
  409.                    </IfModule>
  410.                   +LoadModule mod_vroot.c
  411.                   +<IfModule mod_vroot.c>
  412.                   +  VRootEngine on
  413.                   +  VRootLog /var/log/proftpd/vroot.log
  414.                   +</IfModule>
  415. ----------
  416.           ID: configure_proftpd_mod_wrap
  417.     Function: file.append
  418.         Name: /etc/proftpd/proftpd.conf
  419.       Result: True
  420.      Comment: Appended 5 lines
  421.      Started: 09:53:02.938307
  422.     Duration: 4.958 ms
  423.      Changes:
  424.               ----------
  425.               diff:
  426.                   ---
  427.  
  428.                   +++
  429.  
  430.                   @@ -78,3 +78,8 @@
  431.  
  432.                      VRootEngine on
  433.                      VRootLog /var/log/proftpd/vroot.log
  434.                    </IfModule>
  435.                   +<IfModule mod_wrap.c>
  436.                   +  TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
  437.                   +  TCPAccessSyslogLevels info warn
  438.                   +  TCPServiceName ftpd
  439.                   +</IfModule>
  440. ----------
  441.           ID: create_proftpd_hosts_file_-etc-hosts.allow
  442.     Function: file.managed
  443.         Name: /etc/hosts.allow
  444.       Result: True
  445.      Comment: File /etc/hosts.allow exists with proper permissions. No changes made.
  446.      Started: 09:53:02.943485
  447.     Duration: 2.486 ms
  448.      Changes:
  449. ----------
  450.           ID: create_proftpd_hosts_file_-etc-hosts.deny
  451.     Function: file.managed
  452.         Name: /etc/hosts.deny
  453.       Result: True
  454.      Comment: File /etc/hosts.deny exists with proper permissions. No changes made.
  455.      Started: 09:53:02.946176
  456.     Duration: 2.49 ms
  457.      Changes:
  458. ----------
  459.           ID: test_proftpd_service_config
  460.     Function: cmd.run
  461.         Name: proftpd --configtest
  462.       Result: True
  463.      Comment: Command "proftpd --configtest" run
  464.      Started: 09:53:02.949878
  465.     Duration: 32.036 ms
  466.      Changes:
  467.               ----------
  468.               pid:
  469.                   46552
  470.               retcode:
  471.                   0
  472.               stderr:
  473.               stdout:
  474.                   Checking syntax of configuration file
  475. ----------
  476.           ID: start_proftpd_service
  477.     Function: service.running
  478.         Name: proftpd
  479.       Result: False
  480.      Comment: Job for proftpd.service failed because the control process exited with error code.
  481.               See "systemctl status proftpd.service" and "journalctl -xe" for details.
  482.      Started: 09:53:03.155152
  483.     Duration: 93.778 ms
  484.      Changes:
  485. ----------
  486.           ID: monitor_proftpd_service
  487.     Function: module.run
  488.       Result: False
  489.      Comment: One or more requisite failed: omv.deploy.proftpd.default.start_proftpd_service
  490.      Started: 09:53:03.251769
  491.     Duration: 0.008 ms
  492.      Changes:
  493.  
  494. Summary for openmediavault.soppalco
  495. -------------
  496. Succeeded: 19 (changed=14)
  497. Failed:     2
  498. -------------
  499. Total states run:     21
  500. Total run time:    2.031 s in /usr/share/php/openmediavault/system/process.inc:195
  501. Stack trace:
  502. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
  503. #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
  504. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
  505. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  506. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
  507. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusNJ...', '/tmp/bgoutputW7...')
  508. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
  509. #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
  510. #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
  511. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  512. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
  513. #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
  514. #12 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement