Announcement

Collapse
No announcement yet.

MBean registration denied

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

  • MBean registration denied

    Hi all,

    i read many post on this topic but i have always a problem.

    the 8009 port stay only 1 minute up

    tcp6 0 0 :::8009 :::* LISTEN 5237/java
    I have checked :
    - Access right of /opt/open-xchange to open-xchangepen-xchange
    - php mods

    alias.conf authz_groupfile.load cgi.load env.load negotiation.conf proxy_ajp.load proxy.load setenvif.conf status.load
    alias.load authz_host.load deflate.conf expires.load negotiation.load proxy_balancer.load python.load setenvif.load
    auth_basic.load authz_user.load deflate.load headers.load perl.load proxy.conf reqtimeout.conf ssl.conf
    authn_file.load autoindex.conf dir.conf mime.conf php5.conf proxy_html.conf reqtimeout.load ssl.load
    authz_default.load autoindex.load dir.load mime.load php5.load proxy_html.load rewrite.load status.conf
    installed packaged :
    i open-xchange - Open-Xchange server scripts and configurat
    i A open-xchange-activation - Bundled version of the Java Activation Fra
    i A open-xchange-admin - Open Xchange Admin Daemon containing comma
    i A open-xchange-admin-client - The Open Xchange Admin Daemon RMI client l
    i A open-xchange-admin-doc - Documentation for the Open Xchange RMI cli
    i A open-xchange-admin-lib - The Open Xchange Admin Daemon Bundle clien
    i A open-xchange-admin-plugin-hosti - Open Xchange Admin Hosting Plugin
    i A open-xchange-admin-plugin-hosti - The Open Xchange Admin Hosting RMI client
    i A open-xchange-admin-plugin-hosti - Documentation for the Open Xchange RMI cli
    i A open-xchange-admin-plugin-hosti - The Open Xchange Admin Hosting Bundle clie
    i A open-xchange-authentication-dat - The Open-Xchange Database Authentication
    i A open-xchange-cache - The Open-Xchange Server Caching Bundle
    i A open-xchange-calendar - Calendar Module
    i A open-xchange-calendar-printing - Printing calendars via templating
    i A open-xchange-charset - charset bundle
    i A open-xchange-common - jar files and OSGi bundles commonly used b
    i open-xchange-configjump-generic - The Open-Xchange generic ConfigJump
    i A open-xchange-configread - The Open-Xchange Server Config Bundle
    i A open-xchange-contactcollector - The contact collector collects eMail addre
    i A open-xchange-control - The Open-Xchange Server Control Bundle
    i A open-xchange-conversion - The Open-Xchange Conversion Bundle
    i A open-xchange-conversion-engine - The Open-Xchange Conversion Engine Bundle
    i A open-xchange-conversion-servlet - The Open-Xchange Conversion Servlet
    i A open-xchange-crypto - Provides cryptography services to bundles
    i A open-xchange-data-conversion-ic - The Open-Xchange data conversion iCal4j im
    i A open-xchange-dataretention - The Open-Xchange Server Data Retention Bun
    i A open-xchange-genconf - The Open-Xchange Server Generic Configurat
    i A open-xchange-genconf-mysql - Stores a set of generic options in the mys
    i A open-xchange-global - global bundle
    i A open-xchange-group-managereques - The Open-Xchange Server Group Management R
    i A open-xchange-gui - Package containing the AJAX gui
    p open-xchange-gui-ie6-compat - Package containing the AJAX gui
    i A open-xchange-gui-themes-default - Package containing the default themes
    i A open-xchange-gui-wizard-plugin - Open-Xchange GUI Wizard Server Plug-In.
    i A open-xchange-gui-wizard-plugin- - Open-Xchange GUI Wizard Plug-In.
    i A open-xchange-i18n - The Open-Xchange i18n Bundle
    i A open-xchange-imap - The Open-Xchange Server IMAP Bundle
    i A open-xchange-jcharset - jcharset bundle
    i A open-xchange-mailfilter - Open Xchange Mailfilter Plugin
    i A open-xchange-management - The Open-Xchange Management Bundle
    i A open-xchange-messaging - The Open-Xchange Messaging Bundle
    i A open-xchange-messaging-facebook - The Open-Xchange Messaging Facebook Bundle
    i A open-xchange-messaging-generic - The Open-Xchange Messaging Generic Bundle
    i A open-xchange-messaging-json - The Open-Xchange Messaging JSON Bundle
    i A open-xchange-messaging-rss - The Open-Xchange Messaging Facebook Bundle
    i A open-xchange-messaging-twitter - The Open-Xchange Messaging Twitter Bundle
    i A open-xchange-meta-admin - The Open-Xchange Meta package for User/Gro
    i A open-xchange-meta-gui - The Open-Xchange Meta package for OX GUI
    i A open-xchange-meta-messaging - The Open-Xchange Meta package for Messagin
    i A open-xchange-meta-pubsub - The Open-Xchange Meta package for Publish
    i A open-xchange-meta-server - The Open-Xchange Meta package for OX Backe
    i open-xchange-meta-singleserver - The Open-Xchange Meta package for OX on a
    i A open-xchange-monitoring - The Open-Xchange Monitoring Bundle
    i A open-xchange-online-help-de - Package containing german OX online help
    i A open-xchange-online-help-en - Package containing english OX online help
    i A open-xchange-online-help-fr - Package containing french OX online help
    i A open-xchange-passwordchange-dat - The Open-Xchange Password Change Database
    i A open-xchange-passwordchange-ser - The Open-Xchange Password Change Servlet
    i A open-xchange-pop3 - The Open-Xchange Server POP3 Bundle
    i A open-xchange-publish - Interfaces defining the OX publication API
    i A open-xchange-publish-basic - Basic OSGi based implementation of the pub
    i A open-xchange-publish-infostore- - Publishes a single infostore document exte
    i A open-xchange-publish-json - HTTP-API Interface implementation for publ
    i A open-xchange-publish-microforma - Publishes a set of objects in OXMF externa
    i A open-xchange-push - The Open-Xchange Push Bundle
    i A open-xchange-push-udp - The Open-Xchange Server Push UDP Bundle
    i A open-xchange-report-client - Open-Xchange reporting client.
    i A open-xchange-resource-managereq - The Open-Xchange Server Resource Manage Re
    i A open-xchange-server - The Open-Xchange Server Bundle
    i A open-xchange-sessiond - The Open-Xchange Server Session Daemon
    i A open-xchange-settings-extension - The Open-Xchange Settings Extensions
    i A open-xchange-smtp - The Open-Xchange Server SMTP Bundle
    i A open-xchange-spamhandler-defaul - The Open-Xchange Default Spam Handler
    i A open-xchange-sql - SQL Builder API
    i A open-xchange-subscribe - Basic OSGi based implementation of the sub
    i A open-xchange-subscribe-crawler - Subscribe Crawler feeds
    i A open-xchange-subscribe-json - HTTP-API Interface implementation for subs
    i A open-xchange-subscribe-microfor - Subscribe Microformat feeds
    i A open-xchange-templating - Provides access to the templating subsyste
    i A open-xchange-themes-default - Package containing the default themes
    i A open-xchange-threadpool - The Open-Xchange Thread Pool Bundle
    i A open-xchange-twitter - The Open-Xchange Twitter Bundle
    i A open-xchange-unifiedinbox - The Open-Xchange Server Unified INBOX Bund
    i A open-xchange-user-json - The Open-Xchange user JSON interface bundl
    p open-xchange-voipnow-gui - Open-Xchange Gui for VoipNow
    i A open-xchange-xerces-sun - Xerces Compat for Sun Java
    i A open-xchange-xml - XML Services
    /var/log/open-xchange/open-xchange.log.0

    INFO: Bundle "com.openexchange.folderstorage.osgi.FolderStorage Activator" successfully started!
    13 avr. 2010 10:02:33 com.openexchange.sessiond.osgi.SessiondActivator registerSessiondMBean
    GRAVE: JMX-0001 Category=10 Message=MBean registration denied: ManagementAgent is not running. exceptionID=-1284967912-15
    JMX-0001 Category=10 Message=MBean registration denied: ManagementAgent is not running. exceptionID=-1284967912-15
    at com.openexchange.management.internal.ManagementAge ntImpl.registerMBean(ManagementAgentImpl.java:186)
    at com.openexchange.sessiond.osgi.SessiondActivator.r egisterSessiondMBean(SessiondActivator.java:243)
    at com.openexchange.sessiond.osgi.SessiondActivator.a ccess$100(SessiondActivator.java:88)
    at com.openexchange.sessiond.osgi.SessiondActivator$1 .addingService(SessiondActivator.java:170)
    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.sessiond.osgi.SessiondActivator.s tartBundle(SessiondActivator.java:185)
    at com.openexchange.server.osgiservice.DeferredActiva tor.signalAvailability(DeferredActivator.java:277)
    at com.openexchange.server.osgiservice.DeferredActiva tor$DeferredSTC.addingService(DeferredActivator.ja va:101)
    at org.osgi.util.tracker.ServiceTracker$Tracked.track Adding(ServiceTracker.java:1064)
    at org.osgi.util.tracker.ServiceTracker$Tracked.track (ServiceTracker.java:1042)
    at org.osgi.util.tracker.ServiceTracker$Tracked.servi ceChanged(ServiceTracker.java:967)
    at org.eclipse.osgi.framework.internal.core.FilteredS erviceListener.serviceChanged(FilteredServiceListe ner.java:94)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.dispatchEvent(BundleContextImpl.java:1224 )
    at org.eclipse.osgi.framework.eventmgr.EventManager.d ispatchEvent(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.ServiceRe gistrationImpl.<init>(ServiceRegistrationImpl.java :103)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.createServiceRegistration(BundleContextIm pl.java:657)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.registerService(BundleContextImpl.java:60 9)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.registerService(BundleContextImpl.java:67 5)
    at org.eclipse.equinox.event.Activator.start(Activato r.java:26)
    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)
    /var/log/apache2/error.log

    [Tue Apr 13 11:11:29 2010] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8009 (127.0.0.1) failed
    [Tue Apr 13 11:11:29 2010] [error] ap_proxy_connect_backend disabling worker for (127.0.0.1)
    [Tue Apr 13 11:11:29 2010] [error] proxy: AJP: failed to make connection to backend: 127.0.0.1
    Thank you for your help

  • #2
    Hi,

    please post the ox logfile from startup to crash. Also check what java version is used (java -version) and the version number of the ox packages. What operating system are you using?

    Greetings

    Comment


    • #3
      Thank you for your help.

      java version

      java version "1.5.0_17"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_17-b04)
      Java HotSpot(TM) Client VM (build 1.5.0_17-b04, mixed mode, sharing)
      debian version

      Linux version 2.6.32-3-686 (Debian 2.6.32-9) (maks@debian.org) (gcc version 4.3.4 (Debian 4.3.4-8) ) #1 SMP Thu Feb 25 06:14:20 UTC 2010
      My open-Xchange version is 6.16
      Version : 6.16.0 Rev4 ( 2010-03-12 19:16:40 )
      and my open-xchange log files
      I have remove and re-install open-xchange so my log files is not clean ... sorry.
      Attached Files
      Last edited by arnaud80; 04-13-2010, 05:16 PM.

      Comment


      • #4
        Hi,

        please try "chown -R open-xchangepen-xchange /opt/open-xchange/etc/groupware/osgi/". Seems like someone started the sbin/ script as root instead of /etc/init.d

        Greetings

        Comment


        • #5
          Hi,

          It's already open-xchangepen-xchange

          serveur:~# ls -al /opt/open-xchange/etc/groupware/osgi/
          total 28
          drwxr-xr-x 4 open-xchange open-xchange 4096 avril 13 17:13 .
          drwxr-xr-x 5 open-xchange open-xchange 4096 avril 13 13:32 ..
          drwxr-xr-x 2 open-xchange open-xchange 4096 avril 13 12:43 bundle.d
          -rw-r--r-- 1 open-xchange open-xchange 7011 avril 13 17:13 config.ini
          -rw-r--r-- 1 open-xchange open-xchange 3061 mars 13 11:32 config.ini.template
          drwx--x--x 4 open-xchange open-xchange 4096 avril 13 17:14 org.eclipse.osgi
          Thanks for your help
          Last edited by arnaud80; 04-14-2010, 04:22 PM.

          Comment


          • #6
            Also recursively? The log files show several references to permission issues.

            Comment


            • #7
              Yes also recursively

              serveur:~# chown open-xchangepen-xchange /opt/open-xchange/ -R

              Comment


              • #8
                Closed

                Hi,

                I have solved my problem !
                to resolve the problem, i have edited the file

                /opt/open-xchange/etc/groupware/ox-scriptconf.sh
                and added -Djava.net.preferIPv4Stack=true option

                JAVA_XTRAOPTS="-Xms512m -Xmx512m -XX:+UseConcMarkSweepGC -XX:NewSize=256m -XX:MaxNewSize=256m -XX:SurvivorRatio=6 -Djava.net.preferIPv4Stack=true"
                thanks to all and to aiio for his thread : http://www.open-xchange.com/forum/showthread.php?t=4463

                Comment

                Working...
                X