Skip to main content

Error while running /scripts/quotacheck

Comments

9 comments

  • cPanelLauren
    Hi @Losmi Can you tell us more about the platform you're running on? Also, the following may be helpful in explaining the kinds of information which are useful:
    0
  • Losmi
    HI, Thank you for your answer. Platform that i running is dedicated server HP ProLiant DL360p Gen8 with CLOUDLINUX 7.6 and WHM & cPanel version 78.0.24. Same environment is running on the different server, where mentioned command /scripts/quotacheck is working without smoothly. Kind Regards.
    0
  • cPanelLauren
    Hi @Losmi As far as logs is anything noted in the cPanel error log, or messages when you run quotacheck? You can find these logs files in the following locations: /usr/local/cpanel/logs/error_log
    /var/log/messages
    Are quotas enabled on the system? To test this you might run something like: repquota -a
    Can you also provide the output of the following: cat /etc/fstab
    0
  • Losmi
    HI, Thank you for your answer. Regarding the logs "/usr/local/cpanel/logs/error_log" and "/var/log/messages", i do not get any output messages when I run the script. Also, i have checked few more log files, and situation is the same. On the other hand, when i run repquota -a, in section "used" i get values which do not match real values of used space in user accounts. 58895 As far as "fstab" file is concerned, things get little confused for me. Current configuration of fstab file is: 58907 but, when i run /scripts/fixquotas, value "usrjquota=quota.user,jqfmt=vfsv0" for /dev/sdb1 changes to "defaults". And that's where i also need your help :-D
    0
  • cPanelLauren
    Hi @Losmi The documentation here may be helpful: How to Fix Quotas - cPanel Knowledge Base - cPanel Documentation Also, if you run the following first instead of fixquotas does it resolve the situation? /scripts/initquotas
    The fstab file looks good so I wouldn't want to see that changed, but there are some things to take into account with CloudLinux 7 that the documentation touches on.
    0
  • Losmi
    Hi, When i run /scripts/initquotas value "usrjquota=quota.user,jqfmt=vfsv0" for /dev/sdb1 again changes to "defaults". Here is the output after executing script: 58975 Kind Regrads.
    0
  • cPanelLauren
    It looks like you have backups set to go to the home directory - /home/backup-inc and quotas will not be enabled on directories that store backups.
    0
  • Losmi
    Hi, I have almost the same environment on different server, and there everything works just fine. Script /scripts/quotacheck is executing without mentioned error, and when i run repquota -a, i get proper value of used space: 59059 Also backup is generating in /home directory /home/backup-inc. Here is the configuration of fstab file on the other server: 59063
    0
  • cPanelLauren
    You can see on /home it's set to defaults though - quotas are not enabled on that system. But to look further into what the differences are and why the error is only occurring on one server we'd need access to investigate. Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks!
    0

Please sign in to leave a comment.