[solved] Installing 5.2.6 on cPanel fails on disk quota

ffeingol

Well-Known Member
#1
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!
 

Pong

Well-Known Member
Staff member
#2
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.
 

ffeingol

Well-Known Member
#3
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.
 

Pong

Well-Known Member
Staff member
#5
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.
 

ffeingol

Well-Known Member
#6
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).
 

ffeingol

Well-Known Member
#7
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.
 
Top