I followed the installation instructions to the letter and at the end i find that the freeswitch server is not starting. The freeswitch log:
root@seminar:/opt/freeswitch/log# tail freeswitch.log
2015-01-19 17:37:03.711272 [ERR] mod_event_socket.c:2891 Socket Error! Could not listen on 127.0.0.1:8021
2015-01-19 17:37:03.811271 [ERR] mod_event_socket.c:2891 Socket Error! Could not listen on 127.0.0.1:8021
2015-01-19 17:37:03.931271 [ERR] mod_event_socket.c:2891 Socket Error! Could not listen on 127.0.0.1:8021
2015-01-19 17:37:04.031269 [ERR] mod_event_socket.c:2891 Socket Error! Could not listen on 127.0.0.1:8021
2015-01-19 17:37:04.131275 [ERR] mod_event_socket.c:2891 Socket Error! Could not listen on 127.0.0.1:8021
2015-01-19 17:37:04.231270 [ERR] mod_event_socket.c:2891 Socket Error! Could not listen on 127.0.0.1:8021
2015-01-19 17:37:04.331272 [ERR] mod_event_socket.c:2891 Socket Error! Could not listen on 127.0.0.1:8021
2015-01-19 17:37:04.431268 [ERR] mod_event_socket.c:2891 Socket Error! Could not listen on 127.0.0.1:8021
2015-01-19 17:37:04.531274 [ERR] mod_event_socket.c:2891 Socket Error! Could not listen on 127.0.0.1:8021
2015-01-19 17:37:04.631269 [ERR] mod_event_socket.c:2891 Socket Error! Could not listen on 127.0.0.1:8021
I try to do a --clean and i get:
sudo bbb-conf --clean
Doing a restart of BigBlueButton and cleaning out all log files...
* Stopping daemon monitor monit
...done.
* Stopping Red5 Server red5
...done.
* Stopping Tomcat servlet engine tomcat7
...done.
* Stopping bbb-record-core
Cleaning Log Files ...
* nginx is not running
* Red5 Server is not running.
* Tomcat servlet engine is not running.
22870 Backgrounding.
22870 (process ID) old priority 19, new priority -10
Waiting for FreeSWITCH to start: ..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Also the bbb-conf --check output
root@seminar:~# sudo bbb-conf --check
BigBlueButton Server 0.9.0-beta (558)
Kernel version: 3.13.0-35-generic
Distribution: Ubuntu 14.04.1 LTS (64-bit)
Memory: 7985 MB
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
Port test (tunnel): 193.144.34.115
Red5: 193.144.34.115
useWebrtcIfAvailable: true
/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
websocket port: 5066
WebRTC enabled: true
/etc/nginx/sites-available/bigbluebutton (nginx)
server name: seminar.cesga.es
port: 80
bbb-client dir: /var/www/bigbluebutton
/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
bbb-web host: seminar.cesga.es
/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
voice conference: FreeSWITCH
capture video: true
capture desktop: true
/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
playback host:
** Potential problems described below **
# Not Running: red5 LibreOffice (check again in a minute as monit may not have started it yet) Nginx tomcat7 or grails OpenOffice redis-server
# Unavailable Red5 logs (/usr/share/red5/log): bigbluebutton.log red5.log sip.log video.log deskshare.log
# /usr/share/red5/log/sip.log not found
# /usr/share/red5/log/video.log not found
# /usr/share/red5/log/bigbluebutton.log not found
# /usr/share/red5/log/deskshare.log not found
# Error: /usr/share/red5/log/sip.log
# empty directory: /var/lib/tomcat7/logs contains no logs
# No /usr/share/red5/log/bigbluebutton.log
# Error: Could not connect to the configured hostname/IP address
#
# http://seminar.cesga.es/
#
# If your BigBlueButton server is behind a firewall, see FAQ:
#
# http://code.google.com/p/bigbluebutton/wiki/FAQ
#
# (See entry for setting up BigBlueButton behind a firewall.)
# Error: Unable to connect to port 1935 (RTMP) on seminar.cesga.es
# Error: Unable to connect to port 9123 (desktop sharing) on seminar.cesga.es
# Error: Unable to reach default URL for presentation:
#
# http://seminar.cesga.es/default.pdf
#
# Check value for beans.presentationService.defaultUploadedPresentation in
# /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties
Of course all the other services tomcat, nginx and red5 cannot start. I have to interfaces lo and eth0 (external) so i even configured the
I tried remove and install again with no success. Maybe a freeswitch config problem?. Somebody could shed some light on this?. I ran out of ideas.
Thanks in advance!, Diego
Error: Could not connect to the configured hostname/IP address and
Error: Unable to reach default URL for presentation
) because I can access both from my own computer. I'm not sure what it means, but it is odd.SEVERE: StandardServer.await: create[localhost:8005]: java.net.BindException: Cannot assign requested addressat java.net.PlainSocketImpl.socketBind(Native Method)at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
at java.net.ServerSocket.bind(ServerSocket.java:376)at java.net.ServerSocket.<init>(ServerSocket.java:237)at org.apache.catalina.core.StandardServer.await(StandardServer.java:426)
at org.apache.catalina.startup.Catalina.await(Catalina.java:777)at org.apache.catalina.startup.Catalina.start(Catalina.java:723)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/uLk3asgo00U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
root@seminar:~# sudo netstat -npl | grep 8021
tcp 0 0 193.144.34.115:8021 0.0.0.0:* LISTEN 4504/freeswitch
But still the problem is there, the services still do not start. If i execute bbb-conf --clean the output:
root@seminar:~# bbb-conf --clean
Doing a restart of BigBlueButton and cleaning out all log files...
* Stopping daemon monitor monit
...done.
* Stopping Red5 Server red5
...done.
* Stopping Tomcat servlet engine tomcat7
...done.
Killing: 4504
* Stopping bbb-record-core
Cleaning Log Files ...
* nginx is not
running
* Red5 Server is not running, but pid file exists.
* Tomcat servlet engine is not running.
11597 Backgrounding.
11597 (process ID) old priority 19, new priority -10
Waiting for FreeSWITCH to start: ....................
* Starting Red5 Server red5
...done.
* Starting Tomcat servlet engine tomcat7
...done.
* Starting daemon monitor monit
...done.
Note: monit will automatically start bbb-record-core and LibreOffice within 60 seconds.
Waiting for BigBlueButton to finish starting up (this may take a minute): ...
... And does not start. Here Catalina.out, something related to bind in another port at localhost ...
Jan 20, 2015 8:45:00 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
Jan 20, 2015 8:45:06 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jan 20, 2015 8:45:06 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 100602 ms
Jan 20, 2015 8:45:06 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
at java.net.ServerSocket.bind(ServerSocket.java:376)
at java.net.ServerSocket.<init>(ServerSocket.java:237)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:426)
at org.apache.catalina.startup.Catalina.await(Catalina.java:777)
at org.apache.catalina.startup.Catalina.start(Catalina.java:723)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
Freeswitch.log (and i disabled ipv6 but still i get a binding error)
FreeSWITCH Started
Max Sessions [1000]
Session Rate [30]
SQL [Enabled]
2015-01-20 08:43:18.094663 [DEBUG] switch_loadable_module.c:702 Chat Thread Started
2015-01-20 08:43:18.094683 [DEBUG] switch_loadable_module.c:702 Chat Thread Started
2015-01-20 08:43:18.094769 [INFO] switch_time.c:602 Clock synchronized to system time.
2015-01-20 08:43:18.094869 [DEBUG] mod_event_socket.c:2883 Socket up listening on 193.144.34.115:8021
2015-01-20 08:43:21.045822 [ERR] sofia.c:2855 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2015-01-20 08:43:21.045822 [ERR] sofia.c:2855 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5090;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2015-01-20 08:43:26.045821 [ERR] sofia.c:2855 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5090;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2015-01-20 08:43:26.045821 [ERR] sofia.c:2865 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5090;transport=udp,tcp)
The likely causes for this are:
1) Another application is already listening on the specified address.
2) The IP the profile is attempting to bind to is not local to this system.
2015-01-20 08:43:26.045821 [ERR] sofia.c:2855 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2015-01-20 08:43:26.045821 [ERR] sofia.c:2865 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp)
The likely causes for this are:
1) Another application is already listening on the specified address.
2) The IP the profile is attempting to bind to is not local to this system.
And red5.log, the same problem, bind at port localhost:9999
2015-01-20 08:45:28,782 [main] WARN o.s.c.s.FileSystemXmlApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'red5.common' defined in class path resource [red5.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.jmx.support.ConnectorServerFactoryBean#0' defined in class path resource [red5-common.xml]: Invocation of init method failed; nested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:9999/red5]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection timed out]
Both ports do not show in the netstat
root@seminar:~# sudo netstat -npl | grep 9999
root@seminar:~# sudo netstat -npl | grep 8005
I followed the part of the instalation tutorial (Audio not working) and changed some lines. I going to fall back to the original files to see what happens.
Thanks in advance!
Jan 20, 2015 10:59:47 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1336 ms
Jan 20, 2015 10:59:47 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 20, 2015 10:59:47 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
Jan 20, 2015 10:59:47 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat7/webapps/demo.war
Jan 20, 2015 10:59:49 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat7/webapps/bigbluebutton.war
Jan 20, 2015 11:00:18 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Jan 20, 2015 11:00:18 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
Jan 20, 2015 11:00:18 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://www.springframework.org/tags is already defined
Jan 20, 2015 11:00:18 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://www.springframework.org/tags/form is already defined
[20.01.15 11:01:07.785] INFO org.bigbluebutton.api.messaging.MessageSender - Redis message publisher starting!
[20.01.15 11:01:07.962] INFO org.bigbluebutton.api.MeetingService - Starting Meeting Service.
[20.01.15 11:01:12.114] INFO org.bigbluebutton.api.messaging.ReceivedMessageHandler - Ready to handle messages from Redis pubsub!
[20.01.15 11:01:12.135] INFO org.bigbluebutton.api.messaging.MessageReceiver - Ready to receive messages from Redis pubsub.
[20.01.15 11:01:14.210] ERROR org.bigbluebutton.api.messaging.MessageReceiver - Error subscribing to channels: Could not get a resource from the pool
[20.01.15 11:01:15.603] WARN org.grails.plugin.resource.module.ModuleDeclarationsFactory - 'grails.resources.modules' in config does not define any modules
Exception in thread "pool-6-thread-1" redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
at redis.clients.util.Pool.getResource(Pool.java:22)
at org.bigbluebutton.api.messaging.MessageSender$2.run(MessageSender.java:57)
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: redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: connect timed out
at redis.clients.jedis.Connection.connect(Connection.java:124)
at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:54)
at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1657)
at redis.clients.jedis.JedisPool$JedisFactory.makeObject(JedisPool.java:63)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1181)
at redis.clients.util.Pool.getResource(Pool.java:20)
At first i saw that the redis-server was not starting due to the fact that in the new version 2.8 the paremeter bind 127.0.0.1 in the config file did not work. So i deleted the parameter and redis-server started correctly but i get the same error:
[20.01.15 11:01:14.210] ERROR org.bigbluebutton.api.messaging.MessageReceiver - Error subscribing to channels: Could not get a resource from the pool
[20.01.15 11:01:15.603] WARN org.grails.plugin.resource.module.ModuleDeclarationsFactory - 'grails.resources.modules' in config does not define any modules
Exception in thread "pool-6-thread-1" redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
...
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
> The problem was that we were using a VM template from the OpenNebula Marketplace, that had some problems with the contextualization of the interfaces, so it messed up lo and eth0.Thanks for sharing this Diego. Many times, when we help others in the forum, we don't hear back when they get BigBlueButton working.I'm sure your post will save others time and effort.Regards,... Fred
On Wed, Jan 21, 2015 at 6:22 AM, Diego Nieto <dni...@gmail.com> wrote:
Hi all,Finally we're able to install correctly bbb. The problem was that we were using a VM template from the OpenNebula Marketplace, that had some problems with the contextualization of the interfaces, so it messed up lo and eth0. We were able to see this installing bbb in a laptop.So summing up, when installing bbb just check that your interfaces are up and runnig properly.Anyway thanks for the support and regards!, Diego
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
OK 👌
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/uLk3asgo00U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-s...@googlegroups.com.