Announcement

Collapse
No announcement yet.

open-xchange-admin does not start (exit 0)

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

  • open-xchange-admin does not start (exit 0)

    Hello!

    I followed the installation howto on an Ubuntu Dapper but when it comes to creating a user I get:

    Error:
    Connection refused to host: 172.16.10.16; nested exception is:
    java.net.ConnectException: Connection refused

    Then I realized that the open-xchange-admin daemon seems to start (gives me a return code 0) but actually doesn't start anything

    the open-xchange-admin-console.log tells me:

    Mrz 09 20:42:50 localhost openexchange: Loglevel set to: 5
    Mrz 09 20:42:50 localhost openexchange: Loglevel set to: 5
    com.openexchange.admin.plugins.OXUserPluginInterfa ce

    When I run "/etc/init.d/open-xchange-admin stop" it tells me there is no pid an no process running.

    Any ideas what's going on?

    Thanks
    Peter

  • #2
    Originally posted by dpk View Post
    Hello!

    I followed the installation howto on an Ubuntu Dapper but when it comes to creating a user I get:

    Error:
    Connection refused to host: 172.16.10.16; nested exception is:
    java.net.ConnectException: Connection refused

    Then I realized that the open-xchange-admin daemon seems to start (gives me a return code 0) but actually doesn't start anything

    the open-xchange-admin-console.log tells me:

    Mrz 09 20:42:50 localhost openexchange: Loglevel set to: 5
    Mrz 09 20:42:50 localhost openexchange: Loglevel set to: 5
    com.openexchange.admin.plugins.OXUserPluginInterfa ce

    When I run "/etc/init.d/open-xchange-admin stop" it tells me there is no pid an no process running.

    Any ideas what's going on?

    Thanks
    Peter
    There was a bug in the osgi config.ini file generator.
    Check your /opt/open-xchange/etc/admindaemon/osgi/config.ini
    it should look like this:
    Code:
    osgi.noShutdown=true
    osgi.bundles=reference\:file\:/opt/open-xchange/lib/ox_admindaemon.jar@1\:start,reference\:file\:/opt/open-xchange/lib/ox_admin_plugin_imap.jar@2\:start
    osgi.bundles.defaultStartLevel=4
    osgi.framework=file\:/opt/open-xchange/lib/org.eclipse.osgi_3.2.1.R32x_v20060919.jar
    osgi.configuration.cascaded=false
    eclipse.ignoreApp=true
    Or wait for the next cvs sync and try again.

    Comment


    • #3
      Ok, I changed the file. But that has no effect for me ... still no process is started.

      running "/opt/open-xchange/sbin/open-xchange-admindaemon" which calls

      /usr/bin/java -ms50m -mx50m -Dopenexchange.propfile=/opt/open-xchange/etc/admindaemon/system.properties -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/lib -jar /opt/open-xchange/lib/org.eclipse.osgi_3.2.1.R32x_v20060919.jar -configuration file:/opt/open-xchange/etc/admindaemon/osgi/

      gives me the same log as on my previous post and a return code 0.

      Comment


      • #4
        same problem + minor bug

        I just tried to install OX on Debian sarge.
        After reading this thread I changed the config.ini but without success.
        I got the same errors as mentioned above and as mentioned here:
        http://typo3.open-xchange.com/forum/showthread.php?t=61

        Beside of that it seems that there is a little bug in the open-xchange-groupware start-stop-script:
        The OXFUNCTIONS Path is /opt/open-xchange/etc/oxfunctions.sh
        but it should be /opt/open-xchange/etc/groupware/oxfunctions.sh
        Before I changed that I got an error: "/opt/open-xchange/etc/oxfunctions.sh missing"

        Comment


        • #5
          Originally posted by dpk View Post
          Ok, I changed the file. But that has no effect for me ... still no process is started.

          running "/opt/open-xchange/sbin/open-xchange-admindaemon" which calls

          /usr/bin/java -ms50m -mx50m -Dopenexchange.propfile=/opt/open-xchange/etc/admindaemon/system.properties -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/lib -jar /opt/open-xchange/lib/org.eclipse.osgi_3.2.1.R32x_v20060919.jar -configuration file:/opt/open-xchange/etc/admindaemon/osgi/

          gives me the same log as on my previous post and a return code 0.
          Can you please provide logfiles /var/log/open-xchange/open-xchange-admin* ?

          Comment


          • #6
            Ok ... here are the log-files after "/etc/init.d/open-xchange-admin start"

            open-xchange-admin-console.log:

            Mrz 11 18:40:32 localhost openexchange: Loglevel set to: 5
            Mrz 11 18:40:32 localhost openexchange: Loglevel set to: 5
            com.openexchange.admin.plugins.OXUserPluginInterfa ce


            open-xchange-admin.log.0:

            11.03.2007 18:40:32 com.openexchange.admin.daemons.Activator start
            INFO: Starting Admindaemon...
            11.03.2007 18:40:32 com.openexchange.admin.tools.AdminCache initOXProccess
            INFO: OX init starting...
            11.03.2007 18:40:32 com.openexchange.admin.daemons.Activator start
            INFO: Starting Admindaemon...
            11.03.2007 18:40:32 com.openexchange.admin.tools.AdminCache initOXProccess
            INFO: OX init starting...


            still no java process running ... but I can't see any errors. open-xchange-groupware was not started before open-xchange-admin, but there is no difference if I do so.

            I use:

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

            Maybe I should use Java 6?

            Bye
            Peter
            Last edited by dpk; 03-11-2007, 08:49 PM.

            Comment


            • #7
              There might also be files of interest in /opt/open-xchange/etc/osgi/

              Sometimes the OSGI Framework puts files there when it has some hiccup.

              Comment


              • #8
                There is no such directory in my installation.

                I only have

                admindaemon consistency groupware

                in /opt/open-xchange/etc/

                Comment


                • #9
                  Originally posted by dpk View Post
                  Ok ... here are the log-files after "/etc/init.d/open-xchange-admin start"

                  open-xchange-admin-console.log:

                  Mrz 11 18:40:32 localhost openexchange: Loglevel set to: 5
                  Mrz 11 18:40:32 localhost openexchange: Loglevel set to: 5
                  com.openexchange.admin.plugins.OXUserPluginInterfa ce


                  open-xchange-admin.log.0:

                  11.03.2007 18:40:32 com.openexchange.admin.daemons.Activator start
                  INFO: Starting Admindaemon...
                  11.03.2007 18:40:32 com.openexchange.admin.tools.AdminCache initOXProccess
                  INFO: OX init starting...
                  11.03.2007 18:40:32 com.openexchange.admin.daemons.Activator start
                  INFO: Starting Admindaemon...
                  11.03.2007 18:40:32 com.openexchange.admin.tools.AdminCache initOXProccess
                  INFO: OX init starting...


                  still no java process running ... but I can't see any errors. open-xchange-groupware was not started before open-xchange-admin, but there is no difference if I do so.

                  I use:

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

                  Maybe I should use Java 6?

                  Bye
                  Peter
                  We never tested whether Java 6 works, but it should.
                  Java 1.5 is not the problem here.

                  Is this is all, you have in your log?

                  Code:
                  11.03.2007 18:40:32 com.openexchange.admin.daemons.Activator start
                  INFO: Starting Admindaemon...
                  11.03.2007 18:40:32 com.openexchange.admin.tools.AdminCache initOXProccess
                  INFO: OX init starting...
                  11.03.2007 18:40:32 com.openexchange.admin.daemons.Activator start
                  INFO: Starting Admindaemon...
                  11.03.2007 18:40:32 com.openexchange.admin.tools.AdminCache initOXProccess
                  INFO: OX init starting...

                  Comment


                  • #10
                    Originally posted by dpk View Post
                    There is no such directory in my installation.

                    I only have

                    admindaemon consistency groupware

                    in /opt/open-xchange/etc/
                    Must be /opt/open-xchange/etc/admindaemon/osgi/

                    Comment


                    • #11
                      ok ... the ox-admin-daemon starts now!

                      My fault: I didn't compile the concurrent lib correctly with path "EDU/oswege/cs/dl/util/concurrent" ... After compiling it with the correct path and getting the latest cvs-snapshot the daemon starts.

                      Thanks very much for your help!

                      Bye
                      Peter
                      Last edited by dpk; 03-13-2007, 12:46 PM.

                      Comment

                      Working...
                      X