Skip to content

Commit

Permalink
Merge pull request #4520 from EnterpriseDB/efm/redhat-java-workaround
Browse files Browse the repository at this point in the history
Adding warning message about openjdk 11 issue on redhat
  • Loading branch information
drothery-edb authored Sep 8, 2023
2 parents 24a9087 + 350c8bd commit ae63998
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion product_docs/docs/efm/4/13_troubleshooting.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Troubleshooting"
redirects:
redirects:
- ../efm_user/13_troubleshooting
legacyRedirectsGenerated:
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key.
Expand Down Expand Up @@ -47,3 +47,9 @@ openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
```
!!! Note
There is a temporary issue with OpenJDK version 11 on RHEL and its derivatives. When starting Failover Manager, you may see an error like the following:

`java.lang.Error: java.io.FileNotFoundException: /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/lib/tzdb.dat (No such file or directory)`

If so, the workaround is to manually install the missing package using the command `sudo dnf install tzdata-java`
7 changes: 7 additions & 0 deletions product_docs/docs/efm/4/installing/prerequisites.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ Before configuring a Failover Manager cluster, you must satisfy the prerequisite

Before using Failover Manager, you must first install Java (version 1.8 or later). Failover Manager is tested with OpenJDK, and we strongly recommend installing that version of Java. [Installation instructions for Java](https://openjdk.java.net/install/) are platform specific.

!!! Note
There is a temporary issue with OpenJDK version 11 on RHEL and its derivatives. When starting Failover Manager, you may see an error like the following:

`java.lang.Error: java.io.FileNotFoundException: /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/lib/tzdb.dat (No such file or directory)`

If so, the workaround is to manually install the missing package using the command `sudo dnf install tzdata-java`

## Provide an SMTP server

You can receive notifications from Failover Manager as specified by a user-defined notification script, by email, or both.
Expand Down

1 comment on commit ae63998

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.