Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 5 of 5
  1. #1
    aiio Guest

    Default [open-xchange-admin] Error creating RMI registry, Network is unreachable (localhost)

    Hi there,
    my open-change-admin daemon won´t start...

    eeebox:~# cat /etc/debian_version
    squeeze/sid
    eeebox:~# ifconfig
    br0 Link encap:Ethernet Hardware Adresse 00:24:8c:c1:f1:ed
    inet Adresse:10.81.0.11 Bcast:10.81.0.255 Maske:255.255.255.0
    inet6-Adresse: fe80::224:8cff:fec1:f1ed/64 Gültigkeitsbereich:Verbindung
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
    RX packets:185567 errors:0 dropped:0 overruns:0 frame:0
    TX packets:135213 errors:0 dropped:0 overruns:0 carrier:0
    Kollisionen:0 Sendewarteschlangenlänge:0
    RX bytes:99909047 (95.2 MiB) TX bytes:43662636 (41.6 MiB)

    eth0 Link encap:Ethernet Hardware Adresse 00:24:8c:c1:f1:ed
    inet6-Adresse: fe80::224:8cff:fec1:f1ed/64 Gültigkeitsbereich:Verbindung
    UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metrik:1
    RX packets:143690 errors:0 dropped:0 overruns:0 frame:0
    TX packets:91150 errors:0 dropped:0 overruns:0 carrier:0
    Kollisionen:0 Sendewarteschlangenlänge:1000
    RX bytes:89511072 (85.3 MiB) TX bytes:25253448 (24.0 MiB)
    Interrupt:27

    lo Link encap:Lokale Schleife
    inet Adresse:127.0.0.1 Maske:255.0.0.0
    inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
    UP LOOPBACK RUNNING MTU:16436 Metrik:1
    RX packets:20948 errors:0 dropped:0 overruns:0 frame:0
    TX packets:20948 errors:0 dropped:0 overruns:0 carrier:0
    Kollisionen:0 Sendewarteschlangenlänge:0
    RX bytes:2541856 (2.4 MiB) TX bytes:2541856 (2.4 MiB)

    tap0 Link encap:Ethernet Hardware Adresse 4a:b5:0e:43:f9:27
    inet6-Adresse: fe80::48b5:eff:fe43:f927/64 Gültigkeitsbereich:Verbindung
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
    RX packets:41889 errors:0 dropped:0 overruns:0 frame:0
    TX packets:46021 errors:0 dropped:39 overruns:0 carrier:0
    Kollisionen:0 Sendewarteschlangenlänge:100
    RX bytes:13034853 (12.4 MiB) TX bytes:18763621 (17.8 MiB)
    eeebox:~# cat /etc/hosts
    127.0.0.1 localhost localhost.mydomain
    [...]
    10.81.0.11 eeebox eeebox.mydomain
    [...]
    #::1 localhost ip6-localhost ip6-loopback
    eeebox:~# java -version
    java version "1.5.0_17"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_17-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)
    eeebox:~# apt-show-versions open-xchange
    open-xchange/unknown uptodate 6.14.0.0-8
    eeebox:~# /etc/init.d/open-xchange-admin start
    Starting Open-Xchange Admin Daemon: open-xchange-admin.
    eeebox:~# /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P admin_master_password
    server could not be registered:
    Error: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused
    eeebox:~# cat /var/log/open-xchange/open-xchange-admin.log.0
    24.02.2010 14:56:18 com.openexchange.admin.osgi.Activator start
    INFO: Starting Admindaemon...
    24.02.2010 14:56:18 com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
    INFO: org.eclipse.osgi already started before admin.
    24.02.2010 14:56:18 com.openexchange.admin.tools.AdminCache initCache
    INFO: Init Cache
    24.02.2010 14:56:18 com.openexchange.admin.daemons.AdminDaemon initCache
    INFO: Cache and Pools initialized!
    24.02.2010 14:56:18 com.openexchange.admin.tools.AdminCache initAccessCombinations
    INFO: Processing access combinations...
    24.02.2010 14:56:18 com.openexchange.admin.tools.AdminCache initAccessCombinations
    INFO: Access combinations processed!
    24.02.2010 14:56:18 com.openexchange.admin.daemons.AdminDaemon$LocalSe rverFactory createServerSocket
    INFO: Admindaemon will listen on localhost!
    24.02.2010 14:56:19 com.openexchange.admin.rmi.impl.OXUser <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXUser
    24.02.2010 14:56:19 com.openexchange.admin.rmi.impl.OXGroup <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXGroup
    24.02.2010 14:56:19 com.openexchange.admin.rmi.impl.OXResource <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXResource
    24.02.2010 14:56:19 com.openexchange.admin.rmi.impl.OXLogin <init>
    INFO: Class loaded: com.openexchange.admin.rmi.impl.OXLogin
    24.02.2010 14:56:19 com.openexchange.admin.daemons.AdminDaemon initRMI
    SCHWERWIEGEND: Error creating RMI registry!
    java.rmi.ConnectIOException: Exception creating connection to: localhost; nested exception is:
    java.net.SocketException: Network is unreachable
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEnd point.java:587)
    at sun.rmi.transport.tcp.TCPChannel.createConnection( TCPChannel.java:185)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCP Channel.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:215)
    at com.openexchange.admin.osgi.Activator.start(Activa tor.java:112)
    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)
    Caused by: java.net.SocketException: Network is unreachable
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
    at java.net.Socket.connect(Socket.java:520)
    at java.net.Socket.connect(Socket.java:470)
    at java.net.Socket.<init>(Socket.java:367)
    at java.net.Socket.<init>(Socket.java:180)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.cre ateSocket(RMIDirectSocketFactory.java:22)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.cre ateSocket(RMIMasterSocketFactory.java:128)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEnd point.java:569)
    ... 19 more
    eeebox:~# lsof -i | grep 1098
    eeebox:~# lsof -i | grep 1099

    any ideas (gerne auch auf deutsch)?

  2. #2
    Carsten Hoeger is offline Open-Xchange Professional Services
    Join Date
    Mar 2007
    Posts
    703

    Default

    I heard of several reports now containing similar problems on Debian sid now.

    If you find the reason, please let us know.

    Keep in mind, that we do support this version up to now.
    OXpedia.org - the answer to almost all questions.

  3. #3
    aiio Guest

    Default

    hours later...

    eeebox:~# cat /opt/open-xchange/etc/admindaemon/ox-admin-scriptconf.sh
    [...]
    JAVA_XTRAOPTS="-Xms100m -Xmx100m -XX:+UseConcMarkSweepGC -XX:NewSize=50m -XX:MaxNewSize=50m -XX:SurvivorRatio=6 -Djava.net.preferIPv4Stack=true"
    JAVA_OXCMD_OPTS="-Xms50m -Xmx50m -XX:+UseConcMarkSweepGC -XX:NewSize=25m -XX:MaxNewSize=25m -XX:SurvivorRatio=6 -Djava.net.preferIPv4Stack=true"
    [...]
    This (java.net.preferIPv4Stack) options needs to be in the JAVA_XTRAOPTS, too.

  4. #4
    aiio Guest

    Default

    eeebox:~# cat /opt/open-xchange/etc/groupware/ox-scriptconf.sh
    [...]
    JAVA_XTRAOPTS="-Xms512m -Xmx512m -XX:+UseConcMarkSweepGC -XX:NewSize=256m -XX:MaxNewSize=256m -XX:SurvivorRatio=6 -Djava.net.preferIPv4Stack=true"
    [...]
    ... in both files!

  5. #5
    Carsten Hoeger is offline Open-Xchange Professional Services
    Join Date
    Mar 2007
    Posts
    703

    Default

    Thanks for sharing the results!
    The installer will now also add that to JAVA_XTRAOPTS - I thought, that had been the case already -.
    OXpedia.org - the answer to almost all questions.

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
  •