Announcement

Collapse
No announcement yet.

Problem installing on CentOS 5.2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem installing on CentOS 5.2

    I've tried to install on Centos 5.2 by following the howto here:


    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
    At this stage the install fails with this error:
    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
    The db exists.
    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
    both work ok:

    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)
    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:
    Code:
    readUrl=jdbc:mysql://localhost:3306/configdb
    but changing this to:
    Code:
    readUrl=jdbc:mysql://localhost:3306/openexchange
    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)
    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

  • #2
    Same on Debian Lenny

    Hi londoh,

    i'm having a similar problem on my installation on debian lenny.
    System was installed one week ago, Community packages version 6.8.
    Since I played with ldap-authetication i got it working.
    Then security updates were released an I did "apt-get update" and "apt-get upgrade" to get the new kernel-packages. Within this Update the open-xchange packages were updated to v.6.9.

    After doing that my Admin process stops and I get
    Code:
    /opt/open-xchange/sbin/listuser
    Exception in thread "main" java.lang.NoClassDefFoundError: com/openexchange/admin/console/user/List
    and

    in open-xchange.log
    Code:
    Mar 27, 2009 6:07:16 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(DatagramSocket.java:612)
            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(Thread.java:595)
    Mar 27, 2009 6:07:16 PM org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoverySenderThread run
    SEVERE: Problem calling the UDP Discovery Sender [224.0.0.1:6780]
    java.io.IOException: Operation not permitted
            at java.net.PlainDatagramSocketImpl.send(Native Method)
            at java.net.DatagramSocket.send(DatagramSocket.java:612)
            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(Thread.java:595)
    Mar 27, 2009 6:07:18 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(DatagramSocket.java:612)
            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(Thread.java:595)
    Mar 27, 2009 6:07:18 PM org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoverySenderThread run
    SEVERE: Problem calling the UDP Discovery Sender [224.0.0.1:6781]
    java.io.IOException: Operation not permitted
            at java.net.PlainDatagramSocketImpl.send(Native Method)
            at java.net.DatagramSocket.send(DatagramSocket.java:612)
            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(Thread.java:595)
    seems to me like an installation-issue in the packages since I sometimes got the error when installing "open-xchange-admin" that "/opt/open-xchange/bundles/open_xchange_admin.jar file would be overwritten as it is written by another package", what causes the installation to stop.


    Played around with removing an reinstalling packages, but didn't have luck.

    seems like i played to much since i get error-messages saying "default-context not found" and
    Code:
    /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P wssnetz073
    Exception in thread "main" java.lang.NoClassDefFoundError: com/openexchange/admin/console/util/server/RegisterServer
    which version du you install?

    Regards

    Sebastian
    Last edited by Guest; 03-27-2009, 07:20 PM.

    Comment


    • #3
      Hi,

      packages of Version 6.9 are development packages and not for productive usage. You could try a apt-get dist-upgrade to get packages that may be missing. It is possible that some packages are not installable at the 6.9 Version so you could try reinstalling them after some days.

      Comment


      • #4
        Hi

        I had tried with the repo set to

        http://software.open-xchange.com/OX6/SP5/RHEL5/

        It seems this is installing 6.8.0

        but i also tried with it pointed at:


        http://software.open-xchange.com/OX6/SP4/RHEL5/


        and this installs 6.6

        But the error is still the same :-( ...

        Code:
        [root@server]# /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P MY_master_password
        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-73
        the DB still is accessible from cl same as before.

        errors in logs are also same.

        I notice there are lots of lines about UDP / socket / multicast errors so assume it is some issue with jdbc / multicast / sockets but dont have much exp here and cant see anything obvious.


        long and short: I still cant get it to install on CentOS 5.2


        Martin do you know what might be the cause / meaning of this:

        Code:
        SEVERE: Problem calling the UDP Discovery Sender [224.0.0.1:6780]

        Comment

        Working...
        X