Search Engine: Elastic

Article ID: 115379, created on Jan 9, 2013, last review on Feb 12, 2018

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.5
  • Odin Business Automation Standard 4.5


A backup to a remote server fails with an error like the following:

Error message : 422 : Failed to connect to backup server: Can't connect: System errors : unauthorized request


The issue might be caused by one of the following reasons:

  • A large number of concurrent sessions being opened on the Backup Storage node.
  • Incorrect network routing configuration to the Backup Storage node.


For the large number of sessions:

  1. Log on to the Backup Storage node shell.

  2. Send the following XML API request locally, using vzlcon as per the article KB#111220:

    <packet id="2" version="4.0.0">

    Or using the following command:

    ~# echo "<packet><target>sessionm</target><data><sessionm><list_sessions/></sessionm></data></packet>" | /opt/pva/agent/bin/ local -
  3. Store the output to a text file, e.g., sessions.txt.

  4. Count the number of sessions, e.g.:

    ~# strings sessions.txt | grep -c '<ns2:id>'

    If the number is close to 20 or higher, it is necessary to increase the limit in the PVA Agent configuration file.

  5. Add <user_session_limit>200</user_session_limit> to the sessionm section in vzagent.conf so that the resulting section looks like this:

  6. Restart PVA Agent.

To confirm if the problem is caused by incorrect routing:

Check the C:\vzlog\PVA\Agent\ or /var/log/pva/agent/ log on the node to be backed up for the presence of similar error messages:

T=01:30:13:611; L=(err); PID=2536; TID=1a98; P=VZLBackupManagerLocal [VZL::VZLBackupMLocal::getBackupServer] [VZLBackupMLocal::getBackupServer] Failed to connect to backup server: .

The specified address ( is the IP address of the Backup Storage node used for PVA Agent connections (the node can have several NICs but only one IP address is used for PVA Agent communication.) This address should be reachable from all the nodes storing backups on the backup Storage node in question, and the 4434 port on the Backup Storage node should be open.

Additional information

112904 How to set preferred IP address for PVA Agent communications

0efe2234e2ce513f2186f26c68447702 624ca542e40215e6f1d39170d8e7ec75 caea8340e2d186a540518d08602aa065 400e18f6ede9f8be5575a475d2d6b0a6 70a5401e8b9354cd1d64d0346f2c4a3e 5b048d9bddf8048a00aba7e0bdadef37 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF