Pdm:获取任务时出错。Failed with HTTP error code:404 additional information“ HTTP Status 404 – Not Found

Summary: PDM 失败并显示错误:获取任务时出错。Failed with HTTP error code:404 additional information“ HTTP Status 404 – Not Found(HTTP 状态 404 – 未找到)失败并显示 HTTP 错误代码:404 其他信息。

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 Server 已从 19.4 升级到 19.7。
PDM 失败,并显示以下消息;
获取任务时出错。Failed with HTTP error code:404 additional information“ HTTP Status 404 – Not Found(HTTP 状态 404 – 未找到)失败并显示 HTTP 错误代码:404 其他信息

deploymanager.log 中的错误
 
INFO  [ost-startStop-1][   util.MCCipherUtil#   getResultValue]: getResultValue:rabbitmqAP
 INFO  [ost-startStop-1][   util.MCCipherUtil#cryptValueByXPath]: xPath://entry[@key='rabbitmqAP']
 INFO  [ost-startStop-1][   til.MCCipherUtil#      getDocument]: getDocument: mcserverXMLFile:/usr/local/avamar/var/mc/server_data/prefs/mcserver.xml
 ERROR [ost-startStop-1][   util.MCCipherUtil#      getDocument]: getDocument fail: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
 ERROR [ost-startStop-1][   util.MCCipherUtil#cryptValueByXPath]: Decrypt failed at: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
 ERROR [ost-startStop-1][   util.MCCipherUtil#   getResultValue]: Error found for decrypt: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
 ERROR [ost-startStop-1][   util.RabbitMQUtil#ConnectionFactory]: getConnectionFactory Exception====
 ERROR [ost-startStop-1][   util.RabbitMQUtil#ConnectionFactory]: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
 INFO  [ost-startStop-1][   util.RabbitMQUtil#ConnectionFactory]: cf.isSSL():false

mcserver.log 中的错误
 
[RMI TCP Connection(55)-x#1079] com.avamar.mc.pdm.ProxyDeploymentManagerService.submitJsonWithRetry
WARNING: Failed (https://localhost:8543/deploymanager/auth/logout)(attempt 3 of 3): Failed with HTTP error code : 404
  additional information : 
HTTP Status 404 342200223 Not Foundbody {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;backg round-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}

HTTP Statu s 404 342200223 Not Found


Type Status Report

Message The requested resource [/deploymanager/auth/logout] is not available

Description The orig in server did not find a current representation for the target resource or is not willing to disclose that one exists.


Apache Tomcat

[RMI TCP Connection(55)-x#1079] com.avamar.mc.pdm.ProxyDeploymentManagerService.logFailure WARNING: uri=https://localhost:8543/deploymanager/auth/logout, header=, body=null [RMI TCP Connection(55)-x#1079] sun.rmi.server.UnicastServerRef.logCallException FINE: RMI TCP Connection(55)-x: [x] exception: com.avamar.asn.service.ServiceException: Failed with HTTP error code : 404 additional information : HTTP Status 404 342200223 Not Foundbody {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;backg round-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}

HTTP Statu s 404 342200223 Not Found


Type Status Report

Message The requested resource [/deploymanager/auth/login] is not available

Description The origi n server did not find a current representation for the target resource or is not willing to disclose that one exists.


Apache Tomcat

at com.avamar.mc.pdm.ProxyDeploymentManagerService.getAllTasks(ProxyDeploymentManagerService.java:451) at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy98.getAllTasks(Unknown Source) at com.avamar.mc.pdm.ProxyDeploymentManagerServiceContext.getAllTasks(ProxyDeploymentManagerServiceContext.java:72)

Cause

这是软件问题。

Resolution

1) 以 root 用户身份登录 Avamar Utility 节点操作系统。

2) 更改 preferences.dtd 的权限 
chmod 444 /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd 

3) 重新启动 tomcat 服务 
tomcatctl stop
tomcatctl start 

Affected Products

Avamar
Article Properties
Article Number: 000207337
Article Type: Solution
Last Modified: 26 Jul 2023
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.