Results 1 to 6 of 6

Thread: Error updating from 5.0.10 to 6.0.6

  1. #1
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    7

    Default Error updating from 5.0.10 to 6.0.6

    I'm attempting to upgrade from 5.0.10 to 6.0.6. I'm running on Ubuntu 8.04.2 LTS (Hardy) 64 bit. WHen I run the install script, I get the following error message:

    ERROR: Installation can not proceeed. Please fix your /etc/hosts file
    to contain:



    Where is the ip address of the host,
    is the FULLY QUALIFIED host name, and
    is the (optional) hostname-only portion

    I've verified that my /etc/hosts is correct. Here is a copy.

    127.0.0.1 localhost.localdomain localhost
    67.207.144.137 mail.myserver.com mail

    myserver.com is actually resolved to a different machine but the MX record resolves to this machine. So,

    nslookup myserver.com returns my www server where as
    nslookup mail.myserver.com returns this server.

    dig myserver.com any

    ; <<>> DiG 9.4.2-P2.1 <<>> myserver.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51041
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 2, ADDITIONAL: 3

    ;; QUESTION SECTION:
    ;myserver.com. IN ANY

    ;; ANSWER SECTION:
    myserver.com. 7200 IN SOA NS97.WORLDNIC.com. namehost.WORLDNIC.com. 109071109 10800 3600 604800 3600
    myserver.com. 1676 IN A 208.78.96.146
    myserver.com. 7200 IN MX 10 mail.myserver.com.
    myserver.com. 7200 IN NS NS97.WORLDNIC.com.
    myserver.com. 7200 IN NS ns98.WORLDNIC.com.

    ;; AUTHORITY SECTION:
    myserver.com. 7200 IN NS ns98.WORLDNIC.com.
    myserver.com. 7200 IN NS NS97.WORLDNIC.com.

    ;; ADDITIONAL SECTION:
    mail.myserver.com. 3551 IN A 67.207.144.137
    NS97.WORLDNIC.com. 1193 IN A 205.178.190.49
    ns98.WORLDNIC.com. 1193 IN A 206.188.198.49

    ;; Query time: 28 msec
    ;; SERVER: 208.78.97.155#53(208.78.97.155)
    ;; WHEN: Fri Apr 16 13:00:20 2010
    ;; MSG SIZE rcvd: 234

    I've looked through these forums for the answer but I'm either not smart enough to see the answer or something else is wrong. Any ideas?

    Tom
    Last edited by tikitom; 04-16-2010 at 07:02 AM.

  2. #2
    Join Date
    Dec 2007
    Location
    Ypsilanti, MI
    Posts
    145
    Rep Power
    7

    Default

    Quote Originally Posted by tikitom View Post
    I'm attempting to upgrade from 5.0.10 to 6.0.6. I'm running on Ubuntu 8.04.2 LTS (Hardy) 64 bit. WHen I run the install script, I get the following error message:

    ERROR: Installation can not proceeed. Please fix your /etc/hosts file
    to contain:



    Where is the ip address of the host,
    is the FULLY QUALIFIED host name, and
    is the (optional) hostname-only portion

    I've verified that my /etc/hosts is correct. Here is a copy.

    127.0.0.1 localhost.localdomain localhost
    67.207.144.137 mail.myserver.com mail

    myserver.com is actually resolved to a different machine but the MX record resolves to this machine. So,

    nslookup myserver.com returns my www server where as
    nslookup mail.myserver.com returns this server.

    dig myserver.com any

    ; <<>> DiG 9.4.2-P2.1 <<>> myserver.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51041
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 2, ADDITIONAL: 3

    ;; QUESTION SECTION:
    ;myserver.com. IN ANY

    ;; ANSWER SECTION:
    myserver.com. 7200 IN SOA NS97.WORLDNIC.com. namehost.WORLDNIC.com. 109071109 10800 3600 604800 3600
    myserver.com. 1676 IN A 208.78.96.146
    myserver.com. 7200 IN MX 10 mail.myserver.com.
    myserver.com. 7200 IN NS NS97.WORLDNIC.com.
    myserver.com. 7200 IN NS ns98.WORLDNIC.com.

    ;; AUTHORITY SECTION:
    myserver.com. 7200 IN NS ns98.WORLDNIC.com.
    myserver.com. 7200 IN NS NS97.WORLDNIC.com.

    ;; ADDITIONAL SECTION:
    mail.myserver.com. 3551 IN A 67.207.144.137
    NS97.WORLDNIC.com. 1193 IN A 205.178.190.49
    ns98.WORLDNIC.com. 1193 IN A 206.188.198.49

    ;; Query time: 28 msec
    ;; SERVER: 208.78.97.155#53(208.78.97.155)
    ;; WHEN: Fri Apr 16 13:00:20 2010
    ;; MSG SIZE rcvd: 234

    I've looked through these forums for the answer but I'm either not smart enough to see the answer or something else is wrong. Any ideas?

    Tom
    The installer occasionally gets hung up on lines in /etc/hosts. You might consider backing up the hosts file, then re-creating it. Sometimes there are extra spaces in the file or it's formatted for DOS and has ^M's which throw off the installer script that verifies /etc/hosts.

  3. #3
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    7

    Default

    Still no joy. I created a brand new file and still get the same error.

  4. #4
    Join Date
    Apr 2010
    Posts
    25
    Rep Power
    5

    Default try this

    What is the host name of the server?
    I had the issue where I had to add the host of the server in to DNS not just mail.domain.com

    my server host name was zimbra

    try this

    step 1: add server name to dns if not added
    step 2: make hosts look like this (see below)

    "ip address of server" "your server name".domainname.com "your server name"
    127.0.0.1 localhost.localdomain localhost
    "ip address of server" mail.domainname.com mail

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Please post the following details
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes

  6. #6
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    7

    Default

    Quote Originally Posted by uxbod View Post
    Please post the following details
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes
    /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    67.207.144.137 mail.myserver.com mail

    /etc/resolv.conf
    nameserver 208.78.97.155
    nameserver 208.75.87.250

    dig myserver.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19760
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

    ;; QUESTION SECTION:
    ;myserver.com. IN MX

    ;; ANSWER SECTION:
    myserver.com. 3600 IN MX 0 mail.myserver.com.

    ;; AUTHORITY SECTION:
    myserver.com. 3079 IN NS ns39.domaincontrol.com.
    myserver.com. 3079 IN NS ns40.domaincontrol.com.

    ;; ADDITIONAL SECTION:
    mail.myserver.com. 3600 IN A 67.207.144.137
    ns39.domaincontrol.com. 3040 IN A 216.69.185.20
    ns40.domaincontrol.com. 3040 IN A 208.109.255.20

    ;; Query time: 28 msec
    ;; SERVER: 208.78.97.155#53(208.78.97.155)
    ;; WHEN: Sat Apr 17 12:30:45 2010
    ;; MSG SIZE rcvd: 158

    dig myserver.com any
    ; <<>> DiG 9.4.2-P2.1 <<>> myserver.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8824
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 2, ADDITIONAL: 3

    ;; QUESTION SECTION:
    ;myserver.com. IN ANY

    ;; ANSWER SECTION:
    myserver.com. 3488 IN MX 0 mail.myserver.com.
    myserver.com. 2967 IN A 208.78.96.146
    myserver.com. 2967 IN NS ns39.domaincontrol.com.
    myserver.com. 2967 IN NS ns40.domaincontrol.com.

    ;; AUTHORITY SECTION:
    myserver.com. 2967 IN NS ns40.domaincontrol.com.
    myserver.com. 2967 IN NS ns39.domaincontrol.com.

    ;; ADDITIONAL SECTION:
    mail.myserver.com. 3488 IN A 67.207.144.137
    ns39.domaincontrol.com. 2928 IN A 216.69.185.20
    ns40.domaincontrol.com. 2928 IN A 208.109.255.20

    ;; Query time: 4 msec
    ;; SERVER: 208.78.97.155#53(208.78.97.155)
    ;; WHEN: Sat Apr 17 12:32:37 2010
    ;; MSG SIZE rcvd: 202

    host `hostname`
    myserver.com has address 208.78.96.146
    myserver.com mail is handled by 0 mail.myserver.com.

    (By the way, using backticks did not work. I had to use single or no quotes). Using backticks just gives me the parameter list as if I typed in something wrong.

    Thanks for the continued help.

    Tom

Similar Threads

  1. Upgrade from 5.0.10 to 6.0.6 on Debian 4 with NIS
    By mkudlacek in forum Installation
    Replies: 0
    Last Post: 04-13-2010, 04:15 AM
  2. Replies: 18
    Last Post: 01-29-2010, 05:41 AM
  3. Upgrade 5.0.7 to 5.0.10 rollback
    By hazmitia in forum Installation
    Replies: 2
    Last Post: 11-22-2008, 06:48 PM
  4. 5.0.10 Confusion
    By hurstel in forum Administrators
    Replies: 5
    Last Post: 10-20-2008, 08:07 PM
  5. ZCS 5.0.10 Released!
    By mmorse in forum Announcements
    Replies: 0
    Last Post: 10-06-2008, 05:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •