CASifying Zimbra : an update documentation

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
minh281182
Posts: 4
Joined: Sat Sep 13, 2014 1:42 am

Re: CASifying Zimbra : an update documentation

Postby minh281182 » Wed Jan 17, 2018 8:58 pm

DualBoot wrote:And what about log ?
Check time between CAS server and Zimbra too.


Can you give me a tip?
I got Internal Server Error 500.

The log at /opt/zimbra/log/mailbox.log said that:
[btpool0-7891://xxxxx/zimbra/public/preauth.jsp?ticket=ST-4-CvihcFcSVjnL9LGP7ZlY-cas] [] CommonUtils - No route to host
java.net.NoRouteToHostException: No route to host


User avatar
DualBoot
Outstanding Member
Outstanding Member
Posts: 805
Joined: Mon Apr 18, 2016 8:18 pm
Location: Earth
ZCS/ZD Version: ZCS FLOSS - 8.7.11 Mutli servers

Re: CASifying Zimbra : an update documentation

Postby DualBoot » Thu Jan 18, 2018 12:12 am

Hello,

it seems to be a network or DNS problem :

Code: Select all

CommonUtils - No route to host


Regards,
minh281182
Posts: 4
Joined: Sat Sep 13, 2014 1:42 am

Re: CASifying Zimbra : an update documentation

Postby minh281182 » Thu Jan 18, 2018 2:43 am

DualBoot wrote:Hello,

it seems to be a network or DNS problem :

Code: Select all

CommonUtils - No route to host


Regards,


Thank you very much for your answer!
Before I searched and also had some suggestion remind to check the DNS. So I checked and ensured at my side:
1. From CAS server, I can ping email server. And the login process from CAS to LDAP is success.
2. From email Server, I also can ping CAS server normally. I have multi-domain on my email Server. At email Server, I have already added CAS Server IP/ Host name to "/etc/hosts".

Do you have any hint? How can I check the DNS issue?

Thank you very much!
User avatar
DualBoot
Outstanding Member
Outstanding Member
Posts: 805
Joined: Mon Apr 18, 2016 8:18 pm
Location: Earth
ZCS/ZD Version: ZCS FLOSS - 8.7.11 Mutli servers

Re: CASifying Zimbra : an update documentation

Postby DualBoot » Thu Jan 18, 2018 6:30 pm

I think if you have enabled dnscached service on your mailstore, settings IP and host into /etc/hosts
might be useless.
Does you store resolve on the mailstore hostname or the virtualHostname from inside you store ?
And does your store or virtual hostname reachable from you store where the error appeared ?


Regards,
vtsunami
Posts: 6
Joined: Thu Jan 04, 2018 1:35 pm

Re: CASifying Zimbra : an update documentation

Postby vtsunami » Mon Sep 24, 2018 8:49 am

Hello i got also problem with CASifing zimbra

My zimbra version is 8.8.9

both CAS server and Zimbra use same ntp so time's are synchro. But i sill got error 500

zimbra.log dont log anything

Here is output of logs from /opt/zimbra/log

==> /opt/zimbra/log/trace_log.2018_09_24 <==
10:25:58.415:qtp759156157-81088 OPENED SslConnection@13742789{NEED_UNWRAP,eio=-1/-1,di=-1} -> HttpConnection@31a752e8[DecryptedEndPoint@274f5b29{/xxx.xxx.xxx.xxx:41472<->8443,Open,in,out,-,-,1/60000,HttpConnection}->SelectChannelEndPoint@900cb7f{/xxx.xxx.xxx.xxx:41472<->8443,Open,in,out,-,-,1/60000,SslConnection}{io=0/0,kio=0,kro=0}][p=HttpParser{s=START,0 of 0},g=HttpGenerator@289b378c{s=START},c=HttpChannelOverHttp@1ae10579{r=0,c=false,a=IDLE,uri=null}][b=null]
10:25:58.416:qtp759156157-81088 OPENED HttpConnection@31a752e8[DecryptedEndPoint@274f5b29{/xxx.xxx.xxx.xxx:41472<->8443,Open,in,out,-,-,1/60000,HttpConnection}->SelectChannelEndPoint@900cb7f{/xxx.xxx.xxx.xxx:41472<->8443,Open,in,out,-,-,2/60000,SslConnection}{io=0/0,kio=0,kro=0}][p=HttpParser{s=START,0 of 0},g=HttpGenerator@289b378c{s=START},c=HttpChannelOverHttp@1ae10579{r=0,c=false,a=IDLE,uri=null}][b=null]
10:25:58.436:qtp759156157-80613:https:https://xxx/public/preauth.jsp REQUEST xxx.xxx.xxx.xxx GET _ga=GA1.3.1502308683.1536581767; eisess=c86r7o19oqs527elonfpqd0u23; __utmc=163276472; __utmz=163276472.1536826147.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ZM_TEST=true; ZM_ADMIN_AUTH_TOKEN=0_8bf948c6f314c756d7ec30bb213ecb7beb596dde_69643d33363a66343337303062372d373931352d346635382d623766632d6239333961646265313861303b6578703d31333a313533363936323334333533313b61646d696e3d313a313b747970653d363a7a696d6272613b753d313a613b7469643d393a3432363735303433323b76657273696f6e3d31333a382e382e395f47415f323035353b637372663d313a313b; ZM_LOGIN_CSRF=b02c9b39-ec54-4fdc-bc29-f5ca6cb00383; __utma=163276472.1502308683.1536581767.1536826147.1537170593.2; JSESSIONID=ycjwqh04avsa147265nfjetbl; Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36
10:25:58.540:qtp759156157-84833:https:https://localhost:7071/service/admin/soap/GetDomainInfoRequest REQUEST 127.0.0.1 POST null; ZCS 8.8.9_GA_3019

==> /opt/zimbra/log/mailbox.log <==
2018-09-24 10:25:58,541 INFO [qtp759156157-84833:https:https://localhost:7071/service/admin/soap/GetDomainInfoRequest] [ua=ZCS/8.8.9_GA_3019;soapId=75fd3682;] soap - GetDomainInfoRequest elapsed=0

==> /opt/zimbra/log/trace_log.2018_09_24 <==
10:25:58.541:qtp759156157-84833:https:https://localhost:7071/service/admin/soap/GetDomainInfoRequest RESPONSE 200 text/xml;charset=utf-8

==> /opt/zimbra/log/access_log.2018-09-24 <==
127.0.0.1 - - [24/Sep/2018:08:25:58 +0000] "POST https://localhost:7071/service/admin/so ... nfoRequest HTTP/1.1" 200 444 "-" "ZCS 8.8.9_GA_3019" 2

==> /opt/zimbra/log/trace_log.2018_09_24 <==
10:25:58.544:qtp759156157-80613:https:https://xxx/public/preauth.jsp RESPONSE 500 text/html;charset=utf-8

==> /opt/zimbra/log/access_log.2018-09-24 <==
10.20.11.7 - - [24/Sep/2018:08:25:58 +0000] "GET https://xxx/public/preauth.jsp HTTP/1.0" 500 1675 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36" 108

==> /opt/zimbra/log/nginx.access.log <==
10.20.11.7:55671 - - [24/Sep/2018:10:25:58 +0200] "GET https://xxx/public/preauth.jsp HTTP/1.1" 500 1931 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36" "xxx.xxx.xxx.xxx:8443" "xxx.xxx.xxx.xxx:443"

==> /opt/zimbra/log/trace_log.2018_09_24 <==
10:25:58.545:qtp759156157-81237 CLOSED HttpConnection@31a752e8[DecryptedEndPoint@274f5b29{/xxx.xxx.xxx.xxx:41472<->8443,CLOSED,in,OSHUT,-,-,110/60000,HttpConnection}->SelectChannelEndPoint@900cb7f{/xxx.xxx.xxx.xxx:41472<->8443,CLOSED,ISHUT,OSHUT,-,-,1/60000,SslConnection}{io=0/0,kio=-1,kro=-1}][p=HttpParser{s=CLOSE,0 of 0},g=HttpGenerator@289b378c{s=START},c=HttpChannelOverHttp@1ae10579{r=1,c=false,a=IDLE,uri=null}][b=null]
10:25:58.545:qtp759156157-81237 CLOSED SslConnection@13742789{NEED_UNWRAP,eio=-1/-1,di=-1} -> HttpConnection@31a752e8[DecryptedEndPoint@274f5b29{/xxx.xxx.xxx.xxx:41472<->8443,CLOSED,in,OSHUT,-,-,110/60000,HttpConnection}->SelectChannelEndPoint@900cb7f{/xxx.xxx.xxx.xxx:41472<->8443,CLOSED,ISHUT,OSHUT,-,-,1/60000,SslConnection}{io=0/0,kio=-1,kro=-1}][p=HttpParser{s=CLOSE,0 of 0},g=HttpGenerator@289b378c{s=START},c=HttpChannelOverHttp@1ae10579{r=1,c=false,a=IDLE,uri=null}][b=null]
User avatar
DualBoot
Outstanding Member
Outstanding Member
Posts: 805
Joined: Mon Apr 18, 2016 8:18 pm
Location: Earth
ZCS/ZD Version: ZCS FLOSS - 8.7.11 Mutli servers

Re: CASifying Zimbra : an update documentation

Postby DualBoot » Mon Sep 24, 2018 1:37 pm

Hello,

I did not see anything relevant. Do you have more log lines from mailbox.log and zmmailboxd.out when you try to log in ?

Regards,
vtsunami
Posts: 6
Joined: Thu Jan 04, 2018 1:35 pm

Re: CASifying Zimbra : an update documentation

Postby vtsunami » Wed Sep 26, 2018 6:18 am

Sorry had a busy day yesterday. No nothing more in logs, all i got alredy posted here. I did't put ports into zimbra.web.xml.in becose we using standard ports, and it should't not matter here, aslo im using cas-client-core-3.4.1.jar and slf4j-api-1.7.25.jar . Any idea what could be wrong ?

Return to “Administrators”

Who is online

Users browsing this forum: Google [Bot] and 29 guests