/opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12

Ask questions about your setup or get help installing ZCS server (ZD section below).
mikeyl
Posts: 3
Joined: Fri Apr 12, 2019 1:17 am

/opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12

Postby mikeyl » Fri Apr 12, 2019 1:27 am

HI guys,
I have a problem with Zimbra 8.8.12.
In a fresh install (CentOS 7) I can install Zimbra 8.8.12 correctly, but When I tried to reinstall (first uninstall Zimbra), I have an error

Installing extra packages (4):
zimbra-drive
zimbra-patch
zimbra-proxy-patch
zimbra-chat
...done

Running Post Installation Configuration:
Operations logged to /tmp/zmsetup.20190411-205830.log
Installing LDAP configuration database...done.
Setting defaults.../opt/zimbra/bin/zmjava: line 59: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory
/opt/zimbra/bin/zmjava: line 59: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory
/opt/zimbra/bin/zmjava: line 59: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory
/opt/zimbra/bin/zmjava: line 59: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory
/opt/zimbra/bin/zmjava: line 59: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory


When I search the directory and file there are not installed.

(I tried install 3 times and all with same problem)

Somebody with similar problem?

Regards


User avatar
DavidMerrill
Advanced member
Advanced member
Posts: 91
Joined: Thu Jul 30, 2015 2:44 pm
Location: Portland, ME
ZCS/ZD Version: 8.8.11 P3
Contact:

Re: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12

Postby DavidMerrill » Fri Apr 12, 2019 1:32 pm

but When I tried to reinstall (first uninstall Zimbra), I have an error


Looks like whatever happened above "didn't turn out right", did you see any messages/warnings/errors during the uninstall/reinstall?
___________________________________
David Merrill - Zimbra Practice Lead
OTELCO Zimbra Hosting, Licensing and Professional Services
Zeta Alliance
mikeyl
Posts: 3
Joined: Fri Apr 12, 2019 1:17 am

Re: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12

Postby mikeyl » Fri Apr 12, 2019 3:34 pm

David
Thanks for your reply

DavidMerrill wrote:Looks like whatever happened above "didn't turn out right", did you see any messages/warnings/errors during the uninstall/reinstall?


The first install result OK,

The reason for reinstalling was because I mistakenly disabled dnscache and my quickest option was to uninstall and install again.

Code: Select all

 zimbra-proxy-patch  x86_64  8.8.12.1552427139.p0-1.r7   zimbra-8812-oss  3.6 k

Transaction Summary
================================================================================
Install  4 Packages

Total download size: 13 M
Installed size: 16 M
Downloading packages:
--------------------------------------------------------------------------------
Total                                              2.8 MB/s |  13 MB  00:04     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : zimbra-drive-1.0.12.1553795496-1.r7.x86_64                   1/4
  Installing : zimbra-proxy-patch-8.8.12.1552427139.p0-1.r7.x86_64          2/4
**** Installation Completed. ****
Installing Zimbra-Chat
  Installing : zimbra-chat-2.0.2.1546498111-1.r7.x86_64                     3/4
Configuring Zimbra-Chat
Checking if Talk zimlet is installed.
/opt/zimbra/bin/zmjava: line 59: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory
Deploying Zimbra-Chat zimlet
/opt/zimbra/bin/zmjava: line 59: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory
/opt/zimbra/bin/zmjava: line 59: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory
Restart the mailbox service as zimbra user. Run
su - zimbra
zmmailboxdctl restart
  Installing : zimbra-patch-8.8.12.1552477867.p0-1.r7.x86_64                4/4
**** Installation Completed. ****


This is the last lines from install.log

Regards
mikeyl
Posts: 3
Joined: Fri Apr 12, 2019 1:17 am

Re: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12

Postby mikeyl » Fri Apr 12, 2019 4:20 pm

I find the problem
When uninstall Zimbra with ./install -u remove configuration and files from /opt/zimbra but don't remove the package
zimbra-openjdk-11.0.2-1zimbra8.8b1.el7.x86_64

Code: Select all

[root@correo yum.repos.d]# rpm -aq|grep zimbra
zimbra-openjdk-11.0.2-1zimbra8.8b1.el7.x86_64


I delete the package with rpm command
---------------------

Code: Select all

[root@correo yum.repos.d]# rpm -e zimbra-openjdk
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-zimbra/release: remove failed: No such file or directory
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-zimbra/lib/tzdb.dat: remove failed: No such file or directory
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-zimbra/lib/src.zip: remove failed: No such file or directory
warning: file /opt/zimbra/common/lib/jvm/openjdk-11.0.2-zimbra/lib/
....


Install again and all is ok!
User avatar
DavidMerrill
Advanced member
Advanced member
Posts: 91
Joined: Thu Jul 30, 2015 2:44 pm
Location: Portland, ME
ZCS/ZD Version: 8.8.11 P3
Contact:

Re: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12

Postby DavidMerrill » Fri Apr 12, 2019 6:09 pm

Well done, thanks for sharing!
___________________________________
David Merrill - Zimbra Practice Lead
OTELCO Zimbra Hosting, Licensing and Professional Services
Zeta Alliance

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 5 guests