I did modify my container for my site. I bind $OPENFIRE_HOME to external container volume disk.
I install the freshly compiled llama plugin and i have founded this in logs
I also found that the linux binary was executable only for root so i add to do a chmod +x so my container user openfire can start it
I can give you access to my OF console so you can check
2023.11.22 14:14:55 ^[[1;31mERROR^[[m [PluginMonitorExec-2]: org.ifsoft.llama.openfire.LLaMA - startLLaMAProcess error
java.lang.RuntimeException: java.io.IOException: Cannot run program "/usr/share/openfire/plugins/llama-0.0.1/classes/linux-64/server" (in directory "/usr/share/openfire/plugins/llama-0.0.1/classes/
at de.mxro.process.internal.Engine.startProcess(Engine.java:32) ~[llama-0.0.1-SNAPSHOT.jar:?]
at de.mxro.process.Spawn.startProcess(Spawn.java:27) ~[llama-0.0.1-SNAPSHOT.jar:?]
at de.mxro.process.Spawn.startProcess(Spawn.java:23) ~[llama-0.0.1-SNAPSHOT.jar:?]
at org.ifsoft.llama.openfire.LLaMA.startLLaMAProcess(LLaMA.java:275) [llama-0.0.1-SNAPSHOT.jar:?]
at org.ifsoft.llama.openfire.LLaMA.setupLLaMA(LLaMA.java:260) [llama-0.0.1-SNAPSHOT.jar:?]
at org.ifsoft.llama.openfire.LLaMA.initializePlugin(LLaMA.java:116) [llama-0.0.1-SNAPSHOT.jar:?]
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:637) [xmppserver-4.7.5.jar:4.7.5]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:370) [xmppserver-4.7.5.jar:4.7.5]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:358) [xmppserver-4.7.5.jar:4.7.5]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.io.IOException: Cannot run program "/usr/share/openfire/plugins/llama-0.0.1/classes/linux-64/server" (in directory "/usr/share/openfire/plugins/llama-0.0.1/classes/linux-64"): error
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1143) ~[?:?]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1073) ~[?:?]
at de.mxro.process.internal.Engine.startProcess(Engine.java:30) ~[llama-0.0.1-SNAPSHOT.jar:?]
... 12 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.ProcessImpl.forkAndExec(Native Method) ~[?:?]
at java.lang.ProcessImpl.(ProcessImpl.java:314) ~[?:?]
at java.lang.ProcessImpl.start(ProcessImpl.java:244) ~[?:?]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1110) ~[?:?]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1073) ~[?:?]
at de.mxro.process.internal.Engine.startProcess(Engine.java:30) ~[llama-0.0.1-SNAPSHOT.jar:?]
... 12 more
Dele,
I did modify my container for my site. I bind $OPENFIRE_HOME to external container volume disk. I install the freshly compiled llama plugin and i have founded this in logs
I also found that the linux binary was executable only for root so i add to do a chmod +x so my container user openfire can start it
I can give you access to my OF console so you can check
2023.11.22 14:14:55 ^[[1;31mERROR^[[m [PluginMonitorExec-2]: org.ifsoft.llama.openfire.LLaMA - startLLaMAProcess error(ProcessImpl.java:314) ~[?:?]
java.lang.RuntimeException: java.io.IOException: Cannot run program "/usr/share/openfire/plugins/llama-0.0.1/classes/linux-64/server" (in directory "/usr/share/openfire/plugins/llama-0.0.1/classes/ at de.mxro.process.internal.Engine.startProcess(Engine.java:32) ~[llama-0.0.1-SNAPSHOT.jar:?]
at de.mxro.process.Spawn.startProcess(Spawn.java:27) ~[llama-0.0.1-SNAPSHOT.jar:?]
at de.mxro.process.Spawn.startProcess(Spawn.java:23) ~[llama-0.0.1-SNAPSHOT.jar:?]
at org.ifsoft.llama.openfire.LLaMA.startLLaMAProcess(LLaMA.java:275) [llama-0.0.1-SNAPSHOT.jar:?]
at org.ifsoft.llama.openfire.LLaMA.setupLLaMA(LLaMA.java:260) [llama-0.0.1-SNAPSHOT.jar:?]
at org.ifsoft.llama.openfire.LLaMA.initializePlugin(LLaMA.java:116) [llama-0.0.1-SNAPSHOT.jar:?]
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:637) [xmppserver-4.7.5.jar:4.7.5]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:370) [xmppserver-4.7.5.jar:4.7.5]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:358) [xmppserver-4.7.5.jar:4.7.5]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.io.IOException: Cannot run program "/usr/share/openfire/plugins/llama-0.0.1/classes/linux-64/server" (in directory "/usr/share/openfire/plugins/llama-0.0.1/classes/linux-64"): error at java.lang.ProcessBuilder.start(ProcessBuilder.java:1143) ~[?:?]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1073) ~[?:?]
at de.mxro.process.internal.Engine.startProcess(Engine.java:30) ~[llama-0.0.1-SNAPSHOT.jar:?]
... 12 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.ProcessImpl.forkAndExec(Native Method) ~[?:?]
at java.lang.ProcessImpl.
at java.lang.ProcessImpl.start(ProcessImpl.java:244) ~[?:?]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1110) ~[?:?]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1073) ~[?:?]
at de.mxro.process.internal.Engine.startProcess(Engine.java:30) ~[llama-0.0.1-SNAPSHOT.jar:?]
... 12 more