Announcement

Collapse
No announcement yet.

Installation: Admindaemon doesn't start

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

  • Installation: Admindaemon doesn't start

    Hi,

    I'm working my way through the installation in Ubuntu 8.04 as described in the wiki

    But after running the installer, the admindaemon doesn't seem to start.
    running
    Code:
     /etc/init.d/open-xchange-admin start
    just gives back that it's starting, but a
    Code:
     /etc/init.d/open-xchange-admin stop
    returns an error about no process with such PID.

    So I ran
    Code:
    /opt/open-xchange/sbin/open-xchange-admindaemon start
    which gives back nothing, but produces an entry in the Log:

    Code:
    Oct 7, 2009 6:40:00 PM com.openexchange.admin.osgi.Activator start
    INFO: Starting Admindaemon...
    Oct 7, 2009 6:40:00 PM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
    INFO: org.eclipse.osgi already started before admin.
    Oct 7, 2009 6:40:00 PM com.openexchange.admin.tools.AdminCache initCache
    INFO: Init Cache
    Oct 7, 2009 6:40:00 PM com.openexchange.admin.daemons.AdminDaemon initCache
    INFO: Cache and Pools initialized!
    Oct 7, 2009 6:40:00 PM com.openexchange.admin.tools.AdminCache initAccessCombinations
    INFO: Processing access combinations...
    Oct 7, 2009 6:40:00 PM com.openexchange.admin.tools.AdminCache initAccessCombinations
    INFO: Access combinations processed!
    Oct 7, 2009 6:40:00 PM com.openexchange.admin.daemons.AdminDaemon$LocalServerFactory createServerSocket
    INFO: Admindaemon will listen on localhost!
    Oct 7, 2009 6:40:00 PM com.openexchange.admin.rmi.impl.OXUser <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXUser
    Oct 7, 2009 6:40:00 PM com.openexchange.admin.rmi.impl.OXGroup <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXGroup
    Oct 7, 2009 6:40:00 PM com.openexchange.admin.rmi.impl.OXResource <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXResource
    Oct 7, 2009 6:40:00 PM com.openexchange.admin.rmi.impl.OXLogin <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXLogin
    Oct 7, 2009 6:40:00 PM com.openexchange.admin.daemons.AdminDaemon initRMI
    SEVERE: Error creating RMI registry!
    java.rmi.ConnectIOException: non-JRMP server at remote endpoint
    	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:217)
    	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    	at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
    	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:107)
    	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)

    Of Course without the daemon the next command
    Code:
    /opt/open-xchange/sbin/registerserver -n localhost -A oxadminmaster -P pw
    returns the same error
    Code:
    server could not be registered: 
    Server response:
     non-JRMP server at remote endpoint
    As I said I'm using Ubuntu 8.04 with

    java version "1.5.0_16"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_16-b02, mixed mode)

    Any Ideas?

  • #2
    Seems like the admindaemon could not open required network connections. Are you starting those processes as root?

    Greetings

    Comment


    • #3
      Yes, everything so far was ran as root.

      Comment


      • #4
        Okay, are there any other processes using Port 1098/1099 (RMI)? Maybe Tomcat or other Java server software. Just check with netstat. Thanks!

        Comment


        • #5
          Now that you're pointing me at it....
          I've a jboss, which provides a confluence-wiki, running.

          Can I change the RMi-Port in the OX-Tomcat? Or can I use my already running jboss for OX?

          Comment


          • #6
            The RMI port can be configured in /opt/open-xchange/etc/admindaemon/RMI.properties

            Comment


            • #7
              OX does not use Tomcat, but anyway - like Carsten said

              Comment


              • #8
                Ok, I changed the OX RMI-Port to 2099 and now the admindaemon starts.
                But I still get this Error:

                Code:
                server could not be registered: 
                Server response:
                 non-JRMP server at remote endpoint
                After executing
                Code:
                registerserver -n localhost -A oxadminmaster -P pw
                I tried localhost, localhost:2099, ip, ip:2099, 127.0.0.1 and 127.0.0.1:2099.

                Did I miss something?

                Comment


                • #9
                  The -n is just a name for the server, not a network address or something like that. Is the error message at the admindaemons log files exactly the same?

                  Comment


                  • #10
                    Ok, it seems to be a connection problem with the mysql-db.
                    I missed the error-message the first time:

                    Code:
                    Oct 8, 2009 5:02:59 PM com.openexchange.database.internal.Pools initPoolConfig
                    INFO: Database pooling options:
                    	Minimum idle connections: 0
                    	Maximum idle connections: -1
                    	Maximum idle time: 60000ms
                    	Maximum active connections: 100
                    	Maximum wait time for a connection: 10000ms
                    	Maximum life time of a connection: 600000ms
                    	Action if connections exhausted: BLOCK
                    	Test connections on activate  : false
                    	Test connections on deactivate: true
                    	Test idle connections         : false
                    	Test threads for bad connection usage (SLOW): false
                    	Force the use of write connections only: true
                    Oct 8, 2009 5:03:03 PM com.openexchange.database.internal.Initialization start
                    WARNING: Resolving server name to an identifier failed. This is normal until a server has been registered.
                    DBP-0001 Category=5 Message=Cannot get connection to config DB. exceptionID=-1123030350-1
                    	at com.openexchange.database.internal.DBPoolingExceptionFactory.createException(DBPoolingExceptionFactory.java:76)
                    	at com.openexchange.database.internal.DBPoolingExceptionFactory.createException(DBPoolingExceptionFactory.java:62)
                    	at com.openexchange.exceptions.Exceptions.create(Exceptions.java:139)
                    	at com.openexchange.exceptions.Exceptions.create(Exceptions.java:159)
                    	at com.openexchange.database.DBPoolingExceptionCodes.create(DBPoolingExceptionCodes.java:190)
                    	at com.openexchange.database.internal.ConfigDatabaseServiceImpl.get(ConfigDatabaseServiceImpl.java:118)
                    	at com.openexchange.database.internal.ConfigDatabaseServiceImpl.getReadOnly(ConfigDatabaseServiceImpl.java:165)
                    	at com.openexchange.database.internal.Server.loadServerId(Server.java:132)
                    	at com.openexchange.database.internal.Server.getServerId(Server.java:102)
                    	at com.openexchange.database.internal.Initialization.start(Initialization.java:123)
                    	at com.openexchange.database.osgi.DatabaseServiceRegisterer.addingService(DatabaseServiceRegisterer.java:115)
                    	at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
                    	at org.osgi.util.tracker.ServiceTracker$Tracked.track(ServiceTracker.java:1042)
                    	at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:975)
                    	at org.eclipse.osgi.framework.internal.core.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:94)
                    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1224)
                    	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
                    	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
                    	at org.eclipse.osgi.framework.internal.core.Framework.publishServiceEventPrivileged(Framework.java:1603)
                    	at org.eclipse.osgi.framework.internal.core.Framework.publishServiceEvent(Framework.java:1578)
                    	at org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.<init>(ServiceRegistrationImpl.java:103)
                    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.createServiceRegistration(BundleContextImpl.java:657)
                    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:609)
                    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:675)
                    	at com.openexchange.timer.osgi.TimerActivator.start(TimerActivator.java:85)
                    	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: com.openexchange.pooling.PoolingException: Cannot create pooled object.
                    	at com.openexchange.pooling.ReentrantLockPool.get(ReentrantLockPool.java:384)
                    	at com.openexchange.database.internal.ConfigDatabaseServiceImpl.get(ConfigDatabaseServiceImpl.java:116)
                    	... 32 more
                    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
                    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
                    	at com.mysql.jdbc.Util.getInstance(Util.java:381)
                    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
                    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
                    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
                    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2253)
                    	at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:718)
                    	at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
                    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
                    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
                    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
                    	at java.sql.DriverManager.getConnection(DriverManager.java:582)
                    	at java.sql.DriverManager.getConnection(DriverManager.java:154)
                    	at com.openexchange.database.internal.ConnectionPool$ConnectionLifecycle.create(ConnectionPool.java:242)
                    	at com.openexchange.database.internal.ConnectionPool$ConnectionLifecycle.create(ConnectionPool.java:182)
                    	at com.openexchange.pooling.ReentrantLockPool.get(ReentrantLockPool.java:376)
                    	... 33 more
                    Caused by: java.sql.SQLException: Access denied for user 'openexchange'@'xxxxxxxxxx.yourvserver.net' (using password: YES)
                    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
                    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
                    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
                    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
                    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:910)
                    	at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3923)
                    	at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1273)
                    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2181)
                    	... 47 more
                    Oct 8, 2009 5:03:03 PM com.openexchange.admin.tools.AdminCache initCache
                    INFO: Init Cache
                    Oct 8, 2009 5:03:03 PM com.openexchange.admin.PluginStarter initCache
                    INFO: Cache and Pools initialized!
                    Oct 8, 2009 5:03:03 PM com.openexchange.admin.tools.AdminCache initCache
                    INFO: Init Cache
                    Oct 8, 2009 5:03:03 PM com.openexchange.admin.tools.monitoring.MonitorAgent start
                    SEVERE: Error starting the JMX Server
                    javax.management.InstanceAlreadyExistsException: MXBean already registered with name java.lang:type=MemoryManager,name=ParNew
                    	at com.sun.jmx.mbeanserver.MXBeanLookup.addReference(MXBeanLookup.java:120)
                    	at com.sun.jmx.mbeanserver.MXBeanSupport.register(MXBeanSupport.java:143)
                    	at com.sun.jmx.mbeanserver.MBeanSupport.preRegister2(MBeanSupport.java:183)
                    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:941)
                    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
                    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
                    	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
                    	at com.openexchange.admin.tools.monitoring.MonitorAgent.registerSystemBeans(MonitorAgent.java:232)
                    	at com.openexchange.admin.tools.monitoring.MonitorAgent.start(MonitorAgent.java:134)
                    	at com.openexchange.admin.PluginStarter.startJMX(PluginStarter.java:153)
                    	at com.openexchange.admin.PluginStarter.start(PluginStarter.java:105)
                    	at com.openexchange.admin.osgi.Activator.start(Activator.java:73)
                    	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)
                    Oct 8, 2009 5:03:03 PM com.openexchange.admin.PluginStarter startJMX
                    INFO: Admindaemon Name: 78.46.116.101
                    Oct 8, 2009 5:03:03 PM com.openexchange.server.osgi.ServerActivator startBundle
                    INFO: starting bundle: com.openexchange.server
                    Oct 8, 2009 5:03:03 PM com.openexchange.configuration.ServerConfig initialize
                    INFO: Read configuration file server.properties.
                    Oct 8, 2009 5:03:03 PM com.openexchange.groupware.configuration.ParticipantConfig initialize
                    INFO: Read configuration file participant.properties.
                    Oct 8, 2009 5:03:03 PM com.openexchange.groupware.contact.ContactConfig initialize
                    INFO: Read configuration file contact.properties.
                    Oct 8, 2009 5:03:03 PM com.openexchange.groupware.contact.ContactConfig logNotInitialized
                    INFO: Configuration file contact.properties not read. Using defaults.
                    Oct 8, 2009 5:03:03 PM com.openexchange.server.impl.Starter dumpServerInfos
                    INFO: Open-Xchange 6.12.0-Rev3
                    Oct 8, 2009 5:03:03 PM com.openexchange.server.impl.Starter dumpServerInfos
                    INFO: (c) Open-Xchange Inc. , Open-Xchange GmbH
                    Oct 8, 2009 5:03:03 PM com.openexchange.server.impl.Starter dumpServerInfos
                    INFO: Linux amd64 2.6.29.6-vs2.3.0.36.14-beng
                    Oct 8, 2009 5:03:03 PM com.openexchange.server.impl.Starter dumpServerInfos
                    INFO: 1.6.0_16-b01
                    Oct 8, 2009 5:03:03 PM com.openexchange.server.impl.Starter dumpServerInfos
                    INFO: VM Total Memory       : 96,000 KB
                    Oct 8, 2009 5:03:03 PM com.openexchange.server.impl.Starter dumpServerInfos
                    INFO: VM Free Memory        : 66,081 KB
                    Oct 8, 2009 5:03:03 PM com.openexchange.server.impl.Starter dumpServerInfos
                    INFO: VM Used Memory        : 29,919 KB
                    Oct 8, 2009 5:03:03 PM com.openexchange.server.impl.Starter dumpServerInfos
                    INFO: System version : Open-Xchange Server [6.12.0-Rev3] initializing ...
                    Oct 8, 2009 5:03:03 PM com.openexchange.server.impl.Starter dumpServerInfos
                    INFO: Server Footprint : -1123030350
                    Oct 8, 2009 5:03:04 PM com.openexchange.groupware.update.UpdateTaskCollectionInit start
                    INFO: UpdateTaskCollection successfully started
                    Oct 8, 2009 5:03:04 PM com.openexchange.charset.CustomCharsetProviderInit start
                    INFO: Custom charsets successfully added to alias charset provider.
                    Oct 8, 2009 5:03:04 PM com.openexchange.tools.oxfolder.OXFolderProperties logInfo
                    INFO: 
                    Folder Properties & Folder Cache Properties:
                    	ENABLE_DB_GROUPING=true
                    	ENABLE_FOLDER_CACHE=true
                    	ENABLE_INTERNAL_USER_EDIT=true
                    	IGNORE_SHARED_ADDRESSBOOK=true
                    Oct 8, 2009 5:03:04 PM com.openexchange.groupware.userconfiguration.UserConfigurationStorageInit start
                    INFO: UserConfigurationStorage implementation: com.openexchange.groupware.userconfiguration.CachingUserConfigurationStorage
                    Oct 8, 2009 5:03:04 PM com.openexchange.event.impl.EventInit start
                    INFO: Parse Event properties
                    Oct 8, 2009 5:03:04 PM com.openexchange.event.impl.EventQueue init
                    INFO: Starting EventQueue
                    Oct 8, 2009 5:03:04 PM com.openexchange.event.impl.EventInit start
                    INFO: Adding Notification Listener
                    Oct 8, 2009 5:03:04 PM com.openexchange.event.impl.EventInit start
                    INFO: Adding LinkEventHandler
                    Oct 8, 2009 5:03:04 PM com.openexchange.event.impl.EventInit start
                    INFO: Adding AttachmentCleaner
                    Oct 8, 2009 5:03:04 PM com.openexchange.event.impl.EventInit start
                    INFO: Adding PropertiesCleaner
                    Oct 8, 2009 5:03:04 PM com.openexchange.event.impl.EventInit start
                    INFO: Adding LockCleaner
                    Oct 8, 2009 5:03:04 PM com.openexchange.mailaccount.internal.MailAccountStorageInit start
                    INFO: MailAccountStorageService successfully injected to server service registry
                    Oct 8, 2009 5:03:04 PM com.openexchange.server.impl.Starter adminStart
                    INFO: Admin successfully initialized.
                    Oct 8, 2009 5:03:04 PM com.openexchange.server.impl.Starter adminStart
                    INFO: SYSTEM IS UP & RUNNING IN ADMIN MODE...
                    Oct 8, 2009 5:03:04 PM com.openexchange.server.osgi.I18nServiceListener addingService
                    INFO: Adding service I18nService for locale fr_FR
                    Oct 8, 2009 5:03:04 PM com.openexchange.server.osgi.I18nServiceListener addingService
                    INFO: Adding service I18nService for locale de_DE
                    Oct 8, 2009 5:03:04 PM com.openexchange.folderstorage.osgi.FolderStorageActivator start
                    INFO: Bundle "com.openexchange.folderstorage.osgi.FolderStorageActivator" successfully started!
                    Where ist the username/pw for the admin-daemon configured? I just did it for the config-db. Especially I would like to change logging in to the hostname to logging in over the IP.

                    EDIT:
                    The Database Connection is fixed and working now.
                    But this one remains:

                    Code:
                    SEVERE: Error starting the JMX Server
                    javax.management.InstanceAlreadyExistsException: MXBean already registered with name java.lang:type=MemoryManager,name=ParNew
                    	at com.sun.jmx.mbeanserver.MXBeanLookup.addReference(MXBeanLookup.java:120)
                    	at com.sun.jmx.mbeanserver.MXBeanSupport.register(MXBeanSupport.java:143)
                    	at com.sun.jmx.mbeanserver.MBeanSupport.preRegister2(MBeanSupport.java:183)
                    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:941)
                    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
                    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
                    	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
                    	at com.openexchange.admin.tools.monitoring.MonitorAgent.registerSystemBeans(MonitorAgent.java:232)
                    	at com.openexchange.admin.tools.monitoring.MonitorAgent.start(MonitorAgent.java:134)
                    	at com.openexchange.admin.PluginStarter.startJMX(PluginStarter.java:153)
                    	at com.openexchange.admin.PluginStarter.start(PluginStarter.java:105)
                    	at com.openexchange.admin.osgi.Activator.start(Activator.java:73)
                    	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)
                    Oct 8, 2009 5:39:36 PM com.openexchange.admin.PluginStarter startJMX
                    Last edited by Guest; 10-08-2009, 07:38 PM.

                    Comment


                    • #11
                      hi,

                      those information are stored at configdb.properties at the admindaemon and groupware configuration directory.

                      Comment


                      • #12
                        The Database Connection is fixed and working now. That was my mistake. I messed up the access rights for the configdb.
                        But this one remains:

                        Code:
                        SEVERE: Error starting the JMX Server
                        javax.management.InstanceAlreadyExistsException: MXBean already registered with name java.lang:type=MemoryManager,name=ParNew
                        	at com.sun.jmx.mbeanserver.MXBeanLookup.addReference(MXBeanLookup.java:120)
                        	at com.sun.jmx.mbeanserver.MXBeanSupport.register(MXBeanSupport.java:143)
                        	at com.sun.jmx.mbeanserver.MBeanSupport.preRegister2(MBeanSupport.java:183)
                        	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:941)
                        	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
                        	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
                        	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
                        	at com.openexchange.admin.tools.monitoring.MonitorAgent.registerSystemBeans(MonitorAgent.java:232)
                        	at com.openexchange.admin.tools.monitoring.MonitorAgent.start(MonitorAgent.java:134)
                        	at com.openexchange.admin.PluginStarter.startJMX(PluginStarter.java:153)
                        	at com.openexchange.admin.PluginStarter.start(PluginStarter.java:105)
                        	at com.openexchange.admin.osgi.Activator.start(Activator.java:73)
                        	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)
                        Oct 8, 2009 5:39:36 PM com.openexchange.admin.PluginStarter startJMX

                        Comment


                        • #13
                          Originally posted by raix View Post
                          Ok, I changed the OX RMI-Port to 2099 and now the admindaemon starts.
                          But I still get this Error:

                          Code:
                          server could not be registered: 
                          Server response:
                           non-JRMP server at remote endpoint
                          After executing
                          Code:
                          registerserver -n localhost -A oxadminmaster -P pw
                          I tried localhost, localhost:2099, ip, ip:2099, 127.0.0.1 and 127.0.0.1:2099.

                          Did I miss something?
                          Yes, you need to set an environment variable:

                          Code:
                          /opt/open-xchange/sbin/listuser --environment
                          
                          The following environment variables and their current value are known
                          and can be modified to change behaviour:
                          
                                  NEW_USER_PASSWORD=<NOT SET>
                                  ADMIN_PASSWORD=<NOT SET>
                                  RMI_HOSTNAME=rmi://localhost:1099/
                                  COMMANDLINE_DATEFORMAT=yyyy-MM-dd
                                  COMMANDLINE_TIMEZONE=GMT

                          Comment


                          • #14
                            Thanks! The environment variable did the trick! Now the whole service is running

                            But I have one (hopefully) last problem left:

                            Code:
                            $ /opt/open-xchange/sbin/createcontext -A oxadminmaster -P admin_master_password -c 1 \
                            -u oxadmin -d "Context Admin" -g Admin -s User -p admin_password -L defaultcontext \
                            -e oxadmin@example.com -q 1024 --access-combination-name=all
                            This returns me another error:

                            Code:
                            context 1 could not be created: 
                            Server response:
                             Error unmarshaling return; nested exception is: 
                            	java.lang.ClassNotFoundException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException (no security manager: RMI class loader disabled)
                            Ok, that was my mistake again. The Database-Permissions were wrong.

                            EDIT:
                            Login just gives Error 503.
                            But everythings seems to be running.

                            EDIT:
                            Ok, I had to change the ajp-settings in apache to my actual ip. 127.0.0.1 wasn't working.
                            Last edited by Guest; 10-10-2009, 12:10 PM.

                            Comment


                            • #15
                              After I restarted the Groupware I've the Error 503 again.

                              My Apache error-log says:

                              Code:
                              [Sat Oct 10 10:52:48 2009] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
                              [Sat Oct 10 10:53:05 2009] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8010 (127.0.0.1) failed
                              [Sat Oct 10 10:53:05 2009] [error] ap_proxy_connect_backend disabling worker for (127.0.0.1)
                              [Sat Oct 10 10:53:05 2009] [error] proxy: AJP: failed to make connection to backend: 127.0.0.1
                              And even with the real IP it won't work. Where do I have to configure the proxy to accept connections?

                              Comment

                              Working...
                              X