can't start bbb server

1,303 views
Skip to first unread message

Jefatura Estudios FP

unread,
Mar 12, 2011, 1:05:10 PM3/12/11
to bigbluebu...@googlegroups.com
Hello :-)

My bbb server has been working fine for a month and since this morning I get a 404 error page when trying to access the login page. It is a virtual server with no other aplication installed, just a clean installation following the instructions for installing on ubuntu

http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu

After restarting the server I get an error message:

Waiting for BigBlueButton to finish starting up (this may take a minute): Startup unsuccessful: could not connect to http://xxx.xxx.xxx.xxx/bigbluebutton/api

The command *sudo bbb-conf -c* shows

BigBlueButton Server 0.71a
                    Kernel version: 2.6.32-4-pve
                      Distribution: Ubuntu 10.04 LTS (32-bit)
                            Memory: 2048 MB

/var/www/bigbluebutton/client/conf/config.xml
                Port test (tunnel): IPxxx
                              Red5: IPxxx

/etc/nginx/sites-available/bigbluebutton
                       server name: IPxxx
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: IPxxx

/var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp (API demos)
                  bbb-web-api host: IPxxx

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml
                  voice conference: FreeSWITCH


** Potential problems described below **

#  This server could not connect to BigBlueButton through http://xxx.xxx.xxx.xxx/
#
#  If you are setting up BigBlueButton behind a firewall, see the FAQ
#  for steps to setup BigBlueButton behind a firewall.
#       http://code.google.com/p/bigbluebutton/wiki/FAQ

Any help would be appreciated.

Salu2



--
Jefatura de Estudios FP
IES Cavanilles. Alicante

Seun Ojedeji

unread,
Mar 12, 2011, 3:34:34 PM3/12/11
to bigbluebu...@googlegroups.com, Jefatura Estudios FP
Hello Jefatura,

Are you connecting through domain name or IP i.e is your IPxxx an ip address? does it correspond to the ip address in your ifconfig. Since you say you are running on VM, i assume you used bridged mode which by default will run on DHCP, so if the address leased to the VM expires there is a chance that the new one could change, so could you confirm that? If you checked/correct all these and still have problem then you may need to provdide the output of the following:   ifconfig , cat /etc/hosts and bbb-conf --check (please indicate the ip or domain) you could use a different one for privacy if necessary.

Regards

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To post to this group, send email to bigbluebu...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.



--
------------------------------------------------------------------------
Seun Ojedeji,
you don't need a hero to succeed on the field....you need a team!

wenderw

unread,
Mar 12, 2011, 8:48:11 PM3/12/11
to BigBlueButton-Setup
Hi Seun :-)

Thanks for your interest. I'm connecting through an IP address (the
BBB server is integrated with Moodle so we don`t need a domain name).
I don't think it is a problem with the IP address, in fact we can
access to the default BBB page typing the server IP, it is just that
the server doesn't start, as I told before it has been working fine
more than a month... and also the IP is static, we have rented the
virtual server.

This mornig when we detect the server was down, the first thing we did
was a clean restart, so we don't have the previous logs, but we have
found some errors, I don't know if it is relevant...

bbb-web.log

2011-03-12 10:39:45,683 ERROR [StackTrace] - Sanitizing stacktrace:
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'transactionManager': Cannot resolve reference
to bean 'sessionFactory' while setting bean property 'sessionFactory';
nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory': Cannot resolve reference to
bean 'hibernateProperties' while setting bean property
'hibernateProperties'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'hibernateProperties': Cannot resolve
reference to bean 'dialectDetector' while setting bean property
'properties' with key [hibernate.dialect]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dialectDetector': Invocation of init method
failed; nested exception is
org.springframework.jdbc.support.MetaDataAccessException: Could not
get Connection for extracting meta data; nested exception is
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not
get JDBC Connection; nested exception is
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
Communications link failure

catalina.2011-03-12.log

Mar 12, 2011 10:39:45 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed to remove it when the web application was stopped. To prevent a
memory leak, the ThreadLocal has been forcibly removed.

ifconfig

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:67250 errors:0 dropped:0 overruns:0 frame:0
TX packets:67250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4206071 (4.2 MB) TX bytes:4206071 (4.2 MB)

venet0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:
255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:17160 errors:0 dropped:0 overruns:0 frame:0
TX packets:18728 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1752316 (1.7 MB) TX bytes:4054760 (4.0 MB)

venet0:0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:84.xxx.xxx.xxx P-t-P:84.xxx.xxx.xxx Bcast:
0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

cat /etc/hosts

127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
84.xxx.xxx.xxx virt400.unelink.net virt400


Restarting the server (we keep it down until we can solve the
problem):

root@virt400:~# sudo bbb-conf --restart

Restarting BigBlueButton ...
* Stopping Red5 Server
red5
[ OK ]
* Stopping Tomcat servlet engine
tomcat6
[ OK ]
Stopping nginx: nginx.
* Stopping Apache ActiveMQ service
activemq
[ OK ]
Openoffice headless server is not running.

* Apache ActiveMQ service is not running.
* could not access PID file for nginx
* Red5 Server is not running.
* Tomcat servlet engine is not running.

Starting FreeSWITCH
12975 Backgrounding.
* Starting Apache ActiveMQ service
activemq
[ OK ]
Waiting for ActiveMQ to start: .
Waiting for FreeSWITCH to start: ...............
Starting OpenOffice headless server
Starting nginx: the configuration file /etc/nginx/nginx.conf syntax is
ok
configuration file /etc/nginx/nginx.conf test is successful
nginx.
* Starting Red5 Server red5

[ OK ]
* Starting Tomcat servlet engine
tomcat6
Using CATALINA_BASE: /var/lib/tomcat6
Using CATALINA_HOME: /usr/share/tomcat6
Using CATALINA_TMPDIR: /tmp/tomcat6-tmp
Using JRE_HOME: /usr/lib/jvm/java-6-openjdk
Using CLASSPATH: /usr/share/tomcat6/bin/bootstrap.jar

[ OK ]
Waiting for BigBlueButton to finish starting up (this may take a
minute): Startup unsuccessful: could not connect to
http://84.xxx.xxx.xxx/bigbluebutton/api

root@virt400:~# sudo bbb-conf --check

BigBlueButton Server 0.71a
Kernel version: 2.6.32-4-pve
Distribution: Ubuntu 10.04 LTS (32-bit)
Memory: 2048 MB

/var/www/bigbluebutton/client/conf/config.xml
Port test (tunnel): 84.xxx.xxx.xxx
Red5: 84.xxx.xxx.xxx

/etc/nginx/sites-available/bigbluebutton
server name: 84.xxx.xxx.xxx
port: 80
bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/
bigbluebutton.properties (bbb-web)
bbb-web host: 84.xxx.xxx.xxx

/var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp (API
demos)
bbb-web-api host: 84.xxx.xxx.xxx

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml
voice conference: FreeSWITCH


** Potential problems described below **

# This server could not connect to BigBlueButton through http://84.xxx.xxx.xxx/

Seun Ojedeji

unread,
Mar 13, 2011, 4:26:21 PM3/13/11
to bigbluebu...@googlegroups.com, wenderw
Hello wenderw,

Find my comment inset

On Sat, Mar 12, 2011 at 5:48 PM, wenderw <jefaturafp...@gmail.com> wrote:
Hi Seun :-)

Thanks for your interest. I'm connecting through an IP address (the
BBB server is integrated with Moodle so we don`t need a domain name).
I don't think it is a problem with the IP address, in fact we can
access to the default BBB page typing the server IP, it is just that
the server doesn't start,  When you say the server doesn't start, do you mean bbb server? and do you really mean you are able to log into the demo page successfully? note that its one thing to see the demo page and another thing to actually login :)
 
as I told before it has been working fine more than a month... and also the IP is static, we have rented the
virtual server. Could you also confirm from the virtual server service provider whether they have no recent firewall rule that may be blocking? are you able to ping the ip of the BBB from your network? and could you confirm you can ping say 4.2.2.1 from within the server?
0.0.0.0  Mask:255.255.255.255                       The subnet mask does not seem appropriate to me?
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To post to this group, send email to bigbluebu...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.

wenderw

unread,
Mar 14, 2011, 9:51:12 PM3/14/11
to BigBlueButton-Setup
Hi Seun :-)

I think you were right :-D.

After a lot of useless things I've tried, I've changed the ip address
(did I? because I got the same IP address)

sudo /etc/init.d/networking restart

And then I set the same address I had

sudo bbb-conf --setip xxx.xxx.xxx.xxx

I don't understand what have happend, but the bbb-server is now up and
running again...

Thanks for your patience with this absolute begginer...

Salu2

On 13 mar, 21:26, Seun Ojedeji <seun.ojed...@gmail.com> wrote:
> Hello wenderw,
>
> Find my comment inset
>
> On Sat, Mar 12, 2011 at 5:48 PM, wenderw <jefaturafp.cavanil...@gmail.com>wrote:
>
>
>
> > Hi Seun :-)
>
> > Thanks for your interest. I'm connecting through an IP address (the
> > BBB server is integrated with Moodle so we don`t need a domain name).
> > I don't think it is a problem with the IP address, in fact we can
> > access to the default BBB page typing the server IP, it is just that
> > the server doesn't start,  *When you say the server doesn't start, do you
> > mean bbb server? and do you really mean you are able to log into the demo
> > page successfully? note that its one thing to see the demo page and another
> > thing to actually login :)*
>
> > as I told before it has been working fine more than a month... and also the
> > IP is static, we have rented the
> > virtual server. *Could you also confirm from the virtual server service
> > provider whether they have no recent firewall rule that may be blocking? are
> > you able to ping the ip of the BBB from your network?* *and could you
> > confirm you can ping say 4.2.2.1 from within the server?*
> > 0.0.0.0  Mask:255.255.255.255                       *The subnet mask does
> > not seem appropriate to me?*
> *Seun Ojedeji,
> **you don't need a hero to succeed on the field....you need a team!*
Reply all
Reply to author
Forward
0 new messages