Advertisement
Guest User

Untitled

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