New install of jenkins on RHEL 8 won't start due to failed to map segment from shared object error

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Jenkins setup: clean install on RHEL 8 using these steps:
      sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
      sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key
      sudo yum install fontconfig java-17-openjdk
      sudo yum install jenkins
      sudo systemctl edit jenkins
      Environment=“JAVA_HOME=/usr/lib/jvm/java-17-openjdk”

      sudo systemctl start jenkins
      fails to start
      sudo journalctl -xe
      java.lang.UnsatisfiedLinkError: /var/lib/jenkins/.cache/JNA/temp/jna17258145716752850398.tmp: /var/lib/jenkins/.cache/JNA/temp/jna17258145716752850398.tmp: failed to map segment from shared object

            Assignee:
            Unassigned
            Reporter:
            Murray
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: