Advertisement
Guest User

Лог установки агента и плагина целиком

a guest
Mar 24th, 2017
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.06 KB | None | 0 0
  1. [root@i360-test-agent-el7-1 ~]# yum install -y imunify360-firewall.rpm && imunify360-agent register AGDFK#m0N2UqYJvoUnbvfiIB1NjouRtqQH && yum install -y imunify360-firewall-cpanel.rpm
  2. Loaded plugins: fastestmirror, tsflags, universal-hooks
  3. Examining imunify360-firewall.rpm: imunify360-firewall-1.2-1.el7.noarch
  4. Marking imunify360-firewall.rpm to be installed
  5. Resolving Dependencies
  6. --> Running transaction check
  7. ---> Package imunify360-firewall.noarch 0:1.2-1.el7 will be installed
  8. --> Processing Dependency: alt-python35-blinker for package: imunify360-firewall-1.2-1.el7.noarch
  9. Loading mirror speeds from cached hostfile
  10. * EA4: 185.53.12.144
  11. * base: mirror.besthosting.ua
  12. * extras: mirror-pl.kielcetechnologypark.net
  13. * updates: mirror.besthosting.ua
  14. --> Processing Dependency: alt-python35-cerberus for package: imunify360-firewall-1.2-1.el7.noarch
  15. --> Processing Dependency: alt-python35-pytricia for package: imunify360-firewall-1.2-1.el7.noarch
  16. --> Processing Dependency: alt-python35-requests for package: imunify360-firewall-1.2-1.el7.noarch
  17. --> Running transaction check
  18. ---> Package alt-python35-blinker.noarch 0:1.4-1.el7 will be installed
  19. ---> Package alt-python35-cerberus.noarch 0:1.1-1.el7 will be installed
  20. ---> Package alt-python35-pytricia.x86_64 0:0.9.4-1.el7 will be installed
  21. ---> Package alt-python35-requests.noarch 0:2.10.0-5.el7 will be installed
  22. --> Processing Dependency: alt-python35-urllib3 = 1.15.1 for package: alt-python35-requests-2.10.0-5.el7.noarch
  23. --> Running transaction check
  24. ---> Package alt-python35-urllib3.noarch 0:1.15.1-4.el7 will be installed
  25. --> Processing Dependency: alt-python35-pysocks for package: alt-python35-urllib3-1.15.1-4.el7.noarch
  26. --> Running transaction check
  27. ---> Package alt-python35-pysocks.noarch 0:1.5.7-2.el7 will be installed
  28. --> Finished Dependency Resolution
  29.  
  30. Dependencies Resolved
  31.  
  32. =======================================================================================================================================
  33. Package Arch Version Repository Size
  34. =======================================================================================================================================
  35. Installing:
  36. imunify360-firewall noarch 1.2-1.el7 /imunify360-firewall 1.2 M
  37. Installing for dependencies:
  38. alt-python35-blinker noarch 1.4-1.el7 imunify360 28 k
  39. alt-python35-cerberus noarch 1.1-1.el7 imunify360 101 k
  40. alt-python35-pysocks noarch 1.5.7-2.el7 imunify360 26 k
  41. alt-python35-pytricia x86_64 0.9.4-1.el7 imunify360 19 k
  42. alt-python35-requests noarch 2.10.0-5.el7 imunify360 105 k
  43. alt-python35-urllib3 noarch 1.15.1-4.el7 imunify360 132 k
  44.  
  45. Transaction Summary
  46. =======================================================================================================================================
  47. Install 1 Package (+6 Dependent packages)
  48.  
  49. Total size: 1.6 M
  50. Total download size: 411 k
  51. Installed size: 3.1 M
  52. Downloading packages:
  53. (1/6): alt-python35-blinker-1.4-1.el7.noarch.rpm | 28 kB 00:00:01
  54. (2/6): alt-python35-cerberus-1.1-1.el7.noarch.rpm | 101 kB 00:00:00
  55. (3/6): alt-python35-pysocks-1.5.7-2.el7.noarch.rpm | 26 kB 00:00:00
  56. (4/6): alt-python35-pytricia-0.9.4-1.el7.x86_64.rpm | 19 kB 00:00:00
  57. (5/6): alt-python35-requests-2.10.0-5.el7.noarch.rpm | 105 kB 00:00:01
  58. (6/6): alt-python35-urllib3-1.15.1-4.el7.noarch.rpm | 132 kB 00:00:00
  59. ---------------------------------------------------------------------------------------------------------------------------------------
  60. Total 147 kB/s | 411 kB 00:00:02
  61. Running transaction check
  62. Running transaction test
  63. Transaction test succeeded
  64. Running transaction
  65. Installing : alt-python35-blinker-1.4-1.el7.noarch 1/7
  66. Installing : alt-python35-cerberus-1.1-1.el7.noarch 2/7
  67. Installing : alt-python35-pysocks-1.5.7-2.el7.noarch 3/7
  68. Installing : alt-python35-urllib3-1.15.1-4.el7.noarch 4/7
  69. Installing : alt-python35-requests-2.10.0-5.el7.noarch 5/7
  70. Installing : alt-python35-pytricia-0.9.4-1.el7.x86_64 6/7
  71. Installing : imunify360-firewall-1.2-1.el7.noarch 7/7
  72. Starting migrations
  73. Running "015_add_iplist_expiration_index"
  74. add_index ('iplist', ['expiration'])
  75. Done 015_add_iplist_expiration_index
  76. Running "016_fix_autowhitelist_expiration"
  77. Done 016_fix_autowhitelist_expiration
  78. Running "016_remove_sensor_prefix"
  79. ERROR [+ 629ms] builtins|[Errno 2] No such file or directory: '/etc/sysconfig/imunify360/i360.id'
  80. Traceback (most recent call last):
  81. File "<string>", line 45, in migrate
  82. File "<string>", line 33, in create_new_server_id_file
  83. FileNotFoundError: [Errno 2] No such file or directory: '/etc/sysconfig/imunify360/i360.id'
  84. Done 016_remove_sensor_prefix
  85. Running "017_license_info"
  86. Done 017_license_info
  87. ERROR [+ 1540ms] sentry.errors|Sentry responded with an API error: RateLimited(Creation of this event was denied due to rate limiting)
  88. b'Sentry responded with an API error: RateLimited(Creation of this event was denied due to rate limiting)'
  89. ERROR [+ 1541ms] sentry.errors.uncaught|["[Errno 2] No such file or directory: '/etc/sysconfig/imunify360/i360.id'", ' File "<string>", line 45, in migrate', ' File "<string>", line 33, in create_new_server_id_file']
  90. b'["[Errno 2] No such file or directory: \'/etc/sysconfig/imunify360/i360.id\'", \' File "<string>", line 45, in migrate\', \' File "<string>", line 33, in create_new_server_id_file\']'
  91. WARNING [+ 659ms] defence360agent.subsys.cphulk|Got error from whmapi1: cPHulk is disabled on the server.
  92. WARNING [+ 971ms] defence360agent.subsys.cphulk|Got error from whmapi1: cPHulk is disabled on the server.
  93. WARNING: Failed to enable pure-ftpd scans: pure-ftpd not installed
  94. Verifying : alt-python35-pytricia-0.9.4-1.el7.x86_64 1/7
  95. Verifying : imunify360-firewall-1.2-1.el7.noarch 2/7
  96. Verifying : alt-python35-pysocks-1.5.7-2.el7.noarch 3/7
  97. Verifying : alt-python35-requests-2.10.0-5.el7.noarch 4/7
  98. Verifying : alt-python35-cerberus-1.1-1.el7.noarch 5/7
  99. Verifying : alt-python35-urllib3-1.15.1-4.el7.noarch 6/7
  100. Verifying : alt-python35-blinker-1.4-1.el7.noarch 7/7
  101.  
  102. Installed:
  103. imunify360-firewall.noarch 0:1.2-1.el7
  104.  
  105. Dependency Installed:
  106. alt-python35-blinker.noarch 0:1.4-1.el7 alt-python35-cerberus.noarch 0:1.1-1.el7 alt-python35-pysocks.noarch 0:1.5.7-2.el7
  107. alt-python35-pytricia.x86_64 0:0.9.4-1.el7 alt-python35-requests.noarch 0:2.10.0-5.el7 alt-python35-urllib3.noarch 0:1.15.1-4.el7
  108.  
  109. Complete!
  110. INFO [+ 334ms] requests.packages.urllib3.connectionpool|Starting new HTTPS connection (1): cln.cloudlinux.com
  111. usage: imunify360-agent [-h] [--remote-addr REMOTE_ADDR]
  112. [--console-log-level {ERROR,WARNING,INFO,DEBUG}]
  113. {get,get-new-updates,whitelist,blacklist,graylist,register,unregister,rstatus,start,config,doctor,list-3rdparty,disable-3rdparty,migratedb,import,check-domains,infected-domains,version,clean,features,malware}
  114. ...
  115. imunify360-agent: error: invalid choice: 'type' (choose from 'get', 'get-new-updates', 'whitelist', 'blacklist', 'graylist', 'register', 'unregister', 'rstatus', 'start', 'config', 'doctor', 'list-3rdparty', 'disable-3rdparty', 'migratedb', 'import', 'check-domains', 'infected-domains', 'version', 'clean', 'features', 'malware')
  116. /var/imunify360/actions/register/post/disable_3rd_party_ids: line 48: [: !=: unary operator expected
  117. OK
  118. Loaded plugins: fastestmirror, tsflags, universal-hooks
  119. Examining imunify360-firewall-cpanel.rpm: imunify360-firewall-cpanel-1.2-1.el7.noarch
  120. Marking imunify360-firewall-cpanel.rpm to be installed
  121. Resolving Dependencies
  122. --> Running transaction check
  123. ---> Package imunify360-firewall-cpanel.noarch 0:1.2-1.el7 will be installed
  124. --> Finished Dependency Resolution
  125.  
  126. Dependencies Resolved
  127.  
  128. =======================================================================================================================================
  129. Package Arch Version Repository Size
  130. =======================================================================================================================================
  131. Installing:
  132. imunify360-firewall-cpanel noarch 1.2-1.el7 /imunify360-firewall-cpanel 3.1 M
  133.  
  134. Transaction Summary
  135. =======================================================================================================================================
  136. Install 1 Package
  137.  
  138. Total size: 3.1 M
  139. Installed size: 3.1 M
  140. Downloading packages:
  141. Running transaction check
  142. Running transaction test
  143. Transaction test succeeded
  144. Running transaction
  145. Installing : imunify360-firewall-cpanel-1.2-1.el7.noarch 1/1
  146. usage: imunify360-agent [-h] [--remote-addr REMOTE_ADDR]
  147. [--console-log-level {ERROR,WARNING,INFO,DEBUG}]
  148. {get,get-new-updates,whitelist,blacklist,graylist,register,unregister,rstatus,start,config,doctor,list-3rdparty,disable-3rdparty,migratedb,import,check-domains,infected-domains,version,clean,features,malware}
  149. ...
  150. imunify360-agent: error: invalid choice: 'type' (choose from 'get', 'get-new-updates', 'whitelist', 'blacklist', 'graylist', 'register', 'unregister', 'rstatus', 'start', 'config', 'doctor', 'list-3rdparty', 'disable-3rdparty', 'migratedb', 'import', 'check-domains', 'infected-domains', 'version', 'clean', 'features', 'malware')
  151. Something went wrong: Command '['/usr/bin/imunify360-agent', 'type']' returned non-zero exit status 2
  152. ERROR [+ 6793ms] /var/imunify360/actions/register/post/modsec_settings.py|Something went wrong
  153. Traceback (most recent call last):
  154. File "/var/imunify360/actions/register/post/modsec_settings.py", line 423, in <module>
  155. post_register_unregister()
  156. File "/var/imunify360/actions/register/post/modsec_settings.py", line 418, in post_register_unregister
  157. post()
  158. File "/var/imunify360/actions/register/post/modsec_settings.py", line 385, in post
  159. Config.save(setting.config_key, setting.apply())
  160. File "/var/imunify360/actions/register/post/modsec_settings.py", line 144, in save
  161. ConfigFile.dict_to_config(config_dict)
  162. File "/opt/alt/python35/lib/python3.5/site-packages/defence360agent/contracts/config.py", line 302, in dict_to_config
  163. cls.validate(config)
  164. File "/opt/alt/python35/lib/python3.5/site-packages/defence360agent/contracts/config.py", line 314, in validate
  165. raise ValidationError(v.errors)
  166. defence360agent.contracts.config.ValidationError: {'MOD_SEC': [{'prev_settings': ['unknown field']}]}
  167. Sentry is attempting to send 1 pending error messages
  168. Waiting up to 10 seconds
  169. Press Ctrl-C to quit
  170. Verifying : imunify360-firewall-cpanel-1.2-1.el7.noarch 1/1
  171.  
  172. Installed:
  173. imunify360-firewall-cpanel.noarch 0:1.2-1.el7
  174.  
  175. Complete!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement