Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th December 2005, 19:40
chris_87 chris_87 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Quota setup in Perfect Debian Sarge

Hi,

Another error I faced today, when I try to setup the quota, I've got a message
quotacheck: Scanning /dev/hda1 [/] Cannot get exact used space... Results might be inaccurate.
done
quotacheck: Checked 1211 directories and 13578 files

when I perform quotacheck -avugm.

Any Ideas?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 27th December 2005, 14:23
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

That's just a warning. If
Code:
quotaon -avug
says that quota is turned on then everything is fine.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th December 2005, 16:44
chris_87 chris_87 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No luck still.
quotaon -avug
quotaon: Cannot find quota file on / [/dev/hda1] to turn quotas on/off.
quotaon: Cannot find quota file on / [/dev/hda1] to turn quotas on/off.
Reply With Quote
  #4  
Old 27th December 2005, 16:56
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,774
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Please post the output of:

ls -la /
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 27th December 2005, 17:50
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by chris_87
No luck still.
quotaon -avug
quotaon: Cannot find quota file on / [/dev/hda1] to turn quotas on/off.
quotaon: Cannot find quota file on / [/dev/hda1] to turn quotas on/off.
Did you do this:
Code:
touch /quota.user /quota.group
chmod 600 /quota.*
mount -o remount /
quotacheck -avugm
quotaon -avug
as described on http://www.howtoforge.com/perfect_setup_debian_sarge_p3?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 27th December 2005, 22:48
chris_87 chris_87 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes...I do the exactly..
just copy and paste
Reply With Quote
  #7  
Old 28th December 2005, 11:49
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,774
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Chris, can you please post the output of:

Code:
ls -la /
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 28th December 2005, 13:57
chris_87 chris_87 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Chris, can you please post the output of:

Code:
ls -la /
total 38565
drwxr-xr-x 21 root root 4096 Dec 27 15:43 .
drwxr-xr-x 21 root root 4096 Dec 27 15:43 ..
drwxr-xr-x 2 root root 4096 Dec 28 02:37 bin
drwxr-xr-x 2 root root 4096 Apr 25 2004 boot
drwxr-xr-x 2 root root 4096 Apr 25 2004 cdrom
-rw-r----- 1 root root 39301055 Dec 26 17:19 debian_2005_04_09_dist.tgz
drwxr-xr-x 4 root root 20480 Dec 27 17:58 dev
drwxr-xr-x 64 root root 4096 Dec 28 02:55 etc
drwxr-xr-x 2 root root 4096 Apr 25 2004 floppy
drwxrwsr-x 8 root staff 4096 Dec 27 00:21 home
drwxr-xr-x 16 root root 1024 Oct 14 2004 initrd
drwxr-xr-x 5 root root 4096 Dec 26 18:36 lib
drwxr-xr-x 2 root root 4096 May 2 2004 lost+found
drwxr-xr-x 2 root root 4096 May 2 2004 mnt
drwxr-xr-x 2 root root 4096 Apr 25 2004 opt
dr-xr-xr-x 87 root root 0 Dec 27 17:58 proc
-rw------- 1 root root 2097120 Dec 27 15:43 quota.group
-rw------- 1 root root 2097120 Dec 27 15:43 quota.user
drwxr-xr-x 2 root root 4096 Dec 26 19:12 root
drwxr-xr-x 2 root root 4096 Dec 26 18:36 sbin
drwxr-xr-x 2 root root 4096 May 10 2005 sys
drwxrwxrwt 4 root root 4096 Dec 28 12:47 tmp
drwxr-xr-x 13 root root 4096 Dec 26 21:20 usr
drwxr-xr-x 14 root root 4096 Dec 26 18:03 var

Any Idea?
Reply With Quote
  #9  
Old 28th December 2005, 17:55
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Please try this:
Code:
rm -f /quota.user
rm -f /quota.group
touch /aquota.user /aquota.group
chmod 600 /aquota.*
mount -o remount /
quotacheck -avugm
quotaon -avug
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 29th December 2005, 02:18
chris_87 chris_87 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko
Please try this:
Code:
rm -f /quota.user
rm -f /quota.group
touch /aquota.user /aquota.group
chmod 600 /aquota.*
mount -o remount /
quotacheck -avugm
quotaon -avug
[CODE]

Still no luck..
vchow:~# rm -f /quota.user
vchow:~# rm -f /quota.group
vchow:~# touch /aquota.user /aquota.group
vchow:~# chmod 600 /aquota.*
vchow:~# mount -o remount /
vchow:~# quotacheck -avugm
quotacheck: WARNING - Quotafile //aquota.user was probably truncated. Can't sav e quota settings...
quotacheck: WARNING - Quotafile //aquota.group was probably truncated. Can't sa ve quota settings...
quotacheck: Scanning /dev/hda1 [/] Cannot get exact used space... Results might be inaccurate.
done
quotacheck: Checked 5456 directories and 32248 files
vchow:~# quotaon -avug
quotaon: Cannot find quota file on / [/dev/hda1] to turn quotas on/off.
quotaon: Cannot find quota file on / [/dev/hda1] to turn quotas on/off.


drwxr-xr-x 21 root root 4096 Dec 29 01:17 .
drwxr-xr-x 21 root root 4096 Dec 29 01:17 ..
-rw------- 1 root root 11264 Dec 29 01:13 aquota.group
-rw------- 1 root root 10240 Dec 29 01:13 aquota.user
drwxr-xr-x 2 root root 4096 Dec 28 02:37 bin
drwxr-xr-x 2 root root 4096 Apr 25 2004 boot
drwxr-xr-x 2 root root 4096 Apr 25 2004 cdrom
drwxr-xr-x 4 root root 20480 Dec 29 00:48 dev
drwxr-xr-x 64 root root 4096 Dec 29 01:12 etc
drwxr-xr-x 2 root root 4096 Apr 25 2004 floppy
drwxrwsr-x 8 root staff 4096 Dec 27 00:21 home
drwxr-xr-x 16 root root 1024 Oct 14 2004 initrd
drwxr-xr-x 5 root root 4096 Dec 26 18:36 lib
drwxr-xr-x 2 root root 4096 May 2 2004 lost+found
drwxr-xr-x 2 root root 4096 May 2 2004 mnt
drwxr-xr-x 2 root root 4096 Apr 25 2004 opt
dr-xr-xr-x 86 root root 0 Dec 29 00:42 proc
drwxr-xr-x 2 root root 4096 Dec 26 19:12 root
drwxr-xr-x 2 root root 4096 Dec 26 18:36 sbin
drwxr-xr-x 2 root root 4096 May 10 2005 sys
drwxrwxrwt 4 root root 4096 Dec 29 00:48 tmp
drwxr-xr-x 13 root root 4096 Dec 26 21:20 usr
drwxr-xr-x 14 root root 4096 Dec 26 18:03 var


Can anyone help me
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pop3 service alone is failed in "The Perfect Setup - Debian Sarge (3.1)" nandhu HOWTO-Related Questions 60 5th August 2008 15:15
The Perfect Setup - Debian Sarge (3.1) Issues krazy1 HOWTO-Related Questions 10 9th May 2006 17:02
The Perfect Setup - Debian Sarge (3.1) joshuavh Installation/Configuration 6 24th November 2005 01:32
Debian Sarge Perfect Setup Rocky Installation/Configuration 2 4th November 2005 16:32
Perfect setup (debian sarge) Pelle Installation/Configuration 4 11th October 2005 17:17


All times are GMT +2. The time now is 12:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.