OpenVZ Forum


Home » General » Support » *SOLVED* Quotas with cPanel
*SOLVED* Quotas with cPanel [message #6981] Fri, 29 September 2006 06:25 Go to next message
galactic77 is currently offline  galactic77
Messages: 6
Registered: September 2006
Junior Member
I have installed the newest cPanel on my CentOS VPS created with openvz. I have run into a problem though. Whenever I go to enable quotas for cpanel, I get the error message below ("No filesystems with quota detected."). Im not sure how to fix this error.

root@ns1 [/scripts]# ./fixquotas
Installing Default Quota Databases......Done
Quotas are now on
Resetting quota for aawild to 250 M
No filesystems with quota detected.

I did manage to find a thread about this, but it was in Russian. I dont know if it pertains to this. http://forum.openvz.org/index.php?t=msg&goto=3153&&a mp;a mp;srch=No+filesystems+with+quota+detected#msg_3153
Any help is appreciated. Thanks!

[Updated on: Fri, 29 September 2006 14:15] by Moderator

Report message to a moderator

Re: Quotas with cPanel [message #6983 is a reply to message #6981] Fri, 29 September 2006 07:17 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Have you set quotaugidlimit parameter for VE in question?
Re: Quotas with cPanel [message #6998 is a reply to message #6981] Fri, 29 September 2006 13:49 Go to previous messageGo to next message
galactic77 is currently offline  galactic77
Messages: 6
Registered: September 2006
Junior Member
Im not sure how to do that. How would go about about setting that up?
Re: Quotas with cPanel [message #6999 is a reply to message #6998] Fri, 29 September 2006 13:53 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
I should do
vzctl set <VEID> --quotaugidlimit <QNUM> --save
and stop/start VE.
<QNUM> number of user/groups to quote in VE.

look at manpage on vzctl for detail.
Re: Quotas with cPanel [message #7000 is a reply to message #6981] Fri, 29 September 2006 14:01 Go to previous messageGo to next message
galactic77 is currently offline  galactic77
Messages: 6
Registered: September 2006
Junior Member
Wow, that worked perfect. So what happens when the VPS gets more users/groups than the quotaugidlimit that I set?
Re: Quotas with cPanel [message #7002 is a reply to message #7000] Fri, 29 September 2006 14:15 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
this <QNUM> just limits number of users with active quota. For example, let QNUM=200. You can have 1000 users, but quota will work
only for 200 of them. When you will set quota for 201th user - operation will fail.
Re: *SOLVED* Quotas with cPanel [message #22134 is a reply to message #6981] Mon, 22 October 2007 07:35 Go to previous messageGo to next message
robocap is currently offline  robocap
Messages: 21
Registered: May 2007
Junior Member
[root@localhost ~]# vzctl set 140 --quotaugidlimit 300 --save
Setting quota ugidlimit: 300
Unable to apply new quota values: ugid quota not initialized
Saved parameters for VE 140


[root@localhost ~]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
[root@localhost ~]#




this is true?


Soon ...
Re: *SOLVED* Quotas with cPanel [message #22140 is a reply to message #6981] Mon, 22 October 2007 11:19 Go to previous messageGo to next message
Mr.Ash is currently offline  Mr.Ash
Messages: 42
Registered: September 2007
Member
what is ur kernel version

uname -a
Re: *SOLVED* Quotas with cPanel [message #22185 is a reply to message #6981] Tue, 23 October 2007 05:38 Go to previous messageGo to next message
robocap is currently offline  robocap
Messages: 21
Registered: May 2007
Junior Member
Hello,

you need to kernel for vps customer or original server?


for original server is :

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.9-023stab040.1-smp #1 SMP Tue Jan 16 00:54:22 MSK 2007 i686 i686 i386 GNU/Linux
[root@localhost ~]#



for vps customer is :
[root@server1 /]# uname -a
Linux server1.domain.com 2.6.9-023stab040.1-smp #1 SMP Tue Jan 16 00:54:22 MSK 2007 i686 i686 i386 GNU/Linux





Soon ...

[Updated on: Wed, 24 October 2007 18:08]

Report message to a moderator

Re: *SOLVED* Quotas with cPanel [message #22283 is a reply to message #6981] Wed, 24 October 2007 13:56 Go to previous message
robocap is currently offline  robocap
Messages: 21
Registered: May 2007
Junior Member
Hello
do you can help me?

Plz


Soon ...
Previous Topic: SoftLayer VPS Issue
Next Topic: Numerous segmentation faults on VE start
Goto Forum:
  


Current Time: Mon Aug 12 15:15:46 GMT 2024

Total time taken to generate the page: 0.02903 seconds