Avamar: Tomcat Issue: no se puede acceder a Client Manager. Los cambios realizados en server.xml no son persistentes
Summary: Se realizan cambios en server.xml, pero reiniciar el servicio tomcat revierte los cambios. En este artículo de la base de conocimientos, también se explica dónde no se puede acceder a tomcat porque el puerto 8509 no escucha en 127.0.0.1. ...
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
Tomcat estaba activo, pero no se puede acceder a la página web de AAM (Client Manager):
/var/log/apache2/mod_jk.log muestra un error cuando se conecta en el puerto 8509.
Curl to port 8509 to localhost mostraba que la conexión se rechazó.
[Tue Aug 16 17:57:01 2022] [26136:139641497630912] [info] jk_open_socket::jk_connect.c (758): connect to 127.0.0.1:8509 failed (errno=111)
[Tue Aug 16 17:57:01 2022] [26136:139641497630912] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1019): Failed opening socket to (127.0.0.1:8509) (errno=111)
[Tue Aug 16 17:57:01 2022] [26136:139641497630912] [error] ajp_send_request::jk_ajp_common.c (1663): (cas) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111)
[Tue Aug 16 17:57:01 2022] [26136:139641497630912] [info] ajp_service::jk_ajp_common.c (2673): (cas) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)
[Tue Aug 16 17:57:01 2022] [26136:139641497630912] [info] jk_open_socket::jk_connect.c (758): connect to 127.0.0.1:8509 failed (errno=111)
[Tue Aug 16 17:57:01 2022] [26136:139641497630912] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1019): Failed opening socket to (127.0.0.1:8509) (errno=111)
[Tue Aug 16 17:57:01 2022] [26136:139641497630912] [error] ajp_send_request::jk_ajp_common.c (1663): (cas) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111)
[Tue Aug 16 17:57:01 2022] [26136:139641497630912] [info] ajp_service::jk_ajp_common.c (2673): (cas) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)
[Tue Aug 16 17:57:01 2022] [26136:139641497630912] [error] ajp_service::jk_ajp_common.c (2693): (cas) connecting to tomcat failed.
[Tue Aug 16 17:57:01 2022] [26136:139641497630912] [info] jk_handler::mod_jk.c (2837): Service error=-3 for worker=cas
Curl to port 8509 to localhost mostraba que la conexión se rechazó.
root@testlab:/usr/local/avamar-tomcat/conf/#: curl -kv https://127.0.0.1:8509
* Rebuilt URL to: https://127.0.0.1:8509/
* Trying 127.0.0.1...
* TCP_NODELAY set
* connect to 127.0.0.1 port 8509 failed: Connection refused
* Failed to connect to 127.0.0.1 port 8509: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 127.0.0.1 port 8509: Connection refused
Cause
El puerto 8509 no está escuchando para el host local.
Resolution
1. Inicie sesión en el servidor Avamar como usuario administrador y eleve al usuario raíz:
2. Respalde el archivo de configuración server.xml existente:
3. Edite /usr/local/avamar-tomcat/conf/server.xml y /usr/local/avamar/etc/server.xml, agregue la línea resaltada a continuación:
4. Guarde y cierre el archivo.
5. Reinicie tomcat y Apache:
2. Respalde el archivo de configuración server.xml existente:
cp -p /usr/local/avamar-tomcat/conf/server.xml /usr/local/avamar-tomcat/conf/server.xml-orig
cp -p /usr/local/avamar/etc/server.xml /usr/local/avamar/etc/server.xml-orig
3. Edite /usr/local/avamar-tomcat/conf/server.xml y /usr/local/avamar/etc/server.xml, agregue la línea resaltada a continuación:
5. Reinicie tomcat y Apache:
emwebapp.sh --restart
service apache2 restart
Article Properties
Article Number: 000203109
Article Type: Solution
Last Modified: 14 Jul 2023
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.