Applicable to:
- Plesk for Linux
Symptoms
-
An email notification that contains the following error notification is received often:
CONFIG_TEXT: error: state file /var/lib/logrotate/status is already locked
logrotate does not support parallel execution on the same set of logfiles.
Cause
The error is related to the execution of the /usr/share/imunify360-wafd/logrotate cron task.
The message you are encountering typically arises when two separate logrotate processes are executed simultaneously, due to which one of them fails to be executed, since the execution itself requires certain files to be locked for use temporarily and it is not possible for them to be locked by two separate processes simultaneously.
This issue was caused by a bug within Imunify360 extension, designated by Imunify's team as DEF-34536.
Resolution
The error itself has no actual impact and can be safely ignored, and it has already been fixed in the webshield-1.34.3 Imunify component update.
Update the Imunify extension to install the updated component and resolve this issue.
If the issue persists after even after updating Imunify to its latest version by regular means, try force-updating the webshield component by doing the following:
1. Log into your server via SSH
2. Execute the following command:
# wget -O ./imunify-force-update.sh https://repo.imunify360.cloudlinux.com/defence360/imunify-force-update.sh && bash ./imunify-force-update.sh
If the issue persists even after that, share the ticket with CloudLinux for further investigation.
Their official article in relation to the issue:
Note: The release versions and ETAs in their article are outdated
Comments
Please sign in to leave a comment.