Results 1 to 10 of 10

Thread: Problems with the upgrade of zcs

  1. #1
    vizapata's Avatar
    vizapata is offline Intermediate Member
    Join Date
    Nov 2010
    Location
    Popayán Cauca
    Posts
    16
    Rep Power
    4

    Default Problems with the upgrade of zcs

    I have a problem with the opgrade of ZCS 6.0.8 on a debian etch machine.

    Code:
    Operations logged to /tmp/zmsetup.11102010-100658.log
    Upgrading from  to 6.0.8_GA_2661
    Stopping zimbra services...done.
    Verifying /opt/zimbra/conf/my.cnf
    Starting mysql...done.
    I can't upgrade version
    
    UPGRADE FAILED - exiting.
    I note that zimbra can't determine the version of the current zimbra version.

    Also when i try to get the status I see the following info

    Code:
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.
    The users are authenticated in Active Directory, so I hope the solution must be in that direction, but I can't be sure.

    I tried many solutions posted in the forums but no one works for me.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,476
    Rep Power
    56

    Default

    Quote Originally Posted by vizapata View Post
    [/CODE]
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.
    [/CODE]
    The usual reason for that is an incorrect /etc/hosts file or invalid (or no) DNS A & MX records or possibly an expired certificate. What other errors did you see in the upgrade log file? Which version of Zimbra did you upgrade from?

    Quote Originally Posted by vizapata View Post
    I tried many solutions posted in the forums but no one works for me.
    Which solutions did you actually try?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    vizapata's Avatar
    vizapata is offline Intermediate Member
    Join Date
    Nov 2010
    Location
    Popayán Cauca
    Posts
    16
    Rep Power
    4

    Default

    Hello!, thanks for your reply.

    Well, my dns, hostname, and host are well. [I think]

    The result of a dig command:
    Code:
    zimbra@taira:~$ dig domain.example.com
    
    ; <<>> DiG 9.3.4-P1.1 <<>> domain.example.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13547
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;domain.example.com.              IN      A
    
    ;; ANSWER SECTION:
    domain.example.com.       3600    IN      A       192.168.1.14
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.10#53(192.168.1.10)
    ;; WHEN: Wed Nov 10 10:31:56 2010
    ;; MSG SIZE  rcvd: 50
    The result of host command
    Code:
    zimbra@taira:~$ host domain.example.com
    domain.example.com has address 192.168.1.14
    The content of hosts file
    Code:
    zimbra@taira:~$ cat /etc/hosts
    127.0.0.1       localhost
    192.168.1.14    domain.example.com        taira
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    And a query with nslookup
    Code:
    zimbra@taira:~$ nslookup
    > domain.example.com
    Server:         192.168.1.10
    Address:        192.168.1.10#53
    
    Name:   domain.example.com
    Address: 192.168.1.14
    > set q=mx
    > domain.example.com
    Server:         192.168.1.10
    Address:        192.168.1.10#53
    
    domain.example.com        mail exchanger = 10 domain.example.com.
    >
    In all cases, domain.example.com representes my own domain.

    Finally, the solutions that I tried are:
    • fix the perms with zmfixperms
    • fix manually the permissions whit chown -R zimbra:zimbra /opt/zimbra/store. This solution worked in a previous problem with installation, from the zimbra blog Moving ZCS to Another Server » Zimbra :: Blog .
    • Review [and re-review] the hostname configuration and the dns information
    • I changed the hostname in all places but it didn't work, so I have the old configuration again
    • Reinstall a previous version, but it tells that can't make a downgrade. [ Can't upgrade and can't downgrade ]

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,476
    Rep Power
    56

    Default

    Quote Originally Posted by vizapata View Post
    Well, my dns, hostname, and host are well. [I think]
    I'm afraid I can't agree with that statement.

    For a start, your hosts file is incorrect and you have this:

    Code:
    127.0.0.1       localhost
    192.168.1.14    domain.example.com        taira
    When you really should have this:

    Code:
    127.0.0.1       localhost.localdomain localhost
    192.168.1.14    taira.domain.com        taira
    You're may be using the wrong format for the domain name. You are using this: domain.example.com - that's actually a sub-domain and a domain name would look like this: domain.com. So you either have that set-up incorrectly (your DNS records would need changing) or you're just typing it as an example domain name, which is it? You also didn't provide the output for a 'dig domain.com mx' to show the MX record. You also didn't provide details about which version you are upgrading from.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    vizapata's Avatar
    vizapata is offline Intermediate Member
    Join Date
    Nov 2010
    Location
    Popayán Cauca
    Posts
    16
    Rep Power
    4

    Default

    Thanks Phoenix.

    It's my fault in the information provided. My FQDN is taira.crc.gov.co an internal server to recover the old accounts and mails.

    I just changed the DNS server and it doesn't work yet .

    The story is this: Due to an Operating System crash [debian etch and zcs 5.0.24] I installed debian lenny and zcs 6.08 from scratch. I recovered the user accounts from the Active Directory.

    Now I need to recover the old mails in the zimbra store. To get this, I have a machine for internal use with debian 4 [taira]. I tried to install again zcs 5 [upgrade, to maintain the mails] but it wasn't posible, so I try to install 6.0.8 and I'm here, without the slightest idea how to proceed because I can't reinstall zcs5 or upgrade to zcs6.

    My [new] current configuration is:

    Code:
    taira:~# cat /etc/hosts
    127.0.0.1	localhost.localdomain localhost
    192.168.1.14	taira.crc.gov.co	taira
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    
    taira:~# host localhost
    localhost has address 127.0.0.1
    
    taira:~# host taira.crc.gov.co
    taira.crc.gov.co has address 192.168.1.14
    taira.crc.gov.co mail is handled by 5 taira.crc.gov.co.
    
    taira:~# hostname
    taira
    
    taira:~# dig taira.crc.gov.co mx
    
    ; <<>> DiG 9.3.4-P1.2 <<>> taira.crc.gov.co mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35700
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;taira.crc.gov.co.		IN	MX
    
    ;; ANSWER SECTION:
    taira.crc.gov.co.	86400	IN	MX	5 taira.crc.gov.co.
    
    ;; AUTHORITY SECTION:
    crc.gov.co.		86400	IN	NS	taira.crc.gov.co.
    
    ;; ADDITIONAL SECTION:
    taira.crc.gov.co.	86400	IN	A	192.168.1.14
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.14#53(192.168.1.14)
    ;; WHEN: Thu Nov 11 09:39:02 2010
    ;; MSG SIZE  rcvd: 80
    
    taira:~# dig taira.crc.gov.co any
    
    ; <<>> DiG 9.3.4-P1.2 <<>> taira.crc.gov.co any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4435
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;taira.crc.gov.co.		IN	ANY
    
    ;; ANSWER SECTION:
    taira.crc.gov.co.	86400	IN	A	192.168.1.14
    taira.crc.gov.co.	86400	IN	MX	5 taira.crc.gov.co.
    
    ;; AUTHORITY SECTION:
    crc.gov.co.		86400	IN	NS	taira.crc.gov.co.
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.14#53(192.168.1.14)
    ;; WHEN: Thu Nov 11 09:39:08 2010
    ;; MSG SIZE  rcvd: 80
    
    taira:~# nslookup
    > taira.crc.gov.co
    Server:		192.168.1.14
    Address:	192.168.1.14#53
    
    Name:	taira.crc.gov.co
    Address: 192.168.1.14
    > set q=mx
    > taira.crc.gov.co
    Server:		192.168.1.14
    Address:	192.168.1.14#53
    
    taira.crc.gov.co	mail exchanger = 5 taira.crc.gov.co.
    >
    Please, I need some help because with this configuration it doesn't work!!

    Thanks
    Victor Zapata
    University of Cauca
    Popayán - Colombia

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,476
    Rep Power
    56

    Default

    Do you have multiple Zimbra servers in your domain? Your DNS records are incorrect, you need to specify the domain as 'crc.gov.co' not 'crc.gov.co'.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    vizapata's Avatar
    vizapata is offline Intermediate Member
    Join Date
    Nov 2010
    Location
    Popayán Cauca
    Posts
    16
    Rep Power
    4

    Default

    Well, I have zcs 6.0.8 running without problems in a debian lenny machine under the same domain, that server has the accounts recovered from the Active Directory.

    The Installation with problems is the previous one and I need to restore it in order to get the historic mail, this server is for internal access only.

    Your DNS records are incorrect, you need to specify the domain as 'crc.gov.co' not 'crc.gov.co'.
    I don't understand, which must be the domain: 'crc.gov.co' or 'crc.gov.co' both are the same
    Victor Zapata
    University of Cauca
    Popayán - Colombia

  8. #8
    vizapata's Avatar
    vizapata is offline Intermediate Member
    Join Date
    Nov 2010
    Location
    Popayán Cauca
    Posts
    16
    Rep Power
    4

    Default

    Even when the server is not properly installed, I try to check the state and get the following error:
    Code:
    zimbra@taira:~$ zmcontrol status
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.
    Victor Zapata
    University of Cauca
    Popayán - Colombia

  9. #9
    vizapata's Avatar
    vizapata is offline Intermediate Member
    Join Date
    Nov 2010
    Location
    Popayán Cauca
    Posts
    16
    Rep Power
    4

    Default

    Well, my DNS config is this:
    Code:
    taira:/home/vizapata# cat /etc/bind/db.directa
    ;
    ; BIND data file for local loopback interface
    ;
    $TTL    86400
    @       IN      SOA     taira.crc.gov.co. vizapata.crc.gov.co.(
                         2010072601         ; Serial
                             3600           ; Refresh
                              900           ; Retry
                            3600000         ; Expire
                             43200 )        ; Negative Cache TTL
    ;
    
    @       IN      NS      taira.crc.gov.co.
    
    taira   IN      MX      5       taira.crc.gov.co.
    
    @       IN      A       192.168.1.14
    taira   IN      A       192.168.1.14
    Victor Zapata
    University of Cauca
    Popayán - Colombia

  10. #10
    vizapata's Avatar
    vizapata is offline Intermediate Member
    Join Date
    Nov 2010
    Location
    Popayán Cauca
    Posts
    16
    Rep Power
    4

    Default LDAP configuration

    Look!

    After trying once an again install I see the problem: ldap configuration.

    The error message that I have when I try to start ldap is:
    Code:
    zimbraLogHostname=ERROR: service.FAILURE (system failure: unable to get config) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
    And my question is: How [and where] can I modify the ldap configuration?
    Victor Zapata
    University of Cauca
    Popayán - Colombia

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 04:52 AM
  2. Upgrade ZCS 4.5.11 GA to 5.0.1
    By aerojasc in forum Migration
    Replies: 1
    Last Post: 02-21-2008, 09:43 AM
  3. 4.5.11 to 5.0.2 upgrade completed. No problems.
    By inigoml in forum Installation
    Replies: 1
    Last Post: 02-05-2008, 03:36 PM
  4. ZCS Connector Upgrade Problems
    By gotwalt in forum Zimbra Connector for Outlook
    Replies: 10
    Last Post: 06-06-2007, 01:06 PM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 03:46 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
  •