Introduction
This is a how-to guide for resolving the following error:
Imunify agent is not running
Try to start it by executing `service imunify360 start` or contact support
This may appear when trying to restart the ImunifyAV service after downgrading from Imuntify360.
Procedure
In the command line run the command 'systemctl status imunify-antivirus' as shown below:
[16:16:04 root@93591973 /var/imunify360]cPs# systemctl status imunify-antivirus
● imunify-antivirus.service - ImunifyAV
Loaded: loaded (/usr/lib/systemd/system/imunify-antivirus.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Fri 2020-08-14 15:52:07 -04; 24min ago
Process: 31211 ExecStart=/usr/bin/imunify-service (code=exited, status=0/SUCCESS)
Main PID: 31211 (code=exited, status=0/SUCCESS)
If you receive output similar to the one above run the command 'systemctl start imunify-antivirus':
[16:16:15 root@93591973 /var/imunify360]cPs# systemctl start imunify-antivirus
To verify that the service has started run the command 'systemctl status imunify-antivirus' as shown below:
[16:16:25 root@93591973 /var/imunify360]cPs# systemctl status imunify-antivirus
● imunify-antivirus.service - ImunifyAV
Loaded: loaded (/usr/lib/systemd/system/imunify-antivirus.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2020-08-14 16:16:25 -04; 2s ago
Main PID: 12025 (python3)
CGroup: /system.slice/imunify-antivirus.service
└─12025 /opt/alt/python35/bin/python3 -m defence360agent.run
Aug 14 16:16:25 systemd[1]: Started ImunifyAV.
Aug 14 16:16:27 imunify-service[12025]: Starting migrations
Aug 14 16:16:27 imunify-service[12025]: There is nothing to migrate
If you receive an output similar to the one above, you have successfully started the Imunify360 agent.