Dear all,
I know many other user report same issue but I tried all thing I see still cannot resolve my problem.
My BBB run very well in few week, it just got error few hours ago. All HDD are not full, memory and CPU are free for BBB (I only run BBB on this server).
I ran
sudo bbb-conf --start, the result is:
Starting FreeSWITCH
Waiting for FreeSWITCH to start:
OpenOffice headless server has already started.
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 [ OK ]
Record and Playback monitoring started
Waiting for BigBlueButton to finish starting up (this may take a minute): Startup unsuccessful: could not connect to
http://176.58.122.97/bigbluebutton/apirun
bbb-conf --clean, the result is:
Doing a restart of BigBlueButton and cleaning out all log files...
* Stopping Red5 Server red5 [ OK ]
* Stopping Tomcat servlet engine tomcat6 [ OK ]
Stopping nginx: nginx.
Killing: 3813
Stopping OpenOffice headless server.
Record and Playback monitoring stopped
Cleaning Log Files ...
* nginx is not running
* Red5 Server is not running.
* Tomcat servlet engine is not running.
Starting FreeSWITCH
6312 Backgrounding.
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 [ OK ]
Record and Playback monitoring started
Waiting for BigBlueButton to finish starting up (this may take a minute): Startup unsuccessful: could not connect to
http://176.58.122.97/bigbluebutton/apiRun
bbb-conf --check the result is:
BigBlueButton Server 0.81-RC5 (1544)
Kernel version: 3.11.6-x86_64-linode35
Distribution: Ubuntu 10.04.4 LTS (64-bit)
Memory: 3934 MB
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
Port test (tunnel): 176.58.122.97
Red5: 176.58.122.97
/etc/nginx/sites-available/bigbluebutton (nginx)
server name: 176.58.122.97
port: 80
bbb-client dir: /var/www/bigbluebutton
/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
bbb-web host: 176.58.122.97
/var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp (API demos)
api url: 176.58.122.97
/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: 176.58.122.97
** Potential problems described below **
# Warning: nginx is not serving BigBlueButton's web application
# from port 8080
#
# (This is OK if you have setup a development environment.)
# Error: Could not connect to the configured hostname/IP address
#
#
http://176.58.122.97/#
# 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.)
# Warning: The API demos are installed and accessible from:
#
#
http://176.58.122.97/#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
# sudo apt-get purge bbb-demo
I ran
bbb-conf --setip 176.58.122.97 but BBB still doesn't work
I ran
bbb-conf --debug, the logs is:
-- Exceptions found in /var/lib/tomcat6/logs/ --
/var/lib/tomcat6/logs/catalina.out:java.io.FileNotFoundException: stacktrace.log (Permission denied)
/var/lib/tomcat6/logs/catalina.out:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is 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: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/catalina.out:Caused by: 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: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/catalina.out:Caused by: 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: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/catalina.out:Caused by: 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: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/catalina.out:Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/catalina.out:Caused by: org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/catalina.out:Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/catalina.out:Caused by: java.sql.SQLException: File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied)
/var/lib/tomcat6/logs/catalina.out: at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
/var/lib/tomcat6/logs/localhost.2013-12-11.log:SEVERE: Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
/var/lib/tomcat6/logs/localhost.2013-12-11.log:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is 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: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/localhost.2013-12-11.log:Caused by: 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: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/localhost.2013-12-11.log:Caused by: 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: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/localhost.2013-12-11.log:Caused by: 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: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/localhost.2013-12-11.log:Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/localhost.2013-12-11.log:Caused by: org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/localhost.2013-12-11.log:Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/localhost.2013-12-11.log:Caused by: java.sql.SQLException: File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied)
/var/lib/tomcat6/logs/localhost.2013-12-11.log: at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
/var/lib/tomcat6/logs/localhost.2013-12-11.log:SEVERE: Exception sending context destroyed event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
/var/lib/tomcat6/logs/localhost.2013-12-11.log:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is 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: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/localhost.2013-12-11.log:Caused by: 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: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/localhost.2013-12-11.log:Caused by: 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: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/localhost.2013-12-11.log:Caused by: 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: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/localhost.2013-12-11.log:Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
/var/lib/tomcat6/logs/localhost.2013-12-11.log:Caused by: org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (File input/output error prodDb.properties java.io.FileNotFoundException:
prodDb.properties.new (Permission denied))
-- Errors found in /var/log/nginx/error.log --
2013/12/11 07:17:36 [error] 7908#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 176.58.122.97, server: 176.58.122.97, request: "GET /bigbluebutton/api HTTP/1.0", upstream: "
http://127.0.0.1:8081/bigbluebutton/api", host: "176.58.122.97"
Thank You
DuongTC