Announcement

Collapse
No announcement yet.

Service temporarily not available Err 503

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

  • Service temporarily not available Err 503

    Dear Members,

    My settings is as followed:

    Debian Lenny
    Sun-Java 1.5.0.17_b04 mixed Mode, sharing
    MySQL 5.0.51a-24+lenny1
    Open-Xchange Version: 6.10.0 Rev6 (2009-07-19 18:13:40)

    Memory of server is 521 MB (Test-Server)
    VM-Memory in /eopt/open-xchange/etc/groupware/ox-scripfconf.sh is set with:
    JAVA_XTRAOPTS="-Xms512m -Xmx384m -XX:+UseConcMarkSweepGC -XX:NewSize=256m -XX:MaxNewSize=256m -XX:SurvivorRatio=6"

    Now the problem:

    I installed OX exactly as the Installation Guide tells me. But I can't login and get an error 503 on the Web-Gui.

    /opt/open-exchange/sbin/listbundles gives another error like this:

    Code:
    com.openexchange.control.console.internal.ConsoleException: 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.AbstractConsoleHandler.init(AbstractConsoleHandler.java:139)
    	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(RMIConnector.java:317)
    	at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
    	at com.openexchange.control.console.AbstractConsoleHandler.initJMX(AbstractConsoleHandler.java:155)
    	at com.openexchange.control.console.AbstractConsoleHandler.init(AbstractConsoleHandler.java:137)
    	... 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(RegistryContext.java:97)
    	at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
    	at javax.naming.InitialContext.lookup(InitialContext.java:351)
    	at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1817)
    	at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1787)
    	at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:259)
    	... 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(TCPEndpoint.java:574)
    	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
    	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    	at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
    	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    	at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:93)
    	... 10 more
    Caused by: java.net.ConnectException: Connection refused
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java: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.createSocket(RMIDirectSocketFactory.java:22)
    	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
    	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
    	... 15 more

    The attachment contains the Log-File. All other log files have no contenet.

    I did a complete and plain new installation, erased all database and began from scratch.
    Also restarted all services that has been mentioned in the guide.

    But no solution yet.

    Any help would be nice


    Ralf
    Attached Files

  • #2
    Hi,

    it seems like the groupware or the admindaemon are not started properly. Could you please check "ps axf | grep java"? How many memory does this machine have? What Java version is installed ("java -version"). Is it a virtual server?

    Thanks

    Comment


    • #3
      It seems, that you have set a Xms of 512M and a Xmx of 384M. This make no sense. Please set the minimum to a smaller value than the maximum.
      Markus Wagner
      Open-Xchange Quality Assurance

      Comment


      • #4
        @ Markus Wagner

        Yes, that's a mistake, but after setting -Xmx512m and -Xms384m the errors are the same.

        @Martin Burauen

        It's a virtual Server in Virtualbox and the machine has 1024k memory

        "ps axf | grep java" results in:

        Code:
        3097 pts/0    S+     0:00                      \_ grep java
         2763 ?        Sl     0:11 /usr/bin/java -Xms100m -Xmx100m -XX:+UseConcMarkSweepGC -XX:NewSize=50m -XX:MaxNewSize=50m -XX:SurvivorRatio=6 -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 Guest; 08-21-2009, 07:57 AM.

        Comment


        • #5
          Okay, the groupware does not start up. Please clear the log files and start it up using /etc/init.d/open-xchange-groupware start. Then monitor activity at those log files. There should be some feedback from the startup process. What java version do you use?

          Greetings

          Comment


          • #6
            Java is Sun-Java 1.5.0.17_b04

            OK, I cleared the log files in /var/log/open-xchange and after that I started like below, but there is no activity in all the log files

            server:/var/log/open-xchange# /etc/init.d/open-xchange-groupware start
            Starting Open-Xchange Groupware: open-xchange-groupware.
            server:/var/log/open-xchange# /etc/init.d/open-xchange-groupware restart
            Restarting Open-Xchange Groupware: start-stop-daemon: warning: failed to kill 3513: No such process
            1 pids were not killed
            No process in pidfile `/var/run/open-xchange-groupware.pid' found running; none killed.
            open-xchange-groupware.
            Process list:

            Code:
              PID TTY          TIME CMD
                1 ?        00:00:01 init
                2 ?        00:00:00 kthreadd
                3 ?        00:00:00 migration/0
                4 ?        00:00:28 ksoftirqd/0
                5 ?        00:00:00 watchdog/0
                6 ?        00:00:01 events/0
                7 ?        00:00:00 khelper
               39 ?        00:00:00 kblockd/0
               41 ?        00:00:00 kacpid
               42 ?        00:00:00 kacpi_notify
               85 ?        00:00:00 kseriod
              118 ?        00:00:00 pdflush
              119 ?        00:00:01 pdflush
              120 ?        00:00:00 kswapd0
              121 ?        00:00:00 aio/0
              549 ?        00:00:00 ksuspend_usbd
              550 ?        00:00:00 khubd
              606 ?        00:00:00 ata/0
              607 ?        00:00:00 ata_aux
              699 ?        00:00:01 kjournald
              776 ?        00:00:00 udevd
             1114 ?        00:00:00 kpsmoused
             1413 ?        00:00:00 kjournald
             1540 ?        00:00:00 portmap
             1551 ?        00:00:00 rpc.statd
             1748 ?        00:00:01 rsyslogd
             1759 ?        00:00:00 acpid
             1769 ?        00:00:00 dbus-daemon
             1781 ?        00:00:00 avahi-daemon
             1782 ?        00:00:00 avahi-daemon
             1799 ?        00:00:03 named
             1821 ?        00:00:00 openvpn
             1836 ?        00:00:00 sshd
             1864 ?        00:00:01 amavisd-new
             1889 ?        00:00:00 mysqld_safe
             1928 ?        00:00:05 mysqld
             1929 ?        00:00:00 logger
             2033 ?        00:00:00 avguard.bin
             2034 ?        00:00:00 avgu_stats
             2059 ?        00:00:00 avsavapi-super
             2060 ?        00:00:17 avguard-ondeman
             2062 ?        00:00:00 amavisd-new
             2063 ?        00:00:00 amavisd-new
             2064 ?        00:00:03 savapi
             2301 ?        00:00:03 clamd
             2399 ?        00:00:00 freshclam
             2424 ?        00:00:00 cyrmaster
             2483 ?        00:00:00 notifyd
             2704 ?        00:00:00 exim4
             2763 ?        00:03:47 java
             2783 ?        00:00:00 inetd
             2805 ?        00:00:04 nmbd
             2812 ?        00:00:00 smbd
             2827 ?        00:00:00 smbd
             2836 ?        00:00:00 sensord
             2858 ?        00:00:01 ntpd
             2866 ?        00:00:00 atd
             2886 ?        00:00:00 cron
             2903 ?        00:00:00 apache2
             2904 ?        00:00:00 apache2
             2906 ?        00:00:00 apache2
             2911 ?        00:00:00 apache2
             2973 ?        00:00:03 fetchmail
             3040 tty1     00:00:00 getty
             3041 tty2     00:00:00 getty
             3044 tty3     00:00:00 getty
             3047 tty4     00:00:00 getty
             3050 tty5     00:00:00 getty
             3053 tty6     00:00:00 getty
             3057 ?        00:00:00 sshd
             3059 ?        00:00:05 sshd
             3060 pts/0    00:00:00 bash
             3073 pts/0    00:00:00 su
             3074 pts/0    00:00:00 bash
             3116 ?        00:00:00 imapd
             3117 ?        00:00:00 imapd
             3143 pts/0    00:00:14 mc
             3145 pts/1    00:00:01 bash
             3588 pts/1    00:00:00 ps
            As far as I can see all log levels are set to SEVERE

            Thank you very much for supporting me
            Last edited by Guest; 08-21-2009, 09:04 AM.

            Comment


            • #7
              I made a reboot and attached the resulting logs

              A manual start of the groupware doesn't give any log file entries

              Greetings
              Attached Files

              Comment


              • #8
                Originally posted by Ralf View Post
                I made a reboot and attached the resulting logs

                A manual start of the groupware doesn't give any log file entries

                Greetings
                Have you solved this? After a new installation ( because I could not solve other Java issues) the admin daemon and groupware daemon dies shortly after start. All Java commands seem to end in a connection refused??
                Also in the download oxfunctions.sh was missing, so apt-get ended in a error.

                Thanks

                Michael

                Comment

                Working...
                X