Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel installation failed on Centos 7

Discussion in 'General Discussion' started by hinhthoi, Oct 30, 2017.

Tags:
  1. hinhthoi

    hinhthoi Member

    Joined:
    Mar 28, 2017
    Messages:
    18
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    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!
     
    #1 hinhthoi, Oct 30, 2017
    Last edited by a moderator: Oct 31, 2017
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,543
    Likes Received:
    38
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Hi,

    Is that 400 GB all in a single partition?
     
  3. hinhthoi

    hinhthoi Member

    Joined:
    Mar 28, 2017
    Messages:
    18
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Vietnam
    cPanel Access Level:
    Root Administrator
    ya, I think so, after the installation failed, this is the df result

    [root@server ~]# 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
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,509
    Likes Received:
    1,616
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

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

    Code:
    df -i
    Thank you.
     
Loading...

Share This Page