Advertisement
Guest User

Untitled

a guest
Jul 25th, 2023
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 40.00 KB | None | 0 0
  1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color proftpd 2>&1' with exit code '1': debian:
  2. ----------
  3.           ID: configure_proftpd_mod_core
  4.     Function: file.managed
  5.         Name: /etc/proftpd/proftpd.conf
  6.       Result: True
  7.      Comment: File /etc/proftpd/proftpd.conf updated
  8.      Started: 09:58:02.641640
  9.     Duration: 644.338 ms
  10.      Changes:
  11.               ----------
  12.               diff:
  13.                   ---
  14.                   +++
  15.                   @@ -41,60 +41,3 @@
  16.                      </Limit>
  17.                    </Directory>
  18.  
  19.                   -<IfModule mod_auth.c>
  20.                   -  DefaultRoot /srv/ftp
  21.                   -  MaxClients 5
  22.                   -  MaxLoginAttempts 1
  23.                   -  RequireValidShell on
  24.                   -  # This option is useless because this is handled via the PAM
  25.                   -  # pam_listfile.so module, so set it to 'off' by default.
  26.                   -  UseFtpUsers off
  27.                   -</IfModule>
  28.                   -<IfModule mod_auth_pam.c>
  29.                   -  AuthPAM on
  30.                   -  AuthPAMConfig proftpd
  31.                   -</IfModule>
  32.                   -<IfModule mod_ban.c>
  33.                   -  BanEngine off
  34.                   -  BanControlsACLs all allow user root
  35.                   -  BanLog /var/log/proftpd/ban.log
  36.                   -  BanMessage Host %a has been banned
  37.                   -  BanTable /run/proftpd/ban.tab
  38.                   -</IfModule>
  39.                   -<IfModule mod_ctrls.c>
  40.                   -  ControlsEngine on
  41.                   -  ControlsMaxClients 2
  42.                   -  ControlsLog /var/log/proftpd/controls.log
  43.                   -  ControlsInterval 5
  44.                   -  ControlsSocket /run/proftpd/proftpd.sock
  45.                   -</IfModule>
  46.                   -<IfModule mod_ctrls_admin.c>
  47.                   -  AdminControlsEngine off
  48.                   -</IfModule>
  49.                   -<IfModule mod_delay.c>
  50.                   -  DelayEngine on
  51.                   -</IfModule>
  52.                   -<IfModule mod_facl.c>
  53.                   -  FACLEngine on
  54.                   -</IfModule>
  55.                   -LoadModule mod_ident.c
  56.                   -<IfModule mod_ident.c>
  57.                   -  IdentLookups off
  58.                   -</IfModule>
  59.                   -<IfModule mod_quotatab.c>
  60.                   -  QuotaEngine off
  61.                   -</IfModule>
  62.                   -<IfModule mod_ratio.c>
  63.                   -  Ratios off
  64.                   -</IfModule>
  65.                   -LoadModule mod_vroot.c
  66.                   -<IfModule mod_vroot.c>
  67.                   -  VRootEngine on
  68.                   -  VRootLog /var/log/proftpd/vroot.log
  69.                   -  VRootAlias "/srv/dev-disk-by-uuid-b6357da5-259b-4c71-a5b8-53f36dc72f67/Filmek/" "/Filmek"
  70.                   -</IfModule>
  71.                   -<IfModule mod_wrap.c>
  72.                   -  TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
  73.                   -  TCPAccessSyslogLevels info warn
  74.                   -  TCPServiceName ftpd
  75.                   -</IfModule>
  76. ----------
  77.           ID: remove_proftpd_mod_core_welcome_msg
  78.     Function: file.absent
  79.         Name: /etc/proftpd/welcome.msg
  80.       Result: True
  81.      Comment: File /etc/proftpd/welcome.msg is not present
  82.      Started: 09:58:03.286842
  83.     Duration: 4.759 ms
  84.      Changes:
  85. ----------
  86.           ID: prereq_proftpd_mod_tls_certificates
  87.     Function: salt.state
  88.       Result: True
  89.      Comment: States ran successfully. Updating debian.
  90.      Started: 09:58:03.318703
  91.     Duration: 7128.563 ms
  92.      Changes:
  93.               debian:
  94.               ----------
  95.                         ID: remove_ssl_certificates_crt
  96.                   Function: module.run
  97.                     Result: True
  98.                    Comment: file.find: ['/etc/ssl/certs/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.crt']
  99.                    Started: 09:58:04.565312
  100.                   Duration: 44.97 ms
  101.                    Changes:
  102.                             ----------
  103.                             file.find:
  104.                                 - /etc/ssl/certs/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.crt
  105.               ----------
  106.                         ID: remove_ssl_certificates_key
  107.                   Function: module.run
  108.                     Result: True
  109.                    Comment: file.find: ['/etc/ssl/private/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.key']
  110.                    Started: 09:58:04.610880
  111.                   Duration: 18.155 ms
  112.                    Changes:
  113.                             ----------
  114.                             file.find:
  115.                                 - /etc/ssl/private/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.key
  116.               ----------
  117.                         ID: create_ssl_da085d9d-52c0-4d80-b20c-02e2e6c5fabb_crt
  118.                   Function: file.managed
  119.                       Name: /etc/ssl/certs/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.crt
  120.                     Result: True
  121.                    Comment: File /etc/ssl/certs/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.crt updated
  122.                    Started: 09:58:04.636242
  123.                   Duration: 17.322 ms
  124.                    Changes:
  125.                             ----------
  126.                             diff:
  127.                                 New file
  128.                             mode:
  129.                                 0644
  130.               ----------
  131.                         ID: create_ssl_da085d9d-52c0-4d80-b20c-02e2e6c5fabb_key
  132.                   Function: file.managed
  133.                       Name: /etc/ssl/private/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.key
  134.                     Result: True
  135.                    Comment: File /etc/ssl/private/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.key updated
  136.                    Started: 09:58:04.654246
  137.                   Duration: 15.565 ms
  138.                    Changes:
  139.                             ----------
  140.                             diff:
  141.                                 New file
  142.                             mode:
  143.                                 0640
  144.               ----------
  145.                         ID: update_ssl_certificates
  146.                   Function: cmd.run
  147.                       Name: update-ca-certificates --fresh
  148.                     Result: True
  149.                    Comment: Command "update-ca-certificates --fresh" run
  150.                    Started: 09:58:04.673646
  151.                   Duration: 5746.729 ms
  152.                    Changes:
  153.                             ----------
  154.                             pid:
  155.                                 21671
  156.                             retcode:
  157.                                 0
  158.                             stderr:
  159.                             stdout:
  160.                                 Clearing symlinks in /etc/ssl/certs...
  161.                                 done.
  162.                                 Updating certificates in /etc/ssl/certs...
  163.                                 129 added, 0 removed; done.
  164.                                 Running hooks in /etc/ca-certificates/update.d...
  165.                                 done.
  166.               ----------
  167.                         ID: remove_ssh_certificates
  168.                   Function: module.run
  169.                     Result: True
  170.                    Comment: file.find: []
  171.                    Started: 09:58:10.421465
  172.                   Duration: 10.675 ms
  173.                    Changes:
  174.                             ----------
  175.                             file.find:
  176.  
  177.               Summary for debian
  178.               ------------
  179.               Succeeded: 6 (changed=6)
  180.               Failed:    0
  181.               ------------
  182.               Total states run:     6
  183.               Total run time:   5.853 s
  184. ----------
  185.           ID: configure_proftpd_mod_tls
  186.     Function: file.managed
  187.         Name: /etc/proftpd/tls.conf
  188.       Result: True
  189.      Comment: File /etc/proftpd/tls.conf is in the correct state
  190.      Started: 09:58:10.448113
  191.     Duration: 114.959 ms
  192.      Changes:
  193. ----------
  194.           ID: configure_proftpd_mod_auth
  195.     Function: file.append
  196.         Name: /etc/proftpd/proftpd.conf
  197.       Result: True
  198.      Comment: Appended 9 lines
  199.      Started: 09:58:10.563786
  200.     Duration: 67.486 ms
  201.      Changes:
  202.               ----------
  203.               diff:
  204.                   ---
  205.  
  206.                   +++
  207.  
  208.                   @@ -41,3 +41,12 @@
  209.  
  210.                      </Limit>
  211.                    </Directory>
  212.  
  213.                   +<IfModule mod_auth.c>
  214.                   +  DefaultRoot /srv/ftp
  215.                   +  MaxClients 5
  216.                   +  MaxLoginAttempts 1
  217.                   +  RequireValidShell on
  218.                   +  # This option is useless because this is handled via the PAM
  219.                   +  # pam_listfile.so module, so set it to 'off' by default.
  220.                   +  UseFtpUsers off
  221.                   +</IfModule>
  222. ----------
  223.           ID: proftpd_ftpusers_deny_root
  224.     Function: file.uncomment
  225.         Name: /etc/ftpusers
  226.       Result: True
  227.      Comment: Pattern already uncommented
  228.      Started: 09:58:10.633967
  229.     Duration: 11.014 ms
  230.      Changes:
  231. ----------
  232.           ID: configure_proftpd_mod_auth_pam
  233.     Function: file.append
  234.         Name: /etc/proftpd/proftpd.conf
  235.       Result: True
  236.      Comment: Appended 4 lines
  237.      Started: 09:58:10.645673
  238.     Duration: 15.111 ms
  239.      Changes:
  240.               ----------
  241.               diff:
  242.                   ---
  243.  
  244.                   +++
  245.  
  246.                   @@ -50,3 +50,7 @@
  247.  
  248.                      # pam_listfile.so module, so set it to 'off' by default.
  249.                      UseFtpUsers off
  250.                    </IfModule>
  251.                   +<IfModule mod_auth_pam.c>
  252.                   +  AuthPAM on
  253.                   +  AuthPAMConfig proftpd
  254.                   +</IfModule>
  255. ----------
  256.           ID: configure_proftpd_mod_ban
  257.     Function: file.append
  258.         Name: /etc/proftpd/proftpd.conf
  259.       Result: True
  260.      Comment: Appended 7 lines
  261.      Started: 09:58:10.661465
  262.     Duration: 63.097 ms
  263.      Changes:
  264.               ----------
  265.               diff:
  266.                   ---
  267.  
  268.                   +++
  269.  
  270.                   @@ -54,3 +54,10 @@
  271.  
  272.                      AuthPAM on
  273.                      AuthPAMConfig proftpd
  274.                    </IfModule>
  275.                   +<IfModule mod_ban.c>
  276.                   +  BanEngine off
  277.                   +  BanControlsACLs all allow user root
  278.                   +  BanLog /var/log/proftpd/ban.log
  279.                   +  BanMessage Host %a has been banned
  280.                   +  BanTable /run/proftpd/ban.tab
  281.                   +</IfModule>
  282. ----------
  283.           ID: configure_proftpd_mod_ctrls
  284.     Function: file.append
  285.         Name: /etc/proftpd/proftpd.conf
  286.       Result: True
  287.      Comment: Appended 7 lines
  288.      Started: 09:58:10.725233
  289.     Duration: 17.097 ms
  290.      Changes:
  291.               ----------
  292.               diff:
  293.                   ---
  294.  
  295.                   +++
  296.  
  297.                   @@ -61,3 +61,10 @@
  298.  
  299.                      BanMessage Host %a has been banned
  300.                      BanTable /run/proftpd/ban.tab
  301.                    </IfModule>
  302.                   +<IfModule mod_ctrls.c>
  303.                   +  ControlsEngine on
  304.                   +  ControlsMaxClients 2
  305.                   +  ControlsLog /var/log/proftpd/controls.log
  306.                   +  ControlsInterval 5
  307.                   +  ControlsSocket /run/proftpd/proftpd.sock
  308.                   +</IfModule>
  309. ----------
  310.           ID: configure_proftpd_mod_ctrls_admin
  311.     Function: file.append
  312.         Name: /etc/proftpd/proftpd.conf
  313.       Result: True
  314.      Comment: Appended 3 lines
  315.      Started: 09:58:10.742997
  316.     Duration: 12.601 ms
  317.      Changes:
  318.               ----------
  319.               diff:
  320.                   ---
  321.  
  322.                   +++
  323.  
  324.                   @@ -68,3 +68,6 @@
  325.  
  326.                      ControlsInterval 5
  327.                      ControlsSocket /run/proftpd/proftpd.sock
  328.                    </IfModule>
  329.                   +<IfModule mod_ctrls_admin.c>
  330.                   +  AdminControlsEngine off
  331.                   +</IfModule>
  332. ----------
  333.           ID: configure_proftpd_mod_delay
  334.     Function: file.append
  335.         Name: /etc/proftpd/proftpd.conf
  336.       Result: True
  337.      Comment: Appended 3 lines
  338.      Started: 09:58:10.756263
  339.     Duration: 12.503 ms
  340.      Changes:
  341.               ----------
  342.               diff:
  343.                   ---
  344.  
  345.                   +++
  346.  
  347.                   @@ -71,3 +71,6 @@
  348.  
  349.                    <IfModule mod_ctrls_admin.c>
  350.                      AdminControlsEngine off
  351.                    </IfModule>
  352.                   +<IfModule mod_delay.c>
  353.                   +  DelayEngine on
  354.                   +</IfModule>
  355. ----------
  356.           ID: configure_proftpd_mod_facl
  357.     Function: file.append
  358.         Name: /etc/proftpd/proftpd.conf
  359.       Result: True
  360.      Comment: Appended 3 lines
  361.      Started: 09:58:10.769426
  362.     Duration: 12.67 ms
  363.      Changes:
  364.               ----------
  365.               diff:
  366.                   ---
  367.  
  368.                   +++
  369.  
  370.                   @@ -74,3 +74,6 @@
  371.  
  372.                    <IfModule mod_delay.c>
  373.                      DelayEngine on
  374.                    </IfModule>
  375.                   +<IfModule mod_facl.c>
  376.                   +  FACLEngine on
  377.                   +</IfModule>
  378. ----------
  379.           ID: configure_proftpd_mod_ident
  380.     Function: file.append
  381.         Name: /etc/proftpd/proftpd.conf
  382.       Result: True
  383.      Comment: Appended 4 lines
  384.      Started: 09:58:10.782763
  385.     Duration: 37.814 ms
  386.      Changes:
  387.               ----------
  388.               diff:
  389.                   ---
  390.  
  391.                   +++
  392.  
  393.                   @@ -77,3 +77,7 @@
  394.  
  395.                    <IfModule mod_facl.c>
  396.                      FACLEngine on
  397.                    </IfModule>
  398.                   +LoadModule mod_ident.c
  399.                   +<IfModule mod_ident.c>
  400.                   +  IdentLookups off
  401.                   +</IfModule>
  402. ----------
  403.           ID: configure_proftpd_mod_quotatab
  404.     Function: file.append
  405.         Name: /etc/proftpd/proftpd.conf
  406.       Result: True
  407.      Comment: Appended 3 lines
  408.      Started: 09:58:10.821282
  409.     Duration: 12.779 ms
  410.      Changes:
  411.               ----------
  412.               diff:
  413.                   ---
  414.  
  415.                   +++
  416.  
  417.                   @@ -81,3 +81,6 @@
  418.  
  419.                    <IfModule mod_ident.c>
  420.                      IdentLookups off
  421.                    </IfModule>
  422.                   +<IfModule mod_quotatab.c>
  423.                   +  QuotaEngine off
  424.                   +</IfModule>
  425. ----------
  426.           ID: configure_proftpd_mod_ratio
  427.     Function: file.append
  428.         Name: /etc/proftpd/proftpd.conf
  429.       Result: True
  430.      Comment: Appended 3 lines
  431.      Started: 09:58:10.834712
  432.     Duration: 15.897 ms
  433.      Changes:
  434.               ----------
  435.               diff:
  436.                   ---
  437.  
  438.                   +++
  439.  
  440.                   @@ -84,3 +84,6 @@
  441.  
  442.                    <IfModule mod_quotatab.c>
  443.                      QuotaEngine off
  444.                    </IfModule>
  445.                   +<IfModule mod_ratio.c>
  446.                   +  Ratios off
  447.                   +</IfModule>
  448. ----------
  449.           ID: configure_proftpd_mod_vroot
  450.     Function: file.append
  451.         Name: /etc/proftpd/proftpd.conf
  452.       Result: True
  453.      Comment: Appended 6 lines
  454.      Started: 09:58:10.851301
  455.     Duration: 201.21 ms
  456.      Changes:
  457.               ----------
  458.               diff:
  459.                   ---
  460.  
  461.                   +++
  462.  
  463.                   @@ -87,3 +87,9 @@
  464.  
  465.                    <IfModule mod_ratio.c>
  466.                      Ratios off
  467.                    </IfModule>
  468.                   +LoadModule mod_vroot.c
  469.                   +<IfModule mod_vroot.c>
  470.                   +  VRootEngine on
  471.                   +  VRootLog /var/log/proftpd/vroot.log
  472.                   +  VRootAlias "/srv/dev-disk-by-uuid-b6357da5-259b-4c71-a5b8-53f36dc72f67/Filmek/" "/Filmek"
  473.                   +</IfModule>
  474. ----------
  475.           ID: configure_proftpd_mod_wrap
  476.     Function: file.append
  477.         Name: /etc/proftpd/proftpd.conf
  478.       Result: True
  479.      Comment: Appended 5 lines
  480.      Started: 09:58:11.053139
  481.     Duration: 15.046 ms
  482.      Changes:
  483.               ----------
  484.               diff:
  485.                   ---
  486.  
  487.                   +++
  488.  
  489.                   @@ -93,3 +93,8 @@
  490.  
  491.                      VRootLog /var/log/proftpd/vroot.log
  492.                      VRootAlias "/srv/dev-disk-by-uuid-b6357da5-259b-4c71-a5b8-53f36dc72f67/Filmek/" "/Filmek"
  493.                    </IfModule>
  494.                   +<IfModule mod_wrap.c>
  495.                   +  TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
  496.                   +  TCPAccessSyslogLevels info warn
  497.                   +  TCPServiceName ftpd
  498.                   +</IfModule>
  499. ----------
  500.           ID: create_proftpd_hosts_file_-etc-hosts.allow
  501.     Function: file.managed
  502.         Name: /etc/hosts.allow
  503.       Result: True
  504.      Comment: File /etc/hosts.allow exists with proper permissions. No changes made.
  505.      Started: 09:58:11.068801
  506.     Duration: 8.017 ms
  507.      Changes:
  508. ----------
  509.           ID: create_proftpd_hosts_file_-etc-hosts.deny
  510.     Function: file.managed
  511.         Name: /etc/hosts.deny
  512.       Result: True
  513.      Comment: File /etc/hosts.deny exists with proper permissions. No changes made.
  514.      Started: 09:58:11.077424
  515.     Duration: 7.674 ms
  516.      Changes:
  517. ----------
  518.           ID: disable_proftpd_socket_activation
  519.     Function: service.dead
  520.         Name: proftpd.socket
  521.       Result: True
  522.      Comment: The service proftpd.socket is already dead
  523.      Started: 09:58:11.179632
  524.     Duration: 170.96 ms
  525.      Changes:
  526. ----------
  527.           ID: test_proftpd_service_config
  528.     Function: cmd.run
  529.         Name: proftpd --configtest
  530.       Result: True
  531.      Comment: Command "proftpd --configtest" run
  532.      Started: 09:58:11.357465
  533.     Duration: 103.344 ms
  534.      Changes:
  535.               ----------
  536.               pid:
  537.                   23125
  538.               retcode:
  539.                   0
  540.               stderr:
  541.               stdout:
  542.                   Checking syntax of configuration file
  543. ----------
  544.           ID: start_proftpd_service
  545.     Function: service.running
  546.         Name: proftpd
  547.       Result: False
  548.      Comment: Failed to start proftpd.service: Unit proftpd.service is masked.
  549.      Started: 09:58:11.737436
  550.     Duration: 287.962 ms
  551.      Changes:
  552. ----------
  553.           ID: monitor_proftpd_service
  554.     Function: module.run
  555.       Result: False
  556.      Comment: One or more requisite failed: omv.deploy.proftpd.default.start_proftpd_service
  557.      Started: 09:58:12.043104
  558.     Duration: 0.028 ms
  559.      Changes:
  560.  
  561. Summary for debian
  562. -------------
  563. Succeeded: 21 (changed=15)
  564. Failed:     2
  565. -------------
  566. Total states run:     23
  567. Total run time:    8.965 s
  568. [ERROR   ] Command 'systemd-run' failed with return code: 1
  569. [ERROR   ] stderr: Running scope as unit: run-ref411a7c76e94be38f2ec7bfcd5ff5ac.scope
  570. Failed to start proftpd.service: Unit proftpd.service is masked.
  571. [ERROR   ] retcode: 1
  572. [ERROR   ] Failed to start proftpd.service: Unit proftpd.service is masked.
  573. [ERROR   ] Command 'systemd-run' failed with return code: 1
  574. [ERROR   ] stderr: Running scope as unit: run-rdf3793ea009545a2a783ecf07b23d0c1.scope
  575. Failed to start proftpd.service: Unit proftpd.service is masked.
  576. [ERROR   ] retcode: 1
  577. [ERROR   ] Failed to start proftpd.service: Unit proftpd.service is masked.
  578.  
  579. 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; export LANGUAGE=; omv-salt deploy run --no-color proftpd 2>&1' with exit code '1': debian:
  580. ----------
  581.           ID: configure_proftpd_mod_core
  582.     Function: file.managed
  583.         Name: /etc/proftpd/proftpd.conf
  584.       Result: True
  585.      Comment: File /etc/proftpd/proftpd.conf updated
  586.      Started: 09:58:02.641640
  587.     Duration: 644.338 ms
  588.      Changes:
  589.               ----------
  590.               diff:
  591.                   ---
  592.                   +++
  593.                   @@ -41,60 +41,3 @@
  594.                      </Limit>
  595.                    </Directory>
  596.  
  597.                   -<IfModule mod_auth.c>
  598.                   -  DefaultRoot /srv/ftp
  599.                   -  MaxClients 5
  600.                   -  MaxLoginAttempts 1
  601.                   -  RequireValidShell on
  602.                   -  # This option is useless because this is handled via the PAM
  603.                   -  # pam_listfile.so module, so set it to 'off' by default.
  604.                   -  UseFtpUsers off
  605.                   -</IfModule>
  606.                   -<IfModule mod_auth_pam.c>
  607.                   -  AuthPAM on
  608.                   -  AuthPAMConfig proftpd
  609.                   -</IfModule>
  610.                   -<IfModule mod_ban.c>
  611.                   -  BanEngine off
  612.                   -  BanControlsACLs all allow user root
  613.                   -  BanLog /var/log/proftpd/ban.log
  614.                   -  BanMessage Host %a has been banned
  615.                   -  BanTable /run/proftpd/ban.tab
  616.                   -</IfModule>
  617.                   -<IfModule mod_ctrls.c>
  618.                   -  ControlsEngine on
  619.                   -  ControlsMaxClients 2
  620.                   -  ControlsLog /var/log/proftpd/controls.log
  621.                   -  ControlsInterval 5
  622.                   -  ControlsSocket /run/proftpd/proftpd.sock
  623.                   -</IfModule>
  624.                   -<IfModule mod_ctrls_admin.c>
  625.                   -  AdminControlsEngine off
  626.                   -</IfModule>
  627.                   -<IfModule mod_delay.c>
  628.                   -  DelayEngine on
  629.                   -</IfModule>
  630.                   -<IfModule mod_facl.c>
  631.                   -  FACLEngine on
  632.                   -</IfModule>
  633.                   -LoadModule mod_ident.c
  634.                   -<IfModule mod_ident.c>
  635.                   -  IdentLookups off
  636.                   -</IfModule>
  637.                   -<IfModule mod_quotatab.c>
  638.                   -  QuotaEngine off
  639.                   -</IfModule>
  640.                   -<IfModule mod_ratio.c>
  641.                   -  Ratios off
  642.                   -</IfModule>
  643.                   -LoadModule mod_vroot.c
  644.                   -<IfModule mod_vroot.c>
  645.                   -  VRootEngine on
  646.                   -  VRootLog /var/log/proftpd/vroot.log
  647.                   -  VRootAlias "/srv/dev-disk-by-uuid-b6357da5-259b-4c71-a5b8-53f36dc72f67/Filmek/" "/Filmek"
  648.                   -</IfModule>
  649.                   -<IfModule mod_wrap.c>
  650.                   -  TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
  651.                   -  TCPAccessSyslogLevels info warn
  652.                   -  TCPServiceName ftpd
  653.                   -</IfModule>
  654. ----------
  655.           ID: remove_proftpd_mod_core_welcome_msg
  656.     Function: file.absent
  657.         Name: /etc/proftpd/welcome.msg
  658.       Result: True
  659.      Comment: File /etc/proftpd/welcome.msg is not present
  660.      Started: 09:58:03.286842
  661.     Duration: 4.759 ms
  662.      Changes:
  663. ----------
  664.           ID: prereq_proftpd_mod_tls_certificates
  665.     Function: salt.state
  666.       Result: True
  667.      Comment: States ran successfully. Updating debian.
  668.      Started: 09:58:03.318703
  669.     Duration: 7128.563 ms
  670.      Changes:
  671.               debian:
  672.               ----------
  673.                         ID: remove_ssl_certificates_crt
  674.                   Function: module.run
  675.                     Result: True
  676.                    Comment: file.find: ['/etc/ssl/certs/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.crt']
  677.                    Started: 09:58:04.565312
  678.                   Duration: 44.97 ms
  679.                    Changes:
  680.                             ----------
  681.                             file.find:
  682.                                 - /etc/ssl/certs/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.crt
  683.               ----------
  684.                         ID: remove_ssl_certificates_key
  685.                   Function: module.run
  686.                     Result: True
  687.                    Comment: file.find: ['/etc/ssl/private/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.key']
  688.                    Started: 09:58:04.610880
  689.                   Duration: 18.155 ms
  690.                    Changes:
  691.                             ----------
  692.                             file.find:
  693.                                 - /etc/ssl/private/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.key
  694.               ----------
  695.                         ID: create_ssl_da085d9d-52c0-4d80-b20c-02e2e6c5fabb_crt
  696.                   Function: file.managed
  697.                       Name: /etc/ssl/certs/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.crt
  698.                     Result: True
  699.                    Comment: File /etc/ssl/certs/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.crt updated
  700.                    Started: 09:58:04.636242
  701.                   Duration: 17.322 ms
  702.                    Changes:
  703.                             ----------
  704.                             diff:
  705.                                 New file
  706.                             mode:
  707.                                 0644
  708.               ----------
  709.                         ID: create_ssl_da085d9d-52c0-4d80-b20c-02e2e6c5fabb_key
  710.                   Function: file.managed
  711.                       Name: /etc/ssl/private/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.key
  712.                     Result: True
  713.                    Comment: File /etc/ssl/private/openmediavault-da085d9d-52c0-4d80-b20c-02e2e6c5fabb.key updated
  714.                    Started: 09:58:04.654246
  715.                   Duration: 15.565 ms
  716.                    Changes:
  717.                             ----------
  718.                             diff:
  719.                                 New file
  720.                             mode:
  721.                                 0640
  722.               ----------
  723.                         ID: update_ssl_certificates
  724.                   Function: cmd.run
  725.                       Name: update-ca-certificates --fresh
  726.                     Result: True
  727.                    Comment: Command "update-ca-certificates --fresh" run
  728.                    Started: 09:58:04.673646
  729.                   Duration: 5746.729 ms
  730.                    Changes:
  731.                             ----------
  732.                             pid:
  733.                                 21671
  734.                             retcode:
  735.                                 0
  736.                             stderr:
  737.                             stdout:
  738.                                 Clearing symlinks in /etc/ssl/certs...
  739.                                 done.
  740.                                 Updating certificates in /etc/ssl/certs...
  741.                                 129 added, 0 removed; done.
  742.                                 Running hooks in /etc/ca-certificates/update.d...
  743.                                 done.
  744.               ----------
  745.                         ID: remove_ssh_certificates
  746.                   Function: module.run
  747.                     Result: True
  748.                    Comment: file.find: []
  749.                    Started: 09:58:10.421465
  750.                   Duration: 10.675 ms
  751.                    Changes:
  752.                             ----------
  753.                             file.find:
  754.  
  755.               Summary for debian
  756.               ------------
  757.               Succeeded: 6 (changed=6)
  758.               Failed:    0
  759.               ------------
  760.               Total states run:     6
  761.               Total run time:   5.853 s
  762. ----------
  763.           ID: configure_proftpd_mod_tls
  764.     Function: file.managed
  765.         Name: /etc/proftpd/tls.conf
  766.       Result: True
  767.      Comment: File /etc/proftpd/tls.conf is in the correct state
  768.      Started: 09:58:10.448113
  769.     Duration: 114.959 ms
  770.      Changes:
  771. ----------
  772.           ID: configure_proftpd_mod_auth
  773.     Function: file.append
  774.         Name: /etc/proftpd/proftpd.conf
  775.       Result: True
  776.      Comment: Appended 9 lines
  777.      Started: 09:58:10.563786
  778.     Duration: 67.486 ms
  779.      Changes:
  780.               ----------
  781.               diff:
  782.                   ---
  783.  
  784.                   +++
  785.  
  786.                   @@ -41,3 +41,12 @@
  787.  
  788.                      </Limit>
  789.                    </Directory>
  790.  
  791.                   +<IfModule mod_auth.c>
  792.                   +  DefaultRoot /srv/ftp
  793.                   +  MaxClients 5
  794.                   +  MaxLoginAttempts 1
  795.                   +  RequireValidShell on
  796.                   +  # This option is useless because this is handled via the PAM
  797.                   +  # pam_listfile.so module, so set it to 'off' by default.
  798.                   +  UseFtpUsers off
  799.                   +</IfModule>
  800. ----------
  801.           ID: proftpd_ftpusers_deny_root
  802.     Function: file.uncomment
  803.         Name: /etc/ftpusers
  804.       Result: True
  805.      Comment: Pattern already uncommented
  806.      Started: 09:58:10.633967
  807.     Duration: 11.014 ms
  808.      Changes:
  809. ----------
  810.           ID: configure_proftpd_mod_auth_pam
  811.     Function: file.append
  812.         Name: /etc/proftpd/proftpd.conf
  813.       Result: True
  814.      Comment: Appended 4 lines
  815.      Started: 09:58:10.645673
  816.     Duration: 15.111 ms
  817.      Changes:
  818.               ----------
  819.               diff:
  820.                   ---
  821.  
  822.                   +++
  823.  
  824.                   @@ -50,3 +50,7 @@
  825.  
  826.                      # pam_listfile.so module, so set it to 'off' by default.
  827.                      UseFtpUsers off
  828.                    </IfModule>
  829.                   +<IfModule mod_auth_pam.c>
  830.                   +  AuthPAM on
  831.                   +  AuthPAMConfig proftpd
  832.                   +</IfModule>
  833. ----------
  834.           ID: configure_proftpd_mod_ban
  835.     Function: file.append
  836.         Name: /etc/proftpd/proftpd.conf
  837.       Result: True
  838.      Comment: Appended 7 lines
  839.      Started: 09:58:10.661465
  840.     Duration: 63.097 ms
  841.      Changes:
  842.               ----------
  843.               diff:
  844.                   ---
  845.  
  846.                   +++
  847.  
  848.                   @@ -54,3 +54,10 @@
  849.  
  850.                      AuthPAM on
  851.                      AuthPAMConfig proftpd
  852.                    </IfModule>
  853.                   +<IfModule mod_ban.c>
  854.                   +  BanEngine off
  855.                   +  BanControlsACLs all allow user root
  856.                   +  BanLog /var/log/proftpd/ban.log
  857.                   +  BanMessage Host %a has been banned
  858.                   +  BanTable /run/proftpd/ban.tab
  859.                   +</IfModule>
  860. ----------
  861.           ID: configure_proftpd_mod_ctrls
  862.     Function: file.append
  863.         Name: /etc/proftpd/proftpd.conf
  864.       Result: True
  865.      Comment: Appended 7 lines
  866.      Started: 09:58:10.725233
  867.     Duration: 17.097 ms
  868.      Changes:
  869.               ----------
  870.               diff:
  871.                   ---
  872.  
  873.                   +++
  874.  
  875.                   @@ -61,3 +61,10 @@
  876.  
  877.                      BanMessage Host %a has been banned
  878.                      BanTable /run/proftpd/ban.tab
  879.                    </IfModule>
  880.                   +<IfModule mod_ctrls.c>
  881.                   +  ControlsEngine on
  882.                   +  ControlsMaxClients 2
  883.                   +  ControlsLog /var/log/proftpd/controls.log
  884.                   +  ControlsInterval 5
  885.                   +  ControlsSocket /run/proftpd/proftpd.sock
  886.                   +</IfModule>
  887. ----------
  888.           ID: configure_proftpd_mod_ctrls_admin
  889.     Function: file.append
  890.         Name: /etc/proftpd/proftpd.conf
  891.       Result: True
  892.      Comment: Appended 3 lines
  893.      Started: 09:58:10.742997
  894.     Duration: 12.601 ms
  895.      Changes:
  896.               ----------
  897.               diff:
  898.                   ---
  899.  
  900.                   +++
  901.  
  902.                   @@ -68,3 +68,6 @@
  903.  
  904.                      ControlsInterval 5
  905.                      ControlsSocket /run/proftpd/proftpd.sock
  906.                    </IfModule>
  907.                   +<IfModule mod_ctrls_admin.c>
  908.                   +  AdminControlsEngine off
  909.                   +</IfModule>
  910. ----------
  911.           ID: configure_proftpd_mod_delay
  912.     Function: file.append
  913.         Name: /etc/proftpd/proftpd.conf
  914.       Result: True
  915.      Comment: Appended 3 lines
  916.      Started: 09:58:10.756263
  917.     Duration: 12.503 ms
  918.      Changes:
  919.               ----------
  920.               diff:
  921.                   ---
  922.  
  923.                   +++
  924.  
  925.                   @@ -71,3 +71,6 @@
  926.  
  927.                    <IfModule mod_ctrls_admin.c>
  928.                      AdminControlsEngine off
  929.                    </IfModule>
  930.                   +<IfModule mod_delay.c>
  931.                   +  DelayEngine on
  932.                   +</IfModule>
  933. ----------
  934.           ID: configure_proftpd_mod_facl
  935.     Function: file.append
  936.         Name: /etc/proftpd/proftpd.conf
  937.       Result: True
  938.      Comment: Appended 3 lines
  939.      Started: 09:58:10.769426
  940.     Duration: 12.67 ms
  941.      Changes:
  942.               ----------
  943.               diff:
  944.                   ---
  945.  
  946.                   +++
  947.  
  948.                   @@ -74,3 +74,6 @@
  949.  
  950.                    <IfModule mod_delay.c>
  951.                      DelayEngine on
  952.                    </IfModule>
  953.                   +<IfModule mod_facl.c>
  954.                   +  FACLEngine on
  955.                   +</IfModule>
  956. ----------
  957.           ID: configure_proftpd_mod_ident
  958.     Function: file.append
  959.         Name: /etc/proftpd/proftpd.conf
  960.       Result: True
  961.      Comment: Appended 4 lines
  962.      Started: 09:58:10.782763
  963.     Duration: 37.814 ms
  964.      Changes:
  965.               ----------
  966.               diff:
  967.                   ---
  968.  
  969.                   +++
  970.  
  971.                   @@ -77,3 +77,7 @@
  972.  
  973.                    <IfModule mod_facl.c>
  974.                      FACLEngine on
  975.                    </IfModule>
  976.                   +LoadModule mod_ident.c
  977.                   +<IfModule mod_ident.c>
  978.                   +  IdentLookups off
  979.                   +</IfModule>
  980. ----------
  981.           ID: configure_proftpd_mod_quotatab
  982.     Function: file.append
  983.         Name: /etc/proftpd/proftpd.conf
  984.       Result: True
  985.      Comment: Appended 3 lines
  986.      Started: 09:58:10.821282
  987.     Duration: 12.779 ms
  988.      Changes:
  989.               ----------
  990.               diff:
  991.                   ---
  992.  
  993.                   +++
  994.  
  995.                   @@ -81,3 +81,6 @@
  996.  
  997.                    <IfModule mod_ident.c>
  998.                      IdentLookups off
  999.                    </IfModule>
  1000.                   +<IfModule mod_quotatab.c>
  1001.                   +  QuotaEngine off
  1002.                   +</IfModule>
  1003. ----------
  1004.           ID: configure_proftpd_mod_ratio
  1005.     Function: file.append
  1006.         Name: /etc/proftpd/proftpd.conf
  1007.       Result: True
  1008.      Comment: Appended 3 lines
  1009.      Started: 09:58:10.834712
  1010.     Duration: 15.897 ms
  1011.      Changes:
  1012.               ----------
  1013.               diff:
  1014.                   ---
  1015.  
  1016.                   +++
  1017.  
  1018.                   @@ -84,3 +84,6 @@
  1019.  
  1020.                    <IfModule mod_quotatab.c>
  1021.                      QuotaEngine off
  1022.                    </IfModule>
  1023.                   +<IfModule mod_ratio.c>
  1024.                   +  Ratios off
  1025.                   +</IfModule>
  1026. ----------
  1027.           ID: configure_proftpd_mod_vroot
  1028.     Function: file.append
  1029.         Name: /etc/proftpd/proftpd.conf
  1030.       Result: True
  1031.      Comment: Appended 6 lines
  1032.      Started: 09:58:10.851301
  1033.     Duration: 201.21 ms
  1034.      Changes:
  1035.               ----------
  1036.               diff:
  1037.                   ---
  1038.  
  1039.                   +++
  1040.  
  1041.                   @@ -87,3 +87,9 @@
  1042.  
  1043.                    <IfModule mod_ratio.c>
  1044.                      Ratios off
  1045.                    </IfModule>
  1046.                   +LoadModule mod_vroot.c
  1047.                   +<IfModule mod_vroot.c>
  1048.                   +  VRootEngine on
  1049.                   +  VRootLog /var/log/proftpd/vroot.log
  1050.                   +  VRootAlias "/srv/dev-disk-by-uuid-b6357da5-259b-4c71-a5b8-53f36dc72f67/Filmek/" "/Filmek"
  1051.                   +</IfModule>
  1052. ----------
  1053.           ID: configure_proftpd_mod_wrap
  1054.     Function: file.append
  1055.         Name: /etc/proftpd/proftpd.conf
  1056.       Result: True
  1057.      Comment: Appended 5 lines
  1058.      Started: 09:58:11.053139
  1059.     Duration: 15.046 ms
  1060.      Changes:
  1061.               ----------
  1062.               diff:
  1063.                   ---
  1064.  
  1065.                   +++
  1066.  
  1067.                   @@ -93,3 +93,8 @@
  1068.  
  1069.                      VRootLog /var/log/proftpd/vroot.log
  1070.                      VRootAlias "/srv/dev-disk-by-uuid-b6357da5-259b-4c71-a5b8-53f36dc72f67/Filmek/" "/Filmek"
  1071.                    </IfModule>
  1072.                   +<IfModule mod_wrap.c>
  1073.                   +  TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
  1074.                   +  TCPAccessSyslogLevels info warn
  1075.                   +  TCPServiceName ftpd
  1076.                   +</IfModule>
  1077. ----------
  1078.           ID: create_proftpd_hosts_file_-etc-hosts.allow
  1079.     Function: file.managed
  1080.         Name: /etc/hosts.allow
  1081.       Result: True
  1082.      Comment: File /etc/hosts.allow exists with proper permissions. No changes made.
  1083.      Started: 09:58:11.068801
  1084.     Duration: 8.017 ms
  1085.      Changes:
  1086. ----------
  1087.           ID: create_proftpd_hosts_file_-etc-hosts.deny
  1088.     Function: file.managed
  1089.         Name: /etc/hosts.deny
  1090.       Result: True
  1091.      Comment: File /etc/hosts.deny exists with proper permissions. No changes made.
  1092.      Started: 09:58:11.077424
  1093.     Duration: 7.674 ms
  1094.      Changes:
  1095. ----------
  1096.           ID: disable_proftpd_socket_activation
  1097.     Function: service.dead
  1098.         Name: proftpd.socket
  1099.       Result: True
  1100.      Comment: The service proftpd.socket is already dead
  1101.      Started: 09:58:11.179632
  1102.     Duration: 170.96 ms
  1103.      Changes:
  1104. ----------
  1105.           ID: test_proftpd_service_config
  1106.     Function: cmd.run
  1107.         Name: proftpd --configtest
  1108.       Result: True
  1109.      Comment: Command "proftpd --configtest" run
  1110.      Started: 09:58:11.357465
  1111.     Duration: 103.344 ms
  1112.      Changes:
  1113.               ----------
  1114.               pid:
  1115.                   23125
  1116.               retcode:
  1117.                   0
  1118.               stderr:
  1119.               stdout:
  1120.                   Checking syntax of configuration file
  1121. ----------
  1122.           ID: start_proftpd_service
  1123.     Function: service.running
  1124.         Name: proftpd
  1125.       Result: False
  1126.      Comment: Failed to start proftpd.service: Unit proftpd.service is masked.
  1127.      Started: 09:58:11.737436
  1128.     Duration: 287.962 ms
  1129.      Changes:
  1130. ----------
  1131.           ID: monitor_proftpd_service
  1132.     Function: module.run
  1133.       Result: False
  1134.      Comment: One or more requisite failed: omv.deploy.proftpd.default.start_proftpd_service
  1135.      Started: 09:58:12.043104
  1136.     Duration: 0.028 ms
  1137.      Changes:
  1138.  
  1139. Summary for debian
  1140. -------------
  1141. Succeeded: 21 (changed=15)
  1142. Failed:     2
  1143. -------------
  1144. Total states run:     23
  1145. Total run time:    8.965 s
  1146. [ERROR   ] Command 'systemd-run' failed with return code: 1
  1147. [ERROR   ] stderr: Running scope as unit: run-ref411a7c76e94be38f2ec7bfcd5ff5ac.scope
  1148. Failed to start proftpd.service: Unit proftpd.service is masked.
  1149. [ERROR   ] retcode: 1
  1150. [ERROR   ] Failed to start proftpd.service: Unit proftpd.service is masked.
  1151. [ERROR   ] Command 'systemd-run' failed with return code: 1
  1152. [ERROR   ] stderr: Running scope as unit: run-rdf3793ea009545a2a783ecf07b23d0c1.scope
  1153. Failed to start proftpd.service: Unit proftpd.service is masked.
  1154. [ERROR   ] retcode: 1
  1155. [ERROR   ] Failed to start proftpd.service: Unit proftpd.service is masked. in /usr/share/php/openmediavault/system/process.inc:220
  1156. Stack trace:
  1157. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
  1158. #1 /usr/share/openmediavault/engined/rpc/config.inc(174): OMV\Engine\Module\ServiceAbstract->deploy()
  1159. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
  1160. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  1161. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
  1162. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(619): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusmB...', '/tmp/bgoutputuG...')
  1163. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
  1164. #7 /usr/share/openmediavault/engined/rpc/config.inc(195): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
  1165. #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
  1166. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  1167. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
  1168. #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
  1169. #12 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement