Advertisement
Guest User

Untitled

a guest
Nov 16th, 2019
1,170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.54 KB | None | 0 0
  1. Error #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 proftpd 2>&1' with exit code '1': debian:
  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: 23:06:36.886043
  10. Duration: 61.645 ms
  11. Changes:
  12. ----------
  13. diff:
  14. ---
  15. +++
  16. @@ -68,82 +68,4 @@
  17. DenyAll
  18. </Limit>
  19. </Directory>
  20. -<Directory /backup>
  21. - <Limit ALL>
  22. - AllowUser OR tom
  23. - DenyAll
  24. - </Limit>
  25. - <Limit READ DIRS>
  26. - AllowUser OR tom
  27. - DenyAll
  28. - </Limit>
  29. -</Directory>
  30. -<Directory /backups-heinz>
  31. - <Limit ALL>
  32. - AllowUser OR heinz,tom
  33. - DenyAll
  34. - </Limit>
  35. - <Limit READ DIRS>
  36. - AllowUser OR heinz,tom
  37. - DenyAll
  38. - </Limit>
  39. -</Directory>
  40.  
  41. -<IfModule mod_auth.c>
  42. - DefaultRoot /srv/ftp
  43. - MaxClients 3
  44. - MaxLoginAttempts 1
  45. - RequireValidShell on
  46. - # This option is useless because this is handled via the PAM
  47. - # pam_listfile.so module, so set it to 'off' by default.
  48. - UseFtpUsers off
  49. -</IfModule>
  50. -<IfModule mod_auth_pam.c>
  51. - AuthPAM on
  52. - AuthPAMConfig proftpd
  53. -</IfModule>
  54. -<IfModule mod_ban.c>
  55. - BanEngine off
  56. - BanControlsACLs all allow user root
  57. - BanLog /var/log/proftpd/ban.log
  58. - BanMessage Host %a has been banned
  59. - BanTable /var/run/proftpd/ban.tab
  60. -</IfModule>
  61. -<IfModule mod_ctrls.c>
  62. - ControlsEngine on
  63. - ControlsMaxClients 2
  64. - ControlsLog /var/log/proftpd/controls.log
  65. - ControlsInterval 5
  66. - ControlsSocket /var/run/proftpd/proftpd.sock
  67. -</IfModule>
  68. -<IfModule mod_ctrls_admin.c>
  69. - AdminControlsEngine off
  70. -</IfModule>
  71. -<IfModule mod_delay.c>
  72. - DelayEngine on
  73. -</IfModule>
  74. -<IfModule mod_facl.c>
  75. - FACLEngine on
  76. -</IfModule>
  77. -<IfModule mod_quotatab.c>
  78. - QuotaEngine off
  79. -</IfModule>
  80. -<IfModule mod_ratio.c>
  81. - Ratios off
  82. -</IfModule>
  83. -LoadModule mod_vroot.c
  84. -<IfModule mod_vroot.c>
  85. - VRootEngine on
  86. - VRootLog /var/log/proftpd/vroot.log
  87. - VRootAlias "/srv/dev-disk-by-label-4TBWDRED/storage/" "storage"
  88. - VRootAlias "/srv/dev-disk-by-label-4TBWDRED/filme/" "filme"
  89. - VRootAlias "/srv/dev-disk-by-label-4TBWDRED/heinz/" "heinz"
  90. - VRootAlias "/srv/dev-disk-by-label-4TBWDRED/ronny/" "ronny"
  91. - VRootAlias "/srv/dev-disk-by-label-4TBWDRED/backup/" "backup"
  92. - VRootAlias "/srv/dev-disk-by-label-4TBWDRED/backups-heinz/" "backups-heinz"
  93. -</IfModule>
  94. -<IfModule mod_wrap.c>
  95. - TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
  96. - TCPAccessSyslogLevels info warn
  97. - TCPServiceName ftpd
  98. -</IfModule>
  99. ----------
  100. ID: configure_proftpd_mod_core_custom_login_msg
  101. Function: file.managed
  102. Name: /srv/ftp/welcome.msg
  103. Result: True
  104. Comment: File /srv/ftp/welcome.msg is in the correct state
  105. Started: 23:06:36.947783
  106. Duration: 1.638 ms
  107. Changes:
  108. ----------
  109. ID: prereq_proftpd_mod_tls_certificates
  110. Function: salt.state
  111. Result: True
  112. Comment: States ran successfully. Updating debian.
  113. Started: 23:06:36.950072
  114. Duration: 734.771 ms
  115. Changes:
  116. debian:
  117. ----------
  118. ID: remove_ssl_certificates_crt
  119. Function: module.run
  120. Result: True
  121. Comment: file.find: []
  122. Started: 23:06:37.048756
  123. Duration: 47.797 ms
  124. Changes:
  125. ----------
  126. file.find:
  127. ----------
  128. ID: remove_ssl_certificates_key
  129. Function: module.run
  130. Name: file.find
  131. Result: True
  132. Comment:
  133. Started: 23:06:37.096641
  134. Duration: 0.277 ms
  135. Changes:
  136. ----------
  137. ID: update_ssl_certificates
  138. Function: cmd.run
  139. Name: update-ca-certificates --fresh
  140. Result: True
  141. Comment: Command "update-ca-certificates --fresh" run
  142. Started: 23:06:37.097399
  143. Duration: 584.669 ms
  144. Changes:
  145. ----------
  146. pid:
  147. 2661
  148. retcode:
  149. 0
  150. stderr:
  151. stdout:
  152. Clearing symlinks in /etc/ssl/certs...
  153. done.
  154. Updating certificates in /etc/ssl/certs...
  155. 128 added, 0 removed; done.
  156. Running hooks in /etc/ca-certificates/update.d...
  157. done.
  158. ----------
  159. ID: remove_ssh_certificates
  160. Function: module.run
  161. Result: True
  162. Comment: file.find: []
  163. Started: 23:06:37.682252
  164. Duration: 1.026 ms
  165. Changes:
  166. ----------
  167. file.find:
  168.  
  169. Summary for debian
  170. ------------
  171. Succeeded: 4 (changed=3)
  172. Failed: 0
  173. ------------
  174. Total states run: 4
  175. Total run time: 633.769 ms
  176. ----------
  177. ID: configure_proftpd_mod_tls
  178. Function: file.managed
  179. Name: /etc/proftpd/tls.conf
  180. Result: True
  181. Comment: File /etc/proftpd/tls.conf is in the correct state
  182. Started: 23:06:37.684954
  183. Duration: 18.826 ms
  184. Changes:
  185. ----------
  186. ID: configure_proftpd_mod_auth
  187. Function: file.append
  188. Name: /etc/proftpd/proftpd.conf
  189. Result: True
  190. Comment: Appended 9 lines
  191. Started: 23:06:37.703881
  192. Duration: 13.144 ms
  193. Changes:
  194. ----------
  195. diff:
  196. ---
  197.  
  198. +++
  199.  
  200. @@ -69,3 +69,12 @@
  201.  
  202. </Limit>
  203. </Directory>
  204.  
  205. +<IfModule mod_auth.c>
  206. + DefaultRoot /srv/ftp
  207. + MaxClients 3
  208. + MaxLoginAttempts 1
  209. + RequireValidShell on
  210. + # This option is useless because this is handled via the PAM
  211. + # pam_listfile.so module, so set it to 'off' by default.
  212. + UseFtpUsers off
  213. +</IfModule>
  214. ----------
  215. ID: proftpd_ftpusers_deny_root
  216. Function: file.uncomment
  217. Name: /etc/ftpusers
  218. Result: True
  219. Comment: Pattern already uncommented
  220. Started: 23:06:37.717168
  221. Duration: 1.447 ms
  222. Changes:
  223. ----------
  224. ID: configure_proftpd_mod_auth_pam
  225. Function: file.append
  226. Name: /etc/proftpd/proftpd.conf
  227. Result: True
  228. Comment: Appended 4 lines
  229. Started: 23:06:37.718728
  230. Duration: 2.468 ms
  231. Changes:
  232. ----------
  233. diff:
  234. ---
  235.  
  236. +++
  237.  
  238. @@ -78,3 +78,7 @@
  239.  
  240. # pam_listfile.so module, so set it to 'off' by default.
  241. UseFtpUsers off
  242. </IfModule>
  243. +<IfModule mod_auth_pam.c>
  244. + AuthPAM on
  245. + AuthPAMConfig proftpd
  246. +</IfModule>
  247. ----------
  248. ID: configure_proftpd_mod_ban
  249. Function: file.append
  250. Name: /etc/proftpd/proftpd.conf
  251. Result: True
  252. Comment: Appended 7 lines
  253. Started: 23:06:37.721310
  254. Duration: 12.283 ms
  255. Changes:
  256. ----------
  257. diff:
  258. ---
  259.  
  260. +++
  261.  
  262. @@ -82,3 +82,10 @@
  263.  
  264. AuthPAM on
  265. AuthPAMConfig proftpd
  266. </IfModule>
  267. +<IfModule mod_ban.c>
  268. + BanEngine off
  269. + BanControlsACLs all allow user root
  270. + BanLog /var/log/proftpd/ban.log
  271. + BanMessage Host %a has been banned
  272. + BanTable /var/run/proftpd/ban.tab
  273. +</IfModule>
  274. ----------
  275. ID: configure_proftpd_mod_ctrls
  276. Function: file.append
  277. Name: /etc/proftpd/proftpd.conf
  278. Result: True
  279. Comment: Appended 7 lines
  280. Started: 23:06:37.733729
  281. Duration: 2.931 ms
  282. Changes:
  283. ----------
  284. diff:
  285. ---
  286.  
  287. +++
  288.  
  289. @@ -89,3 +89,10 @@
  290.  
  291. BanMessage Host %a has been banned
  292. BanTable /var/run/proftpd/ban.tab
  293. </IfModule>
  294. +<IfModule mod_ctrls.c>
  295. + ControlsEngine on
  296. + ControlsMaxClients 2
  297. + ControlsLog /var/log/proftpd/controls.log
  298. + ControlsInterval 5
  299. + ControlsSocket /var/run/proftpd/proftpd.sock
  300. +</IfModule>
  301. ----------
  302. ID: configure_proftpd_mod_ctrls_admin
  303. Function: file.append
  304. Name: /etc/proftpd/proftpd.conf
  305. Result: True
  306. Comment: Appended 3 lines
  307. Started: 23:06:37.736803
  308. Duration: 1.635 ms
  309. Changes:
  310. ----------
  311. diff:
  312. ---
  313.  
  314. +++
  315.  
  316. @@ -96,3 +96,6 @@
  317.  
  318. ControlsInterval 5
  319. ControlsSocket /var/run/proftpd/proftpd.sock
  320. </IfModule>
  321. +<IfModule mod_ctrls_admin.c>
  322. + AdminControlsEngine off
  323. +</IfModule>
  324. ----------
  325. ID: configure_proftpd_mod_delay
  326. Function: file.append
  327. Name: /etc/proftpd/proftpd.conf
  328. Result: True
  329. Comment: Appended 3 lines
  330. Started: 23:06:37.738532
  331. Duration: 1.464 ms
  332. Changes:
  333. ----------
  334. diff:
  335. ---
  336.  
  337. +++
  338.  
  339. @@ -99,3 +99,6 @@
  340.  
  341. <IfModule mod_ctrls_admin.c>
  342. AdminControlsEngine off
  343. </IfModule>
  344. +<IfModule mod_delay.c>
  345. + DelayEngine on
  346. +</IfModule>
  347. ----------
  348. ID: configure_proftpd_mod_facl
  349. Function: file.append
  350. Name: /etc/proftpd/proftpd.conf
  351. Result: True
  352. Comment: Appended 3 lines
  353. Started: 23:06:37.740086
  354. Duration: 1.436 ms
  355. Changes:
  356. ----------
  357. diff:
  358. ---
  359.  
  360. +++
  361.  
  362. @@ -102,3 +102,6 @@
  363.  
  364. <IfModule mod_delay.c>
  365. DelayEngine on
  366. </IfModule>
  367. +<IfModule mod_facl.c>
  368. + FACLEngine on
  369. +</IfModule>
  370. ----------
  371. ID: configure_proftpd_mod_quotatab
  372. Function: file.append
  373. Name: /etc/proftpd/proftpd.conf
  374. Result: True
  375. Comment: Appended 3 lines
  376. Started: 23:06:37.741610
  377. Duration: 1.728 ms
  378. Changes:
  379. ----------
  380. diff:
  381. ---
  382.  
  383. +++
  384.  
  385. @@ -105,3 +105,6 @@
  386.  
  387. <IfModule mod_facl.c>
  388. FACLEngine on
  389. </IfModule>
  390. +<IfModule mod_quotatab.c>
  391. + QuotaEngine off
  392. +</IfModule>
  393. ----------
  394. ID: configure_proftpd_mod_ratio
  395. Function: file.append
  396. Name: /etc/proftpd/proftpd.conf
  397. Result: True
  398. Comment: Appended 3 lines
  399. Started: 23:06:37.743444
  400. Duration: 1.633 ms
  401. Changes:
  402. ----------
  403. diff:
  404. ---
  405.  
  406. +++
  407.  
  408. @@ -108,3 +108,6 @@
  409.  
  410. <IfModule mod_quotatab.c>
  411. QuotaEngine off
  412. </IfModule>
  413. +<IfModule mod_ratio.c>
  414. + Ratios off
  415. +</IfModule>
  416. ----------
  417. ID: configure_proftpd_mod_vroot
  418. Function: file.append
  419. Name: /etc/proftpd/proftpd.conf
  420. Result: True
  421. Comment: Appended 9 lines
  422. Started: 23:06:37.745173
  423. Duration: 56.914 ms
  424. Changes:
  425. ----------
  426. diff:
  427. ---
  428.  
  429. +++
  430.  
  431. @@ -111,3 +111,12 @@
  432.  
  433. <IfModule mod_ratio.c>
  434. Ratios off
  435. </IfModule>
  436. +LoadModule mod_vroot.c
  437. +<IfModule mod_vroot.c>
  438. + VRootEngine on
  439. + VRootLog /var/log/proftpd/vroot.log
  440. + VRootAlias "/srv/dev-disk-by-label-4TBWDRED/storage/" "storage"
  441. + VRootAlias "/srv/dev-disk-by-label-4TBWDRED/filme/" "filme"
  442. + VRootAlias "/srv/dev-disk-by-label-4TBWDRED/heinz/" "heinz"
  443. + VRootAlias "/srv/dev-disk-by-label-4TBWDRED/ronny/" "ronny"
  444. +</IfModule>
  445. ----------
  446. ID: configure_proftpd_mod_wrap
  447. Function: file.append
  448. Name: /etc/proftpd/proftpd.conf
  449. Result: True
  450. Comment: Appended 5 lines
  451. Started: 23:06:37.802181
  452. Duration: 1.748 ms
  453. Changes:
  454. ----------
  455. diff:
  456. ---
  457.  
  458. +++
  459.  
  460. @@ -120,3 +120,8 @@
  461.  
  462. VRootAlias "/srv/dev-disk-by-label-4TBWDRED/heinz/" "heinz"
  463. VRootAlias "/srv/dev-disk-by-label-4TBWDRED/ronny/" "ronny"
  464. </IfModule>
  465. +<IfModule mod_wrap.c>
  466. + TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
  467. + TCPAccessSyslogLevels info warn
  468. + TCPServiceName ftpd
  469. +</IfModule>
  470. ----------
  471. ID: create_proftpd_hosts_file_-etc-hosts.allow
  472. Function: file.managed
  473. Name: /etc/hosts.allow
  474. Result: True
  475. Comment: File /etc/hosts.allow exists with proper permissions. No changes made.
  476. Started: 23:06:37.804002
  477. Duration: 0.668 ms
  478. Changes:
  479. ----------
  480. ID: create_proftpd_hosts_file_-etc-hosts.deny
  481. Function: file.managed
  482. Name: /etc/hosts.deny
  483. Result: True
  484. Comment: File /etc/hosts.deny exists with proper permissions. No changes made.
  485. Started: 23:06:37.804738
  486. Duration: 0.626 ms
  487. Changes:
  488. ----------
  489. ID: test_proftpd_service_config
  490. Function: cmd.run
  491. Name: proftpd --configtest
  492. Result: True
  493. Comment: Command "proftpd --configtest" run
  494. Started: 23:06:37.805835
  495. Duration: 129.969 ms
  496. Changes:
  497. ----------
  498. pid:
  499. 3980
  500. retcode:
  501. 0
  502. stderr:
  503. 2019-11-16 23:06:37,934 openmediavault.local proftpd[3981] 127.0.1.1: mod_ctrls/0.9.5: error: unable to bind to local socket: No such file or directory
  504. stdout:
  505. Checking syntax of configuration file
  506. ----------
  507. ID: chmod_proftpd_pidfile
  508. Function: module.run
  509. Result: True
  510. Comment: onlyif condition is false
  511. Started: 23:06:37.936730
  512. Duration: 2779.784 ms
  513. Changes:
  514. ----------
  515. ID: start_proftpd_service
  516. Function: service.running
  517. Name: proftpd
  518. Result: False
  519. Comment: Job for proftpd.service failed because the control process exited with error code.
  520. See "systemctl status proftpd.service" and "journalctl -xe" for details.
  521. Started: 23:06:41.068210
  522. Duration: 51.994 ms
  523. Changes:
  524.  
  525. Summary for debian
  526. -------------
  527. Succeeded: 20 (changed=14)
  528. Failed: 1
  529. -------------
  530. Total states run: 21
  531. Total run time: 3.879 s/usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  532. *salt.utils.args.get_function_argspec(original_function)
  533. /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
  534. *salt.utils.args.get_function_argspec(original_function)
  535. /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
  536. class OrderedSet(collections.MutableSet):
  537. in /usr/share/php/openmediavault/system/process.inc:182
  538. Stack trace:
  539. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
  540. #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
  541. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
  542. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  543. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
  544. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus4a...', '/tmp/bgoutputGA...')
  545. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
  546. #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
  547. #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
  548. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  549. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
  550. #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
  551. #12 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement