[jitsi-dev] first run of Videobridge


#1

Hi ,
I run this command for run jitsi Videobridge with
this<https://github.com/jitsi/jitsi-meet/blob/master/INSTALL.md>help:
./jvb.sh --host=localhost --port=5347 --sercret=pass &
but i get this error:

SEVERE: Error creating c lib instance for fixing file permissions
java.lang.UnsatisfiedLinkError: /tmp/jna1280880777550605561.tmp:
/tmp/jna1280880777550605561.tmp: failed to map segment from shared object:
Operation not permitted
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
    at java.lang.Runtime.load0(Runtime.java:795)
    at java.lang.System.load(System.java:1062)
    at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:761)
    at com.sun.jna.Native.loadNativeLibrary(Native.java:685)
    at com.sun.jna.Native.<clinit>(Native.java:109)
    at
net.java.sip.communicator.impl.configuration.ConfigurationActivator.fixPermissions(ConfigurationActivator.java:130)
    at
net.java.sip.communicator.impl.configuration.ConfigurationActivator.start(ConfigurationActivator.java:94)
    at
net.java.sip.communicator.impl.osgi.framework.BundleImpl.start(BundleImpl.java:288)
    at
net.java.sip.communicator.impl.osgi.framework.launch.FrameworkImpl.startLevelChanged(FrameworkImpl.java:446)
    at
net.java.sip.communicator.impl.osgi.framework.startlevel.FrameworkStartLevelImpl$Command.run(FrameworkStartLevelImpl.java:127)
    at
net.java.sip.communicator.impl.osgi.framework.AsyncExecutor.runInThread(AsyncExecutor.java:110)
    at
net.java.sip.communicator.impl.osgi.framework.AsyncExecutor.access$000(AsyncExecutor.java:16)
    at
net.java.sip.communicator.impl.osgi.framework.AsyncExecutor$1.run(AsyncExecutor.java:219)

May 26, 2014 3:47:46 PM net.java.sip.communicator.util.Logger info
INFO: Resource manager STARTED
May 26, 2014 3:47:46 PM net.java.sip.communicator.util.Logger info
INFO: Resource manager REGISTERED
May 26, 2014 3:47:46 PM net.java.sip.communicator.util.Logger info
INFO: Network Address Manager ...[ STARTED ]
May 26, 2014 3:47:46 PM net.java.sip.communicator.util.Logger info
INFO: Network Address Manager Service ...[REGISTERED]
May 26, 2014 3:47:46 PM net.java.sip.communicator.util.Logger info
INFO: Packet Logging Service ...[REGISTERED]
May 26, 2014 3:47:46 PM org.jitsi.util.Logger info
INFO:
org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false
May 26, 2014 3:47:46 PM org.jitsi.util.Logger info
INFO: net.java.sip.communicator.SC_HOME_DIR_NAME=.sip-communicator
May 26, 2014 3:47:46 PM org.jitsi.util.Logger info
INFO: net.java.sip.communicator.SC_HOME_DIR_LOCATION=/root
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
May 26, 2014 3:47:46 PM net.java.sip.communicator.util.Logger error
SEVERE: An uncaught exception occurred in thread=Thread[main,5,main] and
message was: host-unknown
org.xmpp.component.ComponentException: host-unknown
    at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:219)
    at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
    at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
    at org.jitsi.videobridge.Main.main(Main.java:254)

···

--
Regards,
Mohammad
PHD Student at Shiraz University Dubay division,
+ghaseminya.ir
CEO at http://Javagostaran.com


#2

На 26.05.2014 18:53, mohammad ghasemy написа:

Hi ,
I run this command for run jitsi Videobridge with
this<https://github.com/jitsi/jitsi-meet/blob/master/INSTALL.md>help:
./jvb.sh --host=localhost --port=5347 --sercret=pass &
but i get this error:

SEVERE: Error creating c lib instance for fixing file permissions
java.lang.UnsatisfiedLinkError: /tmp/jna1280880777550605561.tmp:
/tmp/jna1280880777550605561.tmp: failed to map segment from shared object:
Operation not permitted
     at java.lang.ClassLoader$NativeLibrary.load(Native Method)
     at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
     at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
     at java.lang.Runtime.load0(Runtime.java:795)
     at java.lang.System.load(System.java:1062)
     at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:761)
     at com.sun.jna.Native.loadNativeLibrary(Native.java:685)
     at com.sun.jna.Native.<clinit>(Native.java:109)
     at
net.java.sip.communicator.impl.configuration.ConfigurationActivator.fixPermissions(ConfigurationActivator.java:130)
     at
net.java.sip.communicator.impl.configuration.ConfigurationActivator.start(ConfigurationActivator.java:94)
     at
net.java.sip.communicator.impl.osgi.framework.BundleImpl.start(BundleImpl.java:288)
     at
net.java.sip.communicator.impl.osgi.framework.launch.FrameworkImpl.startLevelChanged(FrameworkImpl.java:446)
     at
net.java.sip.communicator.impl.osgi.framework.startlevel.FrameworkStartLevelImpl$Command.run(FrameworkStartLevelImpl.java:127)
     at
net.java.sip.communicator.impl.osgi.framework.AsyncExecutor.runInThread(AsyncExecutor.java:110)
     at
net.java.sip.communicator.impl.osgi.framework.AsyncExecutor.access$000(AsyncExecutor.java:16)
     at
net.java.sip.communicator.impl.osgi.framework.AsyncExecutor$1.run(AsyncExecutor.java:219)

I've never seen the exception above before but it's handled and printed for informational purposes so it may not cause a problem later on.

May 26, 2014 3:47:46 PM net.java.sip.communicator.util.Logger info
INFO: Resource manager STARTED
May 26, 2014 3:47:46 PM net.java.sip.communicator.util.Logger info
INFO: Resource manager REGISTERED
May 26, 2014 3:47:46 PM net.java.sip.communicator.util.Logger info
INFO: Network Address Manager ...[ STARTED ]
May 26, 2014 3:47:46 PM net.java.sip.communicator.util.Logger info
INFO: Network Address Manager Service ...[REGISTERED]
May 26, 2014 3:47:46 PM net.java.sip.communicator.util.Logger info
INFO: Packet Logging Service ...[REGISTERED]
May 26, 2014 3:47:46 PM org.jitsi.util.Logger info
INFO:
org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false
May 26, 2014 3:47:46 PM org.jitsi.util.Logger info
INFO: net.java.sip.communicator.SC_HOME_DIR_NAME=.sip-communicator
May 26, 2014 3:47:46 PM org.jitsi.util.Logger info
INFO: net.java.sip.communicator.SC_HOME_DIR_LOCATION=/root
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
May 26, 2014 3:47:46 PM net.java.sip.communicator.util.Logger error
SEVERE: An uncaught exception occurred in thread=Thread[main,5,main] and
message was: host-unknown
org.xmpp.component.ComponentException: host-unknown
     at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:219)
     at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
     at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
     at org.jitsi.videobridge.Main.main(Main.java:254)

The command-line argument --host= specifies the IP address or the name of the XMPP host to connect to. You may want to make sure that localhost resolves to the IP address of a running XMPP server accepting external component sessions.