Unable to set quota for user, error when trying to delete domain or change quota settings in Plesk

Follow

Comments

5 comments

  • Avatar
    Adi Pircalabu

    Seeing a similar error on Xen domU:

    [2018-07-31 12:48:03] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/usermng' '--set-user-quota' '--user=pleskusr123' '--quota=0'] with exit code [255]
    [2018-07-31 12:48:03] ERR [1] '/usr/local/psa/admin/bin/usermng' '--set-user-quota' '--user=pleskusr123' '--quota=0' failed with code 255.

    stdout:
    usermng: /usr/sbin/setquota execution failed:
    setquota: Cannot find mountpoint for device /dev/xvda1
    setquota: No correct mountpoint specified.
    setquota: Cannot initialize mountpoint scan.
    usermng: Unable to set quota for user 'pleskusr123'

    grep -i 'quota' /proc/mounts
    /dev/xvda1 / xfs rw,relatime,attr2,inode64,noquota 0 0

    Will the same fix apply in our case?

  • Avatar
    Pavel Rozental

    @Adi Pircalabu,

    If /etc/mtab shows enabled quota (step 2 from resolution)  then you can apply this article. In other case create a ticket for us or your hosting provider.

  • Avatar
    Adi Pircalabu

    Hi Pavel, in our case /etc/mtab *is* a symlink to /proc/mounts:

    ls -l /etc/mtab
    lrwxrwxrwx 1 root root 12 Dec 1 2014 /etc/mtab -> /proc/mounts

    grep quota /etc/mtab
    /dev/xvda1 / xfs rw,relatime,attr2,inode64,noquota 0 0

  • Avatar
    Pavel Rozental

    @Adi Pircalabu,

    > in our case /etc/mtab *is* a symlink to /proc/mounts:

    Yes, it should be.

    As I can see quota is not enabled, so this article is not applicable in your case.

    Please create a ticket to support for further investigation. 

     

  • Avatar
    Adi Pircalabu

    Hi Pavel, we do have one ticket support opened, 128796. Thanks,

Please sign in to leave a comment.

Have more questions? Submit a request