Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Eric Fetzer
Sorry Mark, used to happening onto fixes in 2 minutes.  I'll put the 11
minutes into the vid.  Thanks for all the help!

On Wed, Sep 14, 2022 at 2:35 PM Mark Waite 
wrote:

> Yet another technique, quoting from the link that I included earlier:
>
> > Make sure the default JVM is the newly installed version. If it is not,
> run systemctl edit jenkins and set either the JAVA_HOME environment
> variable or the JENKINS_JAVA_CMD environment variable
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/00ogw3rHsCw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/787a7314-9be4-42ca-9e88-5e8e4ade8a75n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAByBicYMAq5xVi_rBuNYMr8ouj8FKcJ5j9zPmEdVscy-4yH3sg%40mail.gmail.com.


Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Eric Fetzer
Yep, it's correct but still won't start:

[root@nd645bd001 jenkins]# alternatives --config java

There is 1 program that provides 'java'.

  SelectionCommand
---
*+ 1   java-11-openjdk.x86_64
(/usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.el7_9.x86_64/bin/java)


Here's the error in journalctl:

-- The start-up result is done.
Sep 14 15:40:01 nd645bd001 CROND[90879]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Sep 14 15:40:01 nd645bd001 systemd[1]: Removed slice User Slice of root.
-- Subject: Unit user-0.slice has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-0.slice has finished shutting down.
Sep 14 15:40:02 nd645bd001 goferd[1237]:
[WARNING][pulp.agent.1c5e8577-7a00-4d79-b04f-b69dc63299ac]
gofer.messaging.adapter.proton.reliability:54 - Connection amqps://
ne001rhc001.fireness.gov:5647 disconnected: Condition('amqp:resource-l
[root@nd645bd001 jenkins]#


Appears that jenkins may be expecting systemd rather than systemctl???
Just guessing...  Thanks!


On Wed, Sep 14, 2022 at 2:32 PM Mark Waite 
wrote:

>
>
> On Wednesday, September 14, 2022 at 2:26:09 PM UTC-6 Eric Fetzer wrote:
>
> Thanks for the response Mark.  I don't want to backgrade, so jenkins won't
>> run.  Can you give me a clue as to where the filepath is to java in
>> Jenkins.  Just upgrading didn't solve the problem and the vid is too slow
>> for me.  He seems to talk a lot about working in the tool.  I'm command
>> line RHEL 7.
>>
>>
> I believe that the command you want is described on the Red Hat Customer
> Portal .
>
> # alternatives --config java
>
> Naturally, there are many different scenarios and complications where that
> command is the wrong choice.  For most people, the simplest choice is to
> switch the system path to Java and that is what alternatives will do.
>
> If that is not what you prefer, then you can configure a specific Java
> path through
>
> # systemctl edit jenkins
>
> The Jenkins documentation includes a guide to managing services with
> systemd
> .
>
> Mark Waite
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/00ogw3rHsCw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/7724e4c7-62f1-4c2a-bb4e-d8f39e1f565bn%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAByBicafqc8oyUJZkzSWYjL_6QHzOh9x0E9x3XZSFQGSZwq0CA%40mail.gmail.com.


Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Mark Waite
Yet another technique, quoting from the link that I included earlier:

> Make sure the default JVM is the newly installed version. If it is not, 
run systemctl edit jenkins and set either the JAVA_HOME environment 
variable or the JENKINS_JAVA_CMD environment variable

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/787a7314-9be4-42ca-9e88-5e8e4ade8a75n%40googlegroups.com.


Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Mark Waite


On Wednesday, September 14, 2022 at 2:26:09 PM UTC-6 Eric Fetzer wrote:

Thanks for the response Mark.  I don't want to backgrade, so jenkins won't 
> run.  Can you give me a clue as to where the filepath is to java in 
> Jenkins.  Just upgrading didn't solve the problem and the vid is too slow 
> for me.  He seems to talk a lot about working in the tool.  I'm command 
> line RHEL 7.
>
>
I believe that the command you want is described on the Red Hat Customer 
Portal .

# alternatives --config java

Naturally, there are many different scenarios and complications where that 
command is the wrong choice.  For most people, the simplest choice is to 
switch the system path to Java and that is what alternatives will do.

If that is not what you prefer, then you can configure a specific Java path 
through

# systemctl edit jenkins
 
The Jenkins documentation includes a guide to managing services with systemd 
.

Mark Waite

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7724e4c7-62f1-4c2a-bb4e-d8f39e1f565bn%40googlegroups.com.


Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Eric Fetzer
Thanks for the response Mark.  I don't want to backgrade, so jenkins won't
run.  Can you give me a clue as to where the filepath is to java in
Jenkins.  Just upgrading didn't solve the problem and the vid is too slow
for me.  He seems to talk a lot about working in the tool.  I'm command
line RHEL 7.

Thanks,
Eric

On Wed, Sep 14, 2022 at 10:33 AM Mark Waite 
wrote:

> See
> https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines/
> for instructions and a video describing the steps
>
> On Wednesday, September 14, 2022 at 10:06:19 AM UTC-6 slide wrote:
>
>> The latest weekly releases dropped support for Java 8, so you will need
>> to update to Java 11 at a minimum. You may need to look if there is a
>> separate yum package for Java 11 (e.g., if Java 8 is still the default in
>> your OS, then yum update java may not update to Java 11, it may just update
>> to the latest Java 8).
>>
>> On Wed, Sep 14, 2022 at 8:59 AM eric@gmail.com 
>> wrote:
>>
>>> Here's what I did:
>>>
>>> yum update jenkins
>>>
>>> Here's what's happening trying to get version info after upgrade.  Also
>>> won't start with systemctl start jenkins.
>>>
>>> [root@nd645bd001 ~]# /bin/jenkins -version
>>> Sep 14, 2022 10:56:24 AM executable.Main verifyJavaVersion
>>> SEVERE: Running with Java class version 52, which is older than the
>>> Minimum required version 55. See
>>> https://jenkins.io/redirect/java-support/
>>> java.lang.UnsupportedClassVersionError: 52.0
>>> at executable.Main.verifyJavaVersion(Main.java:145)
>>> at executable.Main.main(Main.java:109)
>>>
>>> Jenkins requires Java versions [17, 11] but you are running with Java
>>> 1.8 from /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.342.b07-1.el7_9.x86_64/jre
>>> java.lang.UnsupportedClassVersionError: 52.0
>>> at executable.Main.verifyJavaVersion(Main.java:145)
>>> at executable.Main.main(Main.java:109)
>>>
>>> Seems I need to upgrade java, but jenkins doesn't control java.  Please
>>> advise.  Should I just yum update java?
>>>
>>> Thanks,
>>> Eric
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jenkinsci-use...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/63ddfcc2-b01e-4f44-8c6e-9ee40f923905n%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> Website: http://earl-of-code.com
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/00ogw3rHsCw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/987308da-c629-4352-996b-a87d1b195066n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAByBicYazaGR5t-e_V7Wc9MM7PTLw53Cp4sMLZRKyv5Gv_%2BDCg%40mail.gmail.com.


Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Mark Waite
See 
https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines/ 
for instructions and a video describing the steps

On Wednesday, September 14, 2022 at 10:06:19 AM UTC-6 slide wrote:

> The latest weekly releases dropped support for Java 8, so you will need to 
> update to Java 11 at a minimum. You may need to look if there is a separate 
> yum package for Java 11 (e.g., if Java 8 is still the default in your OS, 
> then yum update java may not update to Java 11, it may just update to the 
> latest Java 8).
>
> On Wed, Sep 14, 2022 at 8:59 AM eric@gmail.com  
> wrote:
>
>> Here's what I did:
>>
>> yum update jenkins
>>
>> Here's what's happening trying to get version info after upgrade.  Also 
>> won't start with systemctl start jenkins.
>>
>> [root@nd645bd001 ~]# /bin/jenkins -version
>> Sep 14, 2022 10:56:24 AM executable.Main verifyJavaVersion
>> SEVERE: Running with Java class version 52, which is older than the 
>> Minimum required version 55. See 
>> https://jenkins.io/redirect/java-support/
>> java.lang.UnsupportedClassVersionError: 52.0
>> at executable.Main.verifyJavaVersion(Main.java:145)
>> at executable.Main.main(Main.java:109)
>>
>> Jenkins requires Java versions [17, 11] but you are running with Java 1.8 
>> from /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.342.b07-1.el7_9.x86_64/jre
>> java.lang.UnsupportedClassVersionError: 52.0
>> at executable.Main.verifyJavaVersion(Main.java:145)
>> at executable.Main.main(Main.java:109)
>>
>> Seems I need to upgrade java, but jenkins doesn't control java.  Please 
>> advise.  Should I just yum update java?
>>
>> Thanks,
>> Eric
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/63ddfcc2-b01e-4f44-8c6e-9ee40f923905n%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Website: http://earl-of-code.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/987308da-c629-4352-996b-a87d1b195066n%40googlegroups.com.


Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Alex Earl
The latest weekly releases dropped support for Java 8, so you will need to
update to Java 11 at a minimum. You may need to look if there is a separate
yum package for Java 11 (e.g., if Java 8 is still the default in your OS,
then yum update java may not update to Java 11, it may just update to the
latest Java 8).

On Wed, Sep 14, 2022 at 8:59 AM eric@gmail.com 
wrote:

> Here's what I did:
>
> yum update jenkins
>
> Here's what's happening trying to get version info after upgrade.  Also
> won't start with systemctl start jenkins.
>
> [root@nd645bd001 ~]# /bin/jenkins -version
> Sep 14, 2022 10:56:24 AM executable.Main verifyJavaVersion
> SEVERE: Running with Java class version 52, which is older than the
> Minimum required version 55. See https://jenkins.io/redirect/java-support/
> java.lang.UnsupportedClassVersionError: 52.0
> at executable.Main.verifyJavaVersion(Main.java:145)
> at executable.Main.main(Main.java:109)
>
> Jenkins requires Java versions [17, 11] but you are running with Java 1.8
> from /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.342.b07-1.el7_9.x86_64/jre
> java.lang.UnsupportedClassVersionError: 52.0
> at executable.Main.verifyJavaVersion(Main.java:145)
> at executable.Main.main(Main.java:109)
>
> Seems I need to upgrade java, but jenkins doesn't control java.  Please
> advise.  Should I just yum update java?
>
> Thanks,
> Eric
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/63ddfcc2-b01e-4f44-8c6e-9ee40f923905n%40googlegroups.com
> 
> .
>


-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfxf_OYP566faNU1adY%3DHkDtn1ppcPYTTT6PAJONCEetw%40mail.gmail.com.


Jenkins Won't start after latest ugrade

2022-09-14 Thread eric....@gmail.com
Here's what I did:

yum update jenkins

Here's what's happening trying to get version info after upgrade.  Also 
won't start with systemctl start jenkins.

[root@nd645bd001 ~]# /bin/jenkins -version
Sep 14, 2022 10:56:24 AM executable.Main verifyJavaVersion
SEVERE: Running with Java class version 52, which is older than the Minimum 
required version 55. See https://jenkins.io/redirect/java-support/
java.lang.UnsupportedClassVersionError: 52.0
at executable.Main.verifyJavaVersion(Main.java:145)
at executable.Main.main(Main.java:109)

Jenkins requires Java versions [17, 11] but you are running with Java 1.8 
from /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.342.b07-1.el7_9.x86_64/jre
java.lang.UnsupportedClassVersionError: 52.0
at executable.Main.verifyJavaVersion(Main.java:145)
at executable.Main.main(Main.java:109)

Seems I need to upgrade java, but jenkins doesn't control java.  Please 
advise.  Should I just yum update java?

Thanks,
Eric

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/63ddfcc2-b01e-4f44-8c6e-9ee40f923905n%40googlegroups.com.