Announcement

Collapse
No announcement yet.

registerserver schlägt fehl

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

  • registerserver schlägt fehl

    Hallo,

    ich habe einen neuen Server unter CentOS 5.5 aufgesetzt.

    Linux mein-server 2.6.18-194.26.1.el5xen #1 SMP Tue Nov 9 14:13:46 EST 2010 i686 i686 i386 GNU/Linux

    Die Installation wurde auf das nötigsten begrenzt und OX + Java installiert.

    java version "1.6.0_22"
    Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
    Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode)

    Für die Installation des OX wurde das singleserver Metapaket verwendet und das Serverpaket liegt in folgender Version vor:
    open-xchange-server-6.18.0.0-7_8.1

    Die Installation der configdb wurde durchgeführt und mittels mysql -u openexchange -p -D configdb konnte darauf zugegriffen werden.
    Im Anschluß wurde:
    /opt/open-xchange/sbin/oxinstaller --servername=oxserver --configdb-pass=mein-password --master-pass=mein-password --ajp-bind-port=localhost --no-license

    ausgeführt und der Adminprozess neu gestartet.

    Der nächste Schritt der Anleitung ist die Registrierung der Servers:
    /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P mein-password

    An diesem Punkt habe ich das Problem.
    Das Programm gibt die Konsole nicht wieder frei und im Logfile erscheinen keine Fehler.
    In der configdb wird in der Server Tabelle auch der angebene Server nicht registriert, ich gehe also davon aus das das Script irgendetwas erwartet was nicht korrekt übergeben wird.

    Im Adminlog sind folgende Einträge beim staren des Adminprozesses zu sehen:

    Nov 26, 2010 9:27:02 PM com.openexchange.admin.osgi.Activator start
    INFO: Starting Admindaemon...
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
    INFO: org.eclipse.osgi already started before admin.
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.tools.AdminCache initCache
    INFO: Init Cache
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.daemons.AdminDaemon initCache
    INFO: Cache and Pools initialized!
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.tools.AdminCache initAccessCombinations
    INFO: Processing access combinations...
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.tools.AdminCache initAccessCombinations
    INFO: Access combinations processed!
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.daemons.AdminDaemon$LocalSe rverFactory createServerSocket
    INFO: Admindaemon will listen on localhost!
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.rmi.impl.OXUser <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXUser
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.rmi.impl.OXGroup <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXGroup
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.rmi.impl.OXResource <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXResource
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.rmi.impl.OXLogin <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXLogin
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.osgi.Activator start
    INFO: Version: 6.18.0.0
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.osgi.Activator start
    INFO: Name: com.openexchange.admin
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.osgi.Activator start
    INFO: Build: 6.18.0 Rev10
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.osgi.Activator start
    INFO: Admindaemon successfully started.
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.tools.AdminCache initCache
    INFO: Init Cache
    Nov 26, 2010 9:27:02 PM com.openexchange.admin.PluginStarter initCache
    INFO: Cache and Pools initialized!
    Nov 26, 2010 9:27:02 PM com.openexchange.config.osgi.ConfigActivator start
    INFO: starting bundle: com.openexchange.configread
    Nov 26, 2010 9:27:02 PM com.openexchange.config.internal.ConfigurationImpl processPropertiesFile
    WARNING: Overwriting property .level from file '/opt/open-xchange/etc/admindaemon/logging.properties' with property from file '/opt/open-xchange/etc/admindaemon/file-logging.properties', overwriting value 'SEVERE' with value 'INFO'.
    Nov 26, 2010 9:27:02 PM com.openexchange.config.internal.ConfigurationImpl processPropertiesFile
    WARNING: Overwriting property handlers from file '/opt/open-xchange/etc/admindaemon/logging.properties' with property from file '/opt/open-xchange/etc/admindaemon/file-logging.properties', overwriting value 'java.util.logging.ConsoleHandler' with value 'java.util.logging.FileHandler'.
    Nov 26, 2010 9:27:02 PM com.openexchange.config.internal.ConfigurationImpl processPropertiesFile
    WARNING: Overwriting property org.apache.level from file '/opt/open-xchange/etc/admindaemon/logging.properties' with property from file '/opt/open-xchange/etc/admindaemon/file-logging.properties', overwriting value 'SEVERE' with value 'WARNING'.
    Nov 26, 2010 9:27:03 PM com.openexchange.caching.internal.JCSCacheServiceI nit start
    INFO: JCS caching system successfully started
    Nov 26, 2010 9:27:03 PM com.openexchange.control.osgi.ControlActivator start
    INFO: starting bundle: com.openexchange.control
    Nov 26, 2010 9:27:03 PM com.openexchange.server.ServiceHolderInit start
    INFO: Service usage inspection not enabled
    Nov 26, 2010 9:27:03 PM com.openexchange.i18n.osgi.I18nActivator initI18nServices
    INFO: All I18n services registered
    Nov 26, 2010 9:27:03 PM com.openexchange.management.osgi.ManagementActivat or startBundle
    INFO: starting bundle: com.openexchange.management
    Nov 26, 2010 9:30:12 PM com.openexchange.management.internal.AbstractAgent addRMIRegistry
    INFO: RMI registry created on port 9998 and bind address localhost
    Nov 26, 2010 9:33:21 PM com.openexchange.management.internal.AbstractAgent addConnectorServer
    INFO: JMX connector server on service:jmx:rmi:///jndi/rmi://localhost:9998/server started
    Nov 26, 2010 9:33:21 PM com.openexchange.management.internal.ManagementAge ntImpl initializeMBeanServer
    INFO:

    Use JConsole or MC4J to connect to MBeanServer with this url: service:jmx:rmi:///jndi/rmi://localhost:9998/server

    Nov 26, 2010 9:33:21 PM com.openexchange.management.internal.ManagementIni t start
    INFO: JMX server successfully initialized.
    Nov 26, 2010 9:33:21 PM com.openexchange.control.osgi.ControlActivator$Man agementServiceTrackerCustomizer addingService
    INFO: Control MBean successfully registered.
    Nov 26, 2010 9:33:21 PM com.openexchange.messaging.osgi.MessagingActivator start
    INFO: starting bundle: com.openexchange.messaging
    Nov 26, 2010 9:33:21 PM com.openexchange.push.osgi.PushActivator start
    INFO: starting bundle: com.openexchange.push
    Nov 26, 2010 9:33:21 PM com.openexchange.database.internal.Configuration 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
    Nov 26, 2010 9:33:21 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-0019 Category=10 Message=Cannot resolve server id for server oxserver. exceptionID=526560206-1
    at com.openexchange.database.internal.DBPoolingExcept ionFactory.createException(DBPoolingExceptionFacto ry.java:76)
    at com.openexchange.database.internal.DBPoolingExcept ionFactory.createException(DBPoolingExceptionFacto ry.java:62)
    at com.openexchange.exceptions.Exceptions.create(Exce ptions.java:144)
    at com.openexchange.exceptions.Exceptions.create(Exce ptions.java:148)
    at com.openexchange.exceptions.Exceptions.create(Exce ptions.java:160)
    at com.openexchange.database.DBPoolingExceptionCodes. create(DBPoolingExceptionCodes.java:211)
    at com.openexchange.database.internal.Server.getServe rId(Server.java:98)
    at com.openexchange.database.internal.Initialization. start(Initialization.java:131)
    at com.openexchange.database.osgi.DatabaseServiceRegi sterer.addingService(DatabaseServiceRegisterer.jav a:88)
    at org.osgi.util.tracker.ServiceTracker$Tracked.track Adding(ServiceTracker.java:1064)
    at org.osgi.util.tracker.ServiceTracker$Tracked.track InitialServices(ServiceTracker.java:926)
    at org.osgi.util.tracker.ServiceTracker.open(ServiceT racker.java:330)
    at org.osgi.util.tracker.ServiceTracker.open(ServiceT racker.java:274)
    at com.openexchange.database.osgi.Activator.start(Act ivator.java:92)
    at com.openexchange.server.osgiservice.CompositeBundl eActivator.start(CompositeBundleActivator.java:70)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl$2.run(BundleContextImpl.java:999)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:993 )
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:974)
    at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:346)
    at org.eclipse.osgi.framework.internal.core.AbstractB undle.resume(AbstractBundle.java:350)
    at org.eclipse.osgi.framework.internal.core.Framework .resumeBundle(Framework.java:1118)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.resumeBundles(StartLevelManager.java:634)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.incFWSL(StartLevelManager.java:508)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.doSetStartLevel(StartLevelManager.java:28 2)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.dispatchEvent(StartLevelManager.java:468)
    at org.eclipse.osgi.framework.eventmgr.EventManager.d ispatchEvent(EventManager.java:195)
    at org.eclipse.osgi.framework.eventmgr.EventManager$E ventThread.run(EventManager.java:297)
    Nov 26, 2010 9:33:21 PM com.openexchange.database.osgi.DatabaseServiceRegi sterer addingService
    INFO: Publishing DatabaseService.
    Nov 26, 2010 9:33:21 PM com.openexchange.database.osgi.ManagementServiceCu stomizer addingService
    INFO: Injecting ManagementService into database bundle.
    Nov 26, 2010 9:33:21 PM com.openexchange.database.osgi.CacheServiceCustomi zer addingService
    INFO: Injecting CacheService into database bundle.
    Nov 26, 2010 9:33:21 PM com.openexchange.threadpool.osgi.ThreadPoolActivat or startBundle
    INFO: starting bundle: com.openexchange.threadpool
    Nov 26, 2010 9:33:21 PM com.openexchange.threadpool.internal.ThreadPoolPro perties init
    INFO: Thread Pool Configuration:
    corePoolSize=3
    prestartAllCoreThreads=true
    keepAliveTime=60000sec
    workQueue=synchronous
    refusedExecutionBehavior=abort
    Nov 26, 2010 9:33:21 PM com.openexchange.database.osgi.TimerServiceCustomi zer addingService
    INFO: Injecting TimerService into database bundle.
    Nov 26, 2010 9:33:21 PM com.openexchange.server.osgi.ServerActivator startBundle
    INFO: starting bundle: com.openexchange.server
    Nov 26, 2010 9:33:21 PM com.openexchange.configuration.ServerConfig initialize
    INFO: Read configuration file server.properties.
    Nov 26, 2010 9:33:21 PM com.openexchange.groupware.configuration.Participa ntConfig initialize
    INFO: Read configuration file participant.properties.
    Nov 26, 2010 9:33:21 PM com.openexchange.groupware.contact.ContactConfig initialize
    INFO: Read configuration file contact.properties.
    Nov 26, 2010 9:33:21 PM com.openexchange.groupware.contact.ContactConfig logNotInitialized
    INFO: Configuration file contact.properties not read. Using defaults.
    Nov 26, 2010 9:33:21 PM com.openexchange.server.impl.Starter dumpServerInfos
    INFO: Open-Xchange 6.18.0-Rev7
    Nov 26, 2010 9:33:21 PM com.openexchange.server.impl.Starter dumpServerInfos
    INFO: (c) Open-Xchange Inc. , Open-Xchange GmbH
    Nov 26, 2010 9:33:21 PM com.openexchange.server.impl.Starter dumpServerInfos
    INFO: Linux i386 2.6.18-194.26.1.el5xen
    Nov 26, 2010 9:33:21 PM com.openexchange.server.impl.Starter dumpServerInfos
    INFO: 1.6.0_22-b04
    Nov 26, 2010 9:33:21 PM com.openexchange.server.impl.Starter dumpServerInfos
    INFO: VM Total Memory : 96,000 KB
    Nov 26, 2010 9:33:21 PM com.openexchange.server.impl.Starter dumpServerInfos
    INFO: VM Free Memory : 66,874 KB
    Nov 26, 2010 9:33:21 PM com.openexchange.server.impl.Starter dumpServerInfos
    INFO: VM Used Memory : 29,126 KB
    Nov 26, 2010 9:33:21 PM com.openexchange.server.impl.Starter dumpServerInfos
    INFO: System version : Open-Xchange Server [6.18.0-Rev7] initializing ...
    Nov 26, 2010 9:33:21 PM com.openexchange.server.impl.Starter dumpServerInfos
    INFO: Server Footprint : 526560206
    Nov 26, 2010 9:33:21 PM com.openexchange.charset.CustomCharsetProviderInit start
    INFO: Custom charsets successfully added to alias charset provider.
    Nov 26, 2010 9:33:21 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
    Nov 26, 2010 9:33:21 PM com.openexchange.groupware.userconfiguration.UserC onfigurationStorageInit start
    INFO: UserConfigurationStorage implementation: com.openexchange.groupware.userconfiguration.Cachi ngUserConfigurationStorage
    Nov 26, 2010 9:33:21 PM com.openexchange.event.impl.EventInit start
    INFO: Parse Event properties
    Nov 26, 2010 9:33:21 PM com.openexchange.event.impl.EventQueue init
    INFO: Starting EventQueue
    Nov 26, 2010 9:33:21 PM com.openexchange.event.impl.EventInit start
    INFO: Adding Notification Listener
    Nov 26, 2010 9:33:21 PM com.openexchange.event.impl.EventInit start
    INFO: Adding LinkEventHandler
    Nov 26, 2010 9:33:21 PM com.openexchange.event.impl.EventInit start
    INFO: Adding AttachmentCleaner
    Nov 26, 2010 9:33:21 PM com.openexchange.event.impl.EventInit start
    INFO: Adding PropertiesCleaner
    Nov 26, 2010 9:33:21 PM com.openexchange.event.impl.EventInit start
    INFO: Adding LockCleaner
    Nov 26, 2010 9:33:21 PM com.openexchange.mailaccount.internal.MailAccountS torageInit start
    INFO: MailAccountStorageService successfully injected to server service registry
    Nov 26, 2010 9:33:21 PM com.openexchange.server.impl.Starter adminStart
    INFO: Admin successfully initialized.
    Nov 26, 2010 9:33:21 PM com.openexchange.server.impl.Starter adminStart
    INFO: SYSTEM IS UP & RUNNING IN ADMIN MODE...
    Nov 26, 2010 9:33:21 PM com.openexchange.server.osgi.I18nServiceListener addingService
    INFO: Adding service I18nService for locale fr_FR
    Nov 26, 2010 9:33:21 PM com.openexchange.server.osgi.I18nServiceListener addingService
    INFO: Adding service I18nService for locale de_DE
    Nov 26, 2010 9:33:21 PM com.openexchange.caching.internal.JCSCacheServiceI nit loadConfiguration
    INFO: JCS caching system successfully configured with properties from input stream.
    Nov 26, 2010 9:33:21 PM com.openexchange.folderstorage.osgi.FolderStorageA ctivator start
    INFO: Bundle "com.openexchange.folderstorage.osgi.FolderStorage Activator" successfully started!


    Hat jemand eine Idee bzw. Erfahrung wo mein Fehler liegt und kann mir einen Hinweis geben?

    Danke für eure Antworten


    Silvio

  • #2
    Hallo,

    ich hab gerade eine Fehlermeldung erhalten:

    server could not be registered:
    Error: Connection refused to host: 212.37.51.16; nested exception is:
    java.net.ConnectException: Connection timed out

    Soviel ich sehen kann ist das die Adresse welche als Satndard für einen Cluster hinterlegt ist:

    --ip-of-oxcluster | 212.37.51.16

    Wie kann ich dem System sagen das es kein Cluster ist bzw. warum hat das System eine Cluster IP aktiviert?

    Silvio

    Comment


    • #3
      Eine Übergabe von:

      --ip-of-oxcluster=127.0.0.1

      bringt keine Veränderung. das System versucht wieder sich an der alten ClusterIP zu registrieren.

      Silvio

      Comment


      • #4
        Ok, ich bin einen Schritt weiter.
        Die Cluster IP ist die IP unseres alten Mailservers. Dieser soll in Zukunft abgelöst werden und aus diesem Grund wird der OX Server aufgesetzt.
        Ich habe jetzt folgendes Problem, das oxinstaller Script ignoriert meine Übergabe der ip-of-oxcluster und setzt die IP des alten Servers. Ich kann aber den alten Server nicht abschalten da dieser für Mail benötigt wird.
        2 Fragen hätte ich jetzt:
        1. Warum löst das Script den mx der Domain auf und läßt mich die IP nicht ändern?
        2. Kann ich die Einstellung des oxinstallers nachträglich ändern? Ich würde jetzt versuchen den Server in einer privaten Domain zu installieren und dann die Konfiguration durchführen. Im Anschluß müsste ich dann einzelnen Einstellungen an die notwendigen Gegenbenheiten anpassen.


        Silvio

        Comment


        • #5
          Lösung meines Problems:
          Rechnerdomain geändert, confidb gelöscht und Konfiguration neu gestartet.
          Die IP des ox-cluster zeigt auf die IP des Rechners und die Registrierung funktioniert.
          Danach hab ich die Domain wieder geändert, Problem erledigt.

          Silvio

          Comment

          Working...
          X