Description of problem: systemctl start jenkins.service does not work. journalctl -xe shows: jenkins[6639]: Starting Jenkins OpenJDK Server VM warning: You have loaded library /usr/lib64/jna/libjnidispatch.so which might have disabled stack guard. The VM will try to fix the stack guard now. jenkins[6639]: It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'. jenkins[6639]: Exception in thread "main" java.lang.reflect.InvocationTargetException jenkins[6639]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jenkins[6639]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jenkins[6639]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jenkins[6639]: at java.lang.reflect.Method.invoke(Method.java:483) jenkins[6639]: at Main._main(Main.java:146) jenkins[6639]: at Main.main(Main.java:104) jenkins[6639]: Caused by: java.lang.ExceptionInInitializerError jenkins[6639]: at com.sun.akuma.CLibrary.<clinit>(CLibrary.java:89) jenkins[6639]: at com.sun.akuma.JavaVMArguments.resolvePID(JavaVMArguments.java:126) jenkins[6639]: at com.sun.akuma.JavaVMArguments.ofLinux(JavaVMArguments.java:114) jenkins[6639]: at com.sun.akuma.JavaVMArguments.of(JavaVMArguments.java:104) jenkins[6639]: at com.sun.akuma.JavaVMArguments.current(JavaVMArguments.java:92) jenkins[6639]: at com.sun.akuma.Daemon.daemonize(Daemon.java:106) jenkins[6639]: at com.sun.akuma.Daemon.all(Daemon.java:88) jenkins[6639]: ... 6 more jenkins[6639]: Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jna/libjnidispatch.so jenkins[6639]: at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:668) jenkins[6639]: at com.sun.jna.Native.<clinit>(Native.java:131) jenkins[6639]: ... 13 more jenkins[6639]: Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jna/libjnidispatch.so jenkins[6639]: at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817) jenkins[6639]: at java.lang.Runtime.load0(Runtime.java:809) jenkins[6639]: at java.lang.System.load(System.java:1083) jenkins[6639]: at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:662) jenkins[6639]: ... 14 more runuser[6662]: pam_unix(runuser:session): session closed for user jenkins jenkins[6639]: [FAILED] systemd[1]: jenkins.service: control process exited, code=exited status=1 systemd[1]: Failed to start Jenkins continuous build server. Version-Release number of selected component (if applicable): jenkins-1.590-1.fc21.noarch java-1.8.0-openjdk-1.8.0.25-5.b18.fc21.x86_64
Note: selinux is disabled on this machine.
Hi Rolf, Thanks for the bug report. Could you please paste output of following commands here? $ rpm -q jna $ java -d64 -version
Hi Michal, I have switched to using the package from jenkins-ci.org in the meantime. Now, I have switched back to the Fedora package and I am not able to reproduce the problem anymore. $ rpm -q jna jna-4.1.0-7.fc21.x86_64 $ java -d64 -version openjdk version "1.8.0_31" OpenJDK Runtime Environment (build 1.8.0_31-b13) OpenJDK 64-Bit Server VM (build 25.31-b07, mixed mode)
This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '21'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 21 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.