[SOLVED] Error: HTTP Error 401 Unauthorized: permission check failed

javii

Member
Feb 27, 2013
26
2
21
Hi,

I have managed to add PBS to Proxmox VE:

Code:
# cat /etc/pve/storage.cfg
dir: local
        path /var/lib/vz
        content iso,vztmpl,backup

zfspool: local-zfs
        pool rpool/data
        content images,rootdir
        sparse 1

pbs: datastore1
        datastore datastore1
        server X.X.X.X
        fingerprint xx:xx:xx:xx
        username root@pam

I can create backups through Proxmox GUI, however when I try to use command line:
Code:
root@# proxmox-backup-client list --repository root@pam@X.X.X.X:datastore1
Error: HTTP Error 401 Unauthorized: permission check failed.

Any idea?
 
hi,

your password might be incorrect.
 
okay.. you can mark the thread [SOLVED] then
 
Hi,
I got the same error the first time that client did backup to backup server.
Seems that client never did ssh to its backup server and there are common question like:
Do you accept connection y/n

This can be done with first connection from the shell like:
Code:
$ proxmox-backup-client list --repository backup@pbs@backup-server-hostname:backup
(considering that backup@pbs is username used for connection to backup server)

After that , there are no errors checking the backup from the client anymore.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!