View Single Post
  #12 (permalink)  
Old 02-22-2008, 03:59 AM
ironstorm ironstorm is offline
Member
 
Posts: 12
Default

[QUOTE=ironstorm;79389]
Code:
/opt/zimbra/bin/zmshutil: line 39: Error: command not found
Looks like this is caused by hardcoded references to /opt/zimbra/java, easiest solution is to replace the /opt/zimbra/java with the native JRE... right now I do this by hacking the install.sh to get things going...
Code:
--- install.sh.org      2008-02-22 12:50:59.000000000 -0500
+++ install.sh  2008-02-22 12:50:46.000000000 -0500
@@ -212,6 +212,9 @@
 echo "${D}: INSTALL SESSION START" >> /opt/zimbra/.install_history
 for i in $INSTALL_PACKAGES; do
        installPackage "$i"
+        if [ ! -z "`echo $i|grep core`" ]; then
+          sudo rm /opt/zimbra/java && sudo ln -s /usr/lib/jvm/java-6-sun /opt/zimbra/java
+        fi
 done
 D=`date +%s`
 echo "${D}: INSTALL SESSION COMPLETE" >> /opt/zimbra/.install_history
Reply With Quote