Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2020
722
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.77 KB | None | 0 0
  1. Ошибка #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: 20:07:51.757122
  10. Duration: 176.946 ms
  11. Changes:
  12. ----------
  13. diff:
  14. ---
  15. +++
  16. @@ -53,57 +53,3 @@
  17. </Limit>
  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. - VRootAlias "/srv/dev-disk-by-label-HDD1/Mama/" "Mama"
  67. - VRootAlias "/srv/dev-disk-by-label-HDD1/Merxa/" "Merxa"
  68. -</IfModule>
  69. -<IfModule mod_wrap.c>
  70. - TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
  71. - TCPAccessSyslogLevels info warn
  72. - TCPServiceName ftpd
  73. -</IfModule>
  74. ----------
  75. ID: configure_proftpd_mod_core_default_login_msg
  76. Function: file.managed
  77. Name: /srv/ftp/welcome.msg
  78. Result: True
  79. Comment: File /srv/ftp/welcome.msg is in the correct state
  80. Started: 20:07:51.934254
  81. Duration: 35.382 ms
  82. Changes:
  83. ----------
  84. ID: prereq_proftpd_mod_tls_certificates
  85. Function: salt.state
  86. Result: True
  87. Comment: States ran successfully. Updating debian.
  88. Started: 20:07:51.971098
  89. Duration: 1584.444 ms
  90. Changes:
  91. debian:
  92. ----------
  93. ID: remove_ssl_certificates_crt
  94. Function: module.run
  95. Result: True
  96. Comment: file.find: []
  97. Started: 20:07:52.253374
  98. Duration: 84.882 ms
  99. Changes:
  100. ----------
  101. file.find:
  102. ----------
  103. ID: remove_ssl_certificates_key
  104. Function: module.run
  105. Name: file.find
  106. Result: True
  107. Comment:
  108. Started: 20:07:52.338427
  109. Duration: 0.559 ms
  110. Changes:
  111. ----------
  112. ID: update_ssl_certificates
  113. Function: cmd.run
  114. Name: update-ca-certificates --fresh
  115. Result: True
  116. Comment: Command "update-ca-certificates --fresh" run
  117. Started: 20:07:52.339944
  118. Duration: 1210.329 ms
  119. Changes:
  120. ----------
  121. pid:
  122. 1469
  123. retcode:
  124. 0
  125. stderr:
  126. stdout:
  127. Clearing symlinks in /etc/ssl/certs...
  128. done.
  129. Updating certificates in /etc/ssl/certs...
  130. 128 added, 0 removed; done.
  131. Running hooks in /etc/ca-certificates/update.d...
  132. done.
  133. ----------
  134. ID: remove_ssh_certificates
  135. Function: module.run
  136. Result: True
  137. Comment: file.find: []
  138. Started: 20:07:53.550615
  139. Duration: 2.001 ms
  140. Changes:
  141. ----------
  142. file.find:
  143.  
  144. Summary for debian
  145. ------------
  146. Succeeded: 4 (changed=3)
  147. Failed: 0
  148. ------------
  149. Total states run: 4
  150. Total run time: 1.298 s
  151. ----------
  152. ID: configure_proftpd_mod_tls
  153. Function: file.managed
  154. Name: /etc/proftpd/tls.conf
  155. Result: True
  156. Comment: File /etc/proftpd/tls.conf is in the correct state
  157. Started: 20:07:53.555763
  158. Duration: 49.815 ms
  159. Changes:
  160. ----------
  161. ID: configure_proftpd_mod_auth
  162. Function: file.append
  163. Name: /etc/proftpd/proftpd.conf
  164. Result: True
  165. Comment: Appended 9 lines
  166. Started: 20:07:53.605765
  167. Duration: 19.109 ms
  168. Changes:
  169. ----------
  170. diff:
  171. ---
  172.  
  173. +++
  174.  
  175. @@ -53,3 +53,12 @@
  176.  
  177. </Limit>
  178. </Directory>
  179.  
  180. +<IfModule mod_auth.c>
  181. + DefaultRoot /srv/ftp
  182. + MaxClients 5
  183. + MaxLoginAttempts 1
  184. + RequireValidShell on
  185. + # This option is useless because this is handled via the PAM
  186. + # pam_listfile.so module, so set it to 'off' by default.
  187. + UseFtpUsers off
  188. +</IfModule>
  189. ----------
  190. ID: proftpd_ftpusers_deny_root
  191. Function: file.uncomment
  192. Name: /etc/ftpusers
  193. Result: True
  194. Comment: Pattern already uncommented
  195. Started: 20:07:53.625043
  196. Duration: 16.202 ms
  197. Changes:
  198. ----------
  199. ID: configure_proftpd_mod_auth_pam
  200. Function: file.append
  201. Name: /etc/proftpd/proftpd.conf
  202. Result: True
  203. Comment: Appended 4 lines
  204. Started: 20:07:53.641388
  205. Duration: 2.919 ms
  206. Changes:
  207. ----------
  208. diff:
  209. ---
  210.  
  211. +++
  212.  
  213. @@ -62,3 +62,7 @@
  214.  
  215. # pam_listfile.so module, so set it to 'off' by default.
  216. UseFtpUsers off
  217. </IfModule>
  218. +<IfModule mod_auth_pam.c>
  219. + AuthPAM on
  220. + AuthPAMConfig proftpd
  221. +</IfModule>
  222. ----------
  223. ID: configure_proftpd_mod_ban
  224. Function: file.append
  225. Name: /etc/proftpd/proftpd.conf
  226. Result: True
  227. Comment: Appended 7 lines
  228. Started: 20:07:53.644462
  229. Duration: 15.19 ms
  230. Changes:
  231. ----------
  232. diff:
  233. ---
  234.  
  235. +++
  236.  
  237. @@ -66,3 +66,10 @@
  238.  
  239. AuthPAM on
  240. AuthPAMConfig proftpd
  241. </IfModule>
  242. +<IfModule mod_ban.c>
  243. + BanEngine off
  244. + BanControlsACLs all allow user root
  245. + BanLog /var/log/proftpd/ban.log
  246. + BanMessage Host %a has been banned
  247. + BanTable /run/proftpd/ban.tab
  248. +</IfModule>
  249. ----------
  250. ID: configure_proftpd_mod_ctrls
  251. Function: file.append
  252. Name: /etc/proftpd/proftpd.conf
  253. Result: True
  254. Comment: Appended 7 lines
  255. Started: 20:07:53.659809
  256. Duration: 3.964 ms
  257. Changes:
  258. ----------
  259. diff:
  260. ---
  261.  
  262. +++
  263.  
  264. @@ -73,3 +73,10 @@
  265.  
  266. BanMessage Host %a has been banned
  267. BanTable /run/proftpd/ban.tab
  268. </IfModule>
  269. +<IfModule mod_ctrls.c>
  270. + ControlsEngine on
  271. + ControlsMaxClients 2
  272. + ControlsLog /var/log/proftpd/controls.log
  273. + ControlsInterval 5
  274. + ControlsSocket /run/proftpd/proftpd.sock
  275. +</IfModule>
  276. ----------
  277. ID: configure_proftpd_mod_ctrls_admin
  278. Function: file.append
  279. Name: /etc/proftpd/proftpd.conf
  280. Result: True
  281. Comment: Appended 3 lines
  282. Started: 20:07:53.663910
  283. Duration: 2.701 ms
  284. Changes:
  285. ----------
  286. diff:
  287. ---
  288.  
  289. +++
  290.  
  291. @@ -80,3 +80,6 @@
  292.  
  293. ControlsInterval 5
  294. ControlsSocket /run/proftpd/proftpd.sock
  295. </IfModule>
  296. +<IfModule mod_ctrls_admin.c>
  297. + AdminControlsEngine off
  298. +</IfModule>
  299. ----------
  300. ID: configure_proftpd_mod_delay
  301. Function: file.append
  302. Name: /etc/proftpd/proftpd.conf
  303. Result: True
  304. Comment: Appended 3 lines
  305. Started: 20:07:53.666744
  306. Duration: 2.629 ms
  307. Changes:
  308. ----------
  309. diff:
  310. ---
  311.  
  312. +++
  313.  
  314. @@ -83,3 +83,6 @@
  315.  
  316. <IfModule mod_ctrls_admin.c>
  317. AdminControlsEngine off
  318. </IfModule>
  319. +<IfModule mod_delay.c>
  320. + DelayEngine on
  321. +</IfModule>
  322. ----------
  323. ID: configure_proftpd_mod_facl
  324. Function: file.append
  325. Name: /etc/proftpd/proftpd.conf
  326. Result: True
  327. Comment: Appended 3 lines
  328. Started: 20:07:53.669505
  329. Duration: 2.599 ms
  330. Changes:
  331. ----------
  332. diff:
  333. ---
  334.  
  335. +++
  336.  
  337. @@ -86,3 +86,6 @@
  338.  
  339. <IfModule mod_delay.c>
  340. DelayEngine on
  341. </IfModule>
  342. +<IfModule mod_facl.c>
  343. + FACLEngine on
  344. +</IfModule>
  345. ----------
  346. ID: configure_proftpd_mod_quotatab
  347. Function: file.append
  348. Name: /etc/proftpd/proftpd.conf
  349. Result: True
  350. Comment: Appended 3 lines
  351. Started: 20:07:53.672235
  352. Duration: 2.664 ms
  353. Changes:
  354. ----------
  355. diff:
  356. ---
  357.  
  358. +++
  359.  
  360. @@ -89,3 +89,6 @@
  361.  
  362. <IfModule mod_facl.c>
  363. FACLEngine on
  364. </IfModule>
  365. +<IfModule mod_quotatab.c>
  366. + QuotaEngine off
  367. +</IfModule>
  368. ----------
  369. ID: configure_proftpd_mod_ratio
  370. Function: file.append
  371. Name: /etc/proftpd/proftpd.conf
  372. Result: True
  373. Comment: Appended 3 lines
  374. Started: 20:07:53.675029
  375. Duration: 2.637 ms
  376. Changes:
  377. ----------
  378. diff:
  379. ---
  380.  
  381. +++
  382.  
  383. @@ -92,3 +92,6 @@
  384.  
  385. <IfModule mod_quotatab.c>
  386. QuotaEngine off
  387. </IfModule>
  388. +<IfModule mod_ratio.c>
  389. + Ratios off
  390. +</IfModule>
  391. ----------
  392. ID: configure_proftpd_mod_vroot
  393. Function: file.append
  394. Name: /etc/proftpd/proftpd.conf
  395. Result: True
  396. Comment: Appended 7 lines
  397. Started: 20:07:53.677796
  398. Duration: 82.922 ms
  399. Changes:
  400. ----------
  401. diff:
  402. ---
  403.  
  404. +++
  405.  
  406. @@ -95,3 +95,10 @@
  407.  
  408. <IfModule mod_ratio.c>
  409. Ratios off
  410. </IfModule>
  411. +LoadModule mod_vroot.c
  412. +<IfModule mod_vroot.c>
  413. + VRootEngine on
  414. + VRootLog /var/log/proftpd/vroot.log
  415. + VRootAlias "/srv/dev-disk-by-label-HDD1/Mama/" "Mama"
  416. + VRootAlias "/srv/dev-disk-by-label-HDD1/Merxa/" "Merxa"
  417. +</IfModule>
  418. ----------
  419. ID: configure_proftpd_mod_wrap
  420. Function: file.append
  421. Name: /etc/proftpd/proftpd.conf
  422. Result: True
  423. Comment: Appended 5 lines
  424. Started: 20:07:53.760880
  425. Duration: 3.609 ms
  426. Changes:
  427. ----------
  428. diff:
  429. ---
  430.  
  431. +++
  432.  
  433. @@ -102,3 +102,8 @@
  434.  
  435. VRootAlias "/srv/dev-disk-by-label-HDD1/Mama/" "Mama"
  436. VRootAlias "/srv/dev-disk-by-label-HDD1/Merxa/" "Merxa"
  437. </IfModule>
  438. +<IfModule mod_wrap.c>
  439. + TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
  440. + TCPAccessSyslogLevels info warn
  441. + TCPServiceName ftpd
  442. +</IfModule>
  443. ----------
  444. ID: create_proftpd_hosts_file_-etc-hosts.allow
  445. Function: file.managed
  446. Name: /etc/hosts.allow
  447. Result: True
  448. Comment: File /etc/hosts.allow exists with proper permissions. No changes made.
  449. Started: 20:07:53.764628
  450. Duration: 1.397 ms
  451. Changes:
  452. ----------
  453. ID: create_proftpd_hosts_file_-etc-hosts.deny
  454. Function: file.managed
  455. Name: /etc/hosts.deny
  456. Result: True
  457. Comment: File /etc/hosts.deny exists with proper permissions. No changes made.
  458. Started: 20:07:53.766157
  459. Duration: 1.342 ms
  460. Changes:
  461. ----------
  462. ID: test_proftpd_service_config
  463. Function: cmd.run
  464. Name: proftpd --configtest
  465. Result: True
  466. Comment: Command "proftpd --configtest" run
  467. Started: 20:07:53.768357
  468. Duration: 566.008 ms
  469. Changes:
  470. ----------
  471. pid:
  472. 2782
  473. retcode:
  474. 0
  475. stderr:
  476. 2020-03-02 20:07:54,332 MerxaNAS.home proftpd[2783] 127.0.1.1: mod_ctrls/0.9.5: error: unable to bind to local socket: No such file or directory
  477. stdout:
  478. Checking syntax of configuration file
  479. ----------
  480. ID: chmod_proftpd_pidfile
  481. Function: module.run
  482. Result: True
  483. Comment: onlyif condition is false
  484. Started: 20:07:54.336201
  485. Duration: 7038.21 ms
  486. Changes:
  487. ----------
  488. ID: start_proftpd_service
  489. Function: service.running
  490. Name: proftpd
  491. Result: False
  492. Comment: Job for proftpd.service failed because the control process exited with error code.
  493. See "systemctl status proftpd.service" and "journalctl -xe" for details.
  494. Started: 20:08:02.264583
  495. Duration: 98.709 ms
  496. Changes:
  497. ----------
  498. ID: monitor_proftpd_service
  499. Function: module.run
  500. Name: monit.monitor
  501. Result: False
  502. Comment: One or more requisite failed: omv.deploy.proftpd.default.start_proftpd_service
  503. Started: 20:08:02.364831
  504. Duration: 0.005 ms
  505. Changes:
  506.  
  507. Summary for debian
  508. -------------
  509. Succeeded: 20 (changed=14)
  510. Failed: 2
  511. -------------
  512. Total states run: 22
  513. Total run time: 9.709 s/usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  514. *salt.utils.args.get_function_argspec(original_function)
  515. /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
  516. *salt.utils.args.get_function_argspec(original_function)
  517. /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
  518. *salt.utils.args.get_function_argspec(original_function)
  519. /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
  520. class OrderedSet(collections.MutableSet):
  521. in /usr/share/php/openmediavault/system/process.inc:182
  522. Stack trace:
  523. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
  524. #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
  525. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
  526. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  527. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
  528. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusJi...', '/tmp/bgoutputEL...')
  529. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
  530. #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
  531. #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
  532. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  533. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
  534. #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
  535. #12 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement