Im facing an issue while installing Jenkins in VM with MobaXterm Terminal, I have installed JDK 11 Version, in the EC2 instance under Security group added the HTTP and TCP with Port Number 8080 and even i changed the Port to 8090 in the EC2 and Terminal

[ec2-user@ip-172-31-35-211 ~]$ sudo systemctl status jenkins
● jenkins.service - Jenkins Continuous Integration Server
Loaded: loaded (/usr/lib/systemd/system/jenkins.service; disabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Mon 2024-06-24 09:19:42 UTC; 2min 9s ago
Process: 9578 ExecStart=/usr/bin/jenkins (code=exited, status=1/FAILURE)
Main PID: 9578 (code=exited, status=1/FAILURE)

Jun 24 09:19:42 ip-172-31-35-211.ap-south-1.compute.internal systemd[1]: jenkins.service: main process exited, code=exit…URE
Jun 24 09:19:42 ip-172-31-35-211.ap-south-1.compute.internal systemd[1]: Failed to start Jenkins Continuous Integration …er.
Jun 24 09:19:42 ip-172-31-35-211.ap-south-1.compute.internal systemd[1]: Unit jenkins.service entered failed state.
Jun 24 09:19:42 ip-172-31-35-211.ap-south-1.compute.internal systemd[1]: jenkins.service failed.
Jun 24 09:19:42 ip-172-31-35-211.ap-south-1.compute.internal systemd[1]: jenkins.service holdoff time over, scheduling r…rt.
Jun 24 09:19:42 ip-172-31-35-211.ap-south-1.compute.internal systemd[1]: Stopped Jenkins Continuous Integration Server.
Jun 24 09:19:42 ip-172-31-35-211.ap-south-1.compute.internal systemd[1]: start request repeated too quickly for jenkins…ice
Jun 24 09:19:42 ip-172-31-35-211.ap-south-1.compute.internal systemd[1]: Failed to start Jenkins Continuous Integration …er.
Jun 24 09:19:42 ip-172-31-35-211.ap-south-1.compute.internal systemd[1]: Unit jenkins.service entered failed state.
Jun 24 09:19:42 ip-172-31-35-211.ap-south-1.compute.internal systemd[1]: jenkins.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[ec2-user@ip-172-31-35-211 ~]$ sudo systemctl start jenkins
Job for jenkins.service failed because the control process exited with error code. See “systemctl status jenkins.service” and “journalctl -xe” for details.

What does journalctl say?

Jun 25 05:54:06 ip-172-31-36-191.ap-south-1.compute.internal sudo[7044]: pam_unix(sudo:session): session opened for user root
Jun 25 05:54:06 ip-172-31-36-191.ap-south-1.compute.internal sudo[7044]: pam_unix(sudo:session): session closed for user root

That is not showing any jenkins logs.

what should i do for installation, please help me out Im trying a lot

Jun 25 09:10:03 ip-172-31-36-191.ap-south-1.compute.internal systemd[1]: Failed to start Jenkins Continuous Integration Server
– Subject: Unit jenkins.service has failed
– Defined-By: systemd
– Support: systemd-devel Info Page

– Unit jenkins.service has failed.

– The result is failed.
Jun 25 09:10:03 ip-172-31-36-191.ap-south-1.compute.internal systemd[1]: Unit jenkins.service entered failed state.
Jun 25 09:10:03 ip-172-31-36-191.ap-south-1.compute.internal systemd[1]: jenkins.service failed.
Jun 25 09:10:03 ip-172-31-36-191.ap-south-1.compute.internal log4j-cve-2021-44228-hotpatch[9468]: cat: /proc/9421/stat: No suc
Jun 25 09:10:03 ip-172-31-36-191.ap-south-1.compute.internal log4j-cve-2021-44228-hotpatch[9468]: [log4j-hotpatch] Process 942
Jun 25 09:10:03 ip-172-31-36-191.ap-south-1.compute.internal root[9578]: Process 9421 no longer a java process, skipping.
Jun 25 09:10:13 ip-172-31-36-191.ap-south-1.compute.internal systemd[1]: log4j-cve-2021-44228-hotpatch.service holdoff time ov
Jun 25 09:10:13 ip-172-31-36-191.ap-south-1.compute.internal systemd[1]: Stopped Run the CVE-2021-44228 hotfix script.
– Subject: Unit log4j-cve-2021-44228-hotpatch.service has finished shutting down

– Defined-By: systemd
– Support: systemd-devel Info Page

– Unit log4j-cve-2021-44228-hotpatch.service has finished shutting down.
Jun 25 09:10:13 ip-172-31-36-191.ap-south-1.compute.internal systemd[1]: Started Run the CVE-2021-44228 hotfix script.
– Subject: Unit log4j-cve-2021-44228-hotpatch.service has finished start-up
– Defined-By: systemd

– The start-up result is done.
Jun 25 09:10:13 ip-172-31-36-191.ap-south-1.compute.internal log4j-cve-2021-44228-hotpatch[9587]: [log4j-hotpatch] Starting up
Jun 25 09:10:13 ip-172-31-36-191.ap-south-1.compute.internal root[9588]: Starting up now…
Jun 25 09:10:13 ip-172-31-36-191.ap-south-1.compute.internal log4j-cve-2021-44228-hotpatch[9587]: [log4j-hotpatch] No JVMs fou
Jun 25 09:10:13 ip-172-31-36-191.ap-south-1.compute.internal root[9594]: No JVMs found, exiting gracefully
lines 2514-2545/2545 (END)

[quote=“DrJKavitha, post:8, topic:461043”]
Jun 25 09:10:13 ip-172-31-36-191.ap-south-1.compute.internal root[9594]: No JVMs found, [/quote]

This indicates that Java is not installed. What does this return:

java -version