Symptoms
After the update of packages ea-apache24-config-runtime and ea-apache24-config the below errors were encountered in /var/log/messages
segfault at 0 ip 000015429f475c5b sp 00007ffe2b8a4390 error 4 in libc.so.6
/usr/local/cpanel/logs/splitlogs_log
[2025-04-25 10:26:07] error: Unable to open log file for apache-traffic.log
And /var/log/apache2/error_log
AH00106: piped log program '/usr/local/cpanel/bin/splitlogs --main=apache-traffic.log --mainout=/var/log/cpanel-server-traffic/web/traffic-apache.log' failed unexpectedly
Description
The new packages provide a new log location to collect extra traffic logs for Apache and nginx.
However the log file /var/log/cpanel-server-traffic/web/traffic-apache.log was not created automatically resulting in the above mentioned errors.
The reason for that is a package ea-cpanel-tools that was not updated due to 2 repositories that are outdated cl-ea4 for Cloudlinux and imunify360-ea-php-hardened for Almalinux with Imunify360 installed.
More details on the latest update you can find in the below changelog:
https://docs.cpanel.net/changelogs/easyapache-4-change-log-25/
We've opened an internal case for our development team to investigate this further. For reference, the case number is ZC-12792. Follow this article to receive an email notification when a solution is published in the product.
Workaround
Remove the package and install the updated one disabling the outdated repost.
For Almalinux 8.1 and 9.5
rpm -e --nodeps ea-cpanel-tools
dnf install ea-cpanel-tools --disablerepo=imunify360-ea-php-hardened
For Cloudlinux
rpm -e --nodeps ea-cpanel-tools
dnf install ea-cpanel-tools --disablerepo=cl-ea4
Finally restart the Apache server.
/scripts/restartsrv_httpd
Comments
0 comments
Article is closed for comments.