I've tried to install on Centos 5.2 by following the howto here:
all goes OK until this point:
At this stage the install fails with this error:
The db exists.
only 1 Table (configdb_sequence) has data: id=1
I can login to the db from cli
both work ok:
I noticed that in:
/opt/open-xchange/etc/admindaemon/configdb.properties
and also in:
/opt/open-xchange/etc/groupware/configdb.properties
the jdbc connect string is given as:
but changing this to:
doesnt make any difference
I've seen this same error message in various other failed install threads but I cant find a solution.
Can anybody help?
Here are tails of 2 logs:
/var/log/open-xchange/open-xchange-admin.log.0
(the last block about UDP error in this log is repeating every 30secs so its getting BIG very quickly)
And /var/log/open-xchange/open-xchange-admin.log.0.1
all goes OK until this point:
Code:
Next we have to register the local server at the Open-Xchange configdb database: $ /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P MY_admin_master_password
Code:
server could not be registered: Server response: com.openexchange.admin.rmi.exceptions.PoolException: DBP-0001 Category=5 Message=Cannot get connection to config DB. exceptionID=1758722340-45
only 1 Table (configdb_sequence) has data: id=1
I can login to the db from cli
Code:
mysql -h 127.0.0.1 -u openexchange -D openexchange -p or mysql -h localhost -u openexchange -D openexchange -p
Code:
mysql> show tables; +------------------------+ | Tables_in_openexchange | +------------------------+ | configdb_sequence | | context | | context_server2db_pool | | db_cluster | | db_pool | | filestore | | login2context | | reason_text | | server | +------------------------+ 9 rows in set (0.00 sec)
/opt/open-xchange/etc/admindaemon/configdb.properties
and also in:
/opt/open-xchange/etc/groupware/configdb.properties
the jdbc connect string is given as:
Code:
readUrl=jdbc:mysql://localhost:3306/configdb
Code:
readUrl=jdbc:mysql://localhost:3306/openexchange
I've seen this same error message in various other failed install threads but I cant find a solution.
Can anybody help?
Here are tails of 2 logs:
/var/log/open-xchange/open-xchange-admin.log.0
(the last block about UDP error in this log is repeating every 30secs so its getting BIG very quickly)
Code:
Mar 24, 2009 10:04:39 PM com.openexchange.admin.storage.mysqlStorage.OXToolMySQLStorage existsServerName SEVERE: Pool Error com.openexchange.admin.rmi.exceptions.PoolException: DBP-0001 Category=5 Message=Cannot get connection to config DB. exceptionID=1758722340-47 at com.openexchange.admin.storage.sqlStorage.OXAdminPoolDBPool.getConnectionForConfigDB(OXAdminPoolDBPool.java:80) at com.openexchange.admin.tools.AdminCache.getConnectionForConfigDB(AdminCache.java:351) at com.openexchange.admin.storage.mysqlStorage.OXToolMySQLStorage.existsServerName(OXToolMySQLStorage.java:2036) at com.openexchange.admin.storage.mysqlStorage.OXToolMySQLStorage.existsServerName(OXToolMySQLStorage.java:2069) at com.openexchange.admin.rmi.impl.OXUtil.registerServer(OXUtil.java:387) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Mar 24, 2009 10:04:39 PM com.openexchange.database.Database back SEVERE: DBP-0009 Category=8 Message=Cannot return connection to pool -2. exceptionID=1758722340-48 DBP-0009 Category=8 Message=Cannot return connection to pool -2. exceptionID=1758722340-48 at com.openexchange.database.Database.back(Database.java:300) at com.openexchange.database.Database.back(Database.java:229) at com.openexchange.server.impl.DBPool.pushWrite(DBPool.java:90) at com.openexchange.admin.storage.sqlStorage.OXAdminPoolDBPool.pushConnectionForConfigDB(OXAdminPoolDBPool.java:106) at com.openexchange.admin.tools.AdminCache.pushConnectionForConfigDB(AdminCache.java:355) at com.openexchange.admin.storage.mysqlStorage.OXToolMySQLStorage.existsServerName(OXToolMySQLStorage.java:2057) at com.openexchange.admin.storage.mysqlStorage.OXToolMySQLStorage.existsServerName(OXToolMySQLStorage.java:2069) at com.openexchange.admin.rmi.impl.OXUtil.registerServer(OXUtil.java:387) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.openexchange.pooling.PoolingException: A null reference was returned to pool. at com.openexchange.pooling.ReentrantLockPool.back(ReentrantLockPool.java:219) at com.openexchange.database.Database.back(Database.java:297) ... 20 more Mar 24, 2009 10:04:55 PM org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoverySender send SEVERE: Error sending message java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(Unknown Source) at org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoverySender.send(UDPDiscoverySender.java:152) at org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoverySender.passiveBroadcast(UDPDiscoverySender.java:222) at org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoverySender.passiveBroadcast(UDPDiscoverySender.java:196) at org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoverySenderThread.run(UDPDiscoverySenderThread.java:152) at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364) at java.lang.Thread.run(Unknown Source)
And /var/log/open-xchange/open-xchange-admin.log.0.1
Code:
Mar 24, 2009 10:02:01 PM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus INFO: com.openexchange.passwordchange.database already started before admin. Mar 24, 2009 10:02:01 PM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus INFO: com.openexchange.server already started before admin. Mar 24, 2009 10:02:01 PM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus INFO: com.openexchange.xml already started before admin. Mar 24, 2009 10:02:01 PM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus INFO: javax.servlet already started before admin. Mar 24, 2009 10:02:01 PM com.openexchange.admin.tools.AdminCache initOXProccess INFO: OX init starting... Mar 24, 2009 10:02:01 PM com.openexchange.admin.tools.AdminCache initOXProccess INFO: ...OX init done! Mar 24, 2009 10:02:01 PM com.openexchange.admin.tools.AdminCache initCache INFO: Init Cache Mar 24, 2009 10:02:01 PM com.openexchange.admin.daemons.AdminDaemon initCache INFO: Cache and Pools initialized! Mar 24, 2009 10:02:01 PM com.openexchange.admin.tools.AdminCache initAccessCombinations INFO: Processing access combinations... Mar 24, 2009 10:02:01 PM com.openexchange.admin.tools.AdminCache initAccessCombinations INFO: Access combinations processed! Mar 24, 2009 10:02:01 PM com.openexchange.admin.daemons.AdminDaemon$LocalServerFactory createServerSocket INFO: Admindaemon will listen on localhost! Mar 24, 2009 10:02:01 PM com.openexchange.admin.rmi.impl.OXUser <init> INFO: Class loaded: com.openexchange.admin.rmi.impl.OXUser Mar 24, 2009 10:02:01 PM com.openexchange.admin.rmi.impl.OXGroup <init> INFO: Class loaded: com.openexchange.admin.rmi.impl.OXGroup Mar 24, 2009 10:02:01 PM com.openexchange.admin.rmi.impl.OXResource <init> INFO: Class loaded: com.openexchange.admin.rmi.impl.OXResource Mar 24, 2009 10:02:01 PM com.openexchange.admin.rmi.impl.OXLogin <init> INFO: Class loaded: com.openexchange.admin.rmi.impl.OXLogin Mar 24, 2009 10:02:02 PM com.openexchange.admin.daemons.AdminDaemon initRMI SEVERE: Error creating RMI registry! java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: com.openexchange.admin.rmi.OXUserInterface at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source) at com.openexchange.admin.daemons.AdminDaemon.initRMI(AdminDaemon.java:224) at com.openexchange.admin.daemons.Activator.start(Activator.java:94) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297) Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: com.openexchange.admin.rmi.OXUserInterface at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.openexchange.admin.rmi.OXUserInterface at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at sun.rmi.server.LoaderHandler.loadProxyInterfaces(Unknown Source) at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source) at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source) at java.rmi.server.RMIClassLoader$2.loadProxyClass(Unknown Source) at java.rmi.server.RMIClassLoader.loadProxyClass(Unknown Source) at sun.rmi.server.MarshalInputStream.resolveProxyClass(Unknown Source) at java.io.ObjectInputStream.readProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) ... 12 more
Comment