[jitsi-users] Installing Jitsi Meet on FreeBSD


#1

Hi, Boris, Etienne,

Thanks for your suggestions. The extra features are not very relevant at
the moment. Later on I will try to compile the libraries on FreeBSD
separately.

Best Regards,
Vasil

Hi,

>
> Hi, all,
>
> I am trying to compile and install Jitsi Meet on FreeBSD, but

encountered a lot of problems. Does someone have any experience in
installing Jitsi Meet on FreeBSD?

>
> Following the tutorial here:

https://github.com/jitsi/jitsi-meet/blob/master/doc/manual-install.md

>
> I was able to install and configure prosody and nginx. I also compiled

Jitsi Video Bridge with Maven, but it seems to have some native libraries
that are available only for Linux, Windows and MacOS. This is the first
hurdle.

None of these are hard requirements
You will be missing statistics because of sigar and data channels (and

so
automatic speaker switching) because of usrsctp. Otherwise it should work
without any problems (it did a few months ago).

Disabling sctp in jitsi-meet also disable simulcast, but you should still
be able to use normal conference

Regards,
Boris

>
> Then I tried with the compiled jvb to connect to a XMPP server and it

gave the error:

>
> SEVERE: host-unknown, host:10.xx.xx.xx, port:5222
> 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.meet.ComponentMain$3.call(ComponentMain.java:270)
> at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
> at

org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)

> at

java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at

java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

> at

java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

> at

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

> at

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

> at java.lang.Thread.run(Thread.java:745)
>
> Although I know the IP address has a valid XMPP server at this port, I

can verify this by connecting via telnet.

···

Le 13 mars 2016 03:39, "Boris Grozev" a écrit :

On Mar 12, 2016 2:00 PM, wrote:
>
> I'd be thankful for any ideas or suggestions.
>
> Best Regards
> Vasil
>

-------------------------------------
Mail.BG: Безплатен e-mail адрес. Най-добрите характеристики на българския пазар - 30 GB пощенска кутия, 1 GB прикрепен файл, безплатен POP3, мобилна версия и други. http://mail.bg


#2

Dear all,

I am still trying to install Jitsi Meet on FreeBSD.
Starting Jitsi videobridge now seems to work (almost), but when I connect
Jicofo, Jitsi videobridge throws a NoClassDefFoundError on type
"org.jitsi.service.neomedia.MediaType".

This should not happen. I start JVB via Maven and Maven should pick up all
necessary JARs. I can load the projects in Eclipse and this particular
class is loaded correctly as a dependency. Only in the runtime it seem not
to be found.
Any ideas?

Here is the stack trace from Jitsi videobridge and Jicofo.

Thanks in advance!
Vasil

JVB:

........
INFO: RECV:
Mar 23, 2016 12:50:55 PM org.jitsi.util.Logger info
INFO: RECV:
Mar 23, 2016 12:50:59 PM org.jitsi.util.Logger info
INFO: RECV:
[WARNING]
java.lang.NoClassDefFoundError: org/jitsi/service/neomedia/MediaType
at org.jitsi.videobridge.health.Health.(Health.java:44)
at
org.jitsi.videobridge.Videobridge.handleHealthCheckIQ(Videobridge.java:1045)
at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQRequest(ComponentImpl.java:402)
at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQ(ComponentImpl.java:315)
at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQ(ComponentImpl.java:267)
at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQGet(ComponentImpl.java:366)
at
org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:511)
at
org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
at
org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
at
org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
at
org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException:
org.jitsi.service.neomedia.MediaType
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 14 more
Mar 23, 2016 12:51:05 PM org.jitsi.util.Logger info
INFO: RECV:
Mar 23, 2016 12:51:09 PM org.jitsi.util.Logger info
INFO: RECV:
[WARNING]
java.lang.NoClassDefFoundError: Could not initialize class
org.jitsi.videobridge.health.Health
at
org.jitsi.videobridge.Videobridge.handleHealthCheckIQ(Videobridge.java:1045)
at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQRequest(ComponentImpl.java:402)
at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQ(ComponentImpl.java:315)
at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQ(ComponentImpl.java:267)
at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQGet(ComponentImpl.java:366)
at
org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:511)
at
org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
at
org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
at
org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
at
org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

···

=====================

Jicofo:

.....
INFO: Added videobridge: jitsi-videobridge.jitsi.example.com
Mar 23, 2016 12:50:49 PM net.java.sip.communicator.util.Logger warn
WARNING: No pub-sub node mapped for jitsi-videobridge.jitsi.example.com
Mar 23, 2016 12:50:49 PM org.jitsi.util.Logger info
INFO: Scheduled health-check task for: jitsi-videobridge.jitsi.example.com
Mar 23, 2016 12:50:49 PM net.java.sip.communicator.util.Logger info
INFO: New component discovered: focus.jitsi.example.com
Mar 23, 2016 12:50:49 PM net.java.sip.communicator.util.Logger info
INFO: New component discovered: auth.jitsi.example.com
Mar 23, 2016 12:50:49 PM net.java.sip.communicator.util.Logger info
INFO: Services re-discovery interval: 30000
Mar 23, 2016 12:50:49 PM net.java.sip.communicator.util.Logger info
INFO: XMPP provider reg state: RegistrationState=Registered
Mar 23, 2016 12:50:49 PM org.jitsi.util.Logger info
INFO: XMPP provider
Jabber:focus@auth.jitsi.example.com/focus444802582662@10.10.8.2 connected
(JID: focus@auth.jitsi.example.com/focus444802582662)
Mar 23, 2016 12:51:04 PM org.jitsi.util.Logger warn
WARNING: jitsi-videobridge.jitsi.example.com health-check timed out, but
will give it another try after: 5000

-------------------------------------
Mail.BG: Безплатен e-mail адрес. Най-добрите характеристики на българския пазар - 30 GB пощенска кутия, 1 GB прикрепен файл, безплатен POP3, мобилна версия и други. http://mail.bg


#3

Hi,

Not sure about starting with maven, but can you try making the package
and start from it:
mvn package -DskipTests -Dassembly.skipAssembly=false
Unzip it and use the script in it to start it.

Regards
damencho

···

On Wed, Mar 23, 2016 at 7:07 AM, <v_bachvarov@mail.bg> wrote:

Dear all,

I am still trying to install Jitsi Meet on FreeBSD.
Starting Jitsi videobridge now seems to work (almost), but when I connect
Jicofo, Jitsi videobridge throws a NoClassDefFoundError on type
"org.jitsi.service.neomedia.MediaType".

This should not happen. I start JVB via Maven and Maven should pick up all
necessary JARs. I can load the projects in Eclipse and this particular class
is loaded correctly as a dependency. Only in the runtime it seem not to be
found.
Any ideas?

Here is the stack trace from Jitsi videobridge and Jicofo.

Thanks in advance!
Vasil

JVB:

........
INFO: RECV: <iq id=“L82We-4” type=“result”
to=“jitsi-videobridge.jitsi.example.com” from=“jitsi.example.com”/>
Mar 23, 2016 12:50:55 PM org.jitsi.util.Logger info
INFO: RECV: <iq id=“L82We-5” type=“result”
to=“jitsi-videobridge.jitsi.example.com” from=“jitsi.example.com”/>
Mar 23, 2016 12:50:59 PM org.jitsi.util.Logger info
INFO: RECV: <iq type=“get” to=“jitsi-videobridge.jitsi.example.com
from="focus@auth.jitsi.example.com/focus444802582662"
id=“19b47-12”><healthcheck
xmlns=“http://jitsi.org/protocol/healthcheck”/></iq>
[WARNING]
java.lang.NoClassDefFoundError: org/jitsi/service/neomedia/MediaType
    at org.jitsi.videobridge.health.Health.<clinit>(Health.java:44)
    at
org.jitsi.videobridge.Videobridge.handleHealthCheckIQ(Videobridge.java:1045)
    at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQRequest(ComponentImpl.java:402)
    at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQ(ComponentImpl.java:315)
    at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQ(ComponentImpl.java:267)
    at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQGet(ComponentImpl.java:366)
    at
org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:511)
    at
org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
    at
org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
    at
org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
    at
org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException:
org.jitsi.service.neomedia.MediaType
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    ... 14 more
Mar 23, 2016 12:51:05 PM org.jitsi.util.Logger info
INFO: RECV: <iq id=“L82We-6” type=“result”
to=“jitsi-videobridge.jitsi.example.com” from=“jitsi.example.com”/>
Mar 23, 2016 12:51:09 PM org.jitsi.util.Logger info
INFO: RECV: <iq type=“get” to=“jitsi-videobridge.jitsi.example.com
from="focus@auth.jitsi.example.com/focus444802582662"
id=“19b47-15”><healthcheck
xmlns=“http://jitsi.org/protocol/healthcheck”/></iq>
[WARNING]
java.lang.NoClassDefFoundError: Could not initialize class
org.jitsi.videobridge.health.Health
    at
org.jitsi.videobridge.Videobridge.handleHealthCheckIQ(Videobridge.java:1045)
    at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQRequest(ComponentImpl.java:402)
    at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQ(ComponentImpl.java:315)
    at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQ(ComponentImpl.java:267)
    at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQGet(ComponentImpl.java:366)
    at
org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:511)
    at
org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
    at
org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
    at
org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
    at
org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

=====================

Jicofo:

.....
INFO: Added videobridge: jitsi-videobridge.jitsi.example.com
Mar 23, 2016 12:50:49 PM net.java.sip.communicator.util.Logger warn
WARNING: No pub-sub node mapped for jitsi-videobridge.jitsi.example.com
Mar 23, 2016 12:50:49 PM org.jitsi.util.Logger info
INFO: Scheduled health-check task for: jitsi-videobridge.jitsi.example.com
Mar 23, 2016 12:50:49 PM net.java.sip.communicator.util.Logger info
INFO: New component discovered: focus.jitsi.example.com
Mar 23, 2016 12:50:49 PM net.java.sip.communicator.util.Logger info
INFO: New component discovered: auth.jitsi.example.com
Mar 23, 2016 12:50:49 PM net.java.sip.communicator.util.Logger info
INFO: Services re-discovery interval: 30000
Mar 23, 2016 12:50:49 PM net.java.sip.communicator.util.Logger info
INFO: XMPP provider reg state: RegistrationState=Registered
Mar 23, 2016 12:50:49 PM org.jitsi.util.Logger info
INFO: XMPP provider
Jabber:focus@auth.jitsi.example.com/focus444802582662@10.10.8.2 connected
(JID: focus@auth.jitsi.example.com/focus444802582662)
Mar 23, 2016 12:51:04 PM org.jitsi.util.Logger warn
WARNING: jitsi-videobridge.jitsi.example.com health-check timed out, but
will give it another try after: 5000

-------------------------------------
Mail.BG: Безплатен e-mail адрес. Най-добрите характеристики на българския
пазар - 30 GB пощенска кутия, 1 GB прикрепен файл, безплатен POP3, мобилна
версия и други.

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users