1

当我进行手动 ssh 连接时,它工作正常。但是当我跑步时barman check 192.168.0.41,它给了我ssh : FAILED with return code 255

我已经尝试了他们在 pgbarman 文档中解释的所有方法,例如复制公钥并将其保存在authorized_keys.

barman@icms-liq:~$ barman check 192.168.0.41
Server 192.168.0.41:

        empty incoming directory: FAILED ('/var/lib/barman/192.168.0.41/incoming' must be empty when archiver=off)

        PostgreSQL: OK
        is_superuser: OK
        PostgreSQL streaming: OK
        wal_level: OK
        replication slot: OK
        directories: OK
        retention policy settings: OK
        backup maximum age: FAILED (interval provided: 2 days, latest backup age: No available backups)
        compression settings: OK
        failed backups: OK (there are 0 failed backups)
        minimum redundancy requirements: FAILED (have 0 backups, expected at least 1)
        ssh: FAILED (Connection failed using 'ssh postgres@192.168.0.41 -o BatchMode=yes -o StrictHostKeyChecking=no' return code 255)
        pg_receivexlog: OK
        pg_receivexlog compatible: OK
        receive-wal running: OK
        archiver errors: OK
4

0 回答 0