The Linux agent does not start with the error message below.
Exception in thread "main" java. lang. UnsatisfiedLinkError: /home/<USERNAME>/. cache/JNA/temp/jna17888832707216736686. tmp: /home/oracle/.cache/JNA/temp/jna17888832
707216736686.tmp: failed to map segment from shared object.
It could also look like this:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/jna4021440535280609014.tmp: /tmp/jna40214405352806
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(Unknown Source)
...
at com.automic.os.process.unix.ResourceExtractor.extractResource(ResourceExtractor.java:63)
at com.automic.os.process.unix.userservice.UserServiceDriver.prepareNative(UserServiceDriver.java:175)
...
at com.automic.agent.UCXJOSS.initializeUserService(UCXJOSS.java:380)
at com.automic.agent.UCXJOSS.initializeOSDependencies(UCXJOSS.java:287)
at com.automic.agent.UCXJOSS.main(UCXJOSS.java:275)
JVM return code was:0
Product: CA Automic Workload Automation - Linux Agent v24.x
The temporary directories are mounted with noexec flags, preventing execution of files within them. This can be verified witht he command below.
mount | grep /home/<USERNAME>
If the result of the command above has noexec as shown below, then the user cannot execute any files within the temporary directories.
(rw,nosuid,nodev,noexec,relatime)
Please ask the System Administrator to remove the noexec from the directory or directories in the path shown in the error. For example:
Exception in thread "main" java. lang. UnsatisfiedLinkError: /home/<USERNAME>/. cache/JNA/temp/jna17888832707216736686. tmp: /home/oracle/.cache/JNA/temp/jna17888832
may require noexec to be removed from /home
and in:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/jna4021440535280609014.tmp: /tmp/jna40214405352806
noexec may need to be removed from /tmp
A system admin will know more about where it should be removed.