Docker Zimbra not starting

Running our Appliance (ZCA), ZCS on VMware, or any other virtual machine software? Post your thoughts here.
User avatar
Grixy
Posts: 2
Joined: Thu Apr 12, 2018 9:29 pm

Docker Zimbra not starting

Post by Grixy »

Hello!

I'm trying to start up Zimbra using docker, however I seem to keep running into issues when starting the container after pulling it.

I use the following command to start the container:

Code: Select all

docker run -p 35:25 -p 8021:80 -p 465:465 -p 587:587 -p 110:110 -p 143:143 -p 993:993 -p 995:995 -p 7443:443 -p 8082:8080 -p 8443:8443 -p 7071:7071 -p 9071:9071 -h webmail.[hidden].com--dns 8.8.8.8 -i -t -e PASSWORD=[hidden] jorgedlcruz/zimbra
The port configuration is due to other installations running on the machine, but I seem unable to even start it.
The following output is given upon using above command:

Code: Select all

Configuring DNS Server
 * Restarting DNS forwarder and DHCP server configuration syntax check                                                                                                                                                                                  [fail] 
Downloading Zimbra Collaboration 8.7.11
--2018-04-12 21:25:23--  https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956.tgz
Resolving files.zimbra.com (files.zimbra.com)... 54.192.198.49
Connecting to files.zimbra.com (files.zimbra.com)|54.192.198.49|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 267603851 (255M) [binary/octet-stream]
Saving to: '/opt/zimbra-install/zimbra-zcs-8.7.11.tar.gz'

/opt/zimbra-install/zimbra-zcs-8.7.11.tar.gz                    100%[======================================================================================================================================================>] 255.21M  34.9MB/s    in 6.7s    

2018-04-12 21:25:30 (38.2 MB/s) - '/opt/zimbra-install/zimbra-zcs-8.7.11.tar.gz' saved [267603851/267603851]

Extracting files from the archive
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/README.txt
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/addUser.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/globals.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/modules/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/modules/packages.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/modules/getconfig.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/modules/postinstall.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/utilfunc.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/readme_binary_en_US.txt
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/lib/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/lib/jars/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-store_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-mta_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-logger_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-apache_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-proxy_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-snmp_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-ldap_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-core_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-spell_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-dnscache_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/zcl.txt
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/Migration_Exch_Admin.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/User Instructions for ZCS Import Wizard.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/zimbra_user_guide.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/Fedora Server Config.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/quick_start.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/Import_Wizard_Outlook.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/admin.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/MigrationWizard_Domino.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/MigrationWizard.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/RNZCSO_2005Beta.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/OSmultiserverinstall.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/Zimbra iCalendar Migration Guide.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/data/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/data/versions-init.sql
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/install.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/bin/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/bin/checkService.pl
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/bin/checkLicense.pl
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/bin/get_plat_tag.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/bin/zmValidateLdap.pl
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/bin/zmdbintegrityreport
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/.BUILD_TYPE
Installing Zimbra Collaboration just the Software

Operations logged to /tmp/install.log.rJRbWY5R
Checking for existing installation...
    zimbra-chat...NOT FOUND
    zimbra-drive...NOT FOUND
    zimbra-suiteplus...NOT FOUND
    zimbra-ldap...NOT FOUND
    zimbra-logger...NOT FOUND
    zimbra-mta...NOT FOUND
    zimbra-dnscache...NOT FOUND
    zimbra-snmp...NOT FOUND
    zimbra-store...NOT FOUND
    zimbra-apache...NOT FOUND
    zimbra-spell...NOT FOUND
    zimbra-convertd...NOT FOUND
    zimbra-memcached...NOT FOUND
    zimbra-proxy...NOT FOUND
    zimbra-archiving...NOT FOUND
    zimbra-core...NOT FOUND


----------------------------------------------------------------------
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
SYNACOR, INC. ("SYNACOR") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for this Zimbra Collaboration Suite Software:
https://www.zimbra.com/license/zimbra-public-eula-2-6.html
----------------------------------------------------------------------



Do you agree with the terms of the software license agreement? [N] 




Use Zimbra's package repository [Y] 
Importing Zimbra GPG key

Configuring package repository
ERROR: Unable to install packages via apt-get
Please fix system to allow normal package installation before proceeding
Installing Zimbra Collaboration injecting the configuration
/opt/start.sh: line 140: /opt/zimbra/libexec/zmsetup.pl: No such file or directory
No passwd entry for user 'zimbra'
You can access now to your Zimbra Collaboration Server
But unfortunately, nothing is happening.
Any help in the right direction will be greatly appreciated!
adrianwi
Posts: 1
Joined: Sat May 26, 2018 10:40 am

Re: Docker Zimbra not starting

Post by adrianwi »

Sorry, first post so should probably say hello somewhere (hello!) but I'm trying pretty much the same thing with similar success, or not.

I already have something running on port 8080 so had changed to 8181, but otherwise I've kept the ports the same.

Did you find a solution to this?

I'm guessing the Docker install it's not really supported by Zimbra, hence the lack of response.
User avatar
Grixy
Posts: 2
Joined: Thu Apr 12, 2018 9:29 pm

Re: Docker Zimbra not starting

Post by Grixy »

Hi, Sorry no I haven't been able to make it work unfortunately.
I found something similar for Docker that works for me, which I still use.

It's called Mailcow, Here´s a link with a guide to set it up for your Docker: https://goo.gl/pVaLqZ :)

Good luck!
User avatar
tgx
Outstanding Member
Outstanding Member
Posts: 308
Joined: Fri Sep 12, 2014 10:06 pm
Location: USA
ZCS/ZD Version: 8.8.15 CentOS 7.6.180

Re: Docker Zimbra not starting

Post by tgx »

Do you agree with the terms of the software license agreement? [N]

Use Zimbra's package repository [Y]
Importing Zimbra GPG key

Configuring package repository
ERROR: Unable to install packages via apt-get
Please fix system to allow normal package installation before proceeding
Installing Zimbra Collaboration injecting the configuration
/opt/start.sh: line 140: /opt/zimbra/libexec/zmsetup.pl: No such file or directory
No passwd entry for user 'zimbra'
You can access now to your Zimbra Collaboration Server[/code]

But unfortunately, nothing is happening.
Any help in the right direction will be greatly appreciated!
Ummm, you didn't agree to the licensing agreement...
yasanthau
Advanced member
Advanced member
Posts: 57
Joined: Sat Sep 13, 2014 12:52 am

Re: Docker Zimbra not starting

Post by yasanthau »

Hi,

I also get the same error. How can we provide "Yes" to "software license agreement?" when running docker.
Alexis20
Posts: 2
Joined: Wed Oct 23, 2019 5:39 pm

Re: Docker Zimbra not starting

Post by Alexis20 »

Grixy wrote:Hello!

I'm trying to start up Zimbra using docker, however I seem to keep running into issues when starting the container after pulling it.

I use the following command to start the container:

Code: Select all

docker run -p 35:25 -p 8021:80 -p 465:465 -p 587:587 -p 110:110 -p 143:143 -p 993:993 -p 995:995 -p 7443:443 -p 8082:8080 -p 8443:8443 -p 7071:7071 -p 9071:9071 -h webmail.[hidden].com--dns 8.8.8.8 -i -t -e PASSWORD=[hidden] jorgedlcruz/zimbra
The port configuration is due to other installations running on the machine, but I seem unable to even start it.
The following output is given upon using above command:

Code: Select all

Configuring DNS Server
 * Restarting DNS forwarder and DHCP server configuration syntax check                                                                                                                                                                                  [fail] 
Downloading Zimbra Collaboration 8.7.11
--2018-04-12 21:25:23--  https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956.tgz
Resolving files.zimbra.com (files.zimbra.com)... 54.192.198.49
 [url=http://www.rachat-de-credit-simulation.com/rachat-de-credit] Rachat de crédit plus rallonge argent[/url]
Connecting to files.zimbra.com (files.zimbra.com)|54.192.198.49|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 267603851 (255M) [binary/octet-stream]
Saving to: '/opt/zimbra-install/zimbra-zcs-8.7.11.tar.gz'

/opt/zimbra-install/zimbra-zcs-8.7.11.tar.gz                    100%[======================================================================================================================================================>] 255.21M  34.9MB/s    in 6.7s    

2018-04-12 21:25:30 (38.2 MB/s) - '/opt/zimbra-install/zimbra-zcs-8.7.11.tar.gz' saved [267603851/267603851]

Extracting files from the archive
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/README.txt
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/addUser.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/globals.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/modules/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/modules/packages.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/modules/getconfig.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/modules/postinstall.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/util/utilfunc.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/readme_binary_en_US.txt
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/lib/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/lib/jars/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-store_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-mta_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-logger_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-apache_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-proxy_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-snmp_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-ldap_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-core_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-spell_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/packages/zimbra-dnscache_8.7.11.GA.1854.UBUNTU16.64_amd64.deb
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/zcl.txt
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/Migration_Exch_Admin.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/User Instructions for ZCS Import Wizard.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/zimbra_user_guide.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/Fedora Server Config.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/quick_start.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/Import_Wizard_Outlook.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/admin.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/MigrationWizard_Domino.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/MigrationWizard.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/RNZCSO_2005Beta.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/OSmultiserverinstall.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/docs/en_US/Zimbra iCalendar Migration Guide.pdf
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/data/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/data/versions-init.sql
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/install.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/bin/
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/bin/checkService.pl
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/bin/checkLicense.pl
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/bin/get_plat_tag.sh
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/bin/zmValidateLdap.pl
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/bin/zmdbintegrityreport
zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956/.BUILD_TYPE
Installing Zimbra Collaboration just the Software

Operations logged to /tmp/install.log.rJRbWY5R
Checking for existing installation...
    zimbra-chat...NOT FOUND
    zimbra-drive...NOT FOUND
    zimbra-suiteplus...NOT FOUND
    zimbra-ldap...NOT FOUND
    zimbra-logger...NOT FOUND
    zimbra-mta...NOT FOUND
    zimbra-dnscache...NOT FOUND
    zimbra-snmp...NOT FOUND
    zimbra-store...NOT FOUND
    zimbra-apache...NOT FOUND
    zimbra-spell...NOT FOUND
    zimbra-convertd...NOT FOUND
    zimbra-memcached...NOT FOUND
    zimbra-proxy...NOT FOUND
    zimbra-archiving...NOT FOUND
    zimbra-core...NOT FOUND


----------------------------------------------------------------------
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
SYNACOR, INC. ("SYNACOR") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for this Zimbra Collaboration Suite Software:
https://www.zimbra.com/license/zimbra-public-eula-2-6.html
----------------------------------------------------------------------



Do you agree with the terms of the software license agreement? [N] 




Use Zimbra's package repository [Y] 
Importing Zimbra GPG key

Configuring package repository
ERROR: Unable to install packages via apt-get
Please fix system to allow normal package installation before proceeding
Installing Zimbra Collaboration injecting the configuration
/opt/start.sh: line 140: /opt/zimbra/libexec/zmsetup.pl: No such file or directory
No passwd entry for user 'zimbra'
You can access now to your Zimbra Collaboration Server
But unfortunately, nothing is happening.
Any help in the right direction will be greatly appreciated!
Hello everyone. The information is important. Thank you for entrusting them to us. By the way, I will want to know more about it if it's possible. Thank you for your return.  Good luck and strength to us. Sincerely
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

Re: Docker Zimbra not starting

Post by jholder »

Code: Select all

ERROR: Unable to install packages via apt-get
The zimbra installer uses apt for ubuntu. The image must be able to use apt and contact servers for an update. Otherwise, select n to use package repos.
crisroj
Posts: 1
Joined: Thu Mar 10, 2022 2:51 pm

Re: Docker Zimbra not starting

Post by crisroj »

Me paso el mismo error, me conecte al contenedor con sudo docker exec -it 7c3533d9208c bash (en 7c3533d9208c colocar tu id de contenedor) ejecute apt-get update, luego reinicie el contenedor y pudo continuar sin problemas.

Saludos.
md250
Posts: 1
Joined: Tue Jul 18, 2023 8:58 am

Re: Docker Zimbra not starting

Post by md250 »

Hello everyone,

Has anyone managed to dockerize Zimbra collaboration ?
Because I have tried Jorge Image but It didn't work for me ether!

I also want to thank him for the best he tried !


Please let me know if there is anyone who managed to dockerize zimbra collaboration ,and get a ready image
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Docker Zimbra not starting

Post by phoenix »

Is the internet search function not working? Try the following search and try some of the solutions you'll find:

Code: Select all

zimbra docker container
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Post Reply