Symptoms
- On Linux, the ESE Agent service fails to start if the /tmp directory is a separate filesystem mounted with the noexec option.
- There is no output in /var/log/backuppro/service.log.
- When running the GUI from the command line, the following error appears:
root@ubuntu:~# backupprogui
Error starting UI
java.lang.UnsatisfiedLinkError: /tmp/jna-3506402/jna1577738649013869472.tmp: /tmp/jna-3506402/jna1577738649013869472.tmp: failed to map segment from shared object
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:947)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922)
at com.sun.jna.Native.<clinit>(Native.java:190)
at com.attix5.shared.startup.PidFile$CLibrary.<clinit>(PidFile.java:71)
at com.attix5.shared.startup.PidFile.getPid(PidFile.java:66)
at com.attix5.shared.startup.PidFile.writePidFile(PidFile.java:35)
at com.attix5.ui.main.UiMain.create(UiMain.java:45)
at com.attix5.agentconsole.boot.GuiMain.main(GuiMain.java:16)
Workaround
1. Edit the files /etc/opt/backuppro/service.properties and /etc/opt/backuppro/gui.properties and add the following line to both of them (the latter may not exist, in which case you need to create it):
jvm.args=-Djna.tmpdir=/var/opt/backuppro/data/temp
2. Depending on your Linux distribution, start the service using either
systemctl start backuppro
or
service backuppro start
Comments
0 comments
Please sign in to leave a comment.