Article ID: 129304, created on Aug 23, 2016, last review on Aug 23, 2016

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.5
  • Operations Automation 5.4

Symptoms

"Set quota for apache user <USER> domain service with id <SERVICE_ID> webspace id <WEBSPACE_ID>" task failed with the following error:

   Destination host 'ngwsl01.provider.tld' (#<ID>), IP '<BACKNET_IP>' : Quota error: Set quota operation has been failed: Connection refused (-111)

or

    Destination host 'ngwsl01.provider.tld' (#<ID>), IP '<BACKNET_IP>' : Quota error: Set quota operation has been failed (code: -111)

During the task execution quota is set for a user on NFS share. NG web server can not connect to NFS via RPC:

Aug  9 00:33:44 ngwsl01.provider.tld : DBG [task:11492045:639848 2642:1851:b4389b70 pleskd]: [task:11492045 DSC::RpcQuotaManager::do_setQuota] RPC set quota (<NFS_BACKNET_IP>, /vol/<NFS_SHARE>/data); UID: 128426 QTYPE: 0

Cause

  1. Connection from NG web server to NFS via port 2049 fails:

    [root@ngwsl01 ~]# telnet <NFS_BACKNET_IP> 2049
    Trying <NFS_BACKNET_IP>...
    telnet: connect to address <NFS_BACKNET_IP>: Connection refused
    
  2. DNS issue or misconfiguration on NFS/storage nodes.

  3. Incorrect configuration in the /etc/hosts.deny file.

Resolution

  1. Tune network settings and allow connection to NFS from NG web server on port 2049.
  2. Make sure that NG nodes' DNS hostnames are resolved from NFS/Storage nodes. If not, manually add them in /etc/hosts on the NFS/Storage nodes.
  3. Check the /etc/hosts.deny file. The file containing the following data:

    sshd: ALL
    rquotad : ALL
    

    means that it is not possible to set quota via RPC calls.

    To fix it, comment out the rquotad deny entry in /etc/hosts.deny and try to resumbit the task.

Search Words

Quota error: Set quota operation has been failed: Connection

Set quota for apache user <USER> domain service with id <SERVICE_ID> webspace id <WEBSPACE_ID>

Quota error: Set quota operation has been failed: Connection refused (-111)

Destination host 'ngwsl01.provider.tld' (#<ID>), IP '<BACKNET_IP>' : Quota error: Set quota operation has been failed: Connection refused (-111)

set quota

Set quota operation has been failed

SETUSERFSQUOTA fs_identity

ac82ce33439a9c1feec4ff4f2f638899 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0 5b048d9bddf8048a00aba7e0bdadef37

Email subscription for changes to this article
Save as PDF