Exporter registered; 0 objects queued
-
Hi Folks,
Z-Push Version:2.4.4+0
I recently moved Zimbra and z-push stopped working as well. Since I only have three users, I decided to “reset” z-push by:
- Stopping php-fpm
- Moving /var/lib/z-push/users and the sync subdirectories to the attic, and creating a new, empty /var/lib/z-push/users with suitable ownership and permissions
- Force stopping the email application on the phone and clearing all storage
- Starting php-fpm
- Creating an Exchange Server email account on the phone.
This partially worked. I get folders, but I get no messages. The phone advertises, “Getting your messages …” but z-push-top shows little or no activity and what activity it does show includes “… Exporter registered; 0 objects queued”. Needless to say, no messages ever appear.
This has been working flawlessly for quite some time, so I’m mystified what change has caused this interruption.
Thanks for the help,
Chris.
-
Hi Folks,
It occured to me that there must be a log somewhere, so I looked and found /var/log/z-push/z-push-error.log:
08/01/2021 09:32:38 [ 4419] [ERROR] [#unknown] Zimbra->SoapRequest(): ERROR: curl_exec - (7) Failed to connect to 10.1.1.12: Permission denied
So, that is consistent with what I am seeing… No messages. I don’t understand why I do see the folders. Regardless …
… and a few lines earlier:
08/01/2021 09:32:37 [ 4419] [WARN] [#unknown] Zimbra->GetUserInfo(): Overriding ZIMBRA_URL [https://mail.tclc.org] from config.php with ZIMBRA publicURL [http://mail.tclc.org:8080] 08/01/2021 09:32:37 [ 4419] [WARN] [#unknown] Zimbra->GetUserInfo(): Overriding Logon URL [https://mail.tclc.org/service/soap/] with ZIMBRA soapURL [http://mail.tclc.org:8080/service/soap/]
… which prompts the question:
netstat -tnlp | grep 8080 tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 27294/java
So, when I say “moved” zimbra, I mean “changed IP address”, which has SSL/TLS security cert consequences, but I addressed those and web access to Zimbra is working just fine. The browser indicates satisfaction with the SSL/TLS configuration.
Anyway, can anybody help me understand what is happening?
Thanks for the help,
Chris.
-
The curl error 7 may be the result of selinux or a firewall rule…
Z-Push 2.4.4 is quite old - 2.6.2 is the most recent version.
There is an option in your Zimbra backends config.php called:
define(‘ZIMBRA_DISABLE_URL_OVERRIDE’, true);This should prevent it from happening, but it should be corrected at the source.
I don’t know Zimbra, but it has be configureable somewhere. -
@cjm51213 Sorry, I never noticed your post.
If you log into the Zimbra admin, and go to Configure->Domains-><your domain>
You will see the 3 settings.
Public service hostname
Public service protocol
Public service portThese are what z-push picks up from the user session when it first connects - as in a multi-server environment it is important to connect to the actual MTA that hosts the user’s account. It overrides whatever you have set in your ZIMBRA_URL with a url constructed from these values.
It sounds like you may have changed the zimbra proxy settings during your “move” which can cause this issue.
The reason that the folder list gets populated is that is is also returned in the payload from the initial login request. The reason no other data gets populated is that a connection cannot be made to the overridden ZIMBRA_URL (as described above)
I suggest you check out the zimbra wiki proxy page to check if you have configured your proxy correctly. https://wiki.zimbra.com/wiki/Enabling_Zimbra_Proxy_and_memcached