Sunteți pe pagina 1din 3

30/07/2019 Zimbra zmlocalconfig: line 83: exec: java: not found - SystemMen.

com

Zimbra zmlocalconfig: line 83:


exec: java: not found
  By Danie Pham   Zimbra    3 Comments

Share this post to your friends !


0
Shares

SystemMen  - Zimbra error /opt/zimbra/bin/zmlocalconfig: line 83:


exec: java: not found. Why do I encounter this error? And how do I fix
this.

Let’s read the article.

Related Posts
How to export a list of accounts by domain in Zimbra
Step by step add a new domain in Zimbra from A-Z
How to add new domain in Zimbra admin

Zimbra zmlocalconfig: line 83: exec: java: not found.

Zimbra java not found error when


reinstalling Zimbra
As my previous post on how to uninstall Zimbra  on your mail server.
Just like you, when I first did it, no problem happened.

But when I reinstalled Zimbra on the server itself. I have encountered a


Java-related error. It looks like this.

Running Post Installation Configuration:


/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not f
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not f
https://www.systemmen.com/mail-server/zimbra/zimbra-zmlocalconfig-line-83-exec-java-not-found-360.html 1/3
30/07/2019 Zimbra zmlocalconfig: line 83: exec: java: not found - SystemMen.com

/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not f


/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not f
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not f
Operations logged to /tmp/zmsetup.20190517-000022.log
Installing LDAP configuration database...done.
Setting defaults.../opt/zimbra/bin/zmlocalconfig: line 83
/opt/zimbra/bin/zmjava: line 59: /bin/java: No such file
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not f
/opt/zimbra/bin/zmjava: line 59: /bin/java: No such file
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not f
/opt/zimbra/bin/zmjava: line 59: /bin/java: No such file
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not f
/opt/zimbra/bin/zmjava: line 59: /bin/java: No such file
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not f
/opt/zimbra/bin/zmjava: line 59: /bin/java: No such file

I was initially puzzled as to why this error did not occur at the first
installation. It only appeared after I uninstalled Zimbra and installed it.

There is something wrong with uninstalling Zimbra. And after a while


of searching, I found the reason.

Fix java not found error when reinstalling


Zimbra
I searched for information for a while and found that uninstalling
Zimbra via the  ./install.sh -u   command will not completely
uninstall the installed Zimbra packages on the server.

Because I’m using CentOS 7, so I use the following command to find


zimbra packages still on the server.

[root@mail ~]# rpm -aq|grep zimbra


zimbra-openjdk-11.0.2-1zimbra8.8b1.el7.x86_64

As a result, the  zimbra-openjdk  package is still in the server. I need


to remove it from the server.

Execute the following command to remove it from the server.

[root@mail ~]# rpm -e zimbra-openjdk


warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z

https://www.systemmen.com/mail-server/zimbra/zimbra-zmlocalconfig-line-83-exec-java-not-found-360.html 2/3
30/07/2019 Zimbra zmlocalconfig: line 83: exec: java: not found - SystemMen.com

warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z


warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-z
...

...  means that log for this part is still there but I can’t copy it all in
the article, because it’s too long.

And then, I did the Zimbra reinstallation and it succeeded. That’s it.

Conclusion
It’s just a small thing but can make us troubled. Anyway, this is the
experience that I want to share with you, hope it helps you.

If you liked this article, then please subscribe to our YouTube Channel for


more video tutorials. You can also find us on Twitter and Facebook.

https://www.systemmen.com/mail-server/zimbra/zimbra-zmlocalconfig-line-83-exec-java-not-found-360.html 3/3

S-ar putea să vă placă și