Disk Quota Again ???? (./fixquota no use)

mitul

Well-Known Member
Feb 8, 2003
291
0
166
Hello All,

I am redhat 7.3/WHM 6.4.2/Cpanel 6.4.2.

One of me Re-seller is very frustrated with the quota problem. Max of his accounts are showing Negative Disk Usage.

One of his client i using 6.1 M and Cpanel Shows 30Mb Strange !!

1. I have searched throug the forums
2. Did find -user [username] ==> found some file owned by this user and changed them but now the Disk usage is 21mb which is again wrong.
3. Did FixQuota No use

Next i couldn't remember of some kernel file that gets owned by a particular user some where in /usr or /var thats only remaining.

But how do i get rid of this ???

Please don;t tell me to upgrade to Cpanel7, i cannot still it gets to a Stable one.

Regards,

cPanel.net Support Ticket Number:
 

carlgm

Well-Known Member
Mar 25, 2003
103
0
166
England, UK
Originally posted by mitul

But how do i get rid of this ???

Please don;t tell me to upgrade to Cpanel7, i cannot still it gets to a Stable one.
By upgrading to the latest cpanel release build R45 I think. :)

cPanel.net Support Ticket Number:
 

ignission

Member
Jul 4, 2003
21
0
151
Deefield Beach, FL
ReDisk Quota Again

I am having the same problem with Redhat 7.3 WHM Cpanel 7.1.8 R45.

Fixquotas does nothing.

cPanel.net Support Ticket Number: 17701
 

jonx

Member
Sep 6, 2002
15
0
151
I'm having this problem as well, anyone have any results?

cPanel.net Support Ticket Number:
 

ignission

Member
Jul 4, 2003
21
0
151
Deefield Beach, FL
No luck as of yet, I keep getting different explanations but investigated all avenues so far... I have a ticket open with Cpanel and I pray they can fix this soon!

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
Everyone with quota issues; can each of you confirm that you have quota support built into your kernel?

cPanel.net Support Ticket Number:
 

ignission

Member
Jul 4, 2003
21
0
151
Deefield Beach, FL
Yep, i have quota support enabled.

- I have kernel 2.4.20-18.7
- Cpanel/WHM 7.1.8-RELEASE_45-Linux
- Redhat 7.3

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
Grep dmesg for quota and reply back with the output.

cPanel.net Support Ticket Number:
 

ignission

Member
Jul 4, 2003
21
0
151
Deefield Beach, FL
Linux version 2.4.20-18.7 ([email protected]) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)) #1 Thu May 29 08:32:50 EDT 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003f7f0000 (usable)
BIOS-e820: 000000003f7f0000 - 000000003f7f3000 (ACPI NVS)
BIOS-e820: 000000003f7f3000 - 000000003f800000 (ACPI data)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
119MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 260080
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 30704 pages.
Kernel command line: auto BOOT_IMAGE=linux ro root=303 BOOT_FILE=/boot/vmlinuz-2.4.20-18.7
Initializing CPU#0
Detected 2400.051 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 4784.12 BogoMIPS
Memory: 1019752k/1040320k available (1175k kernel code, 17052k reserved, 986k data, 120k init, 122816k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 07
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([email protected])
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb430, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
PCI: Using IRQ router PIIX [8086/24c0] at 00:1f.0
PCI: Found IRQ 10 for device 00:1f.1
PCI: Sharing IRQ 10 with 00:02.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
VFS: Disk quotas vdquot_6.5.1
Detected PS/2 Mouse Port.
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta3-.2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
PCI: Found IRQ 10 for device 00:1f.1
PCI: Sharing IRQ 10 with 00:02.0
ICH4: chipset revision 2
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: ST380021A, ATA DISK drive
blk: queue c0378440, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 122k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 120k freed
Adding Swap: 1020116k swap-space (priority -1)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 08:52:36 May 29 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Setting latency timer of device 00:1d.0 to 64
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.1 to 64
usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.2 to 64
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
PCI: Setting latency timer of device 00:1d.7 to 64
ehci-hcd 00:1d.7: Intel Corp. 82801DB USB EHCI Controller
ehci-hcd 00:1d.7: irq 5, pci mem f88cc000
usb.c: new USB bus registered, assigned bus number 4
ehci-hcd 00:1d.7: enabled 64bit PCI DMA
PCI: 00:1d.7 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:1d.7 PCI cache line size corrected to 128.
ehci-hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22
hub.c: USB hub found
hub.c: 6 ports detected
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 11 for device 01:0d.0
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 Fast Ethernet at 0xf88d6000, 00:10:dc:ca:22:b0, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
ip_tables: (C) 2000-2002 Netfilter core team

cPanel.net Support Ticket Number:
 

techark

Well-Known Member
May 22, 2002
277
0
316
This thread..

http://forums.cpanel.net/showthread.php?s=&threadid=9865

will tell you how to fix it now.

How to prevent it from happeing again is it do this.
Go to edit set up and enter 2000 here

Minimum Uid:
The lowest UID to use when creating an account (optional). If you set this below 500 just about everything will break.

Cpanel decided to start using 500 as a base instead of 1000 or above for the UID's so Linux ends up with cross UIDs all the time. Especailly if you have a box from a certain noc that gave everyone an automated script to update their kernel but set the UID on it at 574 so it ended up crossing with new accounts.

cPanel.net Support Ticket Number:
 

ignission

Member
Jul 4, 2003
21
0
151
Deefield Beach, FL
Awesome. Fixed problem. Somehow system files were getting owned by my users accounts and eating up the space. I changed ownership appropriately. Thanks again!

cPanel.net Support Ticket Number: