problem if i add user

tza

Verified User
Joined
Jan 8, 2007
Messages
77
i install centos 5.5 32bit on vps in vmware


if i add user :

User bdika created

Details

Unix User created successfully

Error with system Quotas
setquota: Quota file not found or has wrong format. setquota: Not all specified mountpoints are using quota.
Debug Guide

User's data directory created successfully
Domains directory created successfully
Domains directory created successfully in user's home


in this guide http://help.directadmin.com/item.php?id=42
i have centos is not for centos but the 1 command usr/sbin/repquota /home
is:


[root@server ~]# /usr/sbin/repquota /home
repquota: Mountpoint (or device) /home not found.
repquota: Not all specified mountpoints are using quota.

i need help

and the server not send mail if i new user
 
- Confirm that you have something like this in file '/etc/fstab' for your '/' partition.
/dev/VolGroup00/LogVol00 / ext3 defaults,usrquota,grpquota,noatime,nodiratime 1 1
* check the bold/underlined things *

If you dont have that, add it first.

- Install quota if you dont have it
yum install -y quota
- Reboot your system.
- Now do the commands below;
/sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
You're done, it should be okay now.

If you want to start from a clean CentOS 5.x install then update the system, disabled selinux and reboot. Run command below and after that, you can run the ./setup.sh
yum install -y make gcc gcc-c++ quota vixie-cron crontabs rdate nano bind-utils perl perl-libwww-perl sharutils net-snmp ncurses ncurses-devel vim-enhanced rpm-build* perl-Archive-Tar gpg sudo screen fping perl-Crypt-DES perl-Net-SNMP nagios-nrpe jwhois which libxslt-devel libxml2-devel lsof finger autoconf htop smartmontools libcap* libc-client libc-client-devel flex tmpwatch
 
Last edited:
this is what i get


[root@server ~]# /dev/VolGroup00/LogVol00 / ext3 defaults,usrquota,qrpquota,noatime,nodiratime 1 1
-bash: /dev/VolGroup00/LogVol00: Permission denied




[root@server ~]# /sbin/quotaoff -a; /sbin/quotachek -avugm; /sbin/quotaon -a;
quotaoff: Cannot find quota file on / [/dev/mapper/VolGroup00-LogVol00] to turn quotas on/off.
quotaoff: Cannot find quota file on / [/dev/mapper/VolGroup00-LogVol00] to turn quotas on/off.
-bash: /sbin/quotachek: No such file or directory
quotaon: Cannot find quota file on / [/dev/mapper/VolGroup00-LogVol00] to turn quotas on/off.
quotaon: Cannot find quota file on / [/dev/mapper/VolGroup00-LogVol00] to turn quotas on/off.
[root@server ~]#



I DONT UNDERSTAND

AND IN SYSTEM_INFO IN D.A THE PHP 5.2.13 NOT RUNNIG
 
i dont understand
please pleas write me step by stpe and commands
 
Back
Top