Can't install Zimbra
Can't install Zimbra
Hello,
first of all we are not experts so try to understand us....We would like to install Zimbra for testing pourpose
We try to install Zimbra on a Ubuntu 18.04 virtual machine hosted on xcp-ng
Our ISP defined a record A that is fl1888.it that point to 37.159.250.xy and a MX record that points to mail.fl1888.it
we have an hardware firewall that has ip 37.159.250.xy
we defined a nat rule that tranfer traffic from 37.159.259.xy to 192.168.1.12 that is the internal ip address of the VM ubuntu where we want to install zimbra
we installed dnsmaq and the dnsmaq.conf file is:
server=8.8.8.8
server=208.67.222.222
domain=fl1888.it
mx-host=fl1888.it,mail.fl1888.it,5
listen-address=127.0.0.1
the hosts file is:
127.0.0.1 localhost.localdomain localhost
192.168.1.12 mail.f11888.it mail
we try to install zimbra and we get always the same error:
ERROR: Installation can not proceeed. Please fix your /etc/hosts file
to contain:
<ip> <FQHN> <HN>
Where <IP> is the ip address of the host,
<FQHN> is the FULLY QUALIFIED host name, and
<HN> is the (optional) hostname-only portion
thanks for your help!
first of all we are not experts so try to understand us....We would like to install Zimbra for testing pourpose
We try to install Zimbra on a Ubuntu 18.04 virtual machine hosted on xcp-ng
Our ISP defined a record A that is fl1888.it that point to 37.159.250.xy and a MX record that points to mail.fl1888.it
we have an hardware firewall that has ip 37.159.250.xy
we defined a nat rule that tranfer traffic from 37.159.259.xy to 192.168.1.12 that is the internal ip address of the VM ubuntu where we want to install zimbra
we installed dnsmaq and the dnsmaq.conf file is:
server=8.8.8.8
server=208.67.222.222
domain=fl1888.it
mx-host=fl1888.it,mail.fl1888.it,5
listen-address=127.0.0.1
the hosts file is:
127.0.0.1 localhost.localdomain localhost
192.168.1.12 mail.f11888.it mail
we try to install zimbra and we get always the same error:
ERROR: Installation can not proceeed. Please fix your /etc/hosts file
to contain:
<ip> <FQHN> <HN>
Where <IP> is the ip address of the host,
<FQHN> is the FULLY QUALIFIED host name, and
<HN> is the (optional) hostname-only portion
thanks for your help!
Re: Can't install Zimbra
If you're behind a NAT router you will need a Split DNS, go to the wiki and read the article on that topic.
Re: Can't install Zimbra
We have done that....
It seems to us to have made setup as described here https://wiki.zimbra.com/index.php?title=Split_DNS
Have we done something wrong?
Thanks
It seems to us to have made setup as described here https://wiki.zimbra.com/index.php?title=Split_DNS
Have we done something wrong?
Thanks
Re: Can't install Zimbra
You haven't provided any evidence that your split dns is providing the correct answers, you can use the commands in the 'verify' section of the article.
Re: Can't install Zimbra
thanks phoneix for your help......
verify section follows...as we told you before wwe are not "experts".......
root@mail:~/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220# dig fl1888.it any
; <<>> DiG 9.11.3-1ubuntu1.15-Ubuntu <<>> fl1888.it any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5111
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 2
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;fl1888.it. IN ANY
;; ANSWER SECTION:
fl1888.it. 0 IN MX 5 mail.fl1888.it.
;; ADDITIONAL SECTION:
mail.fl1888.it. 604 IN A 37.159.250.214
;; Query time: 19 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jul 21 08:45:12 UTC 2021
;; MSG SIZE rcvd: 84
root@mail:~/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220# dig fl1888.it mx
; <<>> DiG 9.11.3-1ubuntu1.15-Ubuntu <<>> fl1888.it mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54069
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 2
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;fl1888.it. IN MX
;; ANSWER SECTION:
fl1888.it. 0 IN MX 5 mail.fl1888.it.
;; ADDITIONAL SECTION:
mail.fl1888.it. 591 IN A 37.159.250.214
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jul 21 08:45:25 UTC 2021
;; MSG SIZE rcvd: 84
root@mail:~/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220# host $(hostname)
mail.fl1888.it has address 37.159.250.214
root@mail:~/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220#
verify section follows...as we told you before wwe are not "experts".......
root@mail:~/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220# dig fl1888.it any
; <<>> DiG 9.11.3-1ubuntu1.15-Ubuntu <<>> fl1888.it any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5111
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 2
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;fl1888.it. IN ANY
;; ANSWER SECTION:
fl1888.it. 0 IN MX 5 mail.fl1888.it.
;; ADDITIONAL SECTION:
mail.fl1888.it. 604 IN A 37.159.250.214
;; Query time: 19 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jul 21 08:45:12 UTC 2021
;; MSG SIZE rcvd: 84
root@mail:~/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220# dig fl1888.it mx
; <<>> DiG 9.11.3-1ubuntu1.15-Ubuntu <<>> fl1888.it mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54069
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 2
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;fl1888.it. IN MX
;; ANSWER SECTION:
fl1888.it. 0 IN MX 5 mail.fl1888.it.
;; ADDITIONAL SECTION:
mail.fl1888.it. 591 IN A 37.159.250.214
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jul 21 08:45:25 UTC 2021
;; MSG SIZE rcvd: 84
root@mail:~/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220# host $(hostname)
mail.fl1888.it has address 37.159.250.214
root@mail:~/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220#
Re: Can't install Zimbra
Are you sure that your resolv.conf points to using the DNSMASQ server? I'm afraid I know nothing about DNSMASQ but AFAICT the config seems OK.
Here's a more complete description of a good dnsmasq config (thanks to L. Mark Stone): https://www.missioncriticalemail.com/20 ... ion-guide/
Here's a more complete description of a good dnsmasq config (thanks to L. Mark Stone): https://www.missioncriticalemail.com/20 ... ion-guide/
- JDunphy
- Outstanding Member
- Posts: 899
- Joined: Fri Sep 12, 2014 11:18 pm
- Location: Victoria, BC
- ZCS/ZD Version: 9.0.0_P39 NETWORK Edition
Re: Can't install Zimbra
Another guess given install.sh is not happy with /etc/hosts given it checks for a few things prior to new install.flitec wrote:Hello,
first of all we are not experts so try to understand us....We would like to install Zimbra for testing pourpose
We try to install Zimbra on a Ubuntu 18.04 virtual machine hosted on xcp-ng
the hosts file is:
127.0.0.1 localhost.localdomain localhost
192.168.1.12 mail.f11888.it mail
we try to install zimbra and we get always the same error:
ERROR: Installation can not proceeed. Please fix your /etc/hosts file
to contain:
<ip> <FQHN> <HN>
Where <IP> is the ip address of the host,
<FQHN> is the FULLY QUALIFIED host name, and
<HN> is the (optional) hostname-only portion
thanks for your help!
Is your hostname the same as "mail.f11888.it" that you have listed in /etc/hosts? If not add 2nd entry for that hostname or switch your hostname temporarily before running the install.sh. Probably better to keep the hostname the same as zmhostname for the future and keep thing simpler given this is your first install.
Code: Select all
% su -
# hostname
mail1.example.com
# hostname mail.example.com
# hostname
mail.example.com
# cd ~zimbrai-install
# ./install.sh
Re: Can't install Zimbra
Thanks JDunphy for you answer,
I didn't understand.......
this is the of hosts file: and this is the output of the hostname command:
you mean that I have to change the hostname to mail.example.com and then run install.sh ?
Thanks
I didn't understand.......
this is the of hosts file: and this is the output of the hostname command:
you mean that I have to change the hostname to mail.example.com and then run install.sh ?
Thanks
- JDunphy
- Outstanding Member
- Posts: 899
- Joined: Fri Sep 12, 2014 11:18 pm
- Location: Victoria, BC
- ZCS/ZD Version: 9.0.0_P39 NETWORK Edition
Re: Can't install Zimbra
Change the entry in your /etc/hosts file... leave off the .it on the last entry. They are looking for just the hostname as the 2nd argument.
Make it look like this:
Leave the 127.0.0.1 as it is.
Jim
Make it look like this:
Code: Select all
192.168.1.12 mail.f11888.it f11888
Jim
Re: Can't install Zimbra
Great JDunphy it worked!!
now we are installing Zimbra!
Thank you very much for your support!!
now we are installing Zimbra!
Thank you very much for your support!!