Zimbra docs "Connection refused"

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
winproof
Posts: 18
Joined: Thu Aug 29, 2019 10:38 pm
ZCS/ZD Version: 9.0.0_GA_3976

Re: Zimbra docs "Connection refused"

Post by winproof »

Support team work on ;)

last answer to my support ticket (27/09) :
Hello Team,

This case is still with engineering team. We'll update you shortly.

Thanks,
Navdeep Mathur
Sr. Technical Support Engineer
Synacor Inc.

Manager Assistance: zimbra-escalation@synacor.com
Pierre C.
Posts: 6
Joined: Fri Jun 23, 2017 6:05 am

Re: Zimbra docs "Connection refused"

Post by Pierre C. »

Sorry in advance for my poor English. But if it helps anyone, here is how I successfully started Zimbra Docs on my newly installed Ubuntu 18.04:

Code: Select all

wget http://archive.ubuntu.com/ubuntu/pool/universe/p/poco/libpocofoundation60_1.9.0-5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/poco/libpococrypto60_1.9.0-5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/poco/libpocoxml60_1.9.0-5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/poco/libpocojson60_1.9.0-5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/poco/libpocoutil60_1.9.0-5_amd64.deb
apt install ./libpocofoundation60_1.9.0-5_amd64.deb
apt install ./libpococrypto60_1.9.0-5_amd64.deb
apt install ./libpocoxml60_1.9.0-5_amd64.deb
apt install ./libpocojson60_1.9.0-5_amd64.deb
apt install ./libpocoutil60_1.9.0-5_amd64.deb
In fact I just downloaded the deb packages (libpococrypto and libpocoutil) for Ubuntu version 19.04 (and their dependencies), and deployed them.
After that Zimbra Docs started as expected :

Code: Select all

# systemctl restart zimbra-docs-server
# systemctl status zimbra-docs-server
● zimbra-docs-server.service - Zimbra Docs Server
   Loaded: loaded (/lib/systemd/system/zimbra-docs-server.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-10-20 21:19:07 CEST; 28s ago
 Main PID: 18094 (loolwsd)
    Tasks: 13 (limit: 2319)
   CGroup: /system.slice/zimbra-docs-server.service
           ├─18094 /opt/zimbra/docs/lool/bin/loolwsd --version --o:sys_template_path=/opt/zimbra/docs/generated/systemplate --o:child_root_path=/opt/zimbra/docs/generated/child-roo
           ├─18115 /opt/zimbra/docs/lool/bin/loolforkit --losubpath=lo --systemplate=/opt/zimbra/docs/generated/systemplate --lotemplate=/opt/zimbra/docs/zimbra-docs-core --childro
           ├─18136 /opt/zimbra/docs/lool/bin/loolforkit --losubpath=lo --systemplate=/opt/zimbra/docs/generated/systemplate --lotemplate=/opt/zimbra/docs/zimbra-docs-core --childro
           └─18147 /opt/zimbra/docs/lool/bin/loolforkit --losubpath=lo --systemplate=/opt/zimbra/docs/generated/systemplate --lotemplate=/opt/zimbra/docs/zimbra-docs-core --childro

oct. 20 21:19:07 ##################### loolwsd[18094]: loolforkit version details: 4.0.5 - 1d0d82f
oct. 20 21:19:08 ##################### loolwsd[18094]: Init vcl
oct. 20 21:19:11 ##################### loolwsd[18094]: preload: merged unordf ucpchelp1 msforms vbaobj pcr vbaswobj sw animcore hwp flash chartcore sc wpftcalc solver xof ucpcmis1
oct. 20 21:19:12 ##################### loolwsd[18094]: Whitelisted languages: de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru
oct. 20 21:19:14 ##################### loolwsd[18094]: Preloading dictionaries: de_DE en_US fr_FR it_IT nl_NL pt_BR ru_RU en_GB nl_BE pt_PT es_ES
oct. 20 21:19:14 ##################### loolwsd[18094]: Preloading thesauri: de_DE en_US fr_FR it_IT nl_NL pt_BR ru_RU en_GB nl_BE pt_PT es_ES
oct. 20 21:19:14 ##################### loolwsd[18094]: Preload icons
oct. 20 21:19:14 ##################### loolwsd[18094]: Preload languages
oct. 20 21:19:14 ##################### loolwsd[18094]: Preload fonts
oct. 20 21:19:16 ##################### loolwsd[18094]: office version details: { "ProductName": "zimbra-docs-core", "ProductVersion": "6.0", "ProductExtension": ".10.29", "BuildId"

Code: Select all

# netstat -taupen | grep :9980
tcp6       0      0 :::9980                 :::*                    LISTEN      112        2243865    18094/loolwsd
tcp6       0      0 10.210.4.3:9980         10.210.4.4:35346        ESTABLISHED 112        2243894    18094/loolwsd
User avatar
winproof
Posts: 18
Joined: Thu Aug 29, 2019 10:38 pm
ZCS/ZD Version: 9.0.0_GA_3976

Re: Zimbra docs "Connection refused"

Post by winproof »

Good, thanks! ;)
User avatar
Rony
Posts: 45
Joined: Fri Jan 27, 2017 3:50 pm
Location: Canada-Montreal
ZCS/ZD Version: Zimbra 9.0.0_GA_4174
Contact:

Re: Zimbra docs "Connection refused"

Post by Rony »

Hi,
I am having the same issues and the Docs Service is not starting on the zimbra 8.8.15 Network server.
I am wondering if it is something to do with the Key generation, I have generated it on the Docs side but should it be transferred to the mail server?

Code: Select all

zimbra@mail:~$ zmupdateauthkeys
Updating keys for docs.myserver.ca
Fetching key for docs.myserver.ca
Key for docs.myserver.ca NOT FOUND
connection from the Docs to Zimbra server is ok but not receiving back.

Code: Select all

zdocs ldap-test
Trying to connect to LDAP...OK
Both servers are under Ubuntu 18.04, all needed ports are opened and listening.
I saw the last post for downloading packages (libpococrypto and libpocoutil) but I don't know what this is about since it is not mentioned in the Zimbra Admin guide where it is written that no other steps are needed after installation of the server and Zimbra zimlet.
I am waiting for support login to open a ticket unless something new gets by, I don't see much help about the Docs for Zimbra on the internet, kind of mysterious, even was not easy to find this page.
I tried removing and reinstalling without success.
thank you.
User avatar
Rony
Posts: 45
Joined: Fri Jan 27, 2017 3:50 pm
Location: Canada-Montreal
ZCS/ZD Version: Zimbra 9.0.0_GA_4174
Contact:

Re: Zimbra docs "Connection refused"

Post by Rony »

I have found a workaround.
In Admin web interface on Zimbra I edited he docs...server section
In IP Address Binding I typed the docs's server IP address (ZimbraMailBindAddress) and saved it.
I can see the connection now:

Code: Select all

servers

                id                                                          15fa0f88-4432-4e60-90fd-xxxxxxxxxxx
                name                                                        docs.myserver.ca
                hostname                                                    docs.myserver.ca
                status                                                      online
                activeDocuments                                             0
                activeUsers                                                 0
                totalAvailableMemory                                        6.03 MB
                usedMemory                                                  566.09 KB
                version                                                     4.0.9

Code: Select all

netstat -taupen | grep :9980
tcp6       0      0 :::9980                 :::*                    LISTEN      113        64540      6878/loolwsd
tcp6       0      0 192.168.1.100:9980      123.123.12.123:44750    ESTABLISHED 113        67179      6878
On the server Status page, the docs service is still disconnected but I can open files from the briefcase.
I also have the Drive connected to Nextcloud but despite that Synacore advertisement on YouTube shows we can edit the files in Drive, that is not working (yet?) which is disappointing because all my documents are on the cloud-Drive section.
User avatar
zimico
Outstanding Member
Outstanding Member
Posts: 225
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.8.15 P3
Contact:

Re: Zimbra docs "Connection refused"

Post by zimico »

Hi everyone,
I am now facing the same issue with doc server. After checking, doc server is off and failed to start. I am using zimbra 9 NE patch 11 on centos 7.9, Open support case for 1 month without useful response from Zimbra support team.
When restarting the doc service, it is active and then failed immediately.
My child-roots folder is lool:lool owner.

Code: Select all

[root@doc zimbra-docs-installer]# systemctl restart zimbra-docs-server
[root@doc zimbra-docs-installer]# systemctl status zimbra-docs-server -l
● zimbra-docs-server.service - Zimbra Docs Server
   Loaded: loaded (/etc/systemd/system/zimbra-docs-server.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2021-02-19 14:57:42 +07; 228ms ago
 Main PID: 15231 (loolwsd)
   CGroup: /system.slice/zimbra-docs-server.service
           └─15231 /opt/zimbra/docs/lool/bin/loolwsd --version --o:sys_template_path=/opt/zimbra/docs/generated/systemplate --o:child_root_path=/opt/zimbra/docs/generated/child-roots --o:file_server_root_path=/opt/zimbra/docs/lool/share/loolwsd

Feb 19 14:57:42 doc.example.com systemd[1]: Started Zimbra Docs Server.
Feb 19 14:57:42 doc.example.com loolwsd[15231]: Logging at information level to file: /opt/zimbra/log/docs-server.log
Feb 19 14:57:42 doc.example.com loolwsd[15231]: /opt/zimbra/docs/lool/bin/loolmount: unmount failed to detach [/opt/zimbra/docs/generated/child-roots/lool_test_mount]: Operation not permitted.
Feb 19 14:57:42 doc.example.com loolwsd[15231]: /opt/zimbra/docs/lool/bin/loolmount: forced unmount of [/opt/zimbra/docs/generated/child-roots/lool_test_mount] failed: Operation not permitted.
Feb 19 14:57:42 doc.example.com loolwsd[15231]: /opt/zimbra/docs/lool/bin/loolmount: unmount failed to detach [/opt/zimbra/docs/generated/child-roots]: Operation not permitted.
Feb 19 14:57:42 doc.example.com loolwsd[15231]: /opt/zimbra/docs/lool/bin/loolmount: forced unmount of [/opt/zimbra/docs/generated/child-roots] failed: Operation not permitted.
Feb 19 14:57:42 doc.example.com loolwsd[15231]: /opt/zimbra/docs/lool/bin/loolmount: mount failed to bind [/opt/zimbra/docs/generated/systemplate] to [/opt/zimbra/docs/generated/child-roots/lool_test_mount]: Operation not permitted.
[root@doc zimbra-docs-installer]# systemctl status zimbra-docs-server -l
● zimbra-docs-server.service - Zimbra Docs Server
   Loaded: loaded (/etc/systemd/system/zimbra-docs-server.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Fri 2021-02-19 14:57:45 +07; 14s ago
  Process: 15248 ExecStart=/opt/zimbra/docs/lool/bin/loolwsd --version --o:sys_template_path=/opt/zimbra/docs/generated/systemplate --o:child_root_path=/opt/zimbra/docs/generated/child-roots --o:file_server_root_path=/opt/zimbra/docs/lool/share/loolwsd (code=exited, status=70)
 Main PID: 15248 (code=exited, status=70)

Feb 19 14:57:44 doc.example.com systemd[1]: zimbra-docs-server.service: main process exited, code=exited, status=70/n/a
Feb 19 14:57:44 doc.example.com systemd[1]: Unit zimbra-docs-server.service entered failed state.
Feb 19 14:57:44 doc.example.com systemd[1]: zimbra-docs-server.service failed.
Feb 19 14:57:45 doc.example.com systemd[1]: zimbra-docs-server.service holdoff time over, scheduling restart.
Feb 19 14:57:45 doc.example.com systemd[1]: Stopped Zimbra Docs Server.
Feb 19 14:57:45 doc.example.com systemd[1]: start request repeated too quickly for zimbra-docs-server.service
Feb 19 14:57:45 doc.example.com systemd[1]: Failed to start Zimbra Docs Server.
Feb 19 14:57:45 doc.example.com systemd[1]: Unit zimbra-docs-server.service entered failed state.
Feb 19 14:57:45 doc.example.com systemd[1]: zimbra-docs-server.service failed.
Ldap connection test from doc server is ok.
Zimbra can see doc server register successfully.
Firewall is turn off.

Hope someone can help.
Thanks and best regards,
Minh.
sirius1979
Posts: 1
Joined: Wed Mar 30, 2022 5:46 pm

Re: Zimbra docs "Connection refused"

Post by sirius1979 »

You could try to run following linux command to solve your issue:

setcap CAP_SYS_ADMIN+ep /opt/zimbra/docs/lool/bin/loolmount

It should solve the issue with mount/unmount
Post Reply