cPanel installation failed on Centos 7

hinhthoi

Member
Mar 28, 2017
18
2
3
Vietnam
cPanel Access Level
Root Administrator
Hi,

I am trying to install cPanel on a Centos 7 VPS. Here is the last few lines of the message on Putty

Code:
2017-10-30 15:15:08  226 (DEBUG):   - ssystem [BEGIN]: /usr/local/cpanel/scripts/cpservice sshd enable
2017-10-30 15:15:08  226 (DEBUG):     enable was successful
2017-10-30 15:15:08  226 (DEBUG):   - ssystem [END]
2017-10-30 15:15:08 1000 ( INFO): Enabling cphulkd ...
die [cpanel_initial_install] Failed to lock /var/cpanel/taskqueue/servers_queue.json (Disk quota exceeded)
die [cpanel_initial_install] Failed to lock /var/cpanel/taskqueue/servers_queue.json (Disk quota exceeded) at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 34.
        Cpanel::LoggerAdapter::throw(Cpanel::LoggerAdapter=HASH(0x2d9b5f8), "Failed to lock /var/cpanel/taskqueue/servers_queue.json (Disk"...) called at /usr/local/cpanel/Cpanel/SafeFile/FileLocker.pm line 58
        Cpanel::SafeFile::FileLocker::file_lock(Cpanel::SafeFile::FileLocker=HASH(0x2ee6f30), "/var/cpanel/taskqueue/servers_queue.json") called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 199
        cPanel::StateFile::Guard::_lock(cPanel::StateFile::Guard=HASH(0x39ca500)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 179
        cPanel::StateFile::Guard::new("cPanel::StateFile::Guard", HASH(0x3a3fb68)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 451
        cPanel::StateFile::_resynch(cPanel::StateFile=HASH(0x3a3f808), undef, 1509376502, 414) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 431
        cPanel::StateFile::synch(cPanel::StateFile=HASH(0x3a3f808)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 357
        cPanel::StateFile::new("cPanel::StateFile", HASH(0x2f93228)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 256
        eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 258
        cPanel::TaskQueue::new("cPanel::TaskQueue", HASH(0xef2a08)) called at /usr/local/cpanel/Cpanel/ServerTasks.pm line 31
        Cpanel::ServerTasks::queue_task(ARRAY(0x3a3fdd8), "hupcpsrvd") called at /usr/local/cpanel/Whostmgr/Services.pm line 238
        Whostmgr::Services::enable("cphulkd") called at /usr/local/cpanel/scripts/cpanel_initial_install line 1003
        scripts::cpanel_initial_install::enable_cphulkd() called at /usr/local/cpanel/scripts/cpanel_initial_install line 235
        scripts::cpanel_initial_install::script("scripts::cpanel_initial_install", "--skipapache", 0, "--installstart", 1509374959) called at /usr/local/cpanel/scripts/cpanel_initial_install line 62

Failed to lock /var/cpanel/taskqueue/servers_queue.json (Disk quota exceeded) at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 34.
        Cpanel::LoggerAdapter::throw(Cpanel::LoggerAdapter=HASH(0x2d9b5f8), "Failed to lock /var/cpanel/taskqueue/servers_queue.json (Disk"...) called at /usr/local/cpanel/Cpanel/SafeFile/FileLocker.pm line 58
        Cpanel::SafeFile::FileLocker::file_lock(Cpanel::SafeFile::FileLocker=HASH(0x2ee6f30), "/var/cpanel/taskqueue/servers_queue.json") called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 199
        cPanel::StateFile::Guard::_lock(cPanel::StateFile::Guard=HASH(0x39ca500)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 179
        cPanel::StateFile::Guard::new("cPanel::StateFile::Guard", HASH(0x3a3fb68)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 451
        cPanel::StateFile::_resynch(cPanel::StateFile=HASH(0x3a3f808), undef, 1509376502, 414) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 431
        cPanel::StateFile::synch(cPanel::StateFile=HASH(0x3a3f808)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 357
        cPanel::StateFile::new("cPanel::StateFile", HASH(0x2f93228)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 256
        eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 258
        cPanel::TaskQueue::new("cPanel::TaskQueue", HASH(0xef2a08)) called at /usr/local/cpanel/Cpanel/ServerTasks.pm line 31
        Cpanel::ServerTasks::queue_task(ARRAY(0x3a3fdd8), "hupcpsrvd") called at /usr/local/cpanel/Whostmgr/Services.pm line 238
        Whostmgr::Services::enable("cphulkd") called at /usr/local/cpanel/scripts/cpanel_initial_install line 1003
        scripts::cpanel_initial_install::enable_cphulkd() called at /usr/local/cpanel/scripts/cpanel_initial_install line 235
        scripts::cpanel_initial_install::script("scripts::cpanel_initial_install", "--skipapache", 0, "--installstart", 1509374959) called at /usr/local/cpanel/scripts/cpanel_initial_install line 62
 at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 34.
        Cpanel::LoggerAdapter::throw(Cpanel::LoggerAdapter=HASH(0x2d9b5f8), "Failed to lock /var/cpanel/taskqueue/servers_queue.json (Disk"...) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 85
        cPanel::StateFile::_throw("cPanel::StateFile", "Failed to lock /var/cpanel/taskqueue/servers_queue.json (Disk"...) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 262
        cPanel::TaskQueue::new("cPanel::TaskQueue", HASH(0xef2a08)) called at /usr/local/cpanel/Cpanel/ServerTasks.pm line 31
        Cpanel::ServerTasks::queue_task(ARRAY(0x3a3fdd8), "hupcpsrvd") called at /usr/local/cpanel/Whostmgr/Services.pm line 238
        Whostmgr::Services::enable("cphulkd") called at /usr/local/cpanel/scripts/cpanel_initial_install line 1003
        scripts::cpanel_initial_install::enable_cphulkd() called at /usr/local/cpanel/scripts/cpanel_initial_install line 235
        scripts::cpanel_initial_install::script("scripts::cpanel_initial_install", "--skipapache", 0, "--installstart", 1509374959) called at /usr/local/cpanel/scripts/cpanel_initial_install line 62
My VPS has 400G disk space, and the host node has 2 TB of free space, but cpanel still complaints disk quota exceeded.

Could anyone help me troubleshoot this issue?

Thank you!
 
Last edited by a moderator:

hinhthoi

Member
Mar 28, 2017
18
2
3
Vietnam
cPanel Access Level
Root Administrator
ya, I think so, after the installation failed, this is the df result

[[email protected] ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 400G 5.1G 395G 2% /
devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 244K 2.0G 1% /run
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 410M 0 410M 0% /run/user/0
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

You may also want to verify if the VPS ran out of available disk inodes. EX:

Code:
df -i
Thank you.