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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th April 2012, 01:48
mattias88 mattias88 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Quota on ubuntu 11.10 /nginx/ISPConfig 3

Using Amazon Web Services (Ubuntu 11.10) AMI: ubuntu/images/ebs/ubuntu-oneiric-11.10-amd64-server-20120222 (ami-baba68d3)

Here is my problem, how can I fix this?

Quote:
root@sys:/# quotaon -avug
quotaon: using //quota.group on /dev/disk/by-label/cloudimg-rootfs [/]: No such process
quotaon: Quota format not supported in kernel.
quotaon: using //quota.user on /dev/disk/by-label/cloudimg-rootfs [/]: No such process
Attempt to start Quota

Quote:
root@sys:/# rm /*quota*
root@sys:/# touch /aquota.group
root@sys:/# chmod 600 /aquota.group
root@sys:/# touch /aquota.user
root@sys:/# chmod 600 /aquota.group
Fstab Config

Quote:
root@sys:/# cat /etc/fstab
LABEL=cloudimg-rootfs / ext4 usrquota,grpquota,usrjquota=quota.user,grpjquota=q uota.group 0 0
/dev/xvdb /mnt auto defaults,nobootwait,comment=cloudconfig 0 2
/dev/xvda3 none swap sw,comment=cloudconfig 0 0
Attempt to start Quota

Quote:
root@sys:/# mount -o remount /
root@sys:/# quotacheck -avugm
quotacheck: Scanning /dev/disk/by-label/cloudimg-rootfs [/] 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 4329 directories and 47622 files
quotacheck: Old file not found.
quotacheck: Old file not found.
root@sys:/# quotaon -avug
quotaon: using //quota.group on /dev/disk/by-label/cloudimg-rootfs [/]: No such process
quotaon: Quota format not supported in kernel.
quotaon: using //quota.user on /dev/disk/by-label/cloudimg-rootfs [/]: No such process
quotaon: Quota format not supported in kernel.
root@sys:/# quotacheck -avugm
quotacheck: Scanning /dev/disk/by-label/cloudimg-rootfs [/] done
quotacheck: Checked 4329 directories and 47624 files
Kernel has quota

Quote:
root@sys:/# uname -r
3.0.0-16-virtual
root@sys:/# grep -i quota /boot/config-`uname -r`
CONFIG_NETFILTER_XT_MATCH_QUOTA=m
CONFIG_XFS_QUOTA=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_PRINT_QUOTA_WARNING is not set
# CONFIG_QUOTA_DEBUG is not set
CONFIG_QUOTA_TREE=m
CONFIG_QUOTACTL=y
CONFIG_QUOTACTL_COMPAT=y
root@sys:/#
Modprobe doesn't work


Quote:
root@valtonen:/# modprobe quota_v1
FATAL: Module quota_v1 not found.
root@valtonen:/# modprobe quota_v2
FATAL: Module quota_v2 not found.
Reply With Quote
Sponsored Links
  #2  
Old 27th April 2012, 19:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

The setup is fine, so its either a kernel issue of the virtual kernel or something specific to the filesystem provided by amazon. I found some reports that quota does not work with the ubuntu virtual kernel. If amazon supports normal kernels, you should consider to switch to a standard ubuntu kernel.

Btw, pleae dont repost a thread to call for falko.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th April 2012, 20:00
mattias88 mattias88 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Till

Thanks for help
Sorry for Falko thread

This is very bad news, because Ubuntu AMI is optimized for Amazon environment and provides many improvements... Not sure that you can run the normal kernel in Amazon or would even want to.

Can I continue the ISPConfig3 setup without a functional Quota? All of my virtualhosts will be privately managed so I am not concerned about limits on disk space but I do want to make sure that users are chained to their home virtualhost directories.

What do you think
Reply With Quote
  #4  
Old 27th April 2012, 20:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

You can use ispconfig without quota. The only affected functionality is the website size limit which will not work even if you set it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 21st September 2012, 01:38
joru joru is offline
Junior Member
 
Join Date: Sep 2012
Location: Sweden
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by mattias88 View Post
Here is my problem, how can I fix this?
the quota module is removed in the virtual kernel, check answer 1 in this link to possiblty give you hints on how to overcome this issue:

http://askubuntu.com/questions/10958...rted-in-kernel

Regards,
Peter
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
Virtual users & domains in Ubuntu 11.10: cannot set max quota more than 2147483647 klonos HOWTO-Related Questions 1 13th December 2011 03:57
Major recovery Toucan Installation/Configuration 18 9th August 2011 12:45
Quota problem in tutorial article. vaio1 Installation/Configuration 1 17th February 2011 12:28
mail.err warnings and some mail unable to receive HellMind General 4 8th October 2010 20:57
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 09:04


All times are GMT +2. The time now is 23:52.


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