InvocationTargetException when running hudson on centOS

I installed Hudson using the instructions provided at http://hudson-ci.org/redhat/ . When I executed the following command, I received InvocationTargetException.

root@host ~ # service hudson start

Called: java.lang.UnsatisfiedLinkError: /tmp/jna9143314259601764116.tmp: /tmp/jna9143314259601764116.tmp: could not display a segment from a shared object: operation not allowed

I am using Java latest JDK ... Any help?

+3
source share
2 answers

Understand this is an old question, but I stumbled upon this, looking for something else.

JAR . , -, , /tmp/, . , /tmp/ noexec, /etc/fstab:

tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0

, noexec .

( ) , /tmp/, JMP tmp:

-Djava.io.tmpdir=/some/writable/directory
+6

, , , :

hudson.war

-1

All Articles