PDM: Error while fetching tasks. Failed with HTTP error code:404 additional information" HTTP Status 404 – Not Found

Summary: PDM fails with error: Error while fetching tasks. Failed with HTTP error code:404 additional information" HTTP Status 404 – Not Found.

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 was upgraded from 19.4 to 19.7.
PDM fails with the following message; 
Error while fetching tasks. Failed with HTTP error code:404 additional information" HTTP Status 404 – Not Found.

Error in 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

Error in 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 : <!doctype html><html lang="en"><head><title>HTTP Status 404 342200223 Not Found</title><style type="text/css">body {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;}</style></head><body><h1>HTTP Statu
s 404 342200223 Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> The requested resource [&#47;deploymanager&#47;auth&#47;logout] is not available</p><p><b>Description</b> The orig
in server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat</h3></body></html>
[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 : <!doctype html><html lang="en"><head><title>HTTP Status 404 342200223 Not Found</title><style type="text/css">body {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;}</style></head><body><h1>HTTP Statu
s 404 342200223 Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> The requested resource [&#47;deploymanager&#47;auth&#47;login] is not available</p><p><b>Description</b> The origi
n server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat</h3></body></html>
        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

This is a software issue.

Resolution

1) Log in to the Avamar Utility Node operating system as the root user.

2) Change the permission of preferences.dtd 
chmod 444 /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd 

3) Restart the tomcat service 
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.