Avamar: Tomcat Issue - Client Manager non è accessibile. Le modifiche apportate a server.xml non sono persistenti
摘要: Le modifiche vengono apportate a server.xml, ma il riavvio del servizio Tomcat annulla le modifiche. Questo articolo della KB spiega anche dove Tomcat non è accessibile perché la porta 8509 non è in ascolto su 127.0.0.1. ...
本文章適用於
本文章不適用於
本文無關於任何特定產品。
本文未識別所有產品版本。
症狀
Tomcat era attivo, ma la pagina web AAM (Client Manager) non è accessibile:
/var/log/apache2/mod_jk.log mostra un errore durante la connessione alla porta 8509.
Curl to port 8509 to localhost mostrava il rifiuto di connessione.
[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 mostrava il rifiuto di connessione.
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
原因
La porta 8509 non è in ascolto di localhost.
解析度
1. Accedere ad Avamar Server come utente amministratore ed elevare a utente root:
2. Eseguire il backup del file di configurazione server.xml esistente:
3. Modificare /usr/local/avamar-tomcat/conf/server.xml e /usr/local/avamar/etc/server.xml, aggiungere la riga evidenziata di seguito:
4. Salvare e chiudere il file.
5. Riavviare tomcat e Apache:
2. Eseguire il backup del file di configurazione server.xml esistente:
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. Modificare /usr/local/avamar-tomcat/conf/server.xml e /usr/local/avamar/etc/server.xml, aggiungere la riga evidenziata di seguito:
5. Riavviare tomcat e Apache:
emwebapp.sh --restart
service apache2 restart
文章屬性
文章編號: 000203109
文章類型: Solution
上次修改時間: 14 7月 2023
版本: 2
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。