Pdm:擷取工作時發生錯誤。使用 HTTP 錯誤代碼失敗:404 其他資訊「HTTP 狀態 404 – 找不到

Summary: PDM 故障並顯示錯誤:擷取工作時發生錯誤。失敗並顯示 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 伺服器從 19.4 升級至 19.7。
PDM 故障並顯示以下訊息;
擷取工作時發生錯誤。失敗並顯示 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 工具節點作業系統。

2) 變更偏好設定的許可權。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.