Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    jmoseby Guest

    Arrow Ubuntu install: 503 error

    Attempted to follow the tutorial for Ubuntu 8.04 here and am experiencing the 503 "Temporarily Unavailable" error.

    When attempting to run 'listbundles' I get a java exception error, which I assume is related to this issue.

    Thanks in advance for any guidance.

    JM


    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

    Server: Ubuntu hardy

    #java -version
    java version "1.6.0_0"
    OpenJDK Runtime Environment (build 1.6.0_0-b11)
    OpenJDK Client VM (build 1.6.0_0-b11, mixed mode, sharing)

    # dpkg -l | grep open-xchange
    ii open-xchange 6.16.1.0-3
    ii open-xchange-activation 1.1.1-25
    ii open-xchange-admin 6.16.1.0-3
    ii open-xchange-admin-client 6.16.1.0-3
    ii open-xchange-admin-doc 6.16.1.0-3
    ii open-xchange-admin-lib 6.16.1.0-3
    ii open-xchange-admin-plugin-hosting 6.16.1.0-3
    ii open-xchange-admin-plugin-hosting-client 6.16.1.0-3
    ii open-xchange-admin-plugin-hosting-doc 6.16.1.0-3
    ii open-xchange-admin-plugin-hosting-lib 6.16.1.0-3
    ii open-xchange-authentication-database 6.16.1.0-3
    ii open-xchange-cache 6.16.1.0-3
    ii open-xchange-calendar 6.16.1.0-3
    ii open-xchange-calendar-printing 6.16.1.0-3
    ii open-xchange-charset 6.16.1.0-3
    ii open-xchange-common 6.16.1.0-3
    ii open-xchange-configread 6.16.1.0-3
    ii open-xchange-contactcollector 6.16.1.0-3
    ii open-xchange-control 6.16.1.0-3
    ii open-xchange-conversion 6.16.1.0-3
    ii open-xchange-conversion-engine 6.16.1.0-3
    ii open-xchange-conversion-servlet 6.16.1.0-3
    ii open-xchange-crypto 6.16.1.0-3
    ii open-xchange-data-conversion-ical4j 6.16.1.0-3
    ii open-xchange-dataretention 6.16.1.0-3
    ii open-xchange-genconf 6.16.1.0-3
    ii open-xchange-genconf-mysql 6.16.1.0-3
    ii open-xchange-global 6.16.1.0-3
    ii open-xchange-group-managerequest 6.16.1.0-3
    ii open-xchange-gui 6.16.1.0-3
    ii open-xchange-gui-themes-default 6.16.1.0-3
    ii open-xchange-gui-wizard-plugin 6.16.1.0-3
    ii open-xchange-gui-wizard-plugin-gui 6.16.1.0-3
    ii open-xchange-i18n 6.16.1.0-3
    ii open-xchange-imap 6.16.1.0-3
    ii open-xchange-jcharset 1.3.0-63
    ii open-xchange-mailfilter 6.16.1.0-3
    ii open-xchange-management 6.16.1.0-3
    ii open-xchange-messaging 6.16.1.0-3
    ii open-xchange-messaging-facebook 6.16.1.0-3
    ii open-xchange-messaging-generic 6.16.1.0-3
    ii open-xchange-messaging-json 6.16.1.0-3
    ii open-xchange-messaging-rss 6.16.1.0-3
    ii open-xchange-messaging-twitter 6.16.1.0-3
    ii open-xchange-meta-admin 6.16.1.0-3
    ii open-xchange-meta-gui 6.16.1.0-3
    ii open-xchange-meta-messaging 6.16.1.0-3
    ii open-xchange-meta-pubsub 6.16.1.0-3
    ii open-xchange-meta-server 6.16.1.0-3
    ii open-xchange-meta-singleserver 6.16.1.0-3
    ii open-xchange-monitoring 6.16.1.0-3
    ii open-xchange-online-help-de 6.16.1.0-3
    ii open-xchange-online-help-en 6.16.1.0-3
    ii open-xchange-online-help-fr 6.16.1.0-3
    ii open-xchange-passwordchange-database 6.16.1.0-3
    ii open-xchange-passwordchange-servlet 6.16.1.0-3
    ii open-xchange-pop3 6.16.1.0-3
    ii open-xchange-publish 6.16.1.0-3
    ii open-xchange-publish-basic 6.16.1.0-3
    ii open-xchange-publish-infostore-online 6.16.1.0-3
    ii open-xchange-publish-json 6.16.1.0-3
    ii open-xchange-publish-microformats 6.16.1.0-3
    ii open-xchange-push 6.16.1.0-3
    ii open-xchange-push-udp 6.16.1.0-3
    ii open-xchange-report-client 6.16.1.0-3
    ii open-xchange-resource-managerequest 6.16.1.0-3
    ii open-xchange-server 6.16.1.0-3
    ii open-xchange-sessiond 6.16.1.0-3
    ii open-xchange-settings-extensions 6.16.1.0-3
    ii open-xchange-smtp 6.16.1.0-3
    ii open-xchange-spamhandler-default 6.16.1.0-3
    ii open-xchange-sql 6.16.1.0-3
    ii open-xchange-subscribe 6.16.1.0-3
    ii open-xchange-subscribe-crawler 6.16.1.0-3
    ii open-xchange-subscribe-json 6.16.1.0-3
    ii open-xchange-subscribe-microformats 6.16.1.0-3
    ii open-xchange-templating 6.16.1.0-3
    ii open-xchange-themes-default 6.16.1.0-3
    ii open-xchange-threadpool 6.16.1.0-3
    ii open-xchange-twitter 6.16.1.0-3
    ii open-xchange-unifiedinbox 6.16.1.0-3
    ii open-xchange-user-json 6.16.1.0-3
    ii open-xchange-xerces-sun 6.16.1.0-3
    ii open-xchange-xml 6.16.1.0-3



    # /opt/open-xchange/sbin/listbundles
    com.openexchange.control.console.internal.ConsoleE xception: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused]
    at com.openexchange.control.console.AbstractConsoleHa ndler.init(AbstractConsoleHandler.java:112)
    at com.openexchange.control.console.ListBundles.<init >(ListBundles.java:74)
    at com.openexchange.control.console.ListBundles.main( ListBundles.java:112)
    Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused]
    at javax.management.remote.rmi.RMIConnector.connect(R MIConnector.java:342)
    at javax.management.remote.JMXConnectorFactory.connec t(JMXConnectorFactory.java:267)
    at com.openexchange.control.console.AbstractJMXHandle r.initJMX(AbstractJMXHandler.java:151)
    at com.openexchange.control.console.AbstractConsoleHa ndler.init(AbstractConsoleHandler.java:110)
    ... 2 more
    Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused]
    at com.sun.jndi.rmi.registry.RegistryContext.lookup(R egistryContext.java:118)
    at com.sun.jndi.toolkit.url.GenericURLContext.lookup( GenericURLContext.java:203)
    at javax.naming.InitialContext.lookup(InitialContext. java:409)
    at javax.management.remote.rmi.RMIConnector.findRMISe rverJNDI(RMIConnector.java:1902)
    at javax.management.remote.rmi.RMIConnector.findRMISe rver(RMIConnector.java:1871)
    at javax.management.remote.rmi.RMIConnector.connect(R MIConnector.java:276)
    ... 5 more
    Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEnd point.java:619)
    at sun.rmi.transport.tcp.TCPChannel.createConnection( TCPChannel.java:216)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCP Channel.java:202)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java: 340)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at com.sun.jndi.rmi.registry.RegistryContext.lookup(R egistryContext.java:114)
    ... 10 more
    Caused by: java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(Abstrac tPlainSocketImpl.java:310)
    at java.net.AbstractPlainSocketImpl.connectToAddress( AbstractPlainSocketImpl.java:176)
    at java.net.AbstractPlainSocketImpl.connect(AbstractP lainSocketImpl.java:163)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:381)
    at java.net.Socket.connect(Socket.java:541)
    at java.net.Socket.connect(Socket.java:490)
    at java.net.Socket.<init>(Socket.java:387)
    at java.net.Socket.<init>(Socket.java:201)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.cre ateSocket(RMIDirectSocketFactory.java:40)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.cre ateSocket(RMIMasterSocketFactory.java:146)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEnd point.java:613)
    ... 15 more


    # ps axf | grep open-xchange
    22586 pts/0 S+ 0:00 \_ grep open-xchange
    10322 ? Sl 0:04 /usr/bin/java -Xms100m -Xmx100m -XX:+UseConcMarkSweepGC -XX:NewSize=50m -XX:MaxNewSize=50m -XX:SurvivorRatio=6 -Djava.net.preferIPv4Stack=true -Dopenexchange.propdir=/opt/open-xchange/etc/admindaemon -Dopenexchange.propdir2=/opt/open-xchange/etc/common -Dconfigdir=/opt/open-xchange/etc/admindaemon -Djava.util.logging.config.file=/opt/open-xchange/etc/admindaemon/file-logging.properties -Duser.timezone=GMT -Dlibdir=/opt/open-xchange/bundles/com.openexchange.common/lib -jar /opt/open-xchange/bundles/org.eclipse.osgi_3.3.0.v20070530.jar -configuration file:/opt/open-xchange/etc/admindaemon/osgi/
    Last edited by jmoseby; 05-07-2010 at 04:58 PM.

  2. #2
    Join Date
    Jun 2009
    Posts
    28

    Default

    would like to add that updating a installed OX to ubuntu 10.4 LTS also results in this error.

  3. #3
    jmoseby Guest

    Default Bump

    Sorry for bumping this. Doesn't anyone have any advice with regards to this error?

    JM

  4. #4
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    can you please check the logfiles of open-xchange-admin and open-xchange-groupware after starting them? You could post relevant sections for debugging.

    Thanks

  5. #5
    jmoseby Guest

    Default

    Hi Martin - thanks for the reply.

    Find attached the open-xchange-admin logfile. It is the only logfile in /var/log/open-xchange that is not 0 bytes.

    Code:
    # ls /var/log/open-xchange/ -l
    total 12
    -rw------- 1 root root     0 2010-05-12 08:29 open-xchange-admin-console.log
    -rw------- 1 root root 10725 2010-05-12 08:29 open-xchange-admin.log.0
    -rw------- 1 root root     0 2010-05-12 08:29 open-xchange-admin.log.0.lck
    Attempting to start open-xchange-groupware seems to go well, but it doesn't really start.

    Code:
    # /etc/init.d/open-xchange-groupware start
    Starting Open-Xchange Groupware: open-xchange-groupware.
    #
    Thanks again for your help.

    JM
    Attached Files Attached Files

  6. #6
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    admindaemon starts up fine, but the groupware does not. Are there any other log files?

    e.h. open-xchange.log.0, open-xchange-console.log, osgi.log etc.

    It's normal that the initscript just returns the startup info and returns to the shell. We don't log anything to the console, all to log files.

    By the way, please use SUN or IBM Java 1.5 or 1.6, OpenJDK is *not* supported.

    Greetings
    Last edited by Martin Heiland; 05-12-2010 at 04:37 PM.

  7. #7
    jmoseby Guest

    Default

    Quote Originally Posted by Martin Braun View Post
    Hi,

    admindaemon starts up fine, but the groupware does not. Are there any other log files?

    e.h. open-xchange.log.0, open-xchange-console.log, osgi.log etc.
    The only logfiles are those listed above. There is a console log, but it is 0 bytes.


    Quote Originally Posted by Martin Braun View Post
    By the way, please use SUN or IBM Java 1.5 or 1.6, OpenJDK is *not* supported.
    I have made the change:
    Code:
    # java -version
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
    ...but still no change in result. listbundles still crashes with the above exception.

    Thanks!
    Jim

  8. #8
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Well obviously listbundles cannot work since the groupware process has not been started. Make sure user "open-xchange" has proper access permissions to the log directory and /opt/open-xchange. Without any logfiles regarding the groupware daemon, there is not much debugging i can help with.

  9. #9
    jmoseby Guest

    Default

    Quote Originally Posted by Martin Braun View Post
    Well obviously listbundles cannot work since the groupware process has not been started.
    There cannot be enough said for meaningful error messages. For instance, instead of listbundles crashing in a fiery display of java-exception meltdown, a message like: "Could not contact the open-xchange-groupware process, is it running?" would be more helpful.

    Quote Originally Posted by Martin Braun View Post
    Make sure user "open-xchange" has proper access permissions to the log directory and /opt/open-xchange. Without any logfiles regarding the groupware daemon, there is not much debugging i can help with.
    The log directory:
    Code:
    drwxr-x--- 2 open-xchange open-xchange    4096 2010-05-12 08:38 open-xchange
    The /opt/open-xchange/ directory:
    Code:
    # ls -l /opt/open-xchange/
    total 28
    drwxr-xr-x 8 open-xchange open-xchange 4096 2010-05-12 08:29 bundles
    drwxr-xr-x 5 open-xchange open-xchange 4096 2010-05-07 09:23 etc
    drwxr-xr-x 2 open-xchange open-xchange 4096 2010-05-07 09:23 i18n
    drwxr-xr-x 2 open-xchange open-xchange 4096 2010-05-07 09:23 importCSV
    drwxr-xr-x 2 open-xchange open-xchange 4096 2010-05-07 09:23 lib
    drwxr-xr-x 2 open-xchange open-xchange 4096 2010-05-07 09:23 sbin
    drwxr-xr-x 2 open-xchange open-xchange 4096 2010-05-07 09:23 templates
    Thanks again for all your help. I am trying to evaluate whether OX is a viable candidate to replace Novell Groupwise in my company.

    Jim

  10. #10
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    I agree that meaningful error messages are more helpful. But "raw" error messages can usually help finding the issue easier in many cases, especially if they occur on system administrator level.

    However, the root cause is that the groupware is not starting, lets focus on this. Is there any hsperf* file/directory at /tmp? Seems like the JVM cannot be initialized at all, maybe crashes before starting any logging service.

    Probably an issue with the start script, Ubuntu is not officially supported yet. Mybulk's post indicates that this *might* be an incompatibility with current Ubuntu version or OX packages. If you want to use it in production i highly advise using Debian, SLES or RHEL.

    Gonna forward this thread to some other people who might know better about the startup scripts and OS/shell compatibility.

Tags for this Thread

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
  •