Update stuck at 0% for 12 hours
Ran the usual update process to update to the latest release version. The process stayed at 0% with the only thing in the log being that the last update log was not found.
I did a graceful reboot and now this fatal error:
(XID ebjpg3) The system failed to create the file "/var/cpanel/clusterserver/servers.db.lock" (as EUID: 0, EGID: 0) because of the following error: No space left on device at /usr/local/cpanel/Cpanel/SafeFile.pm line 371.
Cpanel::SafeFile::_safelock("/var/cpanel/clusterserver/servers.db") called at /usr/local/cpanel/Cpanel/SafeFile.pm line 293
Cpanel::SafeFile::safelock("/var/cpanel/clusterserver/servers.db") called at /usr/local/cpanel/Whostmgr/ClusterServer.pm line 39
Whostmgr::ClusterServer::load(Whostmgr::ClusterServer=HASH(0x2cda690)) called at /usr/local/cpanel/Whostmgr/ClusterServer.pm line 70
Whostmgr::ClusterServer::count(Whostmgr::ClusterServer=HASH(0x2cda690)) called at whostmgr/bin/whostmgr2.pl line 1076
main::updateconf("updateconf") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 274
Whostmgr::Dispatch::_do_call("updateconf", HASH(0x2cd52d0), HASH(0x2cda4f8)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 172
Whostmgr::Dispatch::dispatch("updateconf", 1, ARRAY(0x2cd7760), HASH(0x2cda4f8)) called at whostmgr/bin/whostmgr2.pl line 773
cPanel/WHM have been updated before and have never had this issue. Any ideas how to fix this? Deployed on AWS EC2 with the WHM/cPanel AMI.
-
Hi, It says "because of the following error: No space left on device at " - have you checked that you have enough space available? ;) 0 -
No space left on device at /usr/local/cpanel/Cpanel/SafeFile.pm line 371. Check enough space is available or not.? 0 -
You'd want to check if you have enough space in /var/
or that/var/cpanel/clusterserver/
is writeable as noted in the error.0 -
Hi, It says "because of the following error: No space left on device at " - have you checked that you have enough space available? ;)
That was it. Looks like the backups were not respecting the settings and I had only 20b left on the disk. Allocated some more disk space and all works perfectly.0
Please sign in to leave a comment.
Comments
4 comments