iniBasicExample.sh stops erizoController, and start/stop preocedure

Hi,

I installed Licode using today’s git repository, started it with
initLicode.sh, then lauched the initBasicExample.sh.

When I connect with Chrome to http://myserver:3001, video is properly
displayed, but shortly after, I can see those errors in the console :
WebRtcConnection constructor stunserver stunPort 0 minPort 0 maxPort 0
init… localvideoSsrc_ 55543

GThread-ERROR **: GThread system may only be initialized once.
aborting…
ErizoController 1 in 10.0.0.43 does not respond. Deleting it.
[CLOUD HANDLER]: Warning! No erizoController is available.

And therefore, access to http://myserver:3001 is available, but the page
remains blank for others who join that URL.

Also, I could not find any start/stop procedure for all the components. Is
the info available somewhere?

To my understanding, the following node programs are used :

  • nuve.js (listening on TCP port 3000 by default)
  • erizoController.js (listening on TCP port 8080 by default)

Should a simple "stop script’ just kill the corresponding processed
attached to the programs?

Thanks, and congratulations for this great software!

Philippe

Hi Philippe:

You are right, it is deprecated now, I’ve updated licode removing g_thread_init as it is not needed in the versions of glib found in ubuntu 12.04 (2.0.so.0.3400.1). Hopefully it will work with your version also. If it doesn’t we could make sure it is only initialized once.

Cheers!-
Pedro Rodriguez

El martes, 18 de junio de 2013 a las 12:00, Philippe escribió:

Hola Pedro :D,

Great to meet here, and congratulations for your work on Lynckia!

I installed everything on a Linux x64 CentOS 6.3 distribution. I might have messed up with the dependencies somewhere, as I tried to install what’s mentioned in scripts/installUbuntuDeps.sh (http://installUbuntuDeps.sh)

For information, the Gthread library I’m using is libgthread-2.0.so.0.2200.5, taken from the yum package glib2-2.22.5-7.el6.x86_64. Looking at the code in erizo/src/erizo/NiceConnection.cpp, it lloks like g_thread_init is called each time a new ICE connection is instantiated.

What version of Glib are you running? Maybe I should upgrade to a newer version of Glib to avoid this “double initialisation” problem, as the g_thread_init function seems to have evolved in Glib >= 2.32 to a no operation function according to this thread :
c - how to free memory allocated by g_thread_init - Stack Overflow

Thanks a lot for your help,

Philippe

Le lundi 17 juin 2013 17:13:56 UTC+2, Pedro Rodriguez a écrit :

Hi Phillippe:

The GThread error does not look good. Are you using Linux or Mac in your server. I can try to replicate the error.
As for stopping devices, killing all node processes should do the trick, specifically you should have those you said (nuve.js, erizoController) and BasicExample.

Cheers!


Pedro Rodriguez

El miércoles, 12 de junio de 2013 a las 13:24, Philippe escribió:

Hi,

I installed Licode using today’s git repository, started it with initLicode.sh (http://initLicode.sh), then lauched the initBasicExample.sh (http://initBasicExample.sh).

When I connect with Chrome to http://myserver:3001, video is properly displayed, but shortly after, I can see those errors in the console :
WebRtcConnection constructor stunserver stunPort 0 minPort 0 maxPort 0
init… localvideoSsrc_ 55543

GThread-ERROR **: GThread system may only be initialized once.
aborting…
ErizoController 1 in 10.0.0.43 does not respond. Deleting it.
[CLOUD HANDLER]: Warning! No erizoController is available.

And therefore, access to http://myserver:3001 is available, but the page remains blank for others who join that URL.

Also, I could not find any start/stop procedure for all the components. Is the info available somewhere?

To my understanding, the following node programs are used :

  • nuve.js (listening on TCP port 3000 by default)
  • erizoController.js (listening on TCP port 8080 by default)

Should a simple "stop script’ just kill the corresponding processed attached to the programs?

Thanks, and congratulations for this great software!

Philippe

You received this message because you are subscribed to the Google Groups “lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+u...@googlegroups.com (javascript:).
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups “lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+unsubscribe@googlegroups.com (mailto:lynckia+unsubscribe@googlegroups.com).
For more options, visit https://groups.google.com/groups/opt_out.

Hi Phillippe:

The GThread error does not look good. Are you using Linux or Mac in your server. I can try to replicate the error.
As for stopping devices, killing all node processes should do the trick, specifically you should have those you said (nuve.js, erizoController) and BasicExample.

Cheers!–
Pedro Rodriguez

El miércoles, 12 de junio de 2013 a las 13:24, Philippe escribió:

Hi,

I installed Licode using today’s git repository, started it with initLicode.sh (http://initLicode.sh), then lauched the initBasicExample.sh (http://initBasicExample.sh).

When I connect with Chrome to http://myserver:3001, video is properly displayed, but shortly after, I can see those errors in the console :
WebRtcConnection constructor stunserver stunPort 0 minPort 0 maxPort 0
init… localvideoSsrc_ 55543

GThread-ERROR **: GThread system may only be initialized once.
aborting…
ErizoController 1 in 10.0.0.43 does not respond. Deleting it.
[CLOUD HANDLER]: Warning! No erizoController is available.

And therefore, access to http://myserver:3001 is available, but the page remains blank for others who join that URL.

Also, I could not find any start/stop procedure for all the components. Is the info available somewhere?

To my understanding, the following node programs are used :

  • nuve.js (listening on TCP port 3000 by default)
  • erizoController.js (listening on TCP port 8080 by default)

Should a simple "stop script’ just kill the corresponding processed attached to the programs?

Thanks, and congratulations for this great software!

Philippe

You received this message because you are subscribed to the Google Groups “lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+unsubscribe@googlegroups.com (mailto:lynckia+unsubscribe@googlegroups.com).
For more options, visit https://groups.google.com/groups/opt_out.

Hola Pedro :D,

Great to meet here, and congratulations for your work on Lynckia!

I installed everything on a Linux x64 CentOS 6.3 distribution. I might have
messed up with the dependencies somewhere, as I tried to install what’s
mentioned in scripts/installUbuntuDeps.sh

For information, the Gthread library I’m using is
libgthread-2.0.so.0.2200.5, taken from the yum package
glib2-2.22.5-7.el6.x86_64. Looking at the code in
erizo/src/erizo/NiceConnection.cpp, it lloks like g_thread_init is called
each time a new ICE connection is instantiated.

What version of Glib are you running? Maybe I should upgrade to a newer
version of Glib to avoid this “double initialisation” problem, as the
g_thread_init function seems to have evolved in Glib >= 2.32 to a no
operation function according to this thread :

Thanks a lot for your help,

PhilippeLe lundi 17 juin 2013 17:13:56 UTC+2, Pedro Rodriguez a écrit :

Hi Phillippe:

The GThread error does not look good. Are you using Linux or Mac in your
server. I can try to replicate the error.
As for stopping devices, killing all node processes should do the trick,
specifically you should have those you said (nuve.js, erizoController) and
BasicExample.

Cheers!


Pedro Rodriguez

El miércoles, 12 de junio de 2013 a las 13:24, Philippe escribió:

Hi,

I installed Licode using today’s git repository, started it with
initLicode.sh, then lauched the initBasicExample.sh.

When I connect with Chrome to http://myserver:3001, video is properly
displayed, but shortly after, I can see those errors in the console :
WebRtcConnection constructor stunserver stunPort 0 minPort 0 maxPort 0
init… localvideoSsrc_ 55543

GThread-ERROR **: GThread system may only be initialized once.
aborting…
ErizoController 1 in 10.0.0.43 does not respond. Deleting it.
[CLOUD HANDLER]: Warning! No erizoController is available.

And therefore, access to http://myserver:3001 is available, but the page
remains blank for others who join that URL.

Also, I could not find any start/stop procedure for all the components. Is
the info available somewhere?

To my understanding, the following node programs are used :

  • nuve.js (listening on TCP port 3000 by default)
  • erizoController.js (listening on TCP port 8080 by default)

Should a simple "stop script’ just kill the corresponding processed
attached to the programs?

Thanks, and congratulations for this great software!

Philippe


You received this message because you are subscribed to the Google Groups
“lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lynckia+u...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.