Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-10-2010, 07:10 AM
Member
 
Posts: 13
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.
Reply With Quote
  #2 (permalink)  
Old 11-10-2010, 07:21 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
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
Reply With Quote
  #3 (permalink)  
Old 11-10-2010, 07:47 AM
Member
 
Posts: 13
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 ]
Reply With Quote
  #4 (permalink)  
Old 11-11-2010, 01:16 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
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
Reply With Quote
  #5 (permalink)  
Old 11-11-2010, 07:00 AM
Member
 
Posts: 13
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
Reply With Quote
  #6 (permalink)  
Old 11-11-2010, 07:12 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
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
Reply With Quote
  #7 (permalink)  
Old 11-11-2010, 12:08 PM
Member
 
Posts: 13
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.

Quote:
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
Reply With Quote
  #8 (permalink)  
Old 11-11-2010, 12:32 PM
Member
 
Posts: 13
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
Reply With Quote
  #9 (permalink)  
Old 11-16-2010, 11:07 AM
Member
 
Posts: 13
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
Reply With Quote
  #10 (permalink)  
Old 11-18-2010, 11:21 AM
Member
 
Posts: 13
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.