powered by Jive Software

Linux daemon not working

Hi,

So today i have connected 10 users to JM. Had to change one group name. Then i rebooted machine as always (to update changes in roster). And now JM refuses to work started with daemon (i have this jive-messengerd from old 2.1.1 vers., wonder why u have removed it from bin?).

When i try to connect to AC it shows me setup nad stucks at the DB selection, when i select embedded and press Continue. it says:

A connection to the database could not be made. View the error message by opening the “/logs/error.log” log file, then go back to fix the problem.

So now i’‘m thinking… or put back old DB backup (but then i’‘ll have a lot of work to do to rearrange groups’’ structure (heh… have to do backups daily:)) or maybe thre is a way to fix that? Of course i can start server by hand, but daemon is more convinient way.

error.log

2005.04.28 10:44:51 org.jivesoftware.database.EmbeddedConnectionProvider.getConnection(EmbeddedConne ctionProvider.java:48) Error: EmbeddedConnectionProvider.getConnection() wascalled before the internal pool has been initialized.

2005.04.28 10:44:51 org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnection Manager.java:279)

java.lang.NullPointerException

at org.jivesoftware.database.DbConnectionManager.setMetaData(DbConnectionManager.j ava:420)

at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectio nManager.java:268)

at org.jivesoftware.messenger.admin.setup_002ddatasource_002dsettings_jsp._jspServ ice(setup_002ddatasource_002dsettings_jsp.java:221)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:822)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:43)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:41)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:78)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler. java:494)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:569)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)

at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.ja va:624)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1434)

at org.mortbay.http.HttpServer.service(HttpServer.java:896)

at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)

at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)

at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)

at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)

at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:366)

at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

2005.04.28 10:44:51 org.jivesoftware.database.EmbeddedConnectionProvider.getConnection(EmbeddedConne ctionProvider.java:48) Error: EmbeddedConnectionProvider.getConnection() wascalled before the internal pool has been initialized.

2005.04.28 10:44:51 org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager. java:107) WARNING: ConnectionManager.getConnection() failed to obtain a connection.

after a lunch i’'ll try to backup existing DB and install clean DB, then overwrite, maybe this will do a trick…

ok, ok, it’'s again my fault, sorry:)

after upgrade have chown’'ed conf dir to jive user, but forgot about -R switch:) Now it works fine after machine rebooting.