Announcement

Collapse
No announcement yet.

Pb with ox and opensuse 10.3

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

  • Pb with ox and opensuse 10.3

    Today, I installed ox under OpenSuse 10.3, I don't have any errors at the end of the script : http://www.feigenblatt.net/ox/.

    However, when I go to http://localhost/ox.html, I have the error 503 - Service Temporarily Unavailable (after I have entered testuser/secret).

    I don't know what I can do.

    PS : one part of the script


    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating pam_mysql.spec
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing default-1 commands
    make[1]: entrant dans le répertoire « /usr/src/pam_mysql-0.7RC1 »
    /bin/sh ./mkinstalldirs /lib/security
    /bin/sh ./libtool --mode=install /usr/bin/install -c pam_mysql.la /lib/security/pam_mysql.la
    /usr/bin/install -c .libs/pam_mysql.so /lib/security/pam_mysql.so
    /usr/bin/install -c .libs/pam_mysql.lai /lib/security/pam_mysql.la
    PATH="$PATH:/sbin" ldconfig -n /lib/security
    ----------------------------------------------------------------------
    Libraries have been installed in:
    /lib/security

    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
    during execution
    - add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
    - have your system administrator add LIBDIR to `/etc/ld.so.conf'

    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    make[1]: Rien à faire pour « install-data-am ».
    make[1]: quittant le répertoire « /usr/src/pam_mysql-0.7RC1 »

    Compiling source dependencies (start-stop-daemon (fix for SuSE))...

    Compiling source dependencies (concurrent.jar)...

    BUILD SUCCESSFUL
    Total time: 3 seconds

    Compiling source dependencies (jdom.jar)...
    [echo] ----------- JDOM 1.1 ------------

    BUILD SUCCESSFUL
    Total time: 2 seconds

    Compiling source dependencies (json.jar)...
    ? json-jdk15/build
    ? json-jdk15/lib

    BUILD SUCCESSFUL
    Total time: 5 seconds

    Linking distribution specific dependencies... ln: creating symbolic link `/opt/open-xchange/lib/activation.jar': Le fichier existe.
    ln: creating symbolic link `/opt/open-xchange/lib/commons-codec-1.3.jar': Le fichier existe.
    ln: creating symbolic link `/opt/open-xchange/lib/commons-httpclient-2.0.2.jar': Le fichier existe.
    ln: creating symbolic link `/opt/open-xchange/lib/commons-logging.jar': Le fichier existe.
    ln: creating symbolic link `/opt/open-xchange/lib/junit-4.1.jar': Le fichier existe.
    ln: creating symbolic link `/opt/open-xchange/lib/mysql-connector-java-3.1.13-bin.jar': Le fichier existe.
    ln: creating symbolic link `/opt/open-xchange/lib/servlet-api-2.4.jar': Le fichier existe.
    ln: creating symbolic link `/opt/open-xchange/lib/saxon8.jar': Le fichier existe.
    done

    Configuring services (apache2, cyrus, mysql, pam, sasl, postfix)... "jk" already present
    "ssl" already present
    "SSL" already present

    Restarting services...
    Shutting down service saslauthd done
    Starting service saslauthd done
    Shutting down IMAP/POP3 service (cyrus-imapd) done
    Starting IMAP/POP3 service (cyrus-imapd) failed
    Restarting service MySQL
    Shutting down service MySQL done
    Starting service MySQL done
    Syntax OK
    Shutting down httpd2 (waiting for all children to terminate) done
    Starting httpd2 (prefork) done
    Configuring system user (open-xchange)...
    groupadd: Group `open-xchange' already exists.
    useradd: Account `open-xchange' already exists.
    groupadd: Group `ssl-cert' already exists.
    Building Open-Xchange Groupware...

    BUILD SUCCESSFUL
    Total time: 1 minute 1 second
    Building Open-Xchange Admindaemon...

    BUILD SUCCESSFUL
    Total time: 13 seconds
    Building Open-Xchange Groupware GUI...

    BUILD SUCCESSFUL
    Total time: 28 seconds
    Executing oxinstaller...
    getopt: l'option « --maildomain » requiert un argument
    missing required option --maildomain
    Buildfile: build.xml

    compile:

    jar:

    replacer:
    [copy] Copying 1 file to /usr/src/open-xchange-admin-gui-ee

    install:
    [copy] Copying 1 file to /opt/open-xchange/etc/groupware/servletmappings
    [copy] Copying 1 file to /opt/open-xchange/lib
    [copy] Copying 1 file to /opt/open-xchange/etc/groupware/servletConfig/oxadmin/admin

    BUILD SUCCESSFUL
    Total time: 2 seconds
    Buildfile: build.xml

    install:

    css:

    html:

    build page:

    build page:

    build page:

    lang:
    [copy] Copying 1 file to /usr/src/open-xchange-admin-gui-ee-ajax/lang

    all:

    deploy:
    [copy] Copying 2 files to /srv/www/htdocs/ox/admin

    BUILD SUCCESSFUL
    Total time: 4 seconds
    Buildfile: build.xml

    install:
    [copy] Copying 6 files to /opt/open-xchange/oxadmin-templates

    BUILD SUCCESSFUL
    Total time: 1 second
    Creating startup scripts... insserv: Service saslauthd has to be enabled for service cyrus
    insserv: exiting now!
    /sbin/insserv failed, exit code 1
    Line already in /etc/init.d/.depend.start, nothing to do...
    done
    Creating Groupware user... user in context 1 could not be created:
    Error: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused
    Starting Open-Xchange Groupware Daemon: (null) already running.
    open-xchange-groupware.
    Shutting down mail service (Postfix) done
    Starting mail service (Postfix) failed
    Postfix configured...
    Do you want to install Funambol and the Open-Xchange Connector? (y/n)
    n
    Installation complete.

    Now log in using the following credentials:
    User: testuser
    Pass: secret

    Note that all passwords are potentially unsave (secret)
    Domain change will require some manual configuration.#!/bin/bash

  • #2
    Pb with ox and opensuse 10.3

    Maybe because of :

    Creating Groupware user... user in context 1 could not be created:
    Error: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused


    At the end of the script

    Comment


    • #3
      Hello Ubunflyer,

      maybe you should use Ubuntu instead of Suse ... ?

      Im wondering about the URL. I Expect http://localhost/ox/ox.html

      Is there a Tomcat or anything running in conflict with OX ?

      Regards Matthias

      Comment


      • #4
        Hello Ubunflyer,

        Can you Access everything in /srv/www/htdocs/ via Apache ?

        Regards Matthias

        Comment


        • #5
          Pb with ox and opensuse 10.3

          Hello Matthias,

          Yes, apache write to the screen : it Works !
          Tomcat isn't installed.

          PS: I'm a ubuntu user (my name is Ubunflyer), but I must use an opensuse at work
          Last edited by Guest; 04-24-2008, 03:12 PM.

          Comment


          • #6
            At least Postfix is not running. But it looks like the testuser is not created as well. Do you use a root password for MySQL?

            Comment


            • #7
              Pb with ox and opensuse 10.3

              No, I don't use a root password for Mysql.
              Last edited by Guest; 04-24-2008, 03:57 PM.

              Comment


              • #8
                Pb with ox and opensuse 10.3

                I have installed tomcat55 and I have no error 503 when I launch ox connection, but nom I have a "error : 400 - No host matches server name localhost".

                I don't know what I must do to resolve this problem.

                Comment


                • #9
                  I don't understand, I must install Tomcat or not. In a forum, people said that Tomcat is necessary and in another forum, people said Tomcat is in conflict with ox !

                  Comment


                  • #10
                    Tomcat is in conflict if running on the same AJP13-Port (mod_jk-Config-File: /etc/apache2/workers.properties).

                    Comment


                    • #11
                      Hi,

                      the Tomcat situation is different for the two codestreams of Open-Xchange:

                      OX 0.8.x/OX5:
                      Open-Xchange requires Tomcat because it uses the servlet functionality of Tomcat to communicate with external applications via AJP.

                      OX Community/Hosting/Express Edition:
                      Implements a servlet engine to offer the services prior provided by Tomcat by itself. This saves a lot of resources like memory and open sockets for connections. The AJP implementation is listening on Port 8009 by default, which is the same like Tomcat uses, thats why they "conflict". It's possible to use another port for OX or Tomcat if you require both at the same machine, so it's no real conflict in a technical way but simply a port collision if both applications are running at the default configuration.

                      Hope that Helps
                      Martin

                      Comment


                      • #12
                        So, I don't understand the error 503 with ox.

                        I use the script for opensuse 10.3 on your website and tomcat is disable.

                        Comment


                        • #13
                          Give me a few hours, I'm trying to reproduce this issue.

                          Comment


                          • #14
                            Originally posted by Gertjan View Post
                            Give me a few hours, I'm trying to reproduce this issue.
                            Surprise, the script had not the rights to create the database openxchange, even if I have write "su" before launch the script.

                            The database didn't exist.



                            I closed the session and I logged me in root session. No problem, the script create the database :

                            Executing oxinstaller...
                            initializing database (step 1/2)
                            done
                            Configuring services
                            setting readUrl in /opt/open-xchange/etc/admindaemon/configdb.properties
                            setting writeUrl in /opt/open-xchange/etc/admindaemon/configdb.properties
                            setting readProperty.1 in /opt/open-xchange/etc/admindaemon/configdb.properties
                            setting readProperty.2 in /opt/open-xchange/etc/admindaemon/configdb.properties
                            setting writeProperty.1 in /opt/open-xchange/etc/admindaemon/configdb.properties
                            setting writeProperty.2 in /opt/open-xchange/etc/admindaemon/configdb.properties
                            setting readUrl in /opt/open-xchange/etc/groupware/configdb.properties
                            setting writeUrl in /opt/open-xchange/etc/groupware/configdb.properties
                            setting readProperty.1 in /opt/open-xchange/etc/groupware/configdb.properties
                            setting readProperty.2 in /opt/open-xchange/etc/groupware/configdb.properties
                            setting writeProperty.1 in /opt/open-xchange/etc/groupware/configdb.properties
                            setting writeProperty.2 in /opt/open-xchange/etc/groupware/configdb.properties
                            setting CREATE_HOMEDIRECTORY in /opt/open-xchange/etc/admindaemon/User.properties
                            setting SetupLink in /opt/open-xchange/etc/groupware/system.properties
                            setting AUTO_TO_LOWERCASE_UID in /opt/open-xchange/etc/admindaemon/User.properties
                            (Re)Starting Admin Daemon
                            done
                            initializing database (step 2/2)
                            done
                            setting up the system
                            creating certificates
                            certificate created
                            usermod: Unknown group `sasl'.
                            configuring mail system
                            using mail.site as FQHN of the mail server
                            done
                            Buildfile: build.xml




                            Then, I can launch the ox session.

                            Thanks for all.
                            Last edited by Guest; 04-25-2008, 03:56 PM.

                            Comment


                            • #15
                              Okay, well, good luck with your installation!

                              Comment

                              Working...
                              X