Avamar - 代理部署管理器 (PDM) 建议因内部错误“java.lang.ArrayIndexOutOfBoundsException: -1”而失效

Summary: Avamar - 代理部署管理器 (PDM) 建议因内部错误“java.lang.ArrayIndexOutOfBoundsException: -1”而失效

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

在 Avamar 19.3(或更高版本)中,PDM 建议因以下内部错误而失效:



在 Avamar Server 上,/usr/local/avamar/var/log/vcs/deploymanager.log 显示以下“ava.lang.ArrayIndexOutOfBoundsException: -1”java 异常。 
 
2020-12-10T11:21:51.378+0200 INFO [cTaskExecutor-1][ util.MCCipherUtil# getResultValue]: jarPath==/usr/local/avamar-tomcat-8.5.57/webapps/deploymanager/WEB-INF/vcs-util.jar 2020-12-10T11:21:52.572+0200 INFO [cTaskExecutor-1][ util.MCCipherUtil# getResultValue]: proc.exitValue():0 2020-12-10T11:21:52.574+0200 ERROR [cTaskExecutor-1][CredentialsMcConnectionFactory# newMcConnection]: Error connecting to mc service java.lang.ArrayIndexOutOfBoundsException: -1 at com.emc.avamar.vmware.util.MCCipherUtil.getResultValue(MCCipherUtil.java:110) at com.emc.avamar.vmware.util.MCCipherUtil.getMCRootPW(MCCipherUtil.java:35) at com.emc.avamar.vmware.deploymanager.service.impl.DefaultCredentialsMcConnectionFactory.newMcConnection(DefaultCredentialsMcConnectionFactory.java:77) at com.emc.avamar.vmware.deploymanager.service.impl.UserSessionService.login(UserSessionService.java:121)



Cause

在 Avamar 19.3 中,引入了新的 RSA 密码箱:
/usr/local/avamar/var/lockbox/avlockbox.clb

检索的项为 NULL 时,将会发生 java.lang.ArrayIndexOutOfBoundsException 异常。 


Resolution

在 Avamar Server 上,运行 change-password 命令以更改 root 用户的“Avamar Server”密码。这将更正密码箱状态。提醒:1. change-password 将重新启动 gsan/mcs 服务。2.使用相同的密码将会纠正问题。
root@ave193:~/#: change-passwords [change-passwords version 2.1] Identity added: /root/.ssh/rootid (/root/.ssh/rootid) Identity added: /root/.ssh/rootid (/root/.ssh/rootid) Do you wish to specify one or more additional SSH passphrase-less     private keys that are authorized for root operations? Answer n(o) here unless there are known inconsistencies in     ~root/.ssh/authorized_keys files among the various nodes. Note that the following key will be used automatically (i.e., there is     no need to re-specify it here):       /root/.ssh/rootid y(es), n(o), h(elp), q(uit/exit): y -------------------------------------------------------- Please enter a list of paths to SSH private keys,     one per line.  These keys should be passphrase-less.     Tilde references are permitted in the paths.     Example: ~/.ssh/dpnid.orig Press Enter or Return after each response. An empty response (a blank line) ends the list. [00] You entered nothing. Is that what you intended? y(es), n(o), q(uit/exit): y -------------------------------------------------------- The following is a test of OS root authorization with the currently     loaded SSH key(s).     If the authorization test fails, then you might be missing an     appropriate private key, e.g., rootid or dpnid.         -> In that event, re-run this program and, when prompted,            specify as many SSH private key files as are necessary            in order to complete root operations. Starting root authorization test with 600 second timeout... End of root authorization test. -------------------------------------------------------- Change OS (login) passwords? y(es), n(o), q(uit/exit): n -------------------------------------------------------- Generate new SSH keys? y(es), n(o), h(elp), q(uit/exit): n -------------------------------------------------------- Change Avamar Server passwords? y(es), n(o), q(uit/exit): y -------------------------------------------------------- Please enter the CURRENT server password for "root" (Entering an empty (blank) line twice quits/exits.) > Checking Avamar Server root password (1200 second timeout)... Avamar Server current root password accepted. -------------------------------------------------------- Change Avamar Server password for "MCUser"? y(es), n(o), q(uit/exit): n -------------------------------------------------------- Change Avamar Server password for "root"? y(es), n(o), q(uit/exit): y Please enter a new Avamar Server password for user "root". (Entering an empty (blank) line twice quits/exits.) > Enter the same Avamar Server password again. (Entering an empty (blank) line twice quits/exits.) > Accepted Avamar Server password for "root". -------------------------------------------------------- Change Avamar Server password for "repluser"? y(es), n(o), q(uit/exit): n -------------------------------------------------------- Please enter the CURRENT server password for "MCUser" (Entering an empty (blank) line twice quits/exits.) > Checking Avamar Server MCUser password (1200 second timeout)... Avamar Server current MCUser password accepted. -------------------------------------------------------- Change the viewuser password? y(es), n(o), h(elp), q(uit/exit): n -------------------------------------------------------- Do you wish to proceed with your changes on the selected node?         Answering y(es) will proceed to make changes.         Answering n(o) or q(uit) will not proceed. y(es), n(o), q(uit/exit): y Changing Avamar Server passwords... Suspending maintenance cron jobs Checking Administrator Server status... Stopping Administrator Server... Changing the passwords for the local Avamar Server... The passwords for the local Avamar Server have been changed. Starting process of updating Administrator and Enterprise Manager configurations... Running script to update Administrator and Enterprise Manager configurations on node 0.s... [Logging to /usr/local/avamar/var/change-passwords.log...] Done with updating Administrator configuration on node 0.s... Starting process of updating client configurations... Running script to update client configuration on all... [Logging to /usr/local/avamar/var/change-passwords.log...] Updating client configuration on node 0.0... Done updating client configuration on 0.0... Starting process of updating mccli configuration files... Running script to update mccli configuration files on node set "0.0"... [Logging to /usr/local/avamar/var/change-passwords.log...] Done with updating mccli configuration files on node 0.0... Checking Administrator Server status... Starting Administrator Server... Resuming maintenance cron jobs Stopping EMT subsystem Starting EMT subsystem -------------------------------------------------------- Done. 提醒:- 如果从任何远程用户帐户使用 mccli(管理员命令行界面),请更新每个远程帐户的 mccli 首选项/配置文件(通常为 ~USER/.avamardata/var/mc/cli_data/prefs/mcclimcs.xml)拷贝中的密码。- 请确保通过管理员 GUI 或“dpnctl start sched”恢复计划。

Additional Information

Affected Products

Avamar
Article Properties
Article Number: 000181440
Article Type: Solution
Last Modified: 30 Nov 2022
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.