Cpanel Disk Kota hatası (/scripts/fixquotas – “edquota: Quota file not found or has wrong format”)

75

SSH üzerinden /scripts/fixquotas komutunu çalıştırmanıza rağmen yada WHM den “Initial Quota Setup” seçeneğini çalıştırmanıza rağmen hata alıyorsanız ve

Hesaplarınızın disk limitlerini “unlimited” olarak görüyorsanız aşağıdaki yolu izleyerek düzeltebilirsiniz.

SSH ile login olduktan sonra

/scripts/fixquotas –force
komutunu yazınız. Çıktı aşağıdaki gibi olacaktır.

Installing Default Quota Databases……Done
Linux Quota Support
Quotas are now on
Resetting quota for user23 to 1000 M
edquota: Quota file not found or has wrong format.
No filesystems with quota detected.
edquota: Quota file not bahissenin found or has wrong format.
No filesystems with quota detected.
Resetting quota for user2 to 1000 M
edquota: Quota file not found or has wrong format.
No filesystems with quota detected.
Resetting quota for dates to 1000 M
Resetting quota for userq to 1000 M
edquota: Quota file not found or has wrong format.

Ardından aşağıdaki komutları sırasıyla uygulayınız.

touch /home/quota.user
touch /home/quota.group
chmod 600 /home/quota.user
chmod 600 /home/quota.group

quotacheck -acugv

(

quotacheck -acugv

quotacheck: Cannot remount filesystem mounted on / read-only so counted values might not be right.
Please stop all programs writing to filesystem or use -m flag to force checking.

Bazı zaman yukarıdaki komut çalışmayabilir. Çalışmazsa aşağıdakini kullanınız.)

quotacheck -acugvm

Çıktısı aşağıdaki gibi olacaktır.

quotacheck: Scanning /dev/simfs [/] 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
done
quotacheck: Checked 33478 directories and 368211 files
quotacheck: Old file not found.
quotacheck: Old file not found.

Daha sonra aşağıdaki komutları uygulayınız.

/scripts/fixquotas –force

Şimdi sorun çözüldü.

Ekonomikhost Bilişim Hizmetleri

İyi çalışmalar…


Article Tags: · · · · · ·

Comments are closed.

Paylaş