Error diatas terjadi saat instalasi Zimbra 6.0.x open source edition, pada kontainer OpenVZ. Walau instalasi sukses, error tersebut membuat Zimbra tidak bisa berfungsi normal. Lengkapnya sbb :
Starting servers…Could not create the Java virtual machine.
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
sh: zmcontrol.status.Xi4fj: Permission denied
sh: zmcontrol.status.Xi4fj: Permission denied
sh: zmcontrol.status.Xi4fj: Permission denied
sh: zmcontrol.status.Xi4fj: Permission denied
sh: zmcontrol.status.Xi4fj: Permission denied
sh: zmcontrol.status.Xi4fj: Permission denied
sh: zmcontrol.status.Xi4fj: Permission denied
sh: zmcontrol.status.Xi4fj: Permission denied
sh: zmcontrol.status.Xi4fj: Permission denied
sh: zmcontrol.status.Xi4fj: Permission denied
done.
sh: line 1: Could: command not found
Installing common zimlets…
com_zimbra_email…failed. This may impact system functionality.
com_zimbra_phone…failed. This may impact system functionality.
com_zimbra_bulkprovision…failed. This may impact system functionality.
com_zimbra_date…failed. This may impact system functionality.
com_zimbra_adminversioncheck…failed. This may impact system functionality.
com_zimbra_dnd…failed. This may impact system functionality.
com_zimbra_cert_manager…failed. This may impact system functionality.
com_zimbra_ymemoticons…failed. This may impact system functionality.
com_zimbra_url…failed. This may impact system functionality.
Finished installing common zimlets.
Initializing Documents…failed to initialize documents…see logfile for details.
Restarting mailboxd…done.
Setting up zimbra crontab…done.Moving /tmp/zmsetup.09072010-155602.log to /opt/zimbra/log
Configuration complete – press return to exit
Jika dicek melalui : /var/log/zimbra.log errornya sbb :
Sep 7 16:37:05 mail zimbramon[1926]: 1926:info: zmmtaconfig: Skipping Configuration for server mail.wandisk.net update.
Sep 7 16:37:05 mail zimbramon[1926]: 1926:info: zmmtaconfig: gs:mail.wandisk.net Could not create the Java virtual machine. Could not create the Java virtual machine. Could not create the Java virtual machine. /opt/zimbra/bin/zmjava: line 55: [: too many arguments /opt/zimbra/bin/zmjava: line 59: [: too many arguments Could not create the Java virtual machine.
Sep 7 16:37:05 mail zimbramon[1926]: 1926:info: zmmtaconfig: Sleeping…Key lookup failed.
Efek dari Could not create the Java virtual machine juga muncul saat melihat zmcontrol status :
zimbra@mail:/home/gtoms$ zmcontrol status
Could not create the Java virtual machine.
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
Host
sh: zmcontrol.status._0Ny3: Permission denied
antispam Stopped
sh: zmcontrol.status._0Ny3: Permission denied
antivirus Stopped
sh: zmcontrol.status._0Ny3: Permission denied
ldap Stopped
sh: zmcontrol.status._0Ny3: Permission denied
logger Stopped
sh: zmcontrol.status._0Ny3: Permission denied
mailbox Stopped
sh: zmcontrol.status._0Ny3: Permission denied
memcached Stopped
sh: zmcontrol.status._0Ny3: Permission denied
mta Stopped
sh: zmcontrol.status._0Ny3: Permission denied
snmp Stopped
sh: zmcontrol.status._0Ny3: Permission denied
spell Stopped
sh: zmcontrol.status._0Ny3: Permission denied
stats Stopped
SOLUSINYA apa ?
Masuk ke host OpenVZ, disini Host dan kontainer OpenVZ menggunakan sistem operasi Linux distro Debian 5.5 :
#vzctl exec kontainerzimbra apt-get install ant sysstat gmp compat-libstdc++-296 compat-libstdc++-33
#vzctl exec kontainerzimbra apt-get install fetchmail libtool-ltdl
#vzctl exec kontainerzimbra ant
Jika diperlukan menambahkan memory pada kontainerzimbra.
Selesai , tinggal install ulang Zimbra nya pada kontainerzimbra
#./install.sh -u
#./install.sh
trus kalo ga punya akses ke host gmn nih? :)