502 error

bond1211
Posts: 2
Joined: Wed Aug 23, 2017 4:41 pm

502 error

Postby bond1211 » Wed Aug 23, 2017 4:46 pm

Привет! Извините за мой английский, переводчик. zimbra 8.7.11
После перезагрузки ошибка 502
zimbraAdminработает
Веб версия не работает
все сервисы запущены
куда смотреть?


User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2769
Joined: Thu May 22, 2014 4:47 pm

Re: 502 error

Postby jorgedlcruz » Wed Aug 23, 2017 11:27 pm

Привет, у вас есть что-то на mailbox.log или access.log? Любая ошибка?
Jorge de la Cruz https://jorgedelacruz.es
Technical Marketing Manager at Zimbra/Synacor https://www.zimbra.com/
bond1211
Posts: 2
Joined: Wed Aug 23, 2017 4:41 pm

Re: 502 error

Postby bond1211 » Thu Aug 24, 2017 3:50 am

nginx.log

Code: Select all

2017/08/24 06:37:07 [info] 3888#0: *5868 proxied session done, client: 185.30.176.99:51374, server: 0.0.0.0:993, login: "duryagin.a.n@strexp.com", upstream: 192.168.10.7:7993 (185.30.176.99:51374->192.168.10.7:993) <=> (192.168.10.7:5180
9->192.168.10.7:7993)
2017/08/24 06:37:29 [error] 3888#0: *5870 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.10.228, server: mail.strexp.com.default, request: "POST /service/soap/NoOpRequest HTTP/1.1", upstream: "ht
tps://192.168.10.7:8443/service/soap/NoOpRequest", host: "mail.strexp.com", referrer: "https://mail.strexp.com/"
2017/08/24 06:37:31 [error] 3888#0: *5872 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.10.77, server: mail.strexp.com.default, request: "POST /service/soap/NoOpRequest HTTP/1.1", upstream: "htt
ps://192.168.10.7:8443/service/soap/NoOpRequest", host: "mail.strexp.com", referrer: "https://mail.strexp.com/"
2017/08/24 06:37:31 [error] 3888#0: *5874 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.10.210, server: mail.strexp.com.default, request: "POST /service/soap/NoOpRequest HTTP/1.1", upstream: "ht
tps://192.168.10.7:8443/service/soap/NoOpRequest", host: "mail.strexp.com", referrer: "https://mail.strexp.com/"


mailbox.log

Code: Select all

2017-08-24 06:41:43,643 INFO  [ScheduledTask-1] [name=galsync.esft9xot@strexp.com;mid=1;ds=InternalGAL;] datasource - Import completed for data source 'InternalGAL'
2017-08-24 06:42:04,733 INFO  [AutoProvision] [] autoprov - Auto provisioning accounts on domain strexp.com
2017-08-24 06:42:04,759 WARN  [AutoProvision] [] autoprov - Unable to auto provision accounts for domain strexp.com
com.zimbra.cs.ldap.LdapException: LDAP error:  - unable to get connection: ldap host=: 80090308: LdapErr: DSID-0C0903CF, comment: AcceptSecurityContext error, data 52e, v2580.
ExceptionId:AutoProvision:1503546124756:e0a0698d21b5fe3b
Code:ldap.LDAP_ERROR
        at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:90)
        at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:74)
        at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToExternalLdapException(UBIDLdapException.java:84)
        at com.zimbra.cs.ldap.unboundid.UBIDLdapContext.mapToLdapException(UBIDLdapContext.java:243)
        at com.zimbra.cs.ldap.unboundid.UBIDLdapContext.getConnection(UBIDLdapContext.java:209)
        at com.zimbra.cs.ldap.unboundid.UBIDLdapContext.<init>(UBIDLdapContext.java:181)
        at com.zimbra.cs.ldap.unboundid.UBIDLdapClient.getExternalContextImpl(UBIDLdapClient.java:106)
        at com.zimbra.cs.ldap.LdapClient.getExternalContext(LdapClient.java:174)
        at com.zimbra.cs.account.ldap.AutoProvision.searchAutoProvDirectory(AutoProvision.java:642)
        at com.zimbra.cs.account.ldap.AutoProvisionEager.searchAccounts(AutoProvisionEager.java:251)
        at com.zimbra.cs.account.ldap.AutoProvisionEager.createAccountBatch(AutoProvisionEager.java:152)
        at com.zimbra.cs.account.ldap.AutoProvisionEager.handleBatch(AutoProvisionEager.java:132)
        at com.zimbra.cs.account.ldap.AutoProvisionEager.handleScheduledDomains(AutoProvisionEager.java:103)
        at com.zimbra.cs.account.ldap.LdapProvisioning.autoProvAccountEager(LdapProvisioning.java:1186)
        at com.zimbra.cs.account.AutoProvisionThread.run(AutoProvisionThread.java:150)
Caused by: LDAPException(resultCode=49 (invalid credentials), errorMessage='80090308: LdapErr: DSID-0C0903CF, comment: AcceptSecurityContext error, data 52e, v2580.', diagnosticMessage='80090308: LdapErr: DSID-0C0903CF, comment: AcceptSe
curityContext error, data 52e, v2580.')
        at com.unboundid.ldap.sdk.LDAPConnection.bind(LDAPConnection.java:1894)
        at com.unboundid.ldap.sdk.LDAPConnectionPool.createConnection(LDAPConnectionPool.java:988)
        at com.unboundid.ldap.sdk.LDAPConnectionPool.getConnection(LDAPConnectionPool.java:1399)
        at com.zimbra.cs.ldap.unboundid.UBIDLdapOperation$GetConnection.execute(UBIDLdapOperation.java:189)
        at com.zimbra.cs.ldap.unboundid.UBIDLdapContext.getConnection(UBIDLdapContext.java:200)
        ... 10 more
2017-08-24 06:42:04,762 INFO  [AutoProvision] [] autoprov - Sleeping for 60000 milliseconds.
2017-08-24 06:42:16,640 INFO  [qtp127618319-7252:https:https://mail.strexp.com:7071/service/admin/soap/NoOpRequest] [name=bond1211@strexp.com;mid=230;oip=192.168.10.152;port=34528;ua=ZimbraWebClient - GC60 (Win);] soap - NoOpRequest elap
sed=1
2017-08-24 06:42:29,679 INFO  [ImapSSLServer-84] [name=smetanin.a.n@strexp.com;mid=274;ip=192.168.10.7;oip=94.100.181.39;via=192.168.10.7(nginx/1.7.1);ua=Zimbra/8.7.11_GA_1854;] imap - IDLE elapsed=2
2017-08-24 06:42:29,697 INFO  [ImapSSLServer-83] [name=smetanin.a.n@strexp.com;mid=274;ip=192.168.10.7;oip=94.100.181.39;via=192.168.10.7(nginx/1.7.1);ua=Zimbra/8.7.11_GA_1854;] imap - CLOSE elapsed=4
2017-08-24 06:42:29,712 INFO  [ImapSSLServer-84] [name=smetanin.a.n@strexp.com;ip=192.168.10.7;oip=94.100.181.39;via=192.168.10.7(nginx/1.7.1);ua=Zimbra/8.7.11_GA_1854;] imap - LIST elapsed=1
2017-08-24 06:42:29,727 INFO  [ImapSSLServer-83] [name=smetanin.a.n@strexp.com;ip=192.168.10.7;oip=94.100.181.39;via=192.168.10.7(nginx/1.7.1);ua=Zimbra/8.7.11_GA_1854;] imap - STATUS elapsed=0
2017-08-24 06:42:29,746 INFO  [ImapSSLServer-84] [name=smetanin.a.n@strexp.com;ip=192.168.10.7;oip=94.100.181.39;via=192.168.10.7(nginx/1.7.1);ua=Zimbra/8.7.11_GA_1854;] imap - copying message data from existing session: INBOX
2017-08-24 06:42:29,747 INFO  [ImapSSLServer-84] [name=smetanin.a.n@strexp.com;ip=192.168.10.7;oip=94.100.181.39;via=192.168.10.7(nginx/1.7.1);ua=Zimbra/8.7.11_GA_1854;] imap - selected folder INBOX
2017-08-24 06:42:29,747 INFO  [ImapSSLServer-84] [name=smetanin.a.n@strexp.com;ip=192.168.10.7;oip=94.100.181.39;via=192.168.10.7(nginx/1.7.1);ua=Zimbra/8.7.11_GA_1854;] imap - SELECT elapsed=6
2017-08-24 06:42:29,763 INFO  [ImapSSLServer-83] [name=smetanin.a.n@strexp.com;mid=274;ip=192.168.10.7;oip=94.100.181.39;via=192.168.10.7(nginx/1.7.1);ua=Zimbra/8.7.11_GA_1854;] imap - IDLE elapsed=0


# name mail.strexp.com

Code: Select all

zimbraAdminPort: 7071
zimbraAdminProxyPort: 9071
zimbraImapBindPort: 7143
zimbraImapCleartextLoginEnabled: TRUE
zimbraImapProxyBindPort: 143
zimbraImapSSLBindPort: 7993
zimbraImapSSLProxyBindPort: 993
zimbraMailMode: both
zimbraMailPort: 8080
zimbraMailProxyPort: 80
zimbraMailReferMode: reverse-proxied
zimbraMailSSLPort: 8443
zimbraMailSSLProxyPort: 443
zimbraPop3BindPort: 7110
zimbraPop3CleartextLoginEnabled: TRUE
zimbraPop3ProxyBindPort: 110
zimbraPop3SSLBindPort: 7995
zimbraPop3SSLProxyBindPort: 995
zimbraReverseProxyAdminEnabled: TRUE
zimbraReverseProxyHttpEnabled: TRUE
zimbraReverseProxyLookupTarget: TRUE
zimbraReverseProxyMailEnabled: TRUE
zimbraReverseProxyMailMode: https
zimbraReverseProxySSLToUpstreamEnabled: TRUE

zimbraServiceEnabled: mailbox
zimbraServiceEnabled: proxy
zimbraServiceEnabled: memcached

lsof -i :11211

Code: Select all

COMMAND    PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
memcached 3863 zimbra   26u  IPv4  43064      0t0  TCP *:memcache (LISTEN)
memcached 3863 zimbra   27u  IPv6  43065      0t0  TCP *:memcache (LISTEN)
memcached 3863 zimbra   28u  IPv4  43068      0t0  UDP *:memcache
memcached 3863 zimbra   29u  IPv4  43068      0t0  UDP *:memcache
memcached 3863 zimbra   30u  IPv4  43068      0t0  UDP *:memcache
memcached 3863 zimbra   31u  IPv4  43068      0t0  UDP *:memcache
memcached 3863 zimbra   32u  IPv6  43069      0t0  UDP *:memcache
memcached 3863 zimbra   33u  IPv6  43069      0t0  UDP *:memcache
memcached 3863 zimbra   34u  IPv6  43069      0t0  UDP *:memcache
memcached 3863 zimbra   35u  IPv6  43069      0t0  UDP *:memcache
memcached 3863 zimbra   36u  IPv4  43143      0t0  TCP mail.strexp.com:memcache->mail.strexp.com:43372 (ESTABLISHED)
memcached 3863 zimbra   37u  IPv4  43147      0t0  TCP mail.strexp.com:memcache->mail.strexp.com:43373 (ESTABLISHED)
memcached 3863 zimbra   38u  IPv4  43148      0t0  TCP mail.strexp.com:memcache->mail.strexp.com:43374 (ESTABLISHED)
memcached 3863 zimbra   39u  IPv4  43149      0t0  TCP mail.strexp.com:memcache->mail.strexp.com:43375 (ESTABLISHED)
nginx     3886 zimbra   14u  IPv4  43145      0t0  TCP mail.strexp.com:43375->mail.strexp.com:memcache (ESTABLISHED)
nginx     3887 zimbra   16u  IPv4  43144      0t0  TCP mail.strexp.com:43374->mail.strexp.com:memcache (ESTABLISHED)
nginx     3888 zimbra   18u  IPv4  43142      0t0  TCP mail.strexp.com:43372->mail.strexp.com:memcache (ESTABLISHED)
nginx     3889 zimbra   20u  IPv4  43146      0t0  TCP mail.strexp.com:43373->mail.strexp.com:memcache (ESTABLISHED)


lsof -i :443

Code: Select all

COMMAND  PID   USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
nginx   3886 zimbra   10u  IPv4   43128      0t0  TCP *:https (LISTEN)
nginx   3887 zimbra   10u  IPv4   43128      0t0  TCP *:https (LISTEN)
nginx   3888 zimbra   10u  IPv4   43128      0t0  TCP *:https (LISTEN)
nginx   3889 zimbra   10u  IPv4   43128      0t0  TCP *:https (LISTEN)
nginx   3889 zimbra   25u  IPv4 2935192      0t0  TCP mail.strexp.com:https->192.168.10.107:59083 (ESTABLISHED)
nginx   3889 zimbra   26u  IPv4 2935194      0t0  TCP mail.strexp.com:https->16.46.21.213.at-home.ru:54066 (ESTABLISHED)


lsof -i :80
Empty
lsof -i :8080
Empty

grep zm_lookup_handlers /opt/zimbra/conf/nginx/includes/nginx.conf.zmlookup
z

Code: Select all

m_lookup_handlers  https://192.168.10.7:7072/service/extension/nginx-lookup;


zmcontrol status

Code: Select all

Host mail.strexp.com
        amavis                  Running
        antispam                Running
        antivirus               Running
        cbpolicyd               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

Return to “Русский язык-фор”

Who is online

Users browsing this forum: No registered users and 1 guest