I have no /usr/sbin/repquota

Scormen

Verified User
Joined
Jan 26, 2008
Messages
56
Hi all,

My first post here. In the past, I have used DirectAdmin for a while at user level. Because I like it, I'm also using it at my own server now.

But I have a problem with my disk usage. I've searched at the forum, but can't find someone with the same problem...

I have read this article, but the problem is, that I'm not having a program called "repquota" in my /usr/sbin. So I'm getting the error message -bash: /usr/sbin/repquota: no such file or directory.

My OS is CentOS 5.0 64-bit. DirectAdmin version is 1.31.2.

Grtz,
Kris
 
Hi tanfwc,

When I use rpm -q quota it gives me back package quota is not installed.
Now I have installd quota.

When I now use /usr/sbin/repquota / it gives me this:
repquota: Quota file not found or has wrong format.
repquota: Not all specified mountpoints are using quota.


Here is already my /etc/fstab
Code:
/dev/VolGroup00/LogVol00                        /                       ext3    defaults,usrquota,grpquota      1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

grtz,
Kris
 
Last edited:
Start by installing the quota package. You should probably use YUM:
Code:
# yum install quota
Jeff
 
Hi tanfwc,

When I use rpm -q quota it gives me back package quota is not installed.
Now I have installd quota.

When I now use /usr/sbin/repquota / it gives me this:
repquota: Quota file not found or has wrong format.
repquota: Not all specified mountpoints are using quota.


Here is already my /etc/fstab
Code:
/dev/VolGroup00/LogVol00                        /                       ext3    defaults,usrquota,grpquota      1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

grtz,
Kris

Run this

/sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;

Then run repquota / again
 
When I run that command, tanfwc, I get

Code:
quotacheck: Scanning /dev/mapper/VolGroup00-LogVol00 [/] done
quotacheck: Checked 8301 directories and 78853 files

After this, I ran repquota / and that gives me a table with the user data.

I have also ran this command again: echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue

But still, in Directadmin I can't see the logs: "You must wait for the stats to be computed. This will only happen *after* logs exist (domain must resolve and be used).".


Start by installing the quota package. You should probably use YUM:
Code:
# yum install quota
Jeff
Now I already have installed "quota" (see my second post).

Kris
 
Last edited:
Kris,

I don't get it, in your first post, you state that quota is not available, now quota is working for you, why you are talking about stats now?

By the way, you need to wait for DirectAdmin to run the queue, it is not realtime.
 
Tanfwc,

Yes sorry, my quota is available now, but my stats (webalizer) still not. When I go to my stats, I get this error:

File does not exist

Details

You must wait for the stats to be computed. This will only happen *after* logs exist (domain must resolve and be used).

Info for Admins: Downloading a new webalizer binary

I have installed the new binary already, but after that, I got the error from my first post.

Grtz,
Kris
 
repquota exits with command not found though quota package is installed

Can you run this and show us the result?


Hi tanfwc,


I have quota package installed in my system. But I still I am not able to view the disk usage by each user in my project group. repquota exits with command not found.

Only quota -u userid seems to be working and nothing else.Please help me out.
 
Back
Top