RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1313301 - ipa-server installation fails if java-1.8 is installed
Summary: ipa-server installation fails if java-1.8 is installed
Keywords:
Status: CLOSED DUPLICATE of bug 1290535
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: Namita Soman
Aneta Šteflová Petrová
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-01 11:10 UTC by Jaroslav Aster
Modified: 2016-03-11 16:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The issue will be documented in BZ#1290535
Clone Of:
Environment:
Last Closed: 2016-03-11 16:47:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1290535 0 high CLOSED Check for incompatible Java at startup 2023-09-14 03:14:36 UTC

Internal Links: 1290535

Description Jaroslav Aster 2016-03-01 11:10:02 UTC
Created attachment 1131876 [details]
ipa-server install log

Description of problem:

ipa-server installation fails if java-1.8 is installed.

Version-Release number of selected component (if applicable):


How reproducible:

100%

Steps to Reproduce:
1. Install java-1.8. It is installed in beaker by default for 6.8 nightly builds.
2. Install ipa-server.

# cat /var/log/ipaserver-install.log
...
2016-03-01T10:52:53Z DEBUG stderr=[error] FAILED run_command("/sbin/service pki-cad restart pki-ca"), exit status=7 output="Stopping pki-ca: [  OK  ]
Incompatible Java version '1.8.0_71'!

    As root, download and install 'jre-1.7.0-openjdk' and run
    'alternatives --set java /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java'.
"
...

Actual results:

Installation of ipa-server fails.

Expected results:

Installation of ipa-server passes.

Additional info:

Log file is attached.

Comment 1 Petr Vobornik 2016-03-01 12:00:12 UTC
IPA, or rather PKI server, supports only Java 1.7 on RHEL 6.

The error message clearly says the way to fix the issue:

     As root, download and install 'jre-1.7.0-openjdk' and run
    'alternatives --set java /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java'.

Comment 2 Petr Vobornik 2016-03-01 15:01:56 UTC
Reopening, IPA team agreed that IPA installer should at least print the pkispawn error message into console output so that user will know what is happening without checking logs.

Note: if discussion/query in Bug 1290535, comment 20 ends with a fix on pki-side then this bug will be closed again because it won't be needed.

Comment 3 Petr Vobornik 2016-03-11 16:47:39 UTC
In bug 1290535 PKI server will be modified to run with java 1.7 and not print the error message in comment 1.

Fetching and printing the PKI output is therefore not needed -> closing.

*** This bug has been marked as a duplicate of bug 1290535 ***


Note You need to log in before you can comment on or make changes to this bug.