Missing libraries on server/in openjdk headless mode
lufik opened this issue · 5 comments
I installed openfire 4.1.5 + ofmeeting 0.9.1 + offocusprovided 0.9.1 on new minimal
server (openjdk headless, no X server, no pulseaudio). I see several missing libraries
during startup in log files (libpulse.so, libspeexdsp.so.1 and libjawt.so).
Log messages are below ...
I used google and it seems those libraries are not useful (as the feature is useless) on server
(Try disabling the audiosystem completely, you don't need them on a server):
http://lists.jitsi.org/pipermail/dev/2015-November/025916.html
It could be disabled in property file:
http://lists.jitsi.org/pipermail/dev/2015-November/025917.html
I think it's handy and should be implemented in ofmeet plugin.
I don't know jitsi server part so maybe my assumption is wrong ;)
I put all the directives on cmd line in linux and all startup errors related to audio/video gone away:
-Dorg.jitsi.impl.neomedia.device.PulseAudioSystem.disabled=true
-Dorg.jitsi.impl.neomedia.device.PortAudioSystem.disabled=true
-Dorg.jitsi.impl.neomedia.device.Video4Linux2System.disabled=true
-Dorg.jitsi.impl.neomedia.device.ImgStreamingSystem.disabled=true
-Dnet.java.sip.communicator.service.media.DISABLE_AUDIO_SUPPORT=true
-Dnet.java.sip.communicator.service.media.DISABLE_VIDEO_SUPPORT=true
Thanks for review (and fix if possible).
2017.07.18 16:35:26 WARN [org.jitsi.impl.osgi.framework.AsyncExecutor]: org.jitsi.impl.neomedia.device.DeviceSystem - Failed to initialize org.jitsi.impl.neomedia.device.PulseAudioSystem
java.lang.UnsatisfiedLinkError: /tmp/jna--504109184/jna8746105411937794190.tmp: libpulse.so.0: cannot open shared object file: No such file or directory
2017.07.18 16:35:26 WARN [org.jitsi.impl.osgi.framework.AsyncExecutor]: org.jitsi.impl.neomedia.device.DeviceSystem - Failed to initialize org.jitsi.impl.neomedia.device.PortAudioSystem
java.lang.UnsatisfiedLinkError: /tmp/jna--504109184/jna4630476756762629817.tmp: libspeexdsp.so.1: cannot open shared object file: No such file or directory
2017.07.18 16:35:26 ERROR [org.jitsi.impl.osgi.framework.AsyncExecutor]: org.jitsi.impl.neomedia.device.DeviceConfiguration - Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer with JMF.
java.lang.IllegalStateException: audioSystem
2017.07.18 16:35:26 ERROR [org.jitsi.impl.osgi.framework.AsyncExecutor]: org.jitsi.impl.neomedia.device.DeviceConfiguration - Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
java.lang.UnsatisfiedLinkError: /tmp/jna--504109184/jna6436395051465581743.tmp: libjawt.so: cannot open shared object file: No such file or directory
This issue issue is not limited to headless mode, I think. I've seen (and utterly ignored) those stack traces on pretty much every deployment. It'd be good to root them out. Thanks for your suggestion!
I'm having the same problem, any fix for this? (I have a property file as mentioned and I see the same logs). Thanks for any help
Note that these errors can safely be ignored. The suggested fix is a cosmetic one.
OK, thank you!
This should be fixed in release 0.9.5.