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 (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 11-22-2005, 12:40 AM
Intermediate Member
 
Posts: 18
Default OS X Server 10.4.3 install issues

Firstly, all is up to date, OS X Server 10.4.3, no outstanding updates in software update. It is a relatively new OS installation.

Logging in as root, I have had the same problems as others, the postinstall script failure.

I used workgroup manager to create a zimbra user with no password - still no joy.

I downloaded and installed the java 5 SE - still no joy.

Any next steps I should try?

Ta
Reply With Quote
  #2 (permalink)  
Old 11-22-2005, 07:50 AM
Zimbra Employee
 
Posts: 2,073
Default run installer twice

Some people have had luck cleaning up completely, then running the installer twice:

rm -rf /opt/zimbra/*
rm -r /Library/Receipts/zimbra-*

Run installer (fails)
Run installer (succeeds)
Reply With Quote
  #3 (permalink)  
Old 11-22-2005, 11:30 AM
Intermediate Member
 
Posts: 18
Default Java symlink at fault?

Still no joy, I still get the "run postinstall script for zimbra store utilities"

Looking at one of the previous posts about running zmsetup.pl - as i understand it is the postinstall script in question...

202:/opt/zimbra/libexec root# ./zmsetup.pl
Operations logged to /tmp/zmsetup.log.9092
Setting defaults...Setting local config zimbra_java_home to /usr
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home=/usr
/opt/zimbra/bin/zmjava: line 30: /opt/zimbra/java/bin/java: No such file or directory
/opt/zimbra/bin/zmjava: line 30: exec: /opt/zimbra/java/bin/java: cannot execute: No such file or directory
Done
Checking for port conflicts

Main menu
...


So is the problem the symlink that it is expecting?

Last edited by jono : 11-22-2005 at 11:31 AM. Reason: subject
Reply With Quote
  #4 (permalink)  
Old 11-22-2005, 11:46 AM
Zimbra Employee
 
Posts: 2,073
Default postinstall

In this case, the postinstall script is in the package, it's not referring to zmsetup.pl.

WHat does java -version return?
Reply With Quote
  #5 (permalink)  
Old 11-22-2005, 11:46 AM
Zimbra Employee
 
Posts: 2,073
Default zimbra user

Did you try creating the zimbra user by hand, and re-installing?
Reply With Quote
  #6 (permalink)  
Old 11-22-2005, 01:09 PM
Intermediate Member
 
Posts: 18
Default Java version

Java version as follows:

202:/opt/zimbra/libexec root# java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232)
Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)


And yeah I created the zimbra user by hand (in Workgroup Manager) with no password.
Reply With Quote
  #7 (permalink)  
Old 11-22-2005, 03:09 PM
Zimbra Employee
 
Posts: 2,073
Default update java

Check the forums for other posts on updating java and having 1.5 be the default on the mac.
Reply With Quote
  #8 (permalink)  
Old 11-22-2005, 04:05 PM
Intermediate Member
 
Posts: 18
Default Java link changed...

I've changed the symlink, rebooted, removed /opt/zimbra and the reciepts...

Installer run, failed, and in the hope that it will help pinpoint what's going on, this is what the /var/log/installer.log gives me:

Nov 23 11:58:20 xserve-2 : @(#)PROGRAM:Installer PROJECT:Installer-86 DEVELOPER:root BUILT:Sep 2 2005 14:24:50

Nov 23 11:58:20 xserve-2 : Hardware: RackMac1,1 @ 999 MHz (x2), 2048 MB
Nov 23 11:58:20 xserve-2 : Running OS Build: 8F46
Nov 23 11:58:20 xserve-2 : Zimbra Collaboration Suite Installation Log
Nov 23 11:58:20 xserve-2 : Opened from: /zcs.mpkg
Nov 23 11:58:20 xserve-2 : It took 0.103135 seconds to load 7 UI sections
Nov 23 11:58:21 xserve-2 : Distribution: Zimbra Collaboration Suite
Nov 23 11:58:21 xserve-2 : It took 0.539901 seconds to finish launching.
Nov 23 11:58:23 xserve-2 : Installation checks completed successfully.
Nov 23 11:58:48 xserve-2 : admin auth received to install
Nov 23 11:58:48 xserve-2 : ================================================== ==============================
Nov 23 11:58:48 xserve-2 : User picked Easy Install
Nov 23 11:58:48 xserve-2 : Choices selected for installation:
Nov 23 11:58:48 xserve-2 : Install: "Zimbra Collaboration Suite"
Nov 23 11:58:48 xserve-2 : Install: "Core Utilities"
Nov 23 11:58:48 xserve-2 : zimbra-core.3.0.0_M2_747.pkg : com.zimbra.zcs.core : 3.0
Nov 23 11:58:48 xserve-2 : Install: "Ldap"
Nov 23 11:58:48 xserve-2 : zimbra-ldap.3.0.0_M2_747.pkg : com.zimbra.zcs.ldap : 3.0
Nov 23 11:58:48 xserve-2 : Install: "Mailbox"
Nov 23 11:58:48 xserve-2 : zimbra-store.3.0.0_M2_747.pkg : com.zimbra.zcs.store : 3.0
Nov 23 11:58:48 xserve-2 : Install: "Mta"
Nov 23 11:58:48 xserve-2 : zimbra-mta.3.0.0_M2_747.pkg : com.zimbra.zcs.mta : 3.0
Nov 23 11:58:48 xserve-2 : Install: "Spell"
Nov 23 11:58:48 xserve-2 : zimbra-apache.3.0.0_M2_747.pkg : com.zimbra.zcs.apache : 3.0
Nov 23 11:58:48 xserve-2 : zimbra-spell.3.0.0_M2_747.pkg : com.zimbra.zcs.spell : 3.0
Nov 23 11:58:48 xserve-2 : Install: "Snmp"
Nov 23 11:58:48 xserve-2 : zimbra-snmp.3.0.0_M2_747.pkg : com.zimbra.zcs.snmp : 3.0
Nov 23 11:58:48 xserve-2 : Install: "Logger"
Nov 23 11:58:48 xserve-2 : zimbra-logger.3.0.0_M2_747.pkg : com.zimbra.zcs.logger : 3.0
Nov 23 11:58:48 xserve-2 : ================================================== ==============================
Nov 23 11:58:48 xserve-2 : It took 0.003467 seconds to summarize the package selections.
Nov 23 11:58:49 xserve-2 : Starting installation:
Nov 23 11:58:49 xserve-2 : Preparing volume "x533" for installation
Nov 23 11:58:49 xserve-2 : Configuring volume "x533"
Nov 23 11:58:50 xserve-2 : Preparing local booted disk
Nov 23 11:58:50 xserve-2 : Create temporary directory "/private/tmp/zimbra-core.3.0.0_M2_747.pkg.1123AQZ21Z"
Nov 23 11:58:50 xserve-2 : Processing Zimbra core utilities:
Nov 23 11:58:50 xserve-2 : Initialize patching
Nov 23 11:58:50 xserve-2 : Determining files to install
Nov 23 11:58:50 xserve-2 : Evaluating versions of bundles
Nov 23 11:58:50 xserve-2 : Evaluating custom file version checking
Nov 23 11:58:50 xserve-2 : Configuring deferred files
Nov 23 11:58:50 xserve-2 : Assembling temporary receipt
Nov 23 11:58:50 xserve-2 : Performing pre-extraction actions
Nov 23 11:58:50 xserve-2 : Creating destination path
Nov 23 11:58:50 xserve-2 : Extracting files
Nov 23 11:58:52 xserve-2 : 1235 files looked up in 0.03 seconds. 1235 files written in 1.76 seconds.
Nov 23 11:58:52 xserve-2 : 32336 kilobytes installed.
Nov 23 11:58:52 xserve-2 : run postinstall script for Zimbra core utilities
Nov 23 11:58:52 xserve-2 : Performing post-extraction actions
Nov 23 11:58:52 xserve-2 : Assembling receipt
Nov 23 11:58:52 xserve-2 : Processing Zimbra ldap utilities:
Nov 23 11:58:52 xserve-2 : Initialize patching
Nov 23 11:58:52 xserve-2 : Determining files to install
Nov 23 11:58:52 xserve-2 : Evaluating versions of bundles
Nov 23 11:58:52 xserve-2 : Evaluating custom file version checking
Nov 23 11:58:52 xserve-2 : Configuring deferred files
Nov 23 11:58:52 xserve-2 : Assembling temporary receipt
Nov 23 11:58:52 xserve-2 : Performing pre-extraction actions
Nov 23 11:58:52 xserve-2 : Creating destination path
Nov 23 11:58:52 xserve-2 : Extracting files
Nov 23 11:58:53 xserve-2 : 285 files looked up in 0.01 seconds. 285 files written in 0.83 seconds.
Nov 23 11:58:53 xserve-2 : 7159 kilobytes installed.
Nov 23 11:58:53 xserve-2 : run postinstall script for Zimbra ldap utilities
Nov 23 11:58:53 xserve-2 : postinstall[1136]: chown: zimbra: Invalid argument
Nov 23 11:58:53 xserve-2 : postinstall[1136]:
Nov 23 11:58:53 xserve-2 : postinstall[1136]: chown: zimbra: Invalid argument
Nov 23 11:58:53 xserve-2 : postinstall[1136]:
Nov 23 11:58:53 xserve-2 : Performing post-extraction actions
Nov 23 11:58:53 xserve-2 : Assembling receipt
Nov 23 11:58:53 xserve-2 : Processing Zimbra store utilities:
Nov 23 11:58:53 xserve-2 : Initialize patching
Nov 23 11:58:53 xserve-2 : Determining files to install
Nov 23 11:58:53 xserve-2 : Evaluating versions of bundles
Nov 23 11:58:53 xserve-2 : Evaluating custom file version checking
Nov 23 11:58:53 xserve-2 : Configuring deferred files
Nov 23 11:58:53 xserve-2 : Assembling temporary receipt
Nov 23 11:58:54 xserve-2 : Performing pre-extraction actions
Nov 23 11:58:54 xserve-2 : Creating destination path
Nov 23 11:58:54 xserve-2 : Extracting files
Nov 23 11:58:58 xserve-2 : 1415 files looked up in 0.04 seconds. 1415 files written in 4.11 seconds.
Nov 23 11:58:58 xserve-2 : 84459 kilobytes installed.
Nov 23 11:58:58 xserve-2 : run postinstall script for Zimbra store utilities
Nov 23 11:58:58 xserve-2 : postinstall[1148]: chown: zimbra: Invalid argument
Nov 23 11:58:58 xserve-2 : postinstall[1148]:
Nov 23 11:58:58 xserve-2 : postinstall[1148]: chown: zimbra: Invalid argument
Nov 23 11:58:58 xserve-2 : postinstall[1148]:
Nov 23 11:58:58 xserve-2 : postinstall[1148]: chown: zimbra: Invalid argument
Nov 23 11:58:58 xserve-2 : postinstall[1148]:
Nov 23 11:58:58 xserve-2 : postinstall[1148]: mkdir: /opt/zimbra/tomcat/webapps/service: Permission denied
Nov 23 11:58:58 xserve-2 : postinstall[1148]:
Nov 23 11:58:58 xserve-2 : postinstall[1148]: -su: line 1: cd: /opt/zimbra/tomcat/webapps/service: No such file or directory
Nov 23 11:58:58 xserve-2 : postinstall[1148]:
Nov 23 11:58:58 xserve-2 : postinstall[1148]: java.io.FileNotFoundException: ../service.war (No such file or directory)
Nov 23 11:58:58 xserve-2 : postinstall[1148]:
Nov 23 11:58:58 xserve-2 : postinstall[1148]: at java.io.FileInputStream.open(Native Method)
Nov 23 11:58:58 xserve-2 : postinstall[1148]: at java.io.FileInputStream.(FileInputStream.java:106)
Nov 23 11:58:58 xserve-2 : postinstall[1148]: at java.io.FileInputStream.(FileInputStream.java:66)
Nov 23 11:58:58 xserve-2 : postinstall[1148]: at sun.tools.jar.Main.run(Main.java:185)
Nov 23 11:58:58 xserve-2 : postinstall[1148]: at sun.tools.jar.Main.main(Main.java:904)
Nov 23 11:58:58 xserve-2 : postinstall[1148]:
Nov 23 11:58:59 xserve-2 : postinstall[1148]: mkdir: /opt/zimbra/tomcat/webapps/zimbra: Permission denied
Nov 23 11:58:59 xserve-2 : postinstall[1148]:
Nov 23 11:58:59 xserve-2 : postinstall[1148]: -su: line 1: cd: /opt/zimbra/tomcat/webapps/zimbra: No such file or directory
Nov 23 11:58:59 xserve-2 : postinstall[1148]:
Nov 23 11:58:59 xserve-2 : postinstall[1148]: java.io.FileNotFoundException: ../zimbra.war (No such file or directory)
Nov 23 11:58:59 xserve-2 : postinstall[1148]:
Nov 23 11:58:59 xserve-2 : postinstall[1148]: at java.io.FileInputStream.open(Native Method)
Nov 23 11:58:59 xserve-2 : postinstall[1148]:
Nov 23 11:58:59 xserve-2 : postinstall[1148]: at java.io.FileInputStream.(FileInputStream.java:106)
Nov 23 11:58:59 xserve-2 : postinstall[1148]:
Nov 23 11:58:59 xserve-2 : postinstall[1148]: at java.io.FileInputStream.(FileInputStream.java:66)
Nov 23 11:58:59 xserve-2 : postinstall[1148]:
Nov 23 11:58:59 xserve-2 : postinstall[1148]: at sun.tools.jar.Main.run(Main.java:185)
Nov 23 11:58:59 xserve-2 : postinstall[1148]:
Nov 23 11:58:59 xserve-2 : postinstall[1148]: at sun.tools.jar.Main.main(Main.java:904)
Nov 23 11:58:59 xserve-2 : postinstall[1148]:
Nov 23 11:58:59 xserve-2 : Install failed: The following install step failed: run postinstall script for Zimbra store utilities
Nov 23 11:58:59 xserve-2 : Private/Total = (4.2MB, 63.3MB), Heap/Total = (2.3MB, 17.7MB), Regions(malloc, private) = (23, 33)
Nov 23 11:58:59 xserve-2 : It took 9.912558 seconds to unsuccessfully install "Zimbra Collaboration Suite" (8 pkg(s))
Nov 23 11:58:59 xserve-2 : It took 1.010218 seconds to Configuring volume "x533" (dm prepare*disk)
Nov 23 11:58:59 xserve-2 : It took 2.201601 seconds to Install Zimbra core utilities: 22 elements
Nov 23 11:58:59 xserve-2 : It took 2.198002 seconds to unsuccessfully Install package Zimbra core utilities
Nov 23 11:58:59 xserve-2 : It took 0.070876 seconds to Build install plan (& redirected paths)
Nov 23 11:58:59 xserve-2 : It took 0.089219 seconds to Assembling temporary receipt
Nov 23 11:58:59 xserve-2 : It took 0.070481 seconds to Collect path info (ATS, Sec Equiv, Kext, Pref Panes)
Nov 23 11:58:59 xserve-2 : It took 1.822134 seconds to Write files
Nov 23 11:58:59 xserve-2 : It took 0.052896 seconds to run postinstall script for Zimbra core utilities
Nov 23 11:58:59 xserve-2 : It took 0.088358 seconds to Assembling receipt
Nov 23 11:58:59 xserve-2 : It took 1.175835 seconds to Install Zimbra ldap utilities: 22 elements
Nov 23 11:58:59 xserve-2 : It took 1.171991 seconds to unsuccessfully Install package Zimbra ldap utilities
Nov 23 11:58:59 xserve-2 : It took 0.074694 seconds to Assembling temporary receipt
Nov 23 11:58:59 xserve-2 : It took 0.875002 seconds to Write files
Nov 23 11:58:59 xserve-2 : It took 0.097101 seconds to run postinstall script for Zimbra ldap utilities
Nov 23 11:58:59 xserve-2 : It took 0.078228 seconds to Assembling receipt
Nov 23 11:58:59 xserve-2 : It took 5.514813 seconds to Install Zimbra store utilities: 22 elements
Nov 23 11:58:59 xserve-2 : It took 5.511584 seconds to unsuccessfully Install package Zimbra store utilities
Nov 23 11:58:59 xserve-2 : It took 0.083261 seconds to Build install plan (& redirected paths)
Nov 23 11:58:59 xserve-2 : It took 0.081132 seconds to Assembling temporary receipt
Nov 23 11:58:59 xserve-2 : It took 0.078431 seconds to Collect path info (ATS, Sec Equiv, Kext, Pref Panes)
Nov 23 11:58:59 xserve-2 : It took 4.175233 seconds to Write files
Nov 23 11:58:59 xserve-2 : It took 1.084368 seconds to run postinstall script for Zimbra store utilities
Nov 23 11:59:00 xserve-2 : Nov 23 11:59:00 xserve-2 : Summary Information
Nov 23 11:59:00 xserve-2 : Type Elapsed time (sec)
Nov 23 11:59:00 xserve-2 : patch 0.000277
Nov 23 11:59:00 xserve-2 : zero 0.011521
Nov 23 11:59:00 xserve-2 : script 1.234365
Nov 23 11:59:00 xserve-2 : extract 6.872369
Nov 23 11:59:00 xserve-2 : config 0.361473
Nov 23 11:59:00 xserve-2 : receipt 0.411631
Nov 23 11:59:00 xserve-2 : disk 1.010250
Nov 23 11:59:00 xserve-2 : install 8.892249
Reply With Quote
  #9 (permalink)  
Old 11-22-2005, 04:34 PM
Zimbra Employee
 
Posts: 2,073
Default user not created bug

The zimbra user doesn't exist:

> Nov 23 11:58:58 xserve-2 : postinstall[1148]: chown: zimbra: Invalid
> argument

Create it, then run the installer
Reply With Quote
  #10 (permalink)  
Old 11-22-2005, 05:02 PM
Intermediate Member
 
Posts: 18
Default Zimbra user...

Ok, got it sorted:

FYI if one creates the zimbra user via the Workgroup Manager, it will fail... however if the user is created using the accounts ppref pane in the system preferences, it will finish the install correctly.

Thanks for your help
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0