Article ID: 127563, created on Nov 24, 2015, last review on Nov 29, 2015

  • Applies to:
  • H-Sphere 3.5

Symptoms

The following message is shown on user's CP:

Disk quotas shown as not available/not available

The following warning message appears in /var/log/hsphere/hsphere.log:

2015-11-24 14:17:49,724 [TP-Processor12] DEBUG psoft.hsphere.CP - PhysicalServer some errors: -1
2015-11-24 14:17:49,724 [TP-Processor12] WARN psoft.hsphere.CP - can not get quota for 310043_4001
psoft.hsphere.resource.admin.phservers.SSHCommandNonZeroExitCodeException: ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory
Permission denied (publickey,gssapi-with-mic,password).
 Command: ssh -o StrictHostKeyChecking=no -x -a root@203.0.113.2 /hsphere/shared/scripts/getquota 684 /hsphere/local/home/<user_name>
        at psoft.hsphere.resource.admin.phservers.UnixExecutor.pooledExec(UnixExecutor.java:345)
        at psoft.hsphere.resource.admin.phservers.UnixExecutor.execAnyPath(UnixExecutor.java:198)
        ...

There is a password request when try to SSH to remote server as cpanel user:

[root@cp ~]# su - cpanel
-bash-4.1$ ssh root@remote
root@remote's password:

Cause

Missing SSH authorized key on the remote server.

Resolution

Copy SSH authorized key from CP server:

[root@cp ~]# su - cpanel
-bash-3.2$ ssh-copy-id -i .ssh/id_dsa.pub root@remote
root@remote's password:
Now try logging into the machine, with "ssh 'root@remote'", and check in:

 .ssh/authorized_keys

to make sure we haven't added extra keys that you weren't expecting.

Search Words

ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory Permission denied, please try again.

Disk quotas shown as not available/not available

can not get quota for

PhysicalServer some errors: -1

f51a27b0a406fdfb3fcda8033c7f914d 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7

Email subscription for changes to this article
Save as PDF