Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th August 2011, 15:50
judgey judgey is offline
Junior Member
 
Join Date: Aug 2011
Posts: 6
Thanks: 1
Thanked 1 Time in 1 Post
Default mount -o remount dont work plz plz help

Hey im on ubuntu-11.04

i do

mount -o remount /

and get

mount: / not mounted already, or bad option

Can you please help me
Reply With Quote
Sponsored Links
  #2  
Old 19th August 2011, 16:13
judgey judgey is offline
Junior Member
 
Join Date: Aug 2011
Posts: 6
Thanks: 1
Thanked 1 Time in 1 Post
Default

Here is what i edited

Quote:
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/sda1 / ext3 errors=remount-ro,relatimeusrjquota=quota.user,grpjquota=quota.gr oup,jqfmt=vfsv0 0 1
Reply With Quote
  #3  
Old 19th August 2011, 16:47
judgey judgey is offline
Junior Member
 
Join Date: Aug 2011
Posts: 6
Thanks: 1
Thanked 1 Time in 1 Post
Default

Ok i fixed the above but now im stuck again...

Code:
WARNING -  Quotafile //aquota.group was probably truncated. Cannot save quota settings...

and

Code:
quotaon: Cannot find quota file on / [/dev/root] to turn quotas on/off.
quotaon: Cannot find quota file on / [/dev/root] to turn quotas on/off.
I can not fix this :x
Reply With Quote
  #4  
Old 19th August 2011, 17:13
judgey judgey is offline
Junior Member
 
Join Date: Aug 2011
Posts: 6
Thanks: 1
Thanked 1 Time in 1 Post
Default

Fix was

1) modprobe quota_v2 and check if the module was loaded ( lsmod |grep quota )

2) echo 'quota_v2' >> /etc/modules

3) delete the files previously created ( aquota.group aquota.user )

4) quotacheck -avugm
quotaon -avug
Reply With Quote
The Following User Says Thank You to judgey For This Useful Post:
falko (20th August 2011)
  #5  
Old 25th January 2012, 20:08
linus3xx linus3xx is offline
Junior Member
 
Join Date: Jan 2012
Posts: 7
Thanks: 0
Thanked 3 Times in 3 Posts
 
Default Expanded Fix for Debian Squeeze Upgrade

Had this same error this morning when I upgraded from Debian Lenny to Squeeze. Probably should do a full tutorial but too lazy/pressed for time.

Anyway, if you follow either of these tutorials and get errors, read on:

http://www.howtoforge.com/how-to-set...n-debian-lenny
http://www.howtoforge.com/perfect-se...ispconfig-3-p4

Basically, I was getting the same errors as outlined above - everything was fine with my /etc/fstab file, made the correct edits, created the two aquota files, but was getting the same errors judgey was getting:

Code:
WARNING -  Quotafile //aquota.group was probably truncated. Cannot save quota settings...
And

Code:
quotaon: Cannot find quota file on / [/dev/root] to turn quotas on/off.
quotaon: Cannot find quota file on / [/dev/root] to turn quotas on/off.
So I followed these steps:

Code:
/# lsmod | grep quota
quota_v2                2133  0
quota_tree              5423  1 quota_v2
So it was running. Then:

Code:
/# echo 'quota_v2' >> /etc/modules
Then deleted the 2 files I had set up in the tutorials:

Code:
/# rm -f /aquota.group
/# rm -f /aquota.user
Then ran the two statements - here is the output:

Code:
/# quotacheck -avugm
quotacheck: Scanning /dev/disk/by-uuid/ffffffff-4444-5555-8888-999999999aaa [/] done
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
quotacheck: Checked 9068 directories and 81028 files
quotacheck: Old file not found.
quotacheck: Old file not found.

/# quotaon -avug
/dev/disk/by-uuid/ffffffff-4444-5555-8888-999999999aaa [/]: group quotas turned on
/dev/disk/by-uuid/ffffffff-4444-5555-8888-999999999aaa [/]: user quotas turned on
It seems to be working now. I'll report back if I run into any errors but it looks like this is the fix.
Reply With Quote
The Following User Says Thank You to linus3xx For This Useful Post:
falko (26th January 2012)
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
Cron issue in Debian 6 Nolan Installation/Configuration 6 18th April 2011 16:36
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
Remoting frame work work with version 2.32 ??? afandino Developers' Forum 7 8th June 2009 16:23
Plz help applications don't work in Ubuntu patrov Kernel Questions 1 20th June 2008 13:53
Trying to mount a Linux share on Windows sambauser Server Operation 1 1st June 2007 10:10


All times are GMT +2. The time now is 02:56.


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