SOLVED EasyApache Update fails to complete

Nile Youth

Member
Apr 2, 2015
24
7
3
Egypt
cPanel Access Level
Root Administrator
Twitter
hello can you help me in this

each time I try to update apache via EasyApache or yum it was fail can you help

this is my log

Code:
Provision process started.
[2018-10-17 02:23:37 +0200] info [xml-api] There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
[2018-10-17 02:23:37 +0200] info [xml-api] --> Running transaction check
[2018-10-17 02:23:37 +0200] info [xml-api] ---> Package ea-apache24.x86_64 1:2.4.33-5.el7.cloudlinux.5 will be updated
[2018-10-17 02:23:37 +0200] info [xml-api] ---> Package ea-apache24.x86_64 1:2.4.35-1.el7.cloudlinux will be an update
[2018-10-17 02:23:37 +0200] info [xml-api] --> Finished Dependency Resolution
[2018-10-17 02:23:37 +0200] info [xml-api] ================================================================================
[2018-10-17 02:23:37 +0200] info [xml-api]  Package          Arch        Version                         Repository   Size
[2018-10-17 02:23:37 +0200] info [xml-api] ================================================================================
[2018-10-17 02:23:37 +0200] info [xml-api] Updating:
[2018-10-17 02:23:37 +0200] info [xml-api]  ea-apache24      x86_64      1:2.4.35-1.el7.cloudlinux       cl-ea4      2.3 M
[2018-10-17 02:23:37 +0200] info [xml-api] Transaction Summary
[2018-10-17 02:23:37 +0200] info [xml-api] ================================================================================
[2018-10-17 02:23:37 +0200] info [xml-api] Upgrade  1 Package
[2018-10-17 02:23:37 +0200] info [xml-api] Total download size: 2.3 M
[2018-10-17 02:23:37 +0200] info [xml-api] Downloading packages:
[2018-10-17 02:23:37 +0200] info [xml-api] Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
[2018-10-17 02:23:37 +0200] info [xml-api] Running transaction check
[2018-10-17 02:23:37 +0200] info [xml-api] Running transaction test
[2018-10-17 02:23:37 +0200] info [xml-api] Transaction test succeeded
[2018-10-17 02:23:37 +0200] info [xml-api] Running transaction
[2018-10-17 02:23:37 +0200] info [xml-api]   Updating   : 1:ea-apache24-2.4.35-1.el7.cloudlinux.x86_64                 1/2Error unpacking rpm package 1:ea-apache24-2.4.35-1.el7.cloudlinux.x86_64
[2018-10-17 02:23:37 +0200] info [xml-api] 
[2018-10-17 02:23:37 +0200] info [xml-api] error: unpacking of archive failed on file /etc/apache2/logs: cpio: rename
[2018-10-17 02:23:37 +0200] info [xml-api] Purging all relevant cached command results
[2018-10-17 02:23:37 +0200] info [xml-api] Removing:  /root/.cpanel/datastore/_usr_sbin_httpd_-l
[2018-10-17 02:23:37 +0200] info [xml-api] Removing:  /root/.cpanel/datastore/_usr_sbin_httpd_-V
[2018-10-17 02:23:37 +0200] info [xml-api] Removing:  /root/.cpanel/datastore/_usr_sbin_httpd_-v
[2018-10-17 02:23:37 +0200] info [xml-api] Rebuilding global cache
[2018-10-17 02:23:37 +0200] info [xml-api] Building global cache for cpanel...Done
[2018-10-17 02:23:37 +0200] info [xml-api] Ensuring current entry for “ea-php54” is correct …
[2018-10-17 02:23:37 +0200] info [xml-api] Ignoring current entry for “ea-php55” …
[2018-10-17 02:23:37 +0200] info [xml-api] Ensuring current entry for “ea-php56” is correct …
[2018-10-17 02:23:37 +0200] info [xml-api] Ensuring current entry for “ea-php70” is correct …
[2018-10-17 02:23:37 +0200] info [xml-api] Ensuring current entry for “ea-php71” is correct …
[2018-10-17 02:23:37 +0200] info [xml-api] Ensuring current entry for “ea-php72” is correct …
[2018-10-17 02:23:37 +0200] info [xml-api] Built /etc/apache2/conf/httpd.conf OK
[2018-10-17 02:23:37 +0200] info [xml-api] Nothing to do under ea4 (this script has been deprecated under ea4).
[2018-10-17 02:23:37 +0200] info [xml-api] Updating the CloudLinux CageFS virtual filesystem …
[2018-10-17 02:23:37 +0200] info [xml-api] Copying /bin/su to /usr/share/cagefs-skeleton/usr/bin/su
[2018-10-17 02:23:37 +0200] info [xml-api] Updating users ...
[2018-10-17 02:23:37 +0200] info [xml-api] Updating statuses of users ...
[2018-10-17 02:23:37 +0200] info [xml-api]  … done.
[2018-10-17 02:23:37 +0200] info [xml-api] Fix mailman RPM directories …
[2018-10-17 02:23:37 +0200] info [xml-api]  … PID 94228
[2018-10-17 02:23:37 +0200] info [xml-api] Fix mailing list perms …
[2018-10-17 02:23:37 +0200] info [xml-api]  … PID 94230
[2018-10-17 02:23:37 +0200] info [xml-api] Aligning modsec config to Whostmgr
[2018-10-17 02:23:37 +0200] info [xml-api] - Whostmgr version 11.74.0.9
[2018-10-17 02:23:37 +0200] info [xml-api] - Whostmgr supports conf.d/modsec location
[2018-10-17 02:23:37 +0200] info [xml-api] - No change necessary
[2018-10-17 02:23:37 +0200] info [xml-api] Waiting for “httpd” to stop ………finished.
[2018-10-17 02:23:37 +0200] info [xml-api] Startup Log
[2018-10-17 02:23:37 +0200] info [xml-api]    Oct 17 02:15:47 alpha.nileyouth.net systemd[1]: Starting Apache web server managed by cPanel EasyApache...
[2018-10-17 02:23:37 +0200] info [xml-api]    Oct 17 02:15:48 alpha.nileyouth.net systemd[1]: PID file /run/apache2/httpd.pid not readable (yet?) after start.
[2018-10-17 02:23:37 +0200] info [xml-api]    Oct 17 02:15:48 alpha.nileyouth.net systemd[1]: Started Apache web server managed by cPanel EasyApache.
[2018-10-17 02:23:37 +0200] info [xml-api]    Oct 17 02:23:33 alpha.nileyouth.net systemd[1]: Stopping Apache web server managed by cPanel EasyApache...
[2018-10-17 02:23:37 +0200] info [xml-api]    Oct 17 02:23:35 alpha.nileyouth.net systemd[1]: Stopped Apache web server managed by cPanel EasyApache.
[2018-10-17 02:23:37 +0200] info [xml-api] Log Messages
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:15:49.340017 2018] [mpm_event:notice] [pid 56681:tid 139860586801280] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:15:48.248064 2018] [mpm_event:notice] [pid 56681:tid 139860586801280] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:15:48.193624 2018] [:notice] [pid 56676:tid 139860586801280] ModSecurity for Apache/2.9.2 (ModSecurity: Open Source Web Application Firewall) configured.
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:12:37.819462 2018] [mpm_event:notice] [pid 55226:tid 139770278189184] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:12:37.763949 2018] [:notice] [pid 55221:tid 139770278189184] ModSecurity for Apache/2.9.2 (ModSecurity: Open Source Web Application Firewall) configured.
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:12:32.154064 2018] [mpm_event:notice] [pid 43973:tid 140696421681280] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:10:28.779251 2018] [mpm_event:notice] [pid 43973:tid 140696421681280] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:10:28.723870 2018] [:notice] [pid 43967:tid 140696421681280] ModSecurity for Apache/2.9.2 (ModSecurity: Open Source Web Application Firewall) configured.
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:10:18.330090 2018] [mpm_event:notice] [pid 41256:tid 140697991919744] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:03:54.433077 2018] [mpm_event:notice] [pid 41256:tid 140697991919744] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:03:54.379477 2018] [:notice] [pid 41251:tid 140697991919744] ModSecurity for Apache/2.9.2 (ModSecurity: Open Source Web Application Firewall) configured.
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:03:47.951017 2018] [mpm_event:notice] [pid 39018:tid 140470802737280] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 01:59:23.019752 2018] [mpm_event:notice] [pid 39018:tid 140470802737280] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 01:59:22.966307 2018] [:notice] [pid 39013:tid 140470802737280] ModSecurity for Apache/2.9.2 (ModSecurity: Open Source Web Application Firewall) configured.
[2018-10-17 02:23:37 +0200] info [xml-api]    Oct 17 02:23:35 alpha systemd: Stopped Apache web server managed by cPanel EasyApache.
[2018-10-17 02:23:37 +0200] info [xml-api]    Oct 17 02:23:33 alpha systemd: Stopping Apache web server managed by cPanel EasyApache...
[2018-10-17 02:23:37 +0200] info [xml-api]    Oct 17 02:23:20 alpha yum[92445]: 1:ea-apache24-2.4.35-1.el7.cloudlinux.x86_64: 100
[2018-10-17 02:23:37 +0200] info [xml-api] httpd stopped successfully.
[2018-10-17 02:23:37 +0200] info [xml-api] Waiting for “httpd” to restart gracefully …waiting for “httpd” to initialize ………finished.
[2018-10-17 02:23:37 +0200] info [xml-api] Service Status
[2018-10-17 02:23:37 +0200] info [xml-api]    httpd (/usr/sbin/httpd -k start) is running as root with PID 94394 (systemd+/proc check method).
[2018-10-17 02:23:37 +0200] info [xml-api]    httpd (/usr/local/cpanel/bin/splitlogs --dir=/etc/apache2/logs/domlogs --main=alpha.nileyouth.net --suffix=-bytes_log --sslport=8443) is running as root with PID 94395 (systemd+/proc check method).
[2018-10-17 02:23:37 +0200] info [xml-api]    httpd (/usr/local/cpanel/bin/splitlogs --dir=/etc/apache2/logs/domlogs --main=alpha.nileyouth.net --mainout=/etc/apache2/logs/access_log --sslport=8443) is running as root with PID 94396 (systemd+/proc check method).
[2018-10-17 02:23:37 +0200] info [xml-api] Startup Log
[2018-10-17 02:23:37 +0200] info [xml-api]    Oct 17 02:23:35 alpha.nileyouth.net systemd[1]: Starting Apache web server managed by cPanel EasyApache...
[2018-10-17 02:23:37 +0200] info [xml-api]    Oct 17 02:23:35 alpha.nileyouth.net systemd[1]: PID file /run/apache2/httpd.pid not readable (yet?) after start.
[2018-10-17 02:23:37 +0200] info [xml-api]    Oct 17 02:23:36 alpha.nileyouth.net systemd[1]: Started Apache web server managed by cPanel EasyApache.
[2018-10-17 02:23:37 +0200] info [xml-api] Log Messages
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:23:36.013239 2018] [mpm_event:notice] [pid 94394:tid 139701410252928] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:23:35.958784 2018] [:notice] [pid 94388:tid 139701410252928] ModSecurity for Apache/2.9.2 (ModSecurity: Open Source Web Application Firewall) configured.
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:15:49.340017 2018] [mpm_event:notice] [pid 56681:tid 139860586801280] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:15:48.248064 2018] [mpm_event:notice] [pid 56681:tid 139860586801280] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:15:48.193624 2018] [:notice] [pid 56676:tid 139860586801280] ModSecurity for Apache/2.9.2 (ModSecurity: Open Source Web Application Firewall) configured.
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:12:37.819462 2018] [mpm_event:notice] [pid 55226:tid 139770278189184] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:12:37.763949 2018] [:notice] [pid 55221:tid 139770278189184] ModSecurity for Apache/2.9.2 (ModSecurity: Open Source Web Application Firewall) configured.
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:12:32.154064 2018] [mpm_event:notice] [pid 43973:tid 140696421681280] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:10:28.779251 2018] [mpm_event:notice] [pid 43973:tid 140696421681280] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:10:28.723870 2018] [:notice] [pid 43967:tid 140696421681280] ModSecurity for Apache/2.9.2 (ModSecurity: Open Source Web Application Firewall) configured.
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:10:18.330090 2018] [mpm_event:notice] [pid 41256:tid 140697991919744] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:03:54.433077 2018] [mpm_event:notice] [pid 41256:tid 140697991919744] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:03:54.379477 2018] [:notice] [pid 41251:tid 140697991919744] ModSecurity for Apache/2.9.2 (ModSecurity: Open Source Web Application Firewall) configured.
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 02:03:47.951017 2018] [mpm_event:notice] [pid 39018:tid 140470802737280] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 01:59:23.019752 2018] [mpm_event:notice] [pid 39018:tid 140470802737280] AH00489: Apache/2.4.33 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 configured -- resuming normal operations
[2018-10-17 02:23:37 +0200] info [xml-api]    [Wed Oct 17 01:59:22.966307 2018] [:notice] [pid 39013:tid 140470802737280] ModSecurity for Apache/2.9.2 (ModSecurity: Open Source Web Application Firewall) configured.
[2018-10-17 02:23:37 +0200] info [xml-api] httpd restarted successfully.
[2018-10-17 02:23:37 +0200] info [xml-api] Setting permissions for.....gibqeg …
[2018-10-17 02:23:37 +0200] info [xml-api] virginiaunivers …
[2018-10-17 02:23:37 +0200] info [xml-api] gaastedu …
[2018-10-17 02:23:37 +0200] info [xml-api] aucedu …
[2018-10-17 02:23:37 +0200] info [xml-api] ohioedu …
[2018-10-17 02:23:37 +0200] info [xml-api] t7myl …
[2018-10-17 02:23:37 +0200] info [xml-api] arqaaam …
[2018-10-17 02:23:37 +0200] info [xml-api] salsabill …
[2018-10-17 02:23:37 +0200] info [xml-api] visiongroupegy …
[2018-10-17 02:23:37 +0200] info [xml-api] fastercooolx …
[2018-10-17 02:23:37 +0200] info [xml-api] amwaggroup …
[2018-10-17 02:23:37 +0200] info [xml-api] homeyegypt …
[2018-10-17 02:23:37 +0200] info [xml-api] amanegypt …
[2018-10-17 02:23:37 +0200] info [xml-api] proemr …
[2018-10-17 02:23:37 +0200] info [xml-api] october1258 …
[2018-10-17 02:23:37 +0200] info [xml-api] softsquareeg …
[2018-10-17 02:23:37 +0200] info [xml-api] nilestar …
[2018-10-17 02:23:37 +0200] info [xml-api] soutelganoub …
[2018-10-17 02:23:37 +0200] info [xml-api] eastmedeg …
[2018-10-17 02:23:37 +0200] info [xml-api] vacantjo …
[2018-10-17 02:23:37 +0200] info [xml-api] akhbarelsyaha …
[2018-10-17 02:23:37 +0200] info [xml-api] alqadisiya …
[2018-10-17 02:23:37 +0200] info [xml-api] lemartass …
[2018-10-17 02:23:37 +0200] info [xml-api] aljawdah …
[2018-10-17 02:23:37 +0200] info [xml-api] nutshellware …
[2018-10-17 02:23:37 +0200] info [xml-api] elbaddry …
[2018-10-17 02:23:37 +0200] info [xml-api] mediamisr …
[2018-10-17 02:23:37 +0200] info [xml-api] isolacosmetics …
[2018-10-17 02:23:37 +0200] info [xml-api] baldnaa …
[2018-10-17 02:23:37 +0200] info [xml-api] egyaton …
[2018-10-17 02:23:37 +0200] info [xml-api] mand2586 …
[2018-10-17 02:23:37 +0200] info [xml-api] pgiedu …
[2018-10-17 02:23:37 +0200] info [xml-api] m7aliat2019 …
[2018-10-17 02:23:37 +0200] info [xml-api] aljanoubie7 …
[2018-10-17 02:23:37 +0200] info [xml-api] sonsofegypt …
[2018-10-17 02:23:37 +0200] info [xml-api] falcom …
[2018-10-17 02:23:37 +0200] info [xml-api] sanabilit …
[2018-10-17 02:23:37 +0200] info [xml-api] cairopresseg …
[2018-10-17 02:23:37 +0200] info [xml-api] ...Done
[2018-10-17 02:23:37 +0200] info [xml-api]   Verifying  : 1:ea-apache24-2.4.35-1.el7.cloudlinux.x86_64                 1/21:ea-apache24-2.4.33-5.el7.cloudlinux.5.x86_64 was supposed to be removed but is not!
[2018-10-17 02:23:37 +0200] info [xml-api] 
[2018-10-17 02:23:37 +0200] info [xml-api]   Verifying  : 1:ea-apache24-2.4.33-5.el7.cloudlinux.5.x86_64               2/2
[2018-10-17 02:23:37 +0200] info [xml-api] Failed:
[2018-10-17 02:23:37 +0200] info [xml-api]   ea-apache24.x86_64 1:2.4.33-5.el7.cloudlinux.5                              
[2018-10-17 02:23:37 +0200] info [xml-api]   ea-apache24.x86_64 1:2.4.35-1.el7.cloudlinux                                
[2018-10-17 02:23:37 +0200] info [xml-api] There were non-fatal errors in the transaction
[2018-10-17 02:23:37 +0200] info [xml-api] Finished Transaction
[2018-10-17 02:23:37 +0200] info [xml-api] Leaving Shell

Provision process finished.
 
Last edited by a moderator:

Nile Youth

Member
Apr 2, 2015
24
7
3
Egypt
cPanel Access Level
Root Administrator
Twitter
I made support ticket and they solve it for me this is the issue and how they solve it:

After taking a look at your server it appears the issue was being caused by the "/etc/apache2/logs" directory not being a symlink to /var/log/apache2 which was leading to the failure. I went ahead and moved the old logs directory out of the way which allowed the update to go through.


**************************************************************************

[03:42:14] [10502495] [~]$ mv -v /etc/apache2/logs{,.bak} ‘/etc/apache2/logs’ -> ‘/etc/apache2/logs.bak’


**************************************************************************

**************************************************************************

Verifying : 1:ea-apache24-2.4.35-1.el7.cloudlinux.x86_64 1/2

Verifying : 1:ea-apache24-2.4.33-5.el7.cloudlinux.5.x86_64 2/2


Updated:

ea-apache24.x86_64 1:2.4.35-1.el7.cloudlinux


Complete!

**************************************************************************
 
  • Like
Reactions: Infopro