Fixing Quota For 2.4.20 Kernels

 

Related Docs:   RedHat Linux Up2date

RedHat Linux 2.4.20-xx.x kernels of versions prior to 2.4.20-18.7 do not support quota management.

There are two ways how to fix this problem:

  • Install the new 2.4.20-18.7 kernel, the new quota package (version 3.06), and the new quota Perl module (version 1.4.8).
  • Downgrade the kernel back to 2.4.18-xx.x.

To install the new kernel and the new quota packages:

  1. Log in as root.

  2. Download the patched kernel 2.4.20-18.7 and the quota 3.06-9.7 package from the RedHat Support page and install them according to instructions provided there.

  3. Download and install the new quota Perl module:

    # tar xfz Quota-1.4.8.tar.gz
    # cd Quota-1.4.8
    # perl Makefile.PL
    # make install clean
  4. Enable quota:

    # quotaoff -a
    # cd <partition_where_quota_is_set>
    # rm -f aquota.user
    Note: Some older quota types take rm -f quota.user
    # quotacheck -am -F vfsv0
    quotacheck creates the aquota.user file automatically; however, if this file is still not created, force its creation with the following command:
    # touch aquota.user
    # chmod 600 aquota.user
    # quotaon -a
  5. Log in as the cpanel user and reset user quota limits using H-Sphere SetQuota tool:

    java -Xms64M -Xmx256M psoft.hsphere.tools.SetQuota -lid <logical_web_server_id>

Related Docs:   RedHat Linux Up2date







Home   Products   Services   News
© Copyright. . PSOFT. All Rights Reserved. Terms | Site Map