Announcement

Collapse
No announcement yet.

OpenSuse 11: Error creating RMI registry

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

  • OpenSuse 11: Error creating RMI registry

    Hi.

    I want to install the current Open-Xchange version on my server, but I have a major problem:
    I used the installation guide provided here (http://oxpedia.org/wiki/index.php?ti..._openSUSE_11.0), but when I call
    /etc/init.d/open-xchange-admin start
    The process will die after a view seconds.

    I called the oxinstaller with the -a option, so a user openexchange with ALL PRIVILEGUE was created.
    The "funny" thing: After calling the start script, my mysqladmin cannot connect to the database any more.

    Does anybody know what this might be?

    open-xchange-admin-console.log is empty.
    open-xchange-admin.log.0
    Code:
    Mar 19, 2010 7:49:55 PM com.openexchange.admin.osgi.Activator start
    INFO: Starting Admindaemon...
    Mar 19, 2010 7:49:55 PM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
    INFO: org.eclipse.osgi already started before admin.
    Mar 19, 2010 7:49:55 PM com.openexchange.admin.tools.AdminCache initCache
    INFO: Init Cache
    Mar 19, 2010 7:49:55 PM com.openexchange.admin.daemons.AdminDaemon initCache
    INFO: Cache and Pools initialized!
    Mar 19, 2010 7:49:55 PM com.openexchange.admin.tools.AdminCache initAccessCombinations
    INFO: Processing access combinations...
    Mar 19, 2010 7:49:55 PM com.openexchange.admin.tools.AdminCache initAccessCombinations
    INFO: Access combinations processed!
    Mar 19, 2010 7:49:56 PM com.openexchange.admin.daemons.AdminDaemon$LocalServerFactory createServerSocket
    INFO: Admindaemon will listen on localhost!
    Mar 19, 2010 7:49:56 PM com.openexchange.admin.rmi.impl.OXUser <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXUser
    Mar 19, 2010 7:49:56 PM com.openexchange.admin.rmi.impl.OXGroup <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXGroup
    Mar 19, 2010 7:49:56 PM com.openexchange.admin.rmi.impl.OXResource <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXResource
    Mar 19, 2010 7:49:56 PM com.openexchange.admin.rmi.impl.OXLogin <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXLogin
    Mar 19, 2010 7:49:56 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 (no security manager: RMI class loader disabled)
            at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:413)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:267)
            at sun.rmi.transport.Transport$1.run(Transport.java:177)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
            at java.lang.Thread.run(Thread.java:636)
            at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
            at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:377)
            at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
            at com.openexchange.admin.daemons.AdminDaemon.initRMI(AdminDaemon.java:214)
            at com.openexchange.admin.osgi.Activator.start(Activator.java:112)
            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 (no security manager: RMI class loader disabled)
            at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
            at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:403)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:267)
            at sun.rmi.transport.Transport$1.run(Transport.java:177)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
            at java.lang.Thread.run(Thread.java:636)
    Caused by: java.lang.ClassNotFoundException: com.openexchange.admin.rmi.OXUserInterface (no security manager: RMI class loader disabled)
            at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:552)
            at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:646)
            at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:311)
            at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:255)
            at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1548)
            at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1510)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
            ... 12 more
    Mar 19, 2010 7:57:22 PM com.openexchange.admin.osgi.Activator start
    INFO: Starting Admindaemon...
    Mar 19, 2010 7:57:22 PM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
    INFO: org.eclipse.osgi already started before admin.
    Mar 19, 2010 7:57:22 PM com.openexchange.admin.tools.AdminCache initCache
    INFO: Init Cache
    Mar 19, 2010 7:57:22 PM com.openexchange.admin.daemons.AdminDaemon initCache
    INFO: Cache and Pools initialized!
    Mar 19, 2010 7:57:22 PM com.openexchange.admin.tools.AdminCache initAccessCombinations
    INFO: Processing access combinations...
    Mar 19, 2010 7:57:22 PM com.openexchange.admin.tools.AdminCache initAccessCombinations
    INFO: Access combinations processed!
    Mar 19, 2010 7:57:22 PM com.openexchange.admin.daemons.AdminDaemon$LocalServerFactory createServerSocket
    INFO: Admindaemon will listen on localhost!
    Mar 19, 2010 7:57:22 PM com.openexchange.admin.rmi.impl.OXUser <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXUser
    Mar 19, 2010 7:57:23 PM com.openexchange.admin.rmi.impl.OXGroup <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXGroup
    Mar 19, 2010 7:57:23 PM com.openexchange.admin.rmi.impl.OXResource <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXResource
    Mar 19, 2010 7:57:23 PM com.openexchange.admin.rmi.impl.OXLogin <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXLogin
    Mar 19, 2010 7:57:23 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 (no security manager: RMI class loader disabled)
            at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:413)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:267)
            at sun.rmi.transport.Transport$1.run(Transport.java:177)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
            at java.lang.Thread.run(Thread.java:636)
           at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
            at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:377)
            at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
            at com.openexchange.admin.daemons.AdminDaemon.initRMI(AdminDaemon.java:214)
            at com.openexchange.admin.osgi.Activator.start(Activator.java:112)
            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 (no security manager: RMI class loader disabled)
            at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
            at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:403)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:267)
            at sun.rmi.transport.Transport$1.run(Transport.java:177)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
            at java.lang.Thread.run(Thread.java:636)
    Caused by: java.lang.ClassNotFoundException: com.openexchange.admin.rmi.OXUserInterface (no security manager: RMI class loader disabled)
            at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:552)
            at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:646)
            at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:311)
            at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:255)
            at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1548)
            at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1510)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
            ... 12 more

  • #2
    I repeated the installation steps, and everytime I get the same problem.

    I call
    Code:
    zypper install mysql open-xchange-meta-singleserver
    /opt/open-xchange/sbin/initconfigdb --configdb-pass=<> -a
    /opt/open-xchange/sbin/oxinstaller --no-license --servername=oxserver --configdb-pass=<> --master-pass=<>  --ajp-bind-port=localhost
    /etc/init.d/open-xchange-admin start
    Normallly, I would say that some packages are missing, but the meta packages says that all dependancies are met...

    Doesn't anybody know what's missing?

    My server:
    OpenSuse 11.0 - Linux version 2.6.25.18-0.2-default (geeko@buildhost) (gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) ) #1 SMP 2008-10-21 16:30:26 +0200
    Dual-Core AMD Opteron(tm) Processor 1212 HE

    Comment


    • #3
      Ahhh. I finally found it.

      There was still an open-xchange process which could not be killed with normal kill.
      After kill -9 id, the server finally started...

      Comment

      Working...
      X