Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@i360-test-agent-el7-1 ~]# yum install -y imunify360-firewall.rpm && imunify360-agent register AGDFK#m0N2UqYJvoUnbvfiIB1NjouRtqQH && yum install -y imunify360-firewall-cpanel.rpm
- Loaded plugins: fastestmirror, tsflags, universal-hooks
- Examining imunify360-firewall.rpm: imunify360-firewall-1.2-1.el7.noarch
- Marking imunify360-firewall.rpm to be installed
- Resolving Dependencies
- --> Running transaction check
- ---> Package imunify360-firewall.noarch 0:1.2-1.el7 will be installed
- --> Processing Dependency: alt-python35-blinker for package: imunify360-firewall-1.2-1.el7.noarch
- Loading mirror speeds from cached hostfile
- * EA4: 185.53.12.144
- * base: mirror.besthosting.ua
- * extras: mirror-pl.kielcetechnologypark.net
- * updates: mirror.besthosting.ua
- --> Processing Dependency: alt-python35-cerberus for package: imunify360-firewall-1.2-1.el7.noarch
- --> Processing Dependency: alt-python35-pytricia for package: imunify360-firewall-1.2-1.el7.noarch
- --> Processing Dependency: alt-python35-requests for package: imunify360-firewall-1.2-1.el7.noarch
- --> Running transaction check
- ---> Package alt-python35-blinker.noarch 0:1.4-1.el7 will be installed
- ---> Package alt-python35-cerberus.noarch 0:1.1-1.el7 will be installed
- ---> Package alt-python35-pytricia.x86_64 0:0.9.4-1.el7 will be installed
- ---> Package alt-python35-requests.noarch 0:2.10.0-5.el7 will be installed
- --> Processing Dependency: alt-python35-urllib3 = 1.15.1 for package: alt-python35-requests-2.10.0-5.el7.noarch
- --> Running transaction check
- ---> Package alt-python35-urllib3.noarch 0:1.15.1-4.el7 will be installed
- --> Processing Dependency: alt-python35-pysocks for package: alt-python35-urllib3-1.15.1-4.el7.noarch
- --> Running transaction check
- ---> Package alt-python35-pysocks.noarch 0:1.5.7-2.el7 will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- =======================================================================================================================================
- Package Arch Version Repository Size
- =======================================================================================================================================
- Installing:
- imunify360-firewall noarch 1.2-1.el7 /imunify360-firewall 1.2 M
- Installing for dependencies:
- alt-python35-blinker noarch 1.4-1.el7 imunify360 28 k
- alt-python35-cerberus noarch 1.1-1.el7 imunify360 101 k
- alt-python35-pysocks noarch 1.5.7-2.el7 imunify360 26 k
- alt-python35-pytricia x86_64 0.9.4-1.el7 imunify360 19 k
- alt-python35-requests noarch 2.10.0-5.el7 imunify360 105 k
- alt-python35-urllib3 noarch 1.15.1-4.el7 imunify360 132 k
- Transaction Summary
- =======================================================================================================================================
- Install 1 Package (+6 Dependent packages)
- Total size: 1.6 M
- Total download size: 411 k
- Installed size: 3.1 M
- Downloading packages:
- (1/6): alt-python35-blinker-1.4-1.el7.noarch.rpm | 28 kB 00:00:01
- (2/6): alt-python35-cerberus-1.1-1.el7.noarch.rpm | 101 kB 00:00:00
- (3/6): alt-python35-pysocks-1.5.7-2.el7.noarch.rpm | 26 kB 00:00:00
- (4/6): alt-python35-pytricia-0.9.4-1.el7.x86_64.rpm | 19 kB 00:00:00
- (5/6): alt-python35-requests-2.10.0-5.el7.noarch.rpm | 105 kB 00:00:01
- (6/6): alt-python35-urllib3-1.15.1-4.el7.noarch.rpm | 132 kB 00:00:00
- ---------------------------------------------------------------------------------------------------------------------------------------
- Total 147 kB/s | 411 kB 00:00:02
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Installing : alt-python35-blinker-1.4-1.el7.noarch 1/7
- Installing : alt-python35-cerberus-1.1-1.el7.noarch 2/7
- Installing : alt-python35-pysocks-1.5.7-2.el7.noarch 3/7
- Installing : alt-python35-urllib3-1.15.1-4.el7.noarch 4/7
- Installing : alt-python35-requests-2.10.0-5.el7.noarch 5/7
- Installing : alt-python35-pytricia-0.9.4-1.el7.x86_64 6/7
- Installing : imunify360-firewall-1.2-1.el7.noarch 7/7
- Starting migrations
- Running "015_add_iplist_expiration_index"
- add_index ('iplist', ['expiration'])
- Done 015_add_iplist_expiration_index
- Running "016_fix_autowhitelist_expiration"
- Done 016_fix_autowhitelist_expiration
- Running "016_remove_sensor_prefix"
- ERROR [+ 629ms] builtins|[Errno 2] No such file or directory: '/etc/sysconfig/imunify360/i360.id'
- Traceback (most recent call last):
- File "<string>", line 45, in migrate
- File "<string>", line 33, in create_new_server_id_file
- FileNotFoundError: [Errno 2] No such file or directory: '/etc/sysconfig/imunify360/i360.id'
- Done 016_remove_sensor_prefix
- Running "017_license_info"
- Done 017_license_info
- ERROR [+ 1540ms] sentry.errors|Sentry responded with an API error: RateLimited(Creation of this event was denied due to rate limiting)
- b'Sentry responded with an API error: RateLimited(Creation of this event was denied due to rate limiting)'
- 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']
- 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\']'
- WARNING [+ 659ms] defence360agent.subsys.cphulk|Got error from whmapi1: cPHulk is disabled on the server.
- WARNING [+ 971ms] defence360agent.subsys.cphulk|Got error from whmapi1: cPHulk is disabled on the server.
- WARNING: Failed to enable pure-ftpd scans: pure-ftpd not installed
- Verifying : alt-python35-pytricia-0.9.4-1.el7.x86_64 1/7
- Verifying : imunify360-firewall-1.2-1.el7.noarch 2/7
- Verifying : alt-python35-pysocks-1.5.7-2.el7.noarch 3/7
- Verifying : alt-python35-requests-2.10.0-5.el7.noarch 4/7
- Verifying : alt-python35-cerberus-1.1-1.el7.noarch 5/7
- Verifying : alt-python35-urllib3-1.15.1-4.el7.noarch 6/7
- Verifying : alt-python35-blinker-1.4-1.el7.noarch 7/7
- Installed:
- imunify360-firewall.noarch 0:1.2-1.el7
- Dependency Installed:
- 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
- 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
- Complete!
- INFO [+ 334ms] requests.packages.urllib3.connectionpool|Starting new HTTPS connection (1): cln.cloudlinux.com
- usage: imunify360-agent [-h] [--remote-addr REMOTE_ADDR]
- [--console-log-level {ERROR,WARNING,INFO,DEBUG}]
- {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}
- ...
- 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')
- /var/imunify360/actions/register/post/disable_3rd_party_ids: line 48: [: !=: unary operator expected
- OK
- Loaded plugins: fastestmirror, tsflags, universal-hooks
- Examining imunify360-firewall-cpanel.rpm: imunify360-firewall-cpanel-1.2-1.el7.noarch
- Marking imunify360-firewall-cpanel.rpm to be installed
- Resolving Dependencies
- --> Running transaction check
- ---> Package imunify360-firewall-cpanel.noarch 0:1.2-1.el7 will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- =======================================================================================================================================
- Package Arch Version Repository Size
- =======================================================================================================================================
- Installing:
- imunify360-firewall-cpanel noarch 1.2-1.el7 /imunify360-firewall-cpanel 3.1 M
- Transaction Summary
- =======================================================================================================================================
- Install 1 Package
- Total size: 3.1 M
- Installed size: 3.1 M
- Downloading packages:
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Installing : imunify360-firewall-cpanel-1.2-1.el7.noarch 1/1
- usage: imunify360-agent [-h] [--remote-addr REMOTE_ADDR]
- [--console-log-level {ERROR,WARNING,INFO,DEBUG}]
- {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}
- ...
- 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')
- Something went wrong: Command '['/usr/bin/imunify360-agent', 'type']' returned non-zero exit status 2
- ERROR [+ 6793ms] /var/imunify360/actions/register/post/modsec_settings.py|Something went wrong
- Traceback (most recent call last):
- File "/var/imunify360/actions/register/post/modsec_settings.py", line 423, in <module>
- post_register_unregister()
- File "/var/imunify360/actions/register/post/modsec_settings.py", line 418, in post_register_unregister
- post()
- File "/var/imunify360/actions/register/post/modsec_settings.py", line 385, in post
- Config.save(setting.config_key, setting.apply())
- File "/var/imunify360/actions/register/post/modsec_settings.py", line 144, in save
- ConfigFile.dict_to_config(config_dict)
- File "/opt/alt/python35/lib/python3.5/site-packages/defence360agent/contracts/config.py", line 302, in dict_to_config
- cls.validate(config)
- File "/opt/alt/python35/lib/python3.5/site-packages/defence360agent/contracts/config.py", line 314, in validate
- raise ValidationError(v.errors)
- defence360agent.contracts.config.ValidationError: {'MOD_SEC': [{'prev_settings': ['unknown field']}]}
- Sentry is attempting to send 1 pending error messages
- Waiting up to 10 seconds
- Press Ctrl-C to quit
- Verifying : imunify360-firewall-cpanel-1.2-1.el7.noarch 1/1
- Installed:
- imunify360-firewall-cpanel.noarch 0:1.2-1.el7
- Complete!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement