jitsi server for DragonFlyBSD

Jonathan Engwall engwalljonathanthereal at gmail.com
Thu Jan 28 10:04:05 PST 2021


Hello,
A teleconferencing software would be great!
It looks like you need to go into: "/usr/local/etc/jitsi, videobridge," to
edit configuration files, and later in the error message it suggests
install a version of java from source. About that part.
It throws an exception before blanking out at the end, calling DragonFly an
unsupported OS. Are you sure this works on Dragonfly?

Jonathan Engwall


On Wed, Jan 27, 2021 at 9:51 AM <users-request at dragonflybsd.org> wrote:

> Send Users mailing list submissions to
>         users at dragonflybsd.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.dragonflybsd.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>         users-request at dragonflybsd.org
>
> You can reach the person managing the list at
>         users-owner at dragonflybsd.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
>    1. jitsi server for DragonFlyBSD (J?vorszky Bal?zs)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 27 Jan 2021 18:50:49 +0100
> From: J?vorszky Bal?zs <javorszky.balazs at gmail.com>
> To: users at dragonflybsd.org
> Subject: jitsi server for DragonFlyBSD
> Message-ID: <5950c523-130a-7850-2a1d-cdef82fc64dc at gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> I tried to setup a jitsi server on my DragonFlyBSD machine. I've
> encountered a few problems, some of them fatal as far as I understand.
> Could anyone help? I understand that this is not a "top priority"
> problem but anyway :) FYI we have a lot of free bandwidth and capacity
> in our servers and we do a lot of virtual conferences lately for well
> known reasons.
>
> I found two quite useful guides, easy to follow:
>
> https://honeyguide.eu/posts/jitsi-freebsd/?utm_source=discoverbsd
>
> https://www.bobeager.uk/jitsi.html (Warning! the jitsi-meet config.js
> doesn't work the way he described!)
>
> Of course these are for FreeBSD, but they are very helpful anyway. It's
> also evident that the relevant DragonFly packages are actually
> mechanically produced from the corresponding FreeBSD ones.
>
> 1. net-im/jitsi-videobridge and net-im/jicofo both use the
> ${name}_env_file mechanism in the corresponding rc files. This is quite
> new in FreeBSD (available from 12.x), and evidently it's not ported to
> DragonFly. I ended up hand modifying the rc script and sourcing the env
> file, an easy fix.
>
> /usr/local/etc/rc.d/jicofo:
>
> ...
>
> {
> *??????? . $jicofo_env_file*
> ??????? daemon -p ${pidfile} -o /var/log/${name}.log \
> ??????????????? ${command} -Xmx${MAX_MEMORY} \
> ...
>
>
> 2. jitsi-videobridge is throwing java exceptions (log excerpt below). I
> found the *bold, red* parts especially "disturbing". This component
> should work smoothly after a very minimal configuration:
>
> /usr/local/etc/jitsi/videobridge/jitsi-videobridge.conf:
>
> JVB_XMPP_HOST=localhost
> JVB_XMPP_DOMAIN=meet.somedomain.hu
> JVB_XMPP_PORT=5347
> JVB_XMPP_SECRET=SomeSecret
>
> VIDEOBRIDGE_MAX_MEMORY=3072m
>
> /usr/local/etc/jitsi/videobridge/sip-communicator.properties:
>
> org.jitsi.videobridge.TCP_HARVESTER_PORT=4443
>
> I'm quite sure my jitsi-videobridge doesn't work but I'm not even sure.
> It should listen on the tcp port 4443 and the udp port 10000 but
> according to netstat -na it does not, so it's very likely not working.
>
> Thanks for any help in advance,
>
> Regards:
>
> Bal?zs
>
>
> 2021-01-27 18:09:45.271 INFO: [1] NewConfig$1.invoke#88: Loaded
> NewConfig with origin: merge of system properties,system
> properties,reference.conf @
>
> jar:file:/usr/local/share/java/classes/jitsi-videobridge.jar!/reference.conf:
> 1
>
> 2021-01-27 18:09:45.276 INFO: [1]
> LegacyConfigFileLoader$Companion.load#40: Attempting to load legacy
> config file at path /usr/local/etc/jitsi, videobridge,
> sip-communicator.properties
> 2021-01-27 18:09:45.473 INFO: [1]
> LegacyConfigFileLoader$Companion.load#40: Attempting to load legacy
> config file at path /usr/local/etc/jitsi, videobridge,
> sip-communicator.properties
> 2021-01-27 18:09:45.474 INFO: [1] JitsiConfig$Companion.reload#40:
> Reloading.
> 2021-01-27 18:09:45.483 INFO: [1] NewConfig$1.invoke#88: Loaded
> NewConfig with origin: merge of system properties,system
> properties,reference.conf @
>
> jar:file:/usr/local/share/java/classes/jitsi-videobridge.jar!/reference.conf:
> 1
> 2021-01-27 18:09:45.483 INFO: [1]
> LegacyConfigFileLoader$Companion.load#40: Attempting to load legacy
> config file at path /usr/local/etc/jitsi, videobridge,
> sip-communicator.properties
> 2021-01-27 18:09:45.484 INFO: [1]
> LegacyConfigFileLoader$Companion.load#40: Attempting to load legacy
> config file at path /usr/local/etc/jitsi, videobridge,
> sip-communicator.properties
> 2021-01-27 18:09:45.523 INFO: [13] ConfigurationActivator.start#45:
> Registered the LegacyConfigurationServiceShim in OSGi.
> 2021-01-27 18:09:45.526 INFO: [13] AbstractVersionActivator.start#91:
> VersionService registered: JVB 2.1.SNAPSHOT
> 2021-01-27 18:09:45.542 INFO: [13]
> org.eclipse.jetty.util.log.Log.initialized: Logging initialized @648ms
> to org.eclipse.jetty.util.log.JavaUtilLog
> 2021-01-27 18:09:45.641 INFO: [13]
> org.eclipse.jetty.server.Server.doStart: jetty-9.4.z-SNAPSHOT; built:
> 2019-02-15T16:53:49.381Z; git: eb70b240169fcf1abbd86af36482d1c49826fa0b;
> jvm 1.8.0_181-b13
> 2021-01-27 18:09:47.488 INFO: [13]
> org.eclipse.jetty.server.handler.ContextHandler.doStart: Started
> o.e.j.s.ServletContextHandler at 1f475259{/,null,AVAILABLE}
> 2021-01-27 18:09:47.501 INFO: [13]
> org.eclipse.jetty.server.AbstractConnector.doStart: Started
> ServerConnector at 14a826bd{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
> 2021-01-27 18:09:47.501 INFO: [13]
> org.eclipse.jetty.server.Server.doStart: Started @2608ms
> 2021-01-27 18:09:47.512 INFO: [13]
> AbstractJettyBundleActivator.start#613: Not starting the Jetty service
> for org.jitsi.videobridge.websocket.WebSocketBundleActivator(port=-1)
> *2021-01-27 18:09:47.525 WARNING: [13] UlimitCheck.printUlimits#111:
> Running with open files limit null (hard null), thread limit null (hard
> null). These values are too low and they will limit the number of
> participants that the bridge can serve simultaneously.**
> *2021-01-27 18:09:47.528 INFO: [13] VideobridgeExpireThread.start#92:
> Starting with 60 second interval.
> 2021-01-27 18:09:47.529 WARNING: [13] Videobridge.start#909: No
> authorized source regexp configured. Will accept requests from any source.
> 2021-01-27 18:09:47.632 INFO: [13] JitsiConfig$Companion.reload#40:
> Reloading.
> 2021-01-27 18:09:47.638 INFO: [13] NewConfig$1.invoke#88: Loaded
> NewConfig with origin: merge of system properties,system
> properties,reference.conf @
>
> jar:file:/usr/local/share/java/classes/jitsi-videobridge.jar!/reference.conf:
> 1
> 2021-01-27 18:09:47.638 INFO: [13]
> LegacyConfigFileLoader$Companion.load#40: Attempting to load legacy
> config file at path /usr/local/etc/jitsi, videobridge,
> sip-communicator.properties
> 2021-01-27 18:09:47.639 INFO: [13]
> LegacyConfigFileLoader$Companion.load#40: Attempting to load legacy
> config file at path /usr/local/etc/jitsi, videobridge,
> sip-communicator.properties
> 2021-01-27 18:09:47.648 INFO: [13] AbstractHealthCheckService.start#96:
> Started with interval=10000, timeout=PT30S, maxDuration=PT3S,
> stickyFailures=false.
> 2021-01-27 18:09:47.660 INFO: [13] OctoRelayService.start#62: Octo relay
> is disabled.
> 2021-01-27 18:09:47.723 INFO: [28] ComponentBase.loadConfig#202:
> Component org.jitsi.videobridge. config:
> 2021-01-27 18:09:47.723 INFO: [28] ComponentBase.loadConfig#203:?? ping
> interval: 10000 ms
> 2021-01-27 18:09:47.724 INFO: [28] ComponentBase.loadConfig#204:?? ping
> timeout: 5000 ms
> 2021-01-27 18:09:47.724 INFO: [28] ComponentBase.loadConfig#205:?? ping
> threshold: 3
> 2021-01-27 18:09:48.157 INFO: [24]
> org.ice4j.ice.harvest.MappingCandidateHarvesters.initialize: Initialized
> mapping harvesters (delay=513ms).? stunDiscoveryFailed=false
> 2021-01-27 18:09:57.675 INFO: [25] Videobridge.createConference#319:
> create_conf, id=c552d97d6078c229 gid=null logging=false
> 2021-01-27 18:09:57.690 INFO: [25] TaskPools.<clinit>#81: TaskPools
> detected 8 processors, creating the CPU pool with that many threads
> 2021-01-27 18:09:57.831 INFO: [25]
> org.ice4j.ice.harvest.AbstractUdpListener.<init>: Initialized
> AbstractUdpListener with address 217.116.43.47:10000/udp. Receive buffer
> size 419430 (asked for 1048 5760)
> 2021-01-27 18:09:57.832 INFO: [25]
> org.ice4j.ice.harvest.SinglePortUdpHarvester.<init>: Initialized
> SinglePortUdpHarvester with address 217.116.43.47:10000/udp
> *Error loading native library: java.lang.Exception: Unsupported OS:
> DragonFlyBSD**
> *2021-01-27 18:09:58.607 SEVERE: [25] RecurringRunnableExecutor.run#230:
> The invocation of the method org.jitsi.videobridge.health.Health.run()
> threw an exception.
> java.lang.UnsatisfiedLinkError:
> org.jitsi_modified.sctp4j.SctpJni.usrsctp_init(I)Z
> ??????? at org.jitsi_modified.sctp4j.SctpJni.usrsctp_init(Native Method)
> ??????? at org.jitsi_modified.sctp4j.Sctp4j.init(Sctp4j.java:40)
> ??????? at
> org.jitsi.videobridge.sctp.SctpManager.<clinit>(SctpManager.java:54)
> ??????? at
> org.jitsi.videobridge.Endpoint.createSctpConnection(Endpoint.java:860)
> ??????? at org.jitsi.videobridge.health.Health.check(Health.java:77)
> ??????? at
> org.jitsi.videobridge.health.Health.performCheck(Health.java:211)
> ??????? at
>
> org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)
> 2021-01-27 18:10:07.677 INFO: [25] Videobridge.createConference#319:
> create_conf, id=2cf3fa4f00c2ff3a gid=null logging=false
> 2021-01-27 18:10:07.683 SEVERE: [25] RecurringRunnableExecutor.run#230:
> The invocation of the method org.jitsi.videobridge.health.Health.run()
> threw an exception.
> java.lang.NoClassDefFoundError: Could not initialize class
> org.jitsi.videobridge.sctp.SctpManager
> ??????? at
> org.jitsi.videobridge.Endpoint.createSctpConnection(Endpoint.java:860)
> ??????? at org.jitsi.videobridge.health.Health.check(Health.java:77)
> ??????? at
> org.jitsi.videobridge.health.Health.performCheck(Health.java:211)
> ??????? at
>
> org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)
> 2021-01-27 18:10:17.677 INFO: [25] Videobridge.createConference#319:
> create_conf, id=cd809d65b2aa732a gid=null logging=false
> 2021-01-27 18:10:17.683 SEVERE: [25] RecurringRunnableExecutor.run#230:
> The invocation of the method org.jitsi.videobridge.health.Health.run()
> threw an exception.
> java.lang.NoClassDefFoundError: Could not initialize class
> org.jitsi.videobridge.sctp.SctpManager
> ??????? at
> org.jitsi.videobridge.Endpoint.createSctpConnection(Endpoint.java:860)
> ??????? at org.jitsi.videobridge.health.Health.check(Health.java:77)
> ??????? at
> org.jitsi.videobridge.health.Health.performCheck(Health.java:211)
> ??????? at
>
> org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)
> 2021-01-27 18:10:27.697 INFO: [25] Videobridge.createConference#319:
> create_conf, id=4bb74965720a56d9 gid=null logging=false
> 2021-01-27 18:10:27.702 SEVERE: [25] RecurringRunnableExecutor.run#230:
> The invocation of the method org.jitsi.videobridge.health.Health.run()
> threw an exception.
> java.lang.NoClassDefFoundError: Could not initialize class
> org.jitsi.videobridge.sctp.SctpManager
> ??????? at
> org.jitsi.videobridge.Endpoint.createSctpConnection(Endpoint.java:860)
> ??????? at org.jitsi.videobridge.health.Health.check(Health.java:77)
> ??????? at
> org.jitsi.videobridge.health.Health.performCheck(Health.java:211)
> ??????? at
>
> org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
> ??????? at
>
> org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.dragonflybsd.org/pipermail/users/attachments/20210127/d6980781/attachment.htm
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: 0xC6991810B203B247.asc
> Type: application/pgp-keys
> Size: 949 bytes
> Desc: not available
> URL: <
> http://lists.dragonflybsd.org/pipermail/users/attachments/20210127/d6980781/attachment.bin
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 228 bytes
> Desc: OpenPGP digital signature
> URL: <
> http://lists.dragonflybsd.org/pipermail/users/attachments/20210127/d6980781/attachment-0001.bin
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Users mailing list
> Users at dragonflybsd.org
> http://lists.dragonflybsd.org/mailman/listinfo/users
>
>
> ------------------------------
>
> End of Users Digest, Vol 101, Issue 13
> **************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20210128/f6e8fdea/attachment-0004.htm>


More information about the Users mailing list