Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2011
    Posts
    18

    Default java.net.ConnectException: Connection refused

    hello every1,

    after update from 6.20.7 to 6.22 on debian squeeze, my ox-server runs without any problems.

    but
    Code:
    listuser -c 2 -A adminuser -P secret
    gives me this error:
    Code:
    users in context 2 could not be listed: 
    Error: Connection refused to host: localhost; nested exception is: 
    	java.net.ConnectException: Connection refused
    i am using java6:
    Code:
    # update-alternatives --config java
    Es gibt nur eine Alternative in Link-Gruppe java: /usr/lib/jvm/java-6-sun/jre/bin/java
    Nichts zu konfigurieren.
    /var/log/open-xchange/open-xchange-admin.log.0 has no new entries since there is no admin-daemon in 6.22 anymore.

    maybe this helps? /var/log/open-xchange/open-xchange-osgi.log:
    !ENTRY com.openexchange.admin 4 0 2013-03-28 09:25:55.185
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    java.lang.IllegalStateException: BundleContext is no longer valid
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.checkValid(BundleContextImpl.java:931)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.ungetService(BundleContextImpl.java:634)
    at org.osgi.util.tracker.ServiceTracker.removedServic e(ServiceTracker.java:495)
    at com.openexchange.osgi.DeferredActivator$DeferredSe rviceTracker.removedService(DeferredActivator.java :173)
    at org.osgi.util.tracker.ServiceTracker$Tracked.custo mizerRemoved(ServiceTracker.java:1006)
    at org.osgi.util.tracker.ServiceTracker$Tracked.custo mizerRemoved(ServiceTracker.java:1)
    at org.osgi.util.tracker.AbstractTracked.trackAdding( AbstractTracked.java:295)
    at org.osgi.util.tracker.AbstractTracked.track(Abstra ctTracked.java:234)
    at org.osgi.util.tracker.ServiceTracker$Tracked.servi ceChanged(ServiceTracker.java:941)
    at org.eclipse.osgi.internal.serviceregistry.Filtered ServiceListener.serviceChanged(FilteredServiceList ener.java:104)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.dispatchEvent(BundleContextImpl.java:861)
    at org.eclipse.osgi.framework.eventmgr.EventManager.d ispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue. dispatchEventSynchronous(ListenerQueue.java:148)
    at org.eclipse.osgi.internal.serviceregistry.ServiceR egistry.publishServiceEventPrivileged(ServiceRegis try.java:819)
    at org.eclipse.osgi.internal.serviceregistry.ServiceR egistry.publishServiceEvent(ServiceRegistry.java:7 71)
    at org.eclipse.osgi.internal.serviceregistry.ServiceR egistrationImpl.register(ServiceRegistrationImpl.j ava:130)
    at org.eclipse.osgi.internal.serviceregistry.ServiceR egistry.registerService(ServiceRegistry.java:214)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.registerService(BundleContextImpl.java:43 3)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.registerService(BundleContextImpl.java:45 1)
    at com.openexchange.osgi.HousekeepingActivator.regist erService(HousekeepingActivator.java:217)
    at com.openexchange.config.osgi.ConfigActivator.start Bundle(ConfigActivator.java:87)
    at com.openexchange.osgi.DeferredActivator.init(Defer redActivator.java:254)
    at com.openexchange.osgi.DeferredActivator.start(Defe rredActivator.java:434)
    at com.openexchange.osgi.HousekeepingActivator.start( HousekeepingActivator.java:186)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl$1.run(BundleContextImpl.java:711)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:702 )
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:683)
    at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:381)
    at org.eclipse.osgi.framework.internal.core.AbstractB undle.resume(AbstractBundle.java:389)
    at org.eclipse.osgi.framework.internal.core.Framework .resumeBundle(Framework.java:1131)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.resumeBundles(StartLevelManager.java:559)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.resumeBundles(StartLevelManager.java:544)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.incFWSL(StartLevelManager.java:457)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.doSetStartLevel(StartLevelManager.java:24 3)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.dispatchEvent(StartLevelManager.java:438)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.dispatchEvent(StartLevelManager.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.d ispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$E ventThread.run(EventManager.java:340)

    !ENTRY org.eclipse.osgi 4 0 2013-03-28 09:26:03.532
    !MESSAGE Bundle com.openexchange.admin_6.22.0 [2] is not active.
    open-xchange-admin got uninstalled thru apt-get autoremove, but i reinstalled it and restartet open-xchange.

    all solutions i found thru search where about the admin-daemon. well 6.22 doesn't have one anymore.....

    appreciate any help!!

    happy easter to all!!

  2. #2
    Join Date
    Feb 2007
    Location
    Dortmund, Germany
    Posts
    168

    Default

    can you please post a list of installed packages?

    Code:
    dpkg -la | grep open-xchange
    Markus Wagner
    Open-Xchange Quality Assurance

  3. #3
    Join Date
    Oct 2011
    Posts
    18

    Default

    Code:
    # dpkg -la | grep open-xchange
    ii  open-xchange                             6.22.0-9                            The Open-Xchange backend
    ii  open-xchange-admin                       6.22.0-9                            The Open-Xchange backend administration extension
    ii  open-xchange-ajp                         6.22.0-9                            AJPv13 protocol based connector between backend and web server
    ii  open-xchange-authentication-database     6.22.0-9                            Module for authenticating users using the password stored in MySQL
    ii  open-xchange-authorization-standard      6.22.0-9                            Module implementing the default authorization
    ii  open-xchange-configjump-generic          6.22.0-9                            The Open-Xchange generic ConfigJump
    ii  open-xchange-configjump-generic-gui      6.22.0-5                            The Open-Xchange generic ConfigJump GUI component
    ii  open-xchange-core                        6.22.0-14                           The essential core of an Open-Xchange backend
    ii  open-xchange-group-managerequest         6.22.0-9                            transitional dummy package
    ii  open-xchange-gui                         6.22.0-5                            Package containing the AJAX gui
    ii  open-xchange-gui-l10n                    6.22.0-5                            Package containing i18n helper functions
    ii  open-xchange-gui-l10n-de-de              6.22.0-5                            Package containing translation for de_DE
    ii  open-xchange-gui-l10n-en-us              6.22.0-5                            Package containing translation for en_US
    ii  open-xchange-gui-loading-theme-default   6.22.0-5                            Package containing the default loading theme
    ii  open-xchange-gui-login-theme-default     6.22.0-5                            Package containing the default login theme
    ii  open-xchange-gui-themes-default          6.22.0-5                            Package containing the default themes
    ii  open-xchange-imap                        6.22.0-9                            The Open-Xchange IMAP Bundle
    ii  open-xchange-l10n-de-de                  6.22.0-9                            Package containing Open-Xchange backend localization for de_DE
    ii  open-xchange-mailfilter                  6.22.0-9                            Open Xchange Mailfilter Plugin
    ii  open-xchange-manage-group-resource       6.22.0-9                            The Open-Xchange backend HTTP/JSON group and resource management interfaces
    ii  open-xchange-online-help-de              6.20.7.0-13                         transitional dummy package
    ii  open-xchange-online-help-de-de           6.22.0-5                            Package containing german OX online help
    ii  open-xchange-online-help-en              6.20.7.0-13                         transitional dummy package
    ii  open-xchange-online-help-en-us           6.22.0-5                            Package containing english OX online help
    ii  open-xchange-online-help-fr              6.20.7.0-13                         transitional dummy package
    ii  open-xchange-online-help-fr-fr           6.22.0-5                            Package containing french OX online help
    ii  open-xchange-osgi                        6.22.0-9                            3rd party OSGi bundles used by the Open-Xchange backend
    ii  open-xchange-passwordchange-database     6.22.0-9                            The Open-Xchange Password Change Database Bundle
    ii  open-xchange-pop3                        6.22.0-9                            Open Xchange POP3 Plugin
    rc  open-xchange-publish                     6.22.0-9                            The Open Xchange backend publish extension
    ii  open-xchange-resource-managerequest      6.22.0-9                            transitional dummy package
    ii  open-xchange-smtp                        6.22.0-9                            The Open-Xchange Server SMTP Bundle
    ii  open-xchange-spamhandler-default         6.22.0-9                            The Open-Xchange Default Spam Handler
    rc  open-xchange-subscribe                   6.22.0-9                            The Open Xchange backend subscribe extension
    ii  open-xchange-themes-default              6.22.0-9                            Enables the default themes in the UI
    ii  open-xchange-unifiedinbox                6.22.0-9                            transitional dummy package
    ii  open-xchange-unifiedmail                 6.22.0-9                            The Open-Xchange backend extension for Unified Mail
    ii  open-xchange-xerces-sun                  6.22.0-9                            Xerces Compat for Sun Java

  4. #4
    Join Date
    Feb 2007
    Location
    Dortmund, Germany
    Posts
    168

    Default

    Looks good. Can you please post the output of the listbundles command?
    Markus Wagner
    Open-Xchange Quality Assurance

  5. #5
    Join Date
    Oct 2011
    Posts
    18

    Default

    Code:
    ~# listbundles
    bundlename: org.eclipse.osgi status: ACTIVE
    bundlename: com.openexchange.admin.console status: ACTIVE
    bundlename: com.openexchange.admin status: RESOLVED
    bundlename: com.openexchange.admin.plugin.hosting status: ACTIVE
    bundlename: com.openexchange.admin.rmi status: ACTIVE
    bundlename: com.openexchange.ajp status: ACTIVE
    bundlename: com.openexchange.authentication.database status: ACTIVE
    bundlename: com.openexchange.authorization.standard status: ACTIVE
    bundlename: com.openexchange.caching status: ACTIVE
    bundlename: com.openexchange.calendar status: ACTIVE
    bundlename: com.openexchange.calendar.json status: ACTIVE
    bundlename: com.openexchange.charset status: ACTIVE
    bundlename: com.openexchange.common status: ACTIVE
    bundlename: com.openexchange.config.cascade.context status: ACTIVE
    bundlename: com.openexchange.config.cascade status: ACTIVE
    bundlename: com.openexchange.config.cascade.user status: ACTIVE
    bundlename: com.openexchange.configjump.generic status: ACTIVE
    bundlename: com.openexchange.configread status: ACTIVE
    bundlename: com.openexchange.contactcollector status: ACTIVE
    bundlename: com.openexchange.contacts.json status: ACTIVE
    bundlename: com.openexchange.contact.storage.rdb status: ACTIVE
    bundlename: com.openexchange.control status: ACTIVE
    bundlename: com.openexchange.conversion.engine status: ACTIVE
    bundlename: com.openexchange.conversion status: ACTIVE
    bundlename: com.openexchange.conversion.servlet status: ACTIVE
    bundlename: com.openexchange.crypto status: ACTIVE
    bundlename: com.openexchange.data.conversion.ical.ical4j status: ACTIVE
    bundlename: com.openexchange.dataretention status: ACTIVE
    bundlename: com.openexchange.datatypes.genericonf status: ACTIVE
    bundlename: com.openexchange.datatypes.genericonf.storage status: ACTIVE
    bundlename: com.openexchange.documentation status: ACTIVE
    bundlename: com.openexchange.documentation.json status: ACTIVE
    bundlename: com.openexchange.file.storage.composition status: ACTIVE
    bundlename: com.openexchange.file.storage.config status: ACTIVE
    bundlename: com.openexchange.file.storage.generic status: ACTIVE
    bundlename: com.openexchange.file.storage.infostore status: ACTIVE
    bundlename: com.openexchange.file.storage status: ACTIVE
    bundlename: com.openexchange.file.storage.json status: ACTIVE
    bundlename: com.openexchange.folder.json status: ACTIVE
    bundlename: com.openexchange.frontend.uwa status: ACTIVE
    bundlename: com.openexchange.frontend.uwa.json status: ACTIVE
    bundlename: com.openexchange.global status: ACTIVE
    bundlename: com.openexchange.group.json.manage status: ACTIVE
    bundlename: com.openexchange.groupware.settings.extensions status: ACTIVE
    bundlename: com.openexchange.groupware.tools status: ACTIVE
    bundlename: com.openexchange.html status: ACTIVE
    bundlename: com.openexchange.http.client status: ACTIVE
    bundlename: com.openexchange.http.client.json status: ACTIVE
    bundlename: com.openexchange.http.client.xml status: ACTIVE
    bundlename: com.openexchange.i18n status: ACTIVE
    bundlename: com.openexchange.imap status: ACTIVE
    bundlename: com.openexchange.importexport status: ACTIVE
    bundlename: com.openexchange.index status: ACTIVE
    bundlename: com.openexchange.itip.json status: ACTIVE
    bundlename: com.openexchange.jcharset status: ACTIVE
    bundlename: com.openexchange.logging status: ACTIVE
    bundlename: com.openexchange.logging.tracking status: ACTIVE
    bundlename: com.openexchange.mail.filter status: ACTIVE
    bundlename: com.openexchange.management.impl status: ACTIVE
    bundlename: com.openexchange.management status: ACTIVE
    bundlename: com.openexchange.messaging status: ACTIVE
    bundlename: com.openexchange.modules.json status: ACTIVE
    bundlename: com.openexchange.modules.model status: ACTIVE
    bundlename: com.openexchange.modules.storage status: ACTIVE
    bundlename: com.openexchange.monitoring status: ACTIVE
    bundlename: com.openexchange.oauth.provider status: ACTIVE
    bundlename: com.openexchange.osgi status: ACTIVE
    bundlename: com.openexchange.passwordchange.database status: ACTIVE
    bundlename: com.openexchange.passwordchange.servlet status: ACTIVE
    bundlename: com.openexchange.pop3 status: ACTIVE
    bundlename: com.openexchange.preview status: ACTIVE
    bundlename: com.openexchange.proxy status: ACTIVE
    bundlename: com.openexchange.proxy.servlet status: ACTIVE
    bundlename: com.openexchange.publish.basic status: ACTIVE
    bundlename: com.openexchange.publish status: ACTIVE
    bundlename: com.openexchange.publish.online.infostore status: ACTIVE
    bundlename: com.openexchange.push status: ACTIVE
    bundlename: com.openexchange.push.udp status: ACTIVE
    bundlename: com.openexchange.rdiff status: ACTIVE
    bundlename: com.openexchange.resource.managerequest status: ACTIVE
    bundlename: com.openexchange.rmi status: ACTIVE
    bundlename: com.openexchange.secret status: ACTIVE
    bundlename: com.openexchange.secret.recovery status: ACTIVE
    bundlename: com.openexchange.secret.recovery.json status: ACTIVE
    bundlename: com.openexchange.secret.recovery.mail status: ACTIVE
    bundlename: com.openexchange.server status: ACTIVE
    bundlename: com.openexchange.sessiond status: ACTIVE
    bundlename: com.openexchange.sessionstorage status: ACTIVE
    bundlename: com.openexchange.smtp status: ACTIVE
    bundlename: com.openexchange.spamhandler.default status: ACTIVE
    bundlename: com.openexchange.sql status: ACTIVE
    bundlename: com.openexchange.subscribe status: ACTIVE
    bundlename: com.openexchange.tasks.json status: ACTIVE
    bundlename: com.openexchange.templating status: ACTIVE
    bundlename: com.openexchange.textxtraction status: ACTIVE
    bundlename: com.openexchange.threadpool status: ACTIVE
    bundlename: com.openexchange.tx status: ACTIVE
    bundlename: com.openexchange.unifiedinbox status: ACTIVE
    bundlename: com.openexchange.user.json status: ACTIVE
    bundlename: com.openexchange.xerces.sun status: ACTIVE
    bundlename: com.openexchange.xml status: ACTIVE
    bundlename: org.apache.geronimo.specs.geronimo-annotation_1.0_spec status: ACTIVE
    bundlename: javax.jms status: ACTIVE
    bundlename: javax.servlet status: ACTIVE
    bundlename: org.apache.commons.cli status: ACTIVE
    bundlename: org.apache.commons.lang status: ACTIVE
    bundlename: org.apache.commons.logging status: ACTIVE
    bundlename: org.apache.log4j status: ACTIVE
    bundlename: org.apache.servicemix.bundles.jaxb-impl status: ACTIVE
    bundlename: org.apache.servicemix.bundles.woodstox status: ACTIVE
    bundlename: org.apache.servicemix.specs.jaxb-api-2.1 status: ACTIVE
    bundlename: org.apache.servicemix.specs.stax-api-1.0 status: ACTIVE
    bundlename: org.apache.tika status: ACTIVE
    bundlename: org.eclipse.equinox.event status: ACTIVE
    bundlename: org.eclipse.osgi.services status: ACTIVE
    bundlename: org.eclipse.osgi.util status: ACTIVE
    bundlename: org.ho.jyaml status: ACTIVE
    bundlename: org.w3c.css.sac status: ACTIVE
    bundlename: org.xmlpull status: ACTIVE

  6. #6
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    494

    Default

    Just a wild guess.
    Please check if there still is anything under /opt/open-xchange/etc/admindaemon which was not moved correctly to etc.
    Also check if there is a /opt/open-xchange/etc/mpasswd file since I've seen the admin bundle failing if that is missing and I've seen upgraded systems where it was lost.

  7. #7
    Join Date
    Oct 2011
    Posts
    18

    Default

    under /opt/open-xchange/etc/admindaemon is one directory called "osgi" left. within that directory is a file "config.ini". there is also a directory "org.eclipse.osgi.

    "/opt/open-xchange/etc/mpasswd" holds only followed data:
    Code:
    # Syntax:
    # masteradmin:password

  8. #8
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    494

    Default

    With version 6.22 an empty mpasswd causes the admin bundle to not start correctly.
    This is fixed with backend version 7.0.0.

    But anyway you basically need to recreate mpasswd by using generatempasswd what should solve your issue.

  9. #9
    Join Date
    Oct 2011
    Posts
    18

    Default

    thank you very much wolfgang and markus!

    recreating mpasswd and restarting open-xhange solved my problem.

    i am using the community-version 6.22 now. i thought that this is the newest community-version available...
    in ur former post u are saying that i may also upgrade to the newest appsuite-version??? maybe even with the new ox-text?!?!

    wish u a happy eastern!!!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •