Proxy Deployment Manager not functioning. /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)

Summary: Proxy Deployment Manager (PDM) not functioning after upgrade. PDM fails with: "Error while fetching tasks. Failed with HTTP error code: 404 additional information" HTTP Status 404 - Not Found. This has been seen on 19.7/8 versions. ...

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

When creating a proxy recommendation, the Avamar AUI reports the following errors:
image.png
image.png
When attempting the same but with Avamar Administrator, we get stuck on the Loading Recommendations screen.  
image.png




The /usr/local/avamar/var/log/vcs/deploymanager log shows the following error: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
 
2022-06-27T04:08:55.259-0700 INFO  [ost-startStop-1][             util.MCCipherUtil#   getResultValue]: getResultValue:rabbitmqAP
2022-06-27T04:08:55.260-0700 INFO  [ost-startStop-1][             util.MCCipherUtil#cryptValueByXPath]: xPath://entry[@key='rabbitmqAP']
2022-06-27T04:08:55.261-0700 INFO  [ost-startStop-1][             util.MCCipherUtil#      getDocument]: getDocument: mcserverXMLFile:/usr/local/avamar/var/mc/server_data/prefs/mcserver.xml
2022-06-27T04:08:55.262-0700 ERROR [ost-startStop-1][             util.MCCipherUtil#      getDocument]: getDocument fail: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
2022-06-27T04:08:55.263-0700 ERROR [ost-startStop-1][             util.MCCipherUtil#cryptValueByXPath]: Decrypt failed at: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
2022-06-27T04:08:55.263-0700 ERROR [ost-startStop-1][             util.MCCipherUtil#   getResultValue]: Error found for decrypt: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
2022-06-27T04:08:55.263-0700 ERROR [ost-startStop-1][             util.RabbitMQUtil#ConnectionFactory]: getConnectionFactory Exception====
2022-06-27T04:08:55.263-0700 ERROR [ost-startStop-1][             util.RabbitMQUtil#ConnectionFactory]: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
2022-06-27T04:08:55.264-0700 INFO  [ost-startStop-1][             util.RabbitMQUtil#ConnectionFactory]: cf.isSSL():false
2022-06-27T04:15:45.633-0700 INFO  [ost-startStop-1][  impl.ConfigFileAppProperties#             init]:

The following errors can be seen in the /usr/local/avamar/var/log/vcs/connectionmanager.log
2023-01-18T15:41:57.410+0000 INFO  [ost-startStop-1][util.MCCipherUtil#getDocument]: getDocument: mcserverXMLFile:/usr/local/avamar/var/mc/server_data/prefs/mcserver.xml
2023-01-18T15:41:57.412+0000 ERROR [ost-startStop-1][util.MCCipherUtil#getDocument]: getDocument fail: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
2023-01-18T15:41:57.412+0000 ERROR [ost-startStop-1][   util.MCCipherUtil#cryptValueByXPath]: Decrypt failed at: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
2023-01-18T15:41:57.412+0000 ERROR [ost-startStop-1][util.MCCipherUtil#   getResultValue]: Error found for decrypt: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
2023-01-18T15:41:57.413+0000 ERROR [ost-startStop-1][             util.RabbitMQUtil#ConnectionFactory]: getConnectionFactory Exception====
2023-01-18T15:41:57.413+0000 ERROR [ost-startStop-1][             util.RabbitMQUtil#ConnectionFactory]: /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd (Permission denied)
2023-01-18T15:41:57.413+0000 INFO  [ost-startStop-1][             util.RabbitMQUtil#ConnectionFactory]: cf.isSSL():false


 
 

Cause

The /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd file has incorrect permissions.

Observed Permission
admin@ave197:~/>: ls -la /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd
-r-------- 1 admin admin 4506 Feb  3  2022 /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd

Expected Permission
admin@ave197:~/>: ls -la /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd
-r--r--r-- 1 admin admin 4506 Feb  3  2022 /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd

Resolution

Follow the instructions below to resolve the issue.

Correct the permissions:
chmod 444 /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd
Review the file now, it should show the correct permissions.
r--r--r-- 1 admin admin 4.5K /usr/local/avamar/var/mc/server_data/prefs/preferences.dtd
Restart tomcat (as root):
emwebapp.sh --restart
Article Properties
Article Number: 000209747
Article Type: Solution
Last Modified: 08 Aug 2023
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.