charles
07-12-2004, 11:40 AM
If you create an account and you find it is immediately over quota and it was not created properly (files missing and home dir owned by root), the reason is you have been lucky enough to hit a problem related to cpanel being installed on a single filesystem.
The reason is that the files under /usr/local and /home/cpins have uid/gids that eventually get used on the system (after roughly about 20 accounts) and qoutas are filesystem based.
When this happens, those cpanel files immediatley get counted as used by that user - so creating a new account can put them at 30MB instantly, and therefore over quota immediately. This can be tricky to debug as the uid/gid are not the same and there are several of them used - so it appears random.
The work around is to delete that user and add about 30Mb to the users quota at creation so that the account gets created properly. Or just create a junk account to use that uid/gid so it does not interfere, and then get back to adding your account as usual.
The reason is that the files under /usr/local and /home/cpins have uid/gids that eventually get used on the system (after roughly about 20 accounts) and qoutas are filesystem based.
When this happens, those cpanel files immediatley get counted as used by that user - so creating a new account can put them at 30MB instantly, and therefore over quota immediately. This can be tricky to debug as the uid/gid are not the same and there are several of them used - so it appears random.
The work around is to delete that user and add about 30Mb to the users quota at creation so that the account gets created properly. Or just create a junk account to use that uid/gid so it does not interfere, and then get back to adding your account as usual.