Issue
-
Imunify360 standalone installation fails with:
imunify360-firewall package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
imunify360-firewall
E: Sub-process /usr/bin/dpkg returned an error code (1) -
The service error refers to the incorrect value of watched patterns:
# journalctl -u imunify360
...
Dec 29 17:15:20 server imunify-service[16689]: MalwareGeneric.PATTERN_TO_WATCH = malware_section["pattern_to_watch"]
Dec 29 17:15:20 server imunify-service[16689]: File "/opt/alt/python38/lib/python3.8/configparser.py", line 1254, in getitem
Dec 29 17:15:20 server imunify-service[16689]: raise KeyError(key)
Dec 29 17:15:20 server imunify-service[16689]: KeyError: 'pattern_to_watch'
Dec 29 17:15:20 server systemd[1]: imunify360.service: Main process exited, code=exited, status=1/FAILURE
Dec 29 17:15:20 server systemd[1]: imunify360.service: Failed with result 'exit-code'. -
The [malware] section is missing from the "integration.conf" file:
# grep malware /etc/sysconfig/imunify360/integration.conf
#
Environment
- Imunify360 Stand-alone
Solution
Define directories pattern for malware scanner as described in the documentation in "/etc/sysconfig/imunify360/integration.conf" file:
[malware]
basedir = /home
pattern_to_watch = ^/home/.+?/(public_html|public_ftp|private_html)(/.*)?$
Cause
Missing integrations options.
Comments
0 comments
Please sign in to leave a comment.