[jitsi-dev] Jitsi installation on Centos gives error


#1

Dear Yasen and Fellow Jitsi Developers,

Thank you for your insights. Below are our responses to your questions. We are seeking your guidance to solve the issue we are facing with Jitsi configuration. This will help us prepare a demo for beta customers and future investors.

> 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?

>>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).

Ans. We are compiling from source and building all the scripts.

>>You may have another jicofo already running hence this conflict.

>> Double check the command lines that you are running jvb and jicofo.

How do we shutdown any running instance of jicofo or jvb? There is a script at: jicofo-master/script called "graceful_shutdown.py".

      Jicofo is started with our domain and secret as parameters.

>>You should also have the error messages for this in /var/log/prosody.

Upon running ./jvb.sh --host=localhost --domain=<our-domain>.local --port=5347 --secret=<our-secret>

Gives prosody.err, prosody.log and console output as follows:

*Prosody.err file*

Jun 14 13:10:43 jitsi-videobridge.jitsi.<our-domain>.local:component error Second component attempted to connect, denying connection

*Prosody.log file***

�jcpdd7770 info Incoming Jabber component connection

�jitsi-videobridge.jitsi.<our-domain>.local:component info External component successfully authenticated

�jcpdf7ec0 info Incoming Jabber component connection

�jitsi-videobridge.jitsi.<our-domain>.local:component error Second component attempted to connect, denying connection

�mod_component info Disconnecting component, <stream:error> is: <stream:error><conflict xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>Component already connected</text></stream:error>

�jcpdf7ec0 info component disconnected: jitsi-videobridge.jitsi.<our-domain>.local (false)

*Console output*

INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() failed to find jitsi-defaults.properties with class loader, will continue without it.

INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() failed to find jitsi-default-overrides.properties with class loader, will continue without it.

INFO: [9] impl.resources.ResourceManagementActivator.start().70 Resource manager STARTED

INFO: [9] org.jitsi.videobridge.version.VersionActivator.start().67 Jitsi Videobridge Version: JVB 0.1.462

INFO: [9] org.jitsi.videobridge.osgi.OSGiBundleActivator.info() net.java.sip.communicator.SC_HOME_DIR_NAME=.sip-communicator

INFO: [9] org.jitsi.videobridge.osgi.OSGiBundleActivator.info() net.java.sip.communicator.SC_HOME_DIR_LOCATION=/root

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)

Thank you.

Sincerely,

···

--

Susheel Jalali

Coscend Communications Solutions_
Susheel.Jalali@CoscendCommunications.com_

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

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

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>