Announcement

Collapse
No announcement yet.

Problem with OXInstaller

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

  • #16
    Hi!

    I just found the new script and try a replace. There are no more problems to get the cvs stuff. But i got this errors:
    Configuring system user (open-xchange)...
    addgroup: Die Gruppe »open-xchange« existiert bereits als Systemgruppe. Programmende.
    Der Benutzer »open-xchange« existiert bereits als Systembenutzer. Programmende.

    Building Open-Xchange Groupware...
    [exec] /usr/bin/msgfmt: Öffnen der Datei »/usr/src/open-xchange/i18n/fr_FR/server.po« zum Lesen fehlgeschlagen: Datei oder Verzeichnis nicht gefunden
    [exec] Result: 1
    [exec] /usr/bin/msgfmt: Öffnen der Datei »/usr/src/open-xchange/i18n/fr_FR/server.po« zum Lesen fehlgeschlagen: Datei oder Verzeichnis nicht gefunden
    [exec] Result: 1

    BUILD SUCCESSFUL
    Total time: 10 seconds

    Building Open-Xchange Admindaemon...
    [javac] /usr/src/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:91: package com.openexchange.mail.usersetting does not exist
    [javac] import com.openexchange.mail.usersetting.UserSettingMail;
    [javac] ^
    [javac] /usr/src/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:456: cannot find symbol
    [javac] symbol : variable UserSettingMail
    [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUser MySQLStorage
    [javac] tool.setUserSettingMailBit(ctx, usrdata, UserSettingMail.INT_SPAM_ENABLED, write_ox_con);
    [javac] ^
    [javac] /usr/src/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:458: cannot find symbol
    [javac] symbol : variable UserSettingMail
    [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUser MySQLStorage
    [javac] tool.unsetUserSettingMailBit(ctx, usrdata, UserSettingMail.INT_SPAM_ENABLED, write_ox_con);
    [javac] ^
    [javac] /usr/src/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:1038: cannot find symbol
    [javac] symbol : variable UserSettingMail
    [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUser MySQLStorage
    [javac] int flags = UserSettingMail.INT_NOTIFY_TASKS | UserSettingMail.INT_NOTIFY_APPOINTMENTS;
    [javac] ^
    [javac] /usr/src/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:1038: cannot find symbol
    [javac] symbol : variable UserSettingMail
    [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUser MySQLStorage
    [javac] int flags = UserSettingMail.INT_NOTIFY_TASKS | UserSettingMail.INT_NOTIFY_APPOINTMENTS;
    [javac] ^
    [javac] /usr/src/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:1038: incompatible types
    [javac] found : boolean
    [javac] required: int
    [javac] int flags = UserSettingMail.INT_NOTIFY_TASKS | UserSettingMail.INT_NOTIFY_APPOINTMENTS;
    [javac] ^
    [javac] /usr/src/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:1041: cannot find symbol
    [javac] symbol : variable UserSettingMail
    [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUser MySQLStorage
    [javac] flags |= UserSettingMail.INT_SPAM_ENABLED;
    [javac] ^
    [javac] /usr/src/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:1467: cannot find symbol
    [javac] symbol : variable UserSettingMail
    [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUser MySQLStorage
    [javac] if( (bits & UserSettingMail.INT_SPAM_ENABLED) == UserSettingMail.INT_SPAM_ENABLED ) {
    [javac] ^
    [javac] /usr/src/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:1467: cannot find symbol
    [javac] symbol : variable UserSettingMail
    [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUser MySQLStorage
    [javac] if( (bits & UserSettingMail.INT_SPAM_ENABLED) == UserSettingMail.INT_SPAM_ENABLED ) {
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 9 errors

    BUILD FAILED
    /usr/src/open-xchange-admin/build.xml:199: Compile failed; see the compiler error output for details.

    Total time: 3 seconds

    Building Open-Xchange Groupware GUI...

    BUILD SUCCESSFUL
    Total time: 9 seconds

    Executing oxinstaller...
    awk: Kommandozeile:1: Fatal: Kann Datei '/opt/open-xchange/etc/admindaemon/ox-admin-scriptconf.sh' nicht zum Lesen öffnen (Datei oder Verzeichnis nicht gefunden).
    ./hyperion-debian_etch.sh: line 374: /opt/open-xchange/sbin/oxinstaller: Datei oder Verzeichnis nicht gefunden

    Creating startup scripts... done.

    Creating Groupware user... ./hyperion-debian_etch.sh: line 387: /opt/open-xchange/sbin/createuser: Datei oder Verzeichnis nicht gefunden
    ./hyperion-debian_etch.sh: line 389: /etc/init.d/open-xchange-admin: Datei oder Verzeichnis nicht gefunden
    Restarting Open-Xchange Groupware Daemon: start-stop-daemon: warning: failed to kill 7405: 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.

    What went wrong?

    Thanks
    Frank

    Comment


    • #17
      Code:
      Configuring system user (open-xchange)...
      addgroup: Die Gruppe »open-xchange« existiert bereits als Systemgruppe. Programmende.
      Der Benutzer »open-xchange« existiert bereits als Systembenutzer. Programmende.
      is no error, it just tells you that the user exists because you've created it before.

      Code:
      Building Open-Xchange Admindaemon...
      [javac] /usr/src/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:91: package com.openexchange.mail.usersetting does not exist
      [javac] import com.openexchange.mail.usersetting.UserSettingMail;
      [javac] ^
      Seems to be triggered by the broken sources at /usr/src/open-xchange*
      You may delete the open-xchange source folders and start the installer again. Every following error is triggered by the admindaemon compile problem.
      I think about removing those directories by default to avoid such things, but it may cause unwanted loss of data if somebody develops on base of that code directory - what do you think about it?
      Last edited by Martin Heiland; 10-18-2007, 04:56 PM.

      Comment


      • #18
        Thanks for your quick replay!

        Looks much better now. Maybe the delete of /usr/src/open... should be one option with replace?

        But at the end, the script found the DNS entrie of the old and active Mailserver. I do the install on ox.weberdata.de. Do i have to change the Domain and Hostname of my testserver, or what happend here?

        using mail.weberdata.de as FQHN of the mail server
        java.lang.NullPointerException
        at com.openexchange.admin.rmi.impl.OXMailServerImpl.w riteConfig(OXMailServerImpl.java:313)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:294)
        at sun.rmi.transport.Transport$1.run(Transport.java:1 53)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport. java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:466)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:707)
        at java.lang.Thread.run(Thread.java:595)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceiv edFromServer(StreamRemoteCall.java:247)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Str eamRemoteCall.java:223)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:1 26)
        at java.rmi.server.RemoteObjectInvocationHandler.invo keRemoteMethod(RemoteObjectInvocationHandler.java: 179)
        at java.rmi.server.RemoteObjectInvocationHandler.invo ke(RemoteObjectInvocationHandler.java:132)
        at $Proxy0.writeConfig(Unknown Source)
        at com.openexchange.admin.console.mailconfig.Modify.< init>(Modify.java:142)
        at com.openexchange.admin.console.mailconfig.Modify.m ain(Modify.java:167)

        done

        Creating startup scripts... done.

        Creating Groupware user... user 4 in context 1 created
        Restarting Open-Xchange Admin Daemon: open-xchange-admin.
        Restarting Open-Xchange Groupware Daemon: start-stop-daemon: warning: failed to kill 8526: 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.

        Comment


        • #19
          Oh! I forgot 2 things!

          1. You have done a realy good job Martin!!! Thanks!

          2. I could log in as oxadmin and as testuser, without errors!?

          Comment


          • #20
            Hi,

            thanks for the flowers
            The NullPointerException comes up on every installation, no matter what domainname is used, i did not found any disadvantages triggered by it. It's a bug at the admindaemon i guess.

            Greetings

            Comment


            • #21
              Here I'm, thanks it's worked again

              Comment


              • #22
                Hello!

                I think, the file "build.xml" doesn't exist on cvs repo.
                Last edited by Guest; 11-11-2007, 12:42 AM.

                Comment


                • #23
                  Hi,

                  if you check out the HEAD repository you'll find the build.xml at the server/ directory. Please note that there is no documentation how to build the HEAD right now, many changes are going on at the sourcecode and you should not rely on stability of the code.
                  If you need to compile and run a stable version, please check out the "bf_6_4" code by adding "-r bf_6_4" to the cvs checkout command.

                  For example:
                  Code:
                  cvs -d:pserver:anonymous@www.open-xchange.com:/cvsroot co -r bf_6_4 open-xchange
                  You need to do this for all repositories except:
                  json-jdk15
                  open-xchange-admin-console-ee
                  open-xchange-admin-gui-ee

                  those three repositories need to be checked out with "-r HEAD" as there is no bugfix branch for these.

                  Greetings
                  Last edited by Martin Heiland; 11-11-2007, 12:50 PM.

                  Comment


                  • #24
                    OK, thanks
                    but there are an error ?!
                    BUILD FAILED /usr/src/open-xchange-admin/build.xml:199
                    /etc/init.d/open-xchange-groupware not found.
                    I'll take a look later.
                    Last edited by Guest; 11-11-2007, 11:17 AM.

                    Comment


                    • #25
                      Hi Martin,

                      could you please check your hyperion-debian_etch.sh? The directory config wasn't extracted on /tmp/hyperion-install. I've modified a little bit your scripts and it works again.
                      Simply line 92 inserted with
                      Code:
                      tar -C /tmp/hyperion-install -zxf $DEPPACKAGE config/

                      Comment


                      • #26
                        Hi,

                        at ~ line 90 only the licenses are extracted to show them at the dialog and for the user to read the dependencies licenses. At this point the configuration files are not yet required for the installation process. If you look at line 182 the config files are extracted for the update process and at line 294 the config directory is extracted for the normal installation process.
                        What exactly is the problem when not extracting those files at line 92? Sure it's nothing evil but at this point the files are just not required and i don't want to waste drive space here because if the user declines the license those files are deleted anyway - hard drive space if expensive nowdays

                        Greetings

                        Comment


                        • #27
                          Yes I know, what do you mean, but, if I didn't modify the scripts, then the directory config wouldn't extracted. And all configuration e.g. imapd.conf, open-xchange-groupware, etc. can't be copied into the destination directory, because /tmp/hyperion-install/config doesn't exist.
                          And OX can't be started.

                          Writing in German is easier for me

                          Comment

                          Working...
                          X