[jitsi-dev] Jitsi installation on Centos gives error


#1

Dear Jitsi Developers,

On Centos 7, We have installed Prosody-0.9.8, Nginx-1.8.0, and Jitsi latest components as required, including dependencies.
The environment is:

    java version "1.7.0_76"
    ant 1.9.3.
    Lua 5.1.4
    python 2.7.5.

We have a few questions:

1. How does someone access Jitsi services. In DNS what is the entry to be given. What OS ports and Firewall ports are being used by which of these: Prosody, Nginx, Jitsi-Videobridge (JVB), Jicofo, Jitsi-Meet.

2. Which ports need to be opened in OS and network firewall-router e.g. 5222, 5269, 5060, 5061, 5280, 5281 ?

According to https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers:

5222 TCP XMPP client connection (RFC 3920) Official
5223 TCP XMPP client connection over SSL Unofficial
5269 TCP XMPP server connection (RFC 3920) Official
5298 TCP UDP XMPP JEP-0174: Link-Local Messaging / Official
              XEP-0174: Serverless Messaging
8010 TCP XMPP File transfers Unofficial

3. When we run ./jvb.sh, it runs fine. However, when we run ./jicofo.sh, we get following errors:

failed to find jitsi-defaults.properties with class loader, will continue without it.
failed to find jitsi-default-overrides.properties with class loader, will continue without it.
  org.jitsi.videobridge.version.VersionActivator.start().67 Jitsi Videobridge Version: JVB 0.1.462
org.jitsi.videobridge.osgi.OSGiBundleActivator.info() net.java.sip.communicator.SC_HOME_DIR_NAME=.sip-communicator
org.jitsi.videobridge.osgi.OSGiBundleActivator.info() net.java.sip.communicator.SC_HOME_DIR_LOCATION=/root
  [9] impl.netaddr.NetworkAddressManagerServiceImpl.start().81 Network Address Manager ...[ STARTED ]
  [9] impl.netaddr.NetworkAddressManagerServiceImpl.start().87 Network Address Manager Service ...[REGISTERED]

SEVERE: [1] util.UtilActivator.uncaughtException().108 An uncaught exception occurred in thread=Thread[main,5,main] and message was: conflict
org.xmpp.component.ComponentException: conflict
     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:273)

4. For various *.<domain-name>.com, should we make entries in /etc/hosts and restart network. e.g.:

  conference.<jitsi-product>.<domain>.local
jitsi-videobridge.<jitsi-product>.<domain>.local
auth.<jitsi-product>.<domain>.local

<jitsi-product>.<domain>.local

and corresponding *.X.Y.com versions when we enable access from external networks.

···

--

Regards,

Susheel Jalali

Customer Operations Leader,

Coscend Communications Solutions

Elite Premio Complex Suite 200 Survey No 7 & 8 Balewadi Pune 411045 Maharashtra India

Cell +91-9011000233

_Susheel.Jalali@CoscendCommunications.com_

Web site:www.CoscendCommunications.com <http://www.coscendcommunications.com/>

------------------------------------------------------------------

*Coscend’s**Software Service Factory*

"*Coscend Communications* is ... *pioneering a new approach*to ... software applications development, and systems integration."

*Light Reading Network, *December, 2007

"*Coscend*is at the*vanguard of a new evolution*in telco OSS/BSS systems integration."

*Caroline Chappell*
A leading authority in the communications services software industry

"There are *innovative*…*tools*from ... *Coscend *bubbling up, which will help accelerate the data consolidation process and reduce its cost."

*Dennis Mendyk, */Editor,/Building a *Telco Service Factory*

------------------------------------------------------------------

CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail Messages from Coscend Communications Solutions' posted at: http://www.CoscendCommunications.com/Terms_and_Conditions.html <http://www.coscendcommunications.com/Terms_and_Conditions.html>


#2

1. How does someone access Jitsi services. In DNS what is the entry
to be given. What OS ports and Firewall ports are being used by which
of these: Prosody, Nginx, Jitsi-Videobridge (JVB), Jicofo, Jitsi-Meet.

You access the hostname of the machine on port 443 with a browser.

2. Which ports need to be opened in OS and network firewall-router
e.g. 5222, 5269, 5060, 5061, 5280, 5281 ?

From outside -- 443 TCP (and 80 if you wish to have redirects
http->https) and 1000-2000 UDP.
Locally -- 5222, 5223, 5347 and if you use etherpad, 9001 (or other if
it's configured)

3. When we run ./jvb.sh, it runs fine. However, when we run
./jicofo.sh, we get following errors:

[...]

conflict org.xmpp.component.ComponentException: conflict
    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:273)

How exactly are you running jicofo? Seems it can't register with the
prosody. You can mask any passwords and addresses, but what command
line (and/or config files) are you using?

4. For various *.<domain-name>.com, should we make entries in
/etc/hosts and restart network.

No, you need only the hostname of the machine.

···

On Sun, 14 Jun 2015 19:26:08 +0530 Susheel Jalali wrote:

--

Yasen Pramatarov
Lindeas Ltd. https://lindeas.com
'working on GNU/Linux ideas'
Professional Jitsi Meet services


#3

1. How does someone access Jitsi services. In DNS what is the entry
to be given. What OS ports and Firewall ports are being used by which
of these: Prosody, Nginx, Jitsi-Videobridge (JVB), Jicofo, Jitsi-Meet.

You access the hostname of the machine on port 443 with a browser.

2. Which ports need to be opened in OS and network firewall-router
e.g. 5222, 5269, 5060, 5061, 5280, 5281 ?

From outside -- 443 TCP (and 80 if you wish to have redirects
http->https) and 1000-2000 UDP.

That was a typo, I meant 10000-20000 UDP

Locally -- 5222, 5223, 5347 and if you use etherpad, 9001 (or other if
it's configured)

3. When we run ./jvb.sh, it runs fine. However, when we run
./jicofo.sh, we get following errors:

[...]

conflict org.xmpp.component.ComponentException: conflict
    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:273)

How exactly are you running jicofo? Seems it can't register with the
prosody. You can mask any passwords and addresses, but what command
line (and/or config files) are you using?

You may have another jicofo already running hence this conflict.
Double check the command lines that you are running jvb and jicofo.
You should also have the error messages for this in /var/log/prosody.

BTW you didn't say are you installing RPMs from converted deb packages
or it's all manual install? The packages should run the bridge and
jicofo automatically as system services, no need to run them manually
(like when you are installing manually).

···

On Sun, 14 Jun 2015 18:51:37 +0300 Yasen Pramatarov wrote:

On Sun, 14 Jun 2015 19:26:08 +0530 Susheel Jalali wrote:

4. For various *.<domain-name>.com, should we make entries in
/etc/hosts and restart network.

No, you need only the hostname of the machine.

--

Yasen Pramatarov
Lindeas Ltd. https://lindeas.com
'working on GNU/Linux ideas'
Professional Jitsi Meet services