/opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12
/opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12
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
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
- DavidMerrill
- Advanced member
- Posts: 126
- Joined: Thu Jul 30, 2015 2:44 pm
- Location: Portland, ME
- ZCS/ZD Version: 8.8.15 P19
- Contact:
Re: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12
Looks like whatever happened above "didn't turn out right", did you see any messages/warnings/errors during the uninstall/reinstall?but When I tried to reinstall (first uninstall Zimbra), I have an error
___________________________________
David Merrill - Zimbra Practice Lead
OTELCO Zimbra Hosting, Licensing and Professional Services
Zeta Alliance
David Merrill - Zimbra Practice Lead
OTELCO Zimbra Hosting, Licensing and Professional Services
Zeta Alliance
Re: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12
David
Thanks for your reply
The reason for reinstalling was because I mistakenly disabled dnscache and my quickest option was to uninstall and install again.
This is the last lines from install.log
Regards
Thanks for your reply
The first install result OK,DavidMerrill wrote:Looks like whatever happened above "didn't turn out right", did you see any messages/warnings/errors during the uninstall/reinstall?
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
Re: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12
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
I delete the package with rpm command
---------------------
Install again and all is ok!
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
---------------------
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/
....
- DavidMerrill
- Advanced member
- Posts: 126
- Joined: Thu Jul 30, 2015 2:44 pm
- Location: Portland, ME
- ZCS/ZD Version: 8.8.15 P19
- Contact:
Re: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12
Well done, thanks for sharing!
___________________________________
David Merrill - Zimbra Practice Lead
OTELCO Zimbra Hosting, Licensing and Professional Services
Zeta Alliance
David Merrill - Zimbra Practice Lead
OTELCO Zimbra Hosting, Licensing and Professional Services
Zeta Alliance
-
- Posts: 7
- Joined: Sun Jul 07, 2019 11:59 am
Re: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12
./install.sh -u
yum-complete-transaction --cleanup-only
yum history redo last
rpm -qa|grep zimbra-openjdk
yum remove zimbra-openjdk
Then try re-installation:
./install.sh
yum-complete-transaction --cleanup-only
yum history redo last
rpm -qa|grep zimbra-openjdk
yum remove zimbra-openjdk
Then try re-installation:
./install.sh
Re: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12
This error is present in ZCS Network Edition 8.8.15_GA_3829.RHEL7_64
Clean install of zimbra
you forget something and then stop the install
As a good sysadmin you do a cleanup #./install.sh -u
all packages are removed but zimbra-openjdk is not
The solution is as @PavanLinux said in previous post.
You need to do the #./install.sh -u
and then #yum remove zimbra-openjdk
and then reinstall
Clean install of zimbra
you forget something and then stop the install
As a good sysadmin you do a cleanup #./install.sh -u
all packages are removed but zimbra-openjdk is not
The solution is as @PavanLinux said in previous post.
You need to do the #./install.sh -u
and then #yum remove zimbra-openjdk
and then reinstall
- L. Mark Stone
- Ambassador
- Posts: 2802
- Joined: Wed Oct 09, 2013 11:35 am
- Location: Portland, Maine, US
- ZCS/ZD Version: 10.0.7 Network Edition
- Contact:
Re: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12
Please file a bug report by opening a Support Case. Add my name to the ticket if you wish, as I experienced this issue as well earlier this week. You can also post a link to this forum thread, so Support can see that this bug pre-dates 8.8.15.
Thanks!
Mark
Thanks!
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
Re: /opt/zimbra/common/lib/jvm/java/bin/java: No such file or directory - when I reinstalled Zimbra 8.8.12
Filed bug under https://bugzilla.zimbra.com/show_bug.cgi?id=109203
Mark, dont have your email to add it to the bug report.
Mark, dont have your email to add it to the bug report.