The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

quota resellers not working

Discussion in 'General Discussion' started by katmai, Aug 18, 2006.

  1. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brno, Czech Republic
    WHM 10.8.0 cPanel 10.8.2-C472
    CentOS 4.3 i686 - WHM X v3.1.0

    when reseller checks quota it shows 0 space used in /home2 for all their accounts ... i did /scripts/fixquotas and upcp --force and the problem remains.
     
  2. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brno, Czech Republic
    also though in /etc/wwwact.conf it is set /home as home dir for users, the new accts are created on home2 ... why ? and how can i fix it please help
     
  3. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    what is your value for "Home Directory Prefix" under Basic cPanel/WHM setup ?
     
  4. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brno, Czech Republic
    Home Directory Prefix

    home

    and for Default Home Directory

    /home

    root@server[~]# cat /etc/wwwacct.conf
    ADDR ip
    CONTACTEMAIL mail
    CONTACTPAGER
    DEFMOD x
    ETHDEV
    FTPTYPE proftpd
    HOMEDIR /home
    HOMEMATCH home
    HOST myhostname
    LOGSTYLE combined
    MINUID 1000
    NS ns1
    NS2 ns2
    NS3 ns3
    NS4 ns4
    NSTTL 86400
    SCRIPTALIAS y
    TTL 14400
     
  5. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brno, Czech Republic
    can anyone help please?
     
  6. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    Is this a VPS or dedicated?
     
  7. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brno, Czech Republic
    dedicated box. 2 drives inside
     
  8. neutro

    neutro Well-Known Member

    Joined:
    Apr 11, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    did you encounter any error when running /scripts/fixquotas at the end?
     
  9. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brno, Czech Republic
    root@nemesis [~]# /scripts/fixquotas
    Installing Default Quota Databases...../aquota.user..../quota.user..../boot/aquota.user..../boot/quota.user..../home2/aquota.user..../home2/quota.user.....Done
    Warning virtual file systems are mounted. Quota's may be counted as double for users who are currently logged in. Please have jailshell users logout before running quotacheck in the future! All jailed users will be logged out in 60 seconds!

    Broadcast message from root (Sat Aug 19 12:14:19 2006):

    Warning! The system is about to perform quota maintenance. All users will be
    logged out in 60 seconds. PLEASE Do not log back in for 30 minutes, or you may
    inadvertantly disable your account.
    jailshell: no process killed
    Quotas are now on
    Updating Quota Files......
    quotacheck: Scanning /dev/mapper/VolGroup00-LogVol00 [/] quotacheck: Old group file not found. Usage will not be substracted.
    done
    quotacheck: Checked 27812 directories and 293469 files


    quotacheck: Scanning /dev/mapper/VolGroup00-LogVol00 [/] quotacheck: Old group file not found. Usage will not be substracted.
    done
    quotacheck: Checked 27812 directories and 293469 files

    ....Done
    nop nothing....

    root@nemesis [~]# mount
    /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw,usrquota)
    none on /proc type proc (rw)
    none on /sys type sysfs (rw)
    none on /dev/pts type devpts (rw,gid=5,mode=620)
    usbfs on /proc/bus/usb type usbfs (rw)
    none on /dev/shm type tmpfs (rw)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
    sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    /usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0)
    /tmp on /var/tmp type none (rw,noexec,nosuid,bind)
    /dev/hdd1 on /home2 type ext3 (rw)


    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    113146552 85862452 21536596 80% /
    none 0 0 0 - /proc
    none 0 0 0 - /sys
    none 0 0 0 - /dev/pts
    usbfs 0 0 0 - /proc/bus/usb
    none 1033056 0 1033056 0% /dev/shm
    none 0 0 0 - /proc/sys/fs/binfmt_misc
    sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
    /usr/tmpDSK 495844 10925 459319 3% /tmp
    /tmp 495844 10925 459319 3% /var/tmp
    /dev/hdd1 76952544 10636180 62407352 15% /home2


    root@nemesis [~]# cat /etc/fstab
    # This file is edited by fstab-sync - see 'man fstab-sync' for details
    /dev/VolGroup00/LogVol00 / ext3 defaults,usrquota 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
    /dev/hdd1 /home2 ext3 defaults,usrquota 0 1
     
Loading...

Share This Page