phoenix wrote:Why do you expect the curl command to give you any response when the Zimbra nginx does not listen on port 80.
Because I switched
zimbraReverseProxyMailMode to
redirect. Now the Zimbra nginx does listen on port 80.
Code: Select all
# lsof -i :80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
nginx 28709 zimbra 10u IPv4 444479 0t0 TCP *:http (LISTEN)
nginx 28710 zimbra 10u IPv4 444479 0t0 TCP *:http (LISTEN)
nginx 28711 zimbra 10u IPv4 444479 0t0 TCP *:http (LISTEN)
nginx 28712 zimbra 10u IPv4 444479 0t0 TCP *:http (LISTEN)
phoenix wrote:Why don't you try the following to see if nginx is actually alive:
Code: Select all
# netstat -tulnp | grep nginx
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 28708/nginx
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 28708/nginx
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 28708/nginx
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 28708/nginx
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 28708/nginx
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 28708/nginx
phoenix wrote:Merely the fact you keep saying 'it doesn't work' gives us no information about what is your exact problem, you need to investigate whether all your ZCS services are running and what errors you see in the log files.
Code: Select all
$ zmcontrol status
Host zcs884.mycompany.ru
amavis Running
antispam Running
antivirus Running
imapd Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
opendkim Running
proxy Running
service webapp Running
snmp Running
spell Running
stats Running
zimbra webapp Running
zimbraAdmin webapp Running
zimlet webapp Running
zmconfigd Running
elinks https://zcs884.mycompany.ru
At that time: tail /opt/zimbra/log/access_log:
Code: Select all
127.0.0.1 - - [15/Nov/2017:07:28:20 +0000] "POST https://localhost:7071/service/admin/soap/GetDomainInfoRequest HTTP/1.1" 503 286 "-" "ZCS 8.8.4_GA_1015" 0
127.0.0.1 - - [15/Nov/2017:07:28:20 +0000] "POST https://localhost:7071/service/admin/soap/GetDomainInfoRequest HTTP/1.1" 503 286 "-" "ZCS 8.8.4_GA_1015" 0
192.168.233.29 - - [15/Nov/2017:07:28:20 +0000] "GET https://zcs884.mycompany.ru/ HTTP/1.0" 200 12391 "-" "ELinks/0.12pre5 (textmode; Linux; 80x24-2)" 75
After trying to log in (I am presented with an error "A network service error has occurred."):
Code: Select all
192.168.233.29 - - [15/Nov/2017:07:28:20 +0000] "GET https://zcs884.mycompany.ru/css/common,login,zhtml,skin.css?skin=harmony&v=171020171958 HTTP/1.0" 200 59030 "https://zcs884.mycompany.ru/" "ELinks/0.12pre5 (textmode; Linux; 80x24-2)" 29
192.168.233.29 - - [15/Nov/2017:07:28:33 +0000] "POST //localhost:8080/service/soap/AuthRequest HTTP/1.1" 503 271 "-" "zclient 8.8.4_GA_1015" 0
127.0.0.1 - - [15/Nov/2017:07:28:33 +0000] "POST https://localhost:7071/service/admin/soap/GetDomainInfoRequest HTTP/1.1" 503 286 "-" "ZCS 8.8.4_GA_1015" 0
192.168.233.29 - - [15/Nov/2017:07:28:33 +0000] "POST https://zcs884.mycompany.ru/ HTTP/1.0" 200 12640 "https://zcs884.mycompany.ru/" "ELinks/0.12pre5 (textmode; Linux; 80x24-2)" 76
chromium https://192.168.233.29:7071 (the page appears blank):Code: Select all
10.10.100.100 - - [15/Nov/2017:07:12:24 +0000] "POST https://192.168.233.29:7071/service/admin/soap/GetDomainInfoRequest HTTP/1.1" 503 286 "https://192.168.233.29:7071/zimbraAdmin/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36" 0
10.10.100.100 - - [15/Nov/2017:07:12:24 +0000] "POST https://192.168.233.29:7071/service/admin/soap/GetDomainInfoRequest HTTP/1.1" 503 286 "https://192.168.233.29:7071/zimbraAdmin/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36" 0
10.10.100.100 - - [15/Nov/2017:07:12:24 +0000] "POST https://192.168.233.29:7071/service/admin/soap/GetDomainInfoRequest HTTP/1.1" 503 286 "https://192.168.233.29:7071/zimbraAdmin/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36" 0
10.10.100.100 - - [15/Nov/2017:07:12:24 +0000] "POST https://192.168.233.29:7071/service/admin/soap/GetDomainInfoRequest HTTP/1.1" 503 286 "https://192.168.233.29:7071/zimbraAdmin/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36" 1
#Repeats until you close the page[/code[b]]$ zmprov[/b]
tail /opt/zimbra/log/access_log:
[code]127.0.0.1 - - [15/Nov/2017:07:25:21 +0000] "POST https://localhost:7071/service/admin/soap/AuthRequest HTTP/1.1" 503 277 "-" "zmprov 8.8.4_GA_1015" 1
tail /opt/zimbra/log/trace_log:
Code: Select all
10:23:33.991:qtp1595953398-6079 OPENED SslConnection@7b9cc1a6{NEED_UNWRAP,eio=-1/-1,di=-1} -> HttpConnection@34f12fb0[DecryptedEndPoint@406ea344{/127.0.0.1:42211<->7071,Open,in,out,-,-,1/0,HttpConnection}->SelectChannelEndPoint@59c6ae0a{/127.0.0.1:42211<->7071,Open,in,out,-,-,1/0,SslConnection}{io=0/0,kio=0,kro=0}][p=HttpParser{s=START,0 of 0},g=HttpGenerator@2c34e3bd{s=START},c=HttpChannelOverHttp@3138966c{r=0,c=false,a=IDLE,uri=null}][b=null]
10:23:33.991:qtp1595953398-6079 OPENED HttpConnection@34f12fb0[DecryptedEndPoint@406ea344{/127.0.0.1:42211<->7071,Open,in,out,-,-,1/0,HttpConnection}->SelectChannelEndPoint@59c6ae0a{/127.0.0.1:42211<->7071,Open,in,out,-,-,1/0,SslConnection}{io=0/0,kio=0,kro=0}][p=HttpParser{s=START,0 of 0},g=HttpGenerator@2c34e3bd{s=START},c=HttpChannelOverHttp@3138966c{r=0,c=false,a=IDLE,uri=null}][b=null]
10:23:34.288:qtp1595953398-6099:https:https://localhost:7071/service/admin/soap/AuthRequest REQUEST 127.0.0.1 POST null; zmprov 8.8.4_GA_1015
10:23:34.289:qtp1595953398-6099:https:https://localhost:7071/service/admin/soap/AuthRequest RESPONSE 503 text/html;charset=iso-8859-1
10:23:34.308:qtp1595953398-6079 CLOSED HttpConnection@34f12fb0[DecryptedEndPoint@406ea344{/127.0.0.1:42211<->7071,CLOSED,ISHUT,OSHUT,-,-,19/0,HttpConnection}->SelectChannelEndPoint@59c6ae0a{/127.0.0.1:42211<->7071,CLOSED,ISHUT,OSHUT,-,-,19/0,SslConnection}{io=0/0,kio=-1,kro=-1}][p=HttpParser{s=CLOSED,0 of -1},g=HttpGenerator@2c34e3bd{s=START},c=HttpChannelOverHttp@3138966c{r=1,c=false,a=IDLE,uri=null}][b=HeapByteBuffer@49721fb9[p=0,l=0,c=17408,r=0]={<<<>>>POST /service/adm...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}]
10:23:34.308:qtp1595953398-6079 CLOSED SslConnection@7b9cc1a6{NEED_WRAP,eio=-1/-1,di=-1} -> HttpConnection@34f12fb0[DecryptedEndPoint@406ea344{/127.0.0.1:42211<->7071,CLOSED,ISHUT,OSHUT,-,-,19/0,HttpConnection}->SelectChannelEndPoint@59c6ae0a{/127.0.0.1:42211<->7071,CLOSED,ISHUT,OSHUT,-,-,19/0,SslConnection}{io=0/0,kio=-1,kro=-1}][p=HttpParser{s=CLOSED,0 of -1},g=HttpGenerator@2c34e3bd{s=START},c=HttpChannelOverHttp@3138966c{r=1,c=false,a=IDLE,uri=null}][b=HeapByteBuffer@49721fb9[p=0,l=0,c=17408,r=0]={<<<>>>POST /service/adm...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}]
phoenix wrote:I also don't understand why you felt it necessary to build ZCS from source when there's a perfectly good rpm build for CentOS.
Because it's 'not quite' CentOS...