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

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 03-11-2010, 08:02 AM
Beginner Member
 
Posts: 1
Default [SOLVED] ZCS Install Problems on Mac OS X 10.5

Hi everyone....I am a brand new Zimbra user, trying to install ZCS on a Mac OS X 10.5 computer. Please forgive what probably are novice user questions.

I don't think that the install is completing correctly, as I see lots of errors (in the install log and when I try to run 'zmcontrol status')saying:

"Unable to determine enabled services from ldap. Unable to determine enabled services. Cache is out of date or doesn't exist."

Also, all of the zimlet installs seem to fail.

Here's my install messages in Terminal:

Code:
bash-3.2# cd /opt/zimbra/libexec/
bash-3.2# ./zmsetup.pl
Operations logged to /tmp/zmsetup.03102010-101342.log
Checking java version...1.5 found
Installing LDAP configuration database...done.
Setting defaults...

DNS ERROR resolving MX for zimbra.nsdistrict.org
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] 
Create domain: [zimbra.nsdistrict.org] nsdistrict.org
	MX: zimbra.nsdistrict.org (10.12.1.206)

	Interface: 127.0.0.1
	Interface: 10.12.1.206
done.
Disabling postfix in launchd...done.
Checking for port conflicts

Main menu

   1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-store:                            Enabled                       
   4) zimbra-mta:                              Enabled                       
   5) zimbra-snmp:                             Enabled                       
   6) zimbra-logger:                           Enabled                       
   7) zimbra-spell:                            Enabled                       
   8) zimbra-convertd:                         Enabled                       
   9) Default Class of Service Configuration:                                
  10) Enable default backup schedule:          yes                           
   r) Start servers after configuration        yes                           
   s) Save config to file                                                    
   x) Expand menu                                                            
   q) Quit                                    

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes] 
Save config in file: [/opt/zimbra/config.44395] 
Saving config in /opt/zimbra/config.44395...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.03102010-101342.log
Setting local config values...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL certificate...done.
Installing mailboxd SSL certificates...done.
Initializing ldap...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Creating server entry for zimbra.nsdistrict.org...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting spell check URL...done.
Setting service ports on zimbra.nsdistrict.org...done.
Adding zimbra.nsdistrict.org to zimbraMailHostPool in default COS...done.
Installing webclient skins...
	bare...done.
	beach...done.
	bones...done.
	goldrush...done.
	hotrod...done.
	lake...done.
	lavender...done.
	lemongrass...done.
	oasis...done.
	pebble...done.
	sand...done.
	sky...done.
	smoke...done.
	steel...done.
	tree...done.
	twilight...done.
	waves...done.
	yahoo...done.
	zmail...done.
Finished installing webclient skins.
Setting zimbraFeatureIMEnabled=FALSE...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting zimbraFeatureNotebookEnabled=TRUE...done.
Setting convertd URL...done.
Setting MTA auth host...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on zimbra.nsdistrict.org...done.
Creating domain nsdistrict.org...done.
Setting default domain name...done.
Setting up default domain admin UI components..done.
Granting group zimbraDomainAdmins@nsdistrict.org domain right +domainAdminConsoleRights on nsdistrict.org...done.
Granting group zimbraDomainAdmins@nsdistrict.org global right +domainAdminZimletRights...done.
Setting up global distribution list admin UI components..done.
Granting group zimbraDLAdmins@nsdistrict.org global right +adminConsoleDLRights...done.
Granting group zimbraDLAdmins@nsdistrict.org global right +listAccount...done.
Creating domain nsdistrict.org...already exists.
Creating admin account admin@nsdistrict.org...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user wiki@nsdistrict.org...done.
Creating user spam.muvwwg_y@nsdistrict.org...done.
Creating user ham.lt1z19k5@nsdistrict.org...done.
Setting spam training accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for zimbra.nsdistrict.org...done.
Configuring SNMP...done.
Checking for default IM conference room...not present.
Initializing default IM conference room...done.
Setting up syslog.conf...done.
Setting default backup schedule...Done
Looking for valid license to install...license installed.
Starting servers...Unable to determine enabled services from ldap.
done.
Installing common zimlets...
	com_zimbra_adminversioncheck...failed. This may impact system functionality.
	com_zimbra_bulkprovision...failed. This may impact system functionality.
	com_zimbra_cert_manager...failed. This may impact system functionality.
	com_zimbra_date...failed. This may impact system functionality.
	com_zimbra_email...failed. This may impact system functionality.
	com_zimbra_local...failed. This may impact system functionality.
	com_zimbra_phone...failed. This may impact system functionality.
	com_zimbra_url...failed. This may impact system functionality.
	com_zimbra_ymemoticons...failed. This may impact system functionality.
Finished installing common zimlets.
Installing network zimlets...
	com_zimbra_backuprestore...failed. This may impact system functionality.
	com_zimbra_convertd...failed. This may impact system functionality.
	com_zimbra_delegatedadmin...failed. This may impact system functionality.
	com_zimbra_hsm...failed. This may impact system functionality.
	com_zimbra_license...failed. This may impact system functionality.
	com_zimbra_mobilesync...failed. This may impact system functionality.
Finished installing network zimlets.
Initializing Documents...failed to initialize documents...see logfile for details.
Restarting mailboxd...done.
Setting up zimbra crontab...done.


Moving /tmp/zmsetup.03102010-101342.log to /opt/zimbra/log


Configuration complete - press return to exit 


bash-3.2# zmcontrol status
bash: zmcontrol: command not found
bash-3.2# su - zimbra
zimbra:~ zimbra$ zmcontrol status
Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist.

So I have spent a couple days searching your forums here and I have found that a few have had trouble getting their DNS records correct. I am also new to working with DNS stuff, but I hope I have things right....here's the DNS-related outputs you usually ask for:


Code:
zimbra:~ zimbra$ cat /etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1	localhost.localdomain	localhost
10.12.1.206	    zimbra.nsdistrict.org
255.255.255.255    broadcasthost
::1             localhost 
fe80::1%lo0	localhost

zimbra:~ zimbra$ host `hostname`
zimbra.nsdistrict.org has address 10.12.1.206

zimbra:~ zimbra$ dig nsdistrict.org mx

; <<>> DiG 9.4.3-P3 <<>> nsdistrict.org mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32349
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;nsdistrict.org.			IN	MX

;; ANSWER SECTION:
nsdistrict.org.		10800	IN	MX	10 zimbra.nsdistrict.org.

;; AUTHORITY SECTION:
nsdistrict.org.		10800	IN	NS	odreplica.nsdistrict.org.
nsdistrict.org.		10800	IN	NS	odmaster.nsdistrict.org.

;; ADDITIONAL SECTION:
zimbra.nsdistrict.org.	10800	IN	A	10.12.1.206
odmaster.nsdistrict.org.	10800	IN	A	10.12.1.200
odreplica.nsdistrict.org.	10800	IN	A	10.12.1.201

;; Query time: 19 msec
;; SERVER: 10.12.1.200#53(10.12.1.200)
;; WHEN: Wed Mar 10 11:16:01 2010
;; MSG SIZE  rcvd: 147

zimbra:~ zimbra$ dig nsdistrict.org any

; <<>> DiG 9.4.3-P3 <<>> nsdistrict.org any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49013
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 3

;; QUESTION SECTION:
;nsdistrict.org.			IN	ANY

;; ANSWER SECTION:
nsdistrict.org.		10800	IN	MX	10 zimbra.nsdistrict.org.
nsdistrict.org.		10800	IN	A	10.12.1.200
nsdistrict.org.		10800	IN	SOA	odmaster.nsdistrict.org. admin.nsdistrict.org.nsdistrict.org. 2010030811 3600 3600 604800 345600
nsdistrict.org.		10800	IN	NS	odmaster.nsdistrict.org.
nsdistrict.org.		10800	IN	NS	odreplica.nsdistrict.org.

;; ADDITIONAL SECTION:
zimbra.nsdistrict.org.	10800	IN	A	10.12.1.206
odmaster.nsdistrict.org.	10800	IN	A	10.12.1.200
odreplica.nsdistrict.org.	10800	IN	A	10.12.1.201

;; Query time: 1 msec
;; SERVER: 10.12.1.200#53(10.12.1.200)
;; WHEN: Wed Mar 10 11:16:15 2010
;; MSG SIZE  rcvd: 217

I have also tried changing permissions on the /opt/directory, and making sure that my timezone is correct in the install config file.


Please let me know what else I can try to get this working - I am presently out of ideas. Id be happy to post any more info if you let me know what you need.
Reply With Quote
  #2 (permalink)  
Old 04-23-2010, 11:16 AM
Junior Member
 
Posts: 9
Default

For what it's worth, we've been chasing the exact same issue for over a week and we're stuck, too. A fresh install of 6.0.x on our OS X 10.5.8 iMac developer environment keeps hitting the same error during installation. We've seen this with both 6.0.1 and 6.0.6 Network edition and Community edition.

After spending a _lot_ of time chasing DNS issues, it looks like the problem may actually be related to Java. We can get the installation to proceed past the point of error (the "Unable to determine enabled services from ldap." in te excerpt below) by doing a keytool hack, while the installer is still running.

Code:
   ...
Looking for valid license to install...license installed.
Starting servers...Unable to determine enabled services from ldap.
done.
Installing common zimlets...
	com_zimbra_adminversioncheck...failed. This may impact system functionality.
	com_zimbra_bulkprovision...failed. This may impact system functionality.
   ...
If we run the following command after the installer outputs "Deploying CA to /opt/zimbra/conf/ca ...done.", then at least the installation completes ... though the mailbox still refuses to start (fails with a socket binding error):

Code:
sudo keytool -import -keystore /System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts  -file ~zimbra/ssl/zimbra/ca/ca.pem  -alias zimbra
There appears to be something wrong with the OS X installation process ... has anyone developed a clean and tested procedure for installing 6.0.x on OS X 10.5?
Reply With Quote
  #3 (permalink)  
Old 05-03-2010, 04:10 PM
New Member
 
Posts: 3
Default

Have you tried this with a system that does not have Java update 6?

Im going to give it a shot and will post my results here.
Reply With Quote
  #4 (permalink)  
Old 05-03-2010, 08:30 PM
New Member
 
Posts: 3
Default

ok, I installed ZCS on a leopard machine, only allowing the 10.5.8 update, and no update after that. ZCS is now running smoothly and mail is coming n going.

In case this helps anyone

Grant
Reply With Quote
  #5 (permalink)  
Old 05-03-2010, 10:10 PM
Intermediate Member
 
Posts: 17
Default

See this post: Java for Mac OS X Update breaks Mailboxd for something that you should check relating to Java. You're not seeing quite the same errors I saw after the Java update, but it's probably worth checking.
Reply With Quote
  #6 (permalink)  
Old 05-12-2010, 02:13 PM
Junior Member
 
Posts: 9
Default

Hurrah! We have successfully gotten 6.0.6 running on our 10.5.8 Macs. Many thanks to rs232c for the tip about the Java keystore password change (i.e. cacerts). :-)

We're going with the "set it back to Sun's default" approach; here's a scriptlet we're using for clean installs:

Code:
if keytool -list -keystore /System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts -storepass changeit >/dev/null; then
  echo "Password is good."
else
  echo "Changing password back."
  sudo keytool -storepasswd -new changeit -keystore /System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts -storepass changeme
fi
Reply With Quote
  #7 (permalink)  
Old 05-13-2010, 12:02 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by EmOperations View Post
Hurrah! We have successfully gotten 6.0.6 running on our 10.5.8 Macs.
Then you should mark this thread as Solved.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 05-13-2010, 07:21 AM
Junior Member
 
Posts: 9
Default

Quote:
Originally Posted by phoenix View Post
Then you should mark this thread as Solved.
If it was my thread, I would. ;-)
Reply With Quote
  #9 (permalink)  
Old 05-13-2010, 07:57 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by EmOperations View Post
If it was my thread, I would. ;-)
Just shows I shouldn't make assumptions. OK, I'll do it.
__________________
Regards


Bill
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.