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/