-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Service Commander crashes (Java dump) after move to Power10 #211
Comments
Will take a look. Might be a missing PTF. |
It's IBM i 7.3. Java 11 is installed as licensed program. Is it required to have both - and why? Latest Java PTF group is installed. |
Service Commander requires OpenJDK 11's RPM distribution, which is standalone from JV1. JV1 Java 11 is not required, and Java PTF levels do not affect the RPM distribution. The "why?" seems a common question. I have the answer documented in the code here but we should probably also put this type of information in the mainline doc somewhere. Are you up-to-date with the latest cumulative PTF packages? I suspect one or both of the following is needed:
I'll aim to have more details in the next few days. Otherwise, we may need you to send in the resulting dumps from the Java crashes. |
Thanks for explaining and looking into this... I'm fully up-to-date with CUM and group PTF packages (like to be on the frontline 😄), so I don't miss any group PTF or yum updates - for 7.3, haven't tested this on 7.5, but will tomorrow. |
I expected nothing less 🙂 There are certain instructions that are not supported on i 7.3. I believe you need a newer OpenJDK build to handle this properly. In the meantime, environment variable |
You know me 😉 I can confirm that setting environment variable I have also installed Service Commander and OpenJDK 11 on my IBM i 7.5 sandbox, and it works here without problems. |
Oops, closed wrong issue Please remove your workaround and try
|
I have local repositories, mirrored from the IBM repositories, so my version of your
But I get no updates...
I then tried
But it is still the old version - Java version output:
|
Oops!! Sorry. Please try again in 6 hours :D you should install |
Much better!
And Service Commander now works without JIT disabled:
And the new Java RPM package is being picked by my mirrors of the IBM repositories and will be deployed to the other IBM i 7.3 instances - nice! Thanks for quick response! Btw, the current Java version 11.0.15.10 is in the base repository but the previous version 11.0.14.9 is still in the release repositories - I assume they will eventually be removed (even though yum will find the correct version) to avoid any confusion? |
I'm seeing this same issue on 7.5. JDK 11 is installed as the same as above and still experiencing the segmentation vault. In fact, seeing the segmentation fault when doing a java --version. Any advice? |
@rcronin Here is the output from Java11 on our IBM i 7.5 (Power9) server:
Are you up to date on PTF groups? |
We are on SF99959. Here's what I'm getting:
|
@ThePrez - would you be able to help me here please? IBM Support mentioned they don't support open source packages. |
Sorry, @rcronin . Am I correct to assume that your output from |
When I run that command, I get the above mentioned segmentation fault. So the error appears to be with openjdk-11 in general after installation of it. I can attach the generated logs it mentions if that's helpful. |
Ouch :( How about Also you can try running the following sequence of commands
|
Unfortunately that didn't help.
|
@ThePrez - did you get a chance to see this? If IBM support can't help on the open-jdk issue, where should I go for next steps? |
Describe the bug
We've just finished moving some of our LPAR's from a Power9 server to Power10, and now Service Commander creates a Java dump.
When running the command
sc list
we get the following output:Uninstalling the OpenJDK 11 EA from yum was not an option, since this also removed Service Commander, which has OpenJDK as a requirement.
The server move was done by creating a VM on Power10 to use the same storage as the VM on Power9. So the storage was not moved, only the CPU (and instruction set) was changed.
Please advice - I've never seen this before!
To Reproduce
Expected behavior
Verbose output
Run the command with the
-v
option and share the output here.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: