Issue
Imunify360 cannot start on the server.
ERROR [2021-12-07 15:30:57,579] defence360agent.contracts.config: Imunify360 config does not match the scheme: {'MALWARE_SCANNING': [{'default_action': ['unallowed value cleanup_or_quarantine']}]}
Environment
- Imunify360
Solution
1, Check logs of Imunfy360. You can find it here: /var/log/imunify360/error.log and /var/log/imunify360/console.log
2. If you find such an error, check the configuration file located here /etc/sysconfig/imunify360/imunify360.config
3. If you have an error like this, please follow our guide:
Imunify360 config does not match the scheme: {'MALWARE_SCANNING': [{'default_action': ['unallowed value cleanup_or_quarantine']}]}
4. Please, open your /etc/sysconfig/imunify360/imunify360.config, change
default_action: cleanup_or_quarantine
to
default_action: cleanup
and try to start Imunify360 by:
# systemctl start imunify360
5. If further configuration errors appear, back up the configuration file and modify it as follows:
# cp -p /etc/sysconfig/imunify360/imunify360.config ~/
# cat /etc/sysconfig/imunify360/imunify360.config
MALWARE_DATABASE_SCAN:
enable: true
MALWARE_SCANNING:
hyperscan: false
MOD_SEC:
prev_settings: 0:RelevantOnly,1:Off,2:On
ruleset: MINIMAL
OSSEC:
active_response: true
WEBSHIELD:
enable: false
To avoid such issues in the future, please apply configuration changes to the separate files within "/imunify360/imunify360.config.d/" directory, as descibed here, but not to "/etc/sysconfig/imunify360/imunify360.config.d/90-local.config" or "/etc/sysconfig/imunify360/imunify360.config".
Comments
0 comments
Please sign in to leave a comment.