Skip to content

Instantly share code, notes, and snippets.

View gordyt's full-sized avatar

Gordon Tillman gordyt

  • Rebellion Defense
  • Houston, Texas
View GitHub Profile
@gordyt
gordyt / mailbox.log
Created May 31, 2018 22:07
2018-05-31_bc.lonni.me_box.1_mailbox.log
2018-05-31 21:16:18,027 INFO [mailboxd.csv] [] cache - setting message cache size to 2000
2018-05-31 21:16:26,931 INFO [qtp1644443712-11:https:https://localhost:7071/service/admin/soap/AuthRequest] [name=zimbra;ua=ZCS;soapId=64853580;] soap - AuthRequest elapsed=23
2018-05-31 21:16:27,166 INFO [qtp1644443712-18:https:https://localhost:7071/service/admin/soap/CreateGalSyncAccountRequest] [name=zimbra;ua=ZCS;soapId=64853581;] index - Created SolrCloudFactory
2018-05-31 21:16:27,390 INFO [qtp1644443712-18:https:https://localhost:7071/service/admin/soap/CreateGalSyncAccountRequest] [name=zimbra;ua=ZCS;soapId=64853581;] index - Using Index Store SolrIndex
2018-05-31 21:16:27,399 INFO [qtp1644443712-18:https:https://localhost:7071/service/admin/soap/CreateGalSyncAccountRequest] [name=zimbra;ua=ZCS;soapId=64853581;] mbxmgr - Mailbox 1 account 9d1ca237-6c32-448d-ae69-64ea99788cab LOADED
2018-05-31 21:16:27,424 INFO [qtp1644443712-18:https:https://localhost:7071/service/admin/soap/CreateGalSyncAccountRequest] [n
@Matt Carlucci Here is a sample. I enabled debug output so you could see all the gory details. Noted that it does show the extracted salt value you were asking about. It is in the `ZM_JWT` cookie (as documented in the J`WT_Zimbra_v2.pdf` document that Michael shared to the channel.
ubuntu@ip-10-0-126-46:~/Projects/z/zm-docker$ make-jwt-request --user admin --pw test123 --debug --refresh
Forcing refresh of JWT info for admin
---------- STDOUT from SOAP request start ----------
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><change token="1"/></context></soap:Header><soap:Body><AuthResponse xmlns="urn:zimbraAccount"><authToken>eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxOWZiMzdiMS01Y2Y1LTQxNDMtYTg3NS1iNTRmN2RkYmUyYmQiLCJpYXQiOjE1Mjc3MDczNzIsImV4cCI6MTUyNzg4MDE3MiwianRpIjoiOTBiZTM0MGYtMDNmOC00NzcwLWJiNjItNTdhNDdmNGQ2MjliIiwiYWRtaW4iOmZhbHNlLCJkb21haW4iOmZhbHNlLCJkbGdhZG1pbiI6ZmFsc2UsInR5cGUiOiJ6aW1icmEiLCJ2ZXJzaW9uIjoiOF85XzBfYmV0YV8xMDAwIiwiY3NyZiI6ZmFsc2U
@gordyt
gordyt / 2018-05-24_mailbox.log
Created May 24, 2018 19:52
Testing with feature/ZCS-4437-rebased
2018-05-24 19:44:53,713 WARN [qtp1644443712-152:https:https://zmc.com:8443/service/soap/AutoCompleteRequest] [name=test1@zmc.com;mid=2;ip=10.0.0.19;port=44140;ua=ZimbraWebClient - GC66 (Win)/8.9.0_beta_1000;soapId=61232334;] CloudSolrClient - Re-trying request to collection(s) [mailbox_index] after stale state error from server.
2018-05-24 19:44:53,714 ERROR [qtp1644443712-152:https:https://zmc.com:8443/service/soap/AutoCompleteRequest] [name=test1@zmc.com;mid=2;ip=10.0.0.19;port=44140;ua=ZimbraWebClient - GC66 (Win)/8.9.0_beta_1000;soapId=61232334;] CloudSolrClient - Request to collection [mailbox_index] failed due to (510) org.apache.solr.common.SolrException: Could not find a healthy node to handle the request., retry? 5
2018-05-24 19:44:53,714 WARN [qtp1644443712-152:https:https://zmc.com:8443/service/soap/AutoCompleteRequest] [name=test1@zmc.com;mid=2;ip=10.0.0.19;port=44140;ua=ZimbraWebClient - GC66 (Win)/8.9.0_beta_1000;soapId=61232334;] SoapEngine - handler exception
com.zimbra.common.service.Servic
@gordyt
gordyt / mail.log
Created May 17, 2018 22:34
This is from the MTA on a test machine. Need to figure out what settings to change to secure it
May 17 22:16:44 zmc-mta postfix/smtp[28394]: warning: open active 2DBFE6C83F1D: No such file or directory
May 17 22:16:44 zmc-mta postfix/smtp[28392]: warning: open active 2F23E6C918A1: No such file or directory
May 17 22:16:44 zmc-mta postfix/smtp[28393]: warning: open active 2F23E6C918A1: No such file or directory
May 17 22:16:44 zmc-mta postfix/error[28320]: 75D086CADEB9: to=<ehaupt@centurylink.net>, relay=none, delay=105353, delays=105353/0.04/0/0.01, dsn=4.7.1, status=deferred (delivery temporarily suspended: host mx.centurylink.net[206.152.134.65] refused to talk to me: 550 5.7.1 [C16] CSS Restriction: See https://www.spamhaus.org/sbl/query/SBLCSS)
May 17 22:16:44 zmc-mta postfix/smtp[28395]: warning: open active 291676CB3236: No such file or directory
May 17 22:16:44 zmc-mta postfix/smtp[28391]: warning: open active 291676CB3236: No such file or directory
May 17 22:16:44 zmc-mta postfix/smtp[28393]: warning: open active 26C666CBEE17: No such file or directory
May 17 22:16:44 zmc-mta postfix/smtp[28396
zm-docker_zmc-zookeeper3.1.3ls481jw3pkr@linuxkit-00155de2e017 | Initializing Zookeeper...
zm-docker_zmc-zookeeper3.1.3ls481jw3pkr@linuxkit-00155de2e017 | ZooKeeper JMX enabled by default
zm-docker_zmc-zookeeper3.1.3ls481jw3pkr@linuxkit-00155de2e017 | Using config: /conf/zoo.cfg
zm-docker_zmc-zookeeper3.1.3ls481jw3pkr@linuxkit-00155de2e017 | 2018-05-15 00:17:56,739 [myid:] - INFO [main:QuorumPeerConfig@136] - Reading configuration from: /conf/zoo.cfg
zm-docker_zmc-zookeeper3.1.3ls481jw3pkr@linuxkit-00155de2e017 | 2018-05-15 00:17:56,752 [myid:] - INFO [main:QuorumPeer$QuorumServer@184] - Resolved hostname: 0.0.0.0 to address: /0.0.0.0
zm-docker_zmc-zookeeper3.1.3ls481jw3pkr@linuxkit-00155de2e017 | 2018-05-15 00:17:56,792 [myid:] - WARN [main:QuorumPeer$QuorumServer@190] - Failed to resolve address: zmc-zookeeper2
zm-docker_zmc-zookeeper3.1.3ls481jw3pkr@linuxkit-00155de2e017 | java.net.UnknownHostException: zmc-zookeeper2: Name does not resolve
zm-docker_zmc-zookeeper3.1.3ls481jw3pkr@lin
zm-docker_zmc-zookeeper2.1.yto180djc7is@linuxkit-00155de2e017 | Initializing Zookeeper...
zm-docker_zmc-zookeeper2.1.yto180djc7is@linuxkit-00155de2e017 | ZooKeeper JMX enabled by default
zm-docker_zmc-zookeeper2.1.yto180djc7is@linuxkit-00155de2e017 | Using config: /conf/zoo.cfg
zm-docker_zmc-zookeeper2.1.yto180djc7is@linuxkit-00155de2e017 | 2018-05-15 00:17:48,565 [myid:] - INFO [main:QuorumPeerConfig@136] - Reading configuration from: /conf/zoo.cfg
zm-docker_zmc-zookeeper2.1.yto180djc7is@linuxkit-00155de2e017 | 2018-05-15 00:17:48,627 [myid:] - WARN [main:QuorumPeer$QuorumServer@190] - Failed to resolve address: zmc-zookeeper3
zm-docker_zmc-zookeeper2.1.yto180djc7is@linuxkit-00155de2e017 | java.net.UnknownHostException: zmc-zookeeper3: Name does not resolve
zm-docker_zmc-zookeeper2.1.yto180djc7is@linuxkit-00155de2e017 | at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
zm-docker_zmc-zookeeper2.1.yto180djc7is@linuxkit-00155de2e017 | at java.net.InetAddress$2.lookupAllHo
zm-docker_zmc-zookeeper1.1.jaueyfz6rg5k@linuxkit-00155de2e017 | Initializing Zookeeper...
zm-docker_zmc-zookeeper1.1.jaueyfz6rg5k@linuxkit-00155de2e017 | ZooKeeper JMX enabled by default
zm-docker_zmc-zookeeper1.1.jaueyfz6rg5k@linuxkit-00155de2e017 | Using config: /conf/zoo.cfg
zm-docker_zmc-zookeeper1.1.jaueyfz6rg5k@linuxkit-00155de2e017 | 2018-05-15 00:17:54,151 [myid:] - INFO [main:QuorumPeerConfig@136] - Reading configuration from: /conf/zoo.cfg
zm-docker_zmc-zookeeper1.1.jaueyfz6rg5k@linuxkit-00155de2e017 | 2018-05-15 00:17:54,210 [myid:] - WARN [main:QuorumPeer$QuorumServer@190] - Failed to resolve address: zmc-zookeeper3
zm-docker_zmc-zookeeper1.1.jaueyfz6rg5k@linuxkit-00155de2e017 | java.net.UnknownHostException: zmc-zookeeper3: Name does not resolve
zm-docker_zmc-zookeeper1.1.jaueyfz6rg5k@linuxkit-00155de2e017 | at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
zm-docker_zmc-zookeeper1.1.jaueyfz6rg5k@linuxkit-00155de2e017 | at java.net.InetAddress$2.lookupAllHo
zm-docker_zmc-solr.1.hydkk9w05m2y@linuxkit-00155de2e017 | Started polling the ZooKeeper1 for response...
zm-docker_zmc-solr.1.hydkk9w05m2y@linuxkit-00155de2e017 | Tue May 15 00:17:46 UTC 2018 - still trying for getting response from ZooKeeper1...
zm-docker_zmc-solr.1.hydkk9w05m2y@linuxkit-00155de2e017 | % Total % Received % Xferd Average Speed Time Time Time Current
zm-docker_zmc-solr.1.hydkk9w05m2y@linuxkit-00155de2e017 | Dload Upload Total Spent Left Speed
zm-docker_zmc-solr.1.hydkk9w05m2y@linuxkit-00155de2e017 |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: zmc-zookeeper1
zm-docker_zmc-solr.1.hydkk9w05m2y@linuxkit-00155de2e017 | Tue May 15 00:17:53 UTC 2018 - still trying for getting response from ZooKeeper1...
zm-docker_zmc-solr.1.hydkk9w05m2y@linuxkit-00155de2e017 | % Total % Re
@gordyt
gordyt / mailbox.log
Created April 24, 2018 19:39
2018-04-24, 14:39 - testing feature/develop-wip branch of zm-docker
2018-04-24 19:28:37,627 INFO [qtp1644443712-101:https:https://localhost:7071/service/admin/soap/CreateGalSyncAccountRequest] [name=zimbra;ua=ZCS;soapId=17b1d8e4;] datasource - Updating schedule for data source InternalGAL
2018-04-24 19:28:37,632 INFO [qtp1644443712-101:https:https://localhost:7071/service/admin/soap/CreateGalSyncAccountRequest] [name=zimbra;ua=ZCS;soapId=17b1d8e4;] soap - CreateGalSyncAccountRequest elapsed=5470
2018-04-24 19:28:37,633 WARN [Timer-Zimbra] [] share - error while processing share start notification
LDAPSDKUsageException(message='A null object was provided where a non-null object is required (non-null index 1). Thread stack trace: getStackTrace(Thread.java:1559) / ensureNotNull(Validator.java:119) / addAttribute(Entry.java:1243) / setAttr(UBIDMutableEntry.java:69) / createShareLocator(LdapProvisioning.java:3948) / createShareLocator(Provisioning.java:2467) / run(ShareStartStopListener.java:101) / mainLoop(Timer.java:555) / run(Timer.java:505)')
at com.unboundid.util.Valida
@gordyt
gordyt / mailbox.log
Created April 24, 2018 14:24
2018-04-24, 09:20 - zm-docker, develop-wip, mailbox.log, annotated
-------------------------------------------------------------------------------
Issue 1
NOTE: Believe was indirectly caused by Issue 2 (see below).
-------------------------------------------------------------------------------
2018-04-24 03:44:47,167 WARN [qtp1644443712-102:https:https://localhost:7071/service/admin/soap/CreateGalSyncAccountRequest] [name=zimbra;ua=ZCS;soapId=cbedd56;] SoapEngine - handler exception
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider.<clinit>(ZkClientClusterStateProvider.java:39)
at com.zimbra.cs.index.solr.SolrUtils.getCloudSolrClient(SolrUtils.java:234)