Avamar: Tomcat 문제 - 클라이언트 관리자에 액세스할 수 없습니다. server.xml에 대한 변경 사항이 지속되지 않음
Summary: server.xml을 변경하지만 tomcat 서비스를 재시작하면 변경 사항이 되돌아갑니다. 이 KB에서는 포트 8509가 127.0.0.1에서 수신 대기 중이 아니므로 tomcat에 액세스할 수 없는 위치도 설명합니다.
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이 작동했지만 AAM(Client Manager) 웹 페이지에 액세스할 수 없습니다.
/var/log/apache2/mod_jk.log 에서 포트 8509에 연결할 때 오류가 표시됩니다.
curl to port 8509 to localhost에 연결이 거부되었습니다.
[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에 연결이 거부되었습니다.
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
포트 8509가 localhost를 수신하지 않습니다.
Resolution
1. Avamar 서버에 관리자로 로그인하고 루트 사용자로 승격합니다.
2. 기존 server.xml 구성 파일을 백업합니다.
3. /usr/local/avamar-tomcat/conf/server.xml 및 /usr/local/avamar/etc/server.xml을 편집하고 아래에 강조 표시된 줄을 추가합니다.
4. 파일을 저장하고 닫습니다.
5. tomcat 및 Apache를 다시 시작합니다.
2. 기존 server.xml 구성 파일을 백업합니다.
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. /usr/local/avamar-tomcat/conf/server.xml 및 /usr/local/avamar/etc/server.xml을 편집하고 아래에 강조 표시된 줄을 추가합니다.
5. tomcat 및 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.