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

Resumen: 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. ...

Este artículo se aplica a Este artículo no se aplica a Este artículo no está vinculado a ningún producto específico. No se identifican todas las versiones del producto en este artículo.

Síntomas

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


 
 

Causa

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

Resolución

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
Propiedades del artículo
Número del artículo: 000209747
Tipo de artículo: Solution
Última modificación: 08 ago 2023
Versión:  6
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.