[solved] Installing 5.2.6 on cPanel fails on disk quota

Discussion in 'Install/Configuration' started by ffeingol, Apr 2, 2018.

  1. ffeingol

    ffeingol Well-Known Member

    Hello Guys,
    We're installing the latest version of LSWS for cPanel via lsws_whm_autoinstaller.sh. It's failing with:
    ./lsws_whm_autoinstaller.sh: line 494: echo: write error: Disk quota exceeded
    When I look at the quotas, they look fine:
    Code:
    Block grace time: 7days; Inode grace time: 7days
                            Block limits                File limits
    User            used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    lsadm     --      80       0       0             24     0     0
    Any thoughts? Can we just re-run the installer? The software appears to be there, but httpd_config.xml is not, so LSWS won't start.
    Thanks!
     
  2. Pong

    Pong Well-Known Member Staff Member

    It is a fresh install on this server, right? When disk quota reached, it will generally cause the written problem.
    yes, you can re-run the installer.
     
  3. ffeingol

    ffeingol Well-Known Member

    Hello,

    Yes, fresh install on a brand new cPanel server. Just seems very odd that it got quota errors when the account does not have a quota. Plenty of room in the filesystem etc.
     
  4. ffeingol

    ffeingol Well-Known Member

    Exact same error re-installing.
     
  5. Pong

    Pong Well-Known Member Staff Member

    Did you run the script as "root" user? What's "df" output? Disk quota does not mean to "lsadm" user, should be the directory to be installed.
    maybe you can check with cpanel support where the diskquota from. or log a ticket with us with root password for us to take a look.
     
  6. ffeingol

    ffeingol Well-Known Member

    Hello Pong,
    We've installed LSWS a few dozen times before. Running as root and the file system as 1.9 TB of free space (1% utilization). I also checked and root quota is unlimtied (as it should be).
     
  7. ffeingol

    ffeingol Well-Known Member

    OK, tracked it down with LSWS support.

    We had created a cPanel account on this server and it got UID 1000. The account is for 'management' purposes, so it's quota was very small. The LSWS tarball extracted with UID 1000. Because of that the tarball could not fully extract and therefore caused all sorts of weird install issues. Temporarily bumped the user's quota up and life is good.

    This 'could' happen on any server where your installing LSWS and the UID 1000 user's quota is low.
     
    NiteWave likes this.

Share This Page