Announcement

Collapse
No announcement yet.

Install OX Failed

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

  • Install OX Failed

    hallo,

    yesterday i installed two server with debian etch and ox

    on the first server the installation success but during the installation of server two i get errors on installing open-xchange-admin and open-xchange-admin-gui (in follow of error one)

    is anything changed on cvs , the systems are the same only between the installation of server one and two lie 1 hour

    Code:
    Compiling Open-Xchange Admindaemon...
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXUser.java:97: cannot find symbol
        [javac] symbol  : class UserConfigurationException
        [javac] location: package com.openexchange.groupware
        [javac] import com.openexchange.groupware.UserConfigurationException;
        [javac]                                  ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXUser.java:98: cannot find symbol
        [javac] symbol  : class UserConfigurationStorage
        [javac] location: package com.openexchange.groupware
        [javac] import com.openexchange.groupware.UserConfigurationStorage;
        [javac]                                  ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:85: cannot find symbol
        [javac] symbol  : class RdbUserConfigurationStorage
        [javac] location: package com.openexchange.groupware
        [javac] import com.openexchange.groupware.RdbUserConfigurationStorage;
        [javac]                                  ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:86: cannot find symbol
        [javac] symbol  : class UserConfiguration
        [javac] location: package com.openexchange.groupware
        [javac] import com.openexchange.groupware.UserConfiguration;
        [javac]                                  ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXUser.java:375: cannot find symbol
        [javac] symbol  : variable UserConfigurationStorage
        [javac] location: class com.openexchange.admin.rmi.impl.OXUser
        [javac]             UserConfigurationStorage.getInstance().removeUserConfiguration(user_id, new ContextImpl(ctx.getId()));
        [javac]             ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXUser.java:376: cannot find symbol
        [javac] symbol  : class UserConfigurationException
        [javac] location: class com.openexchange.admin.rmi.impl.OXUser
        [javac]         } catch (UserConfigurationException e) {
        [javac]                  ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXUser.java:426: cannot find symbol
        [javac] symbol  : variable UserConfigurationStorage
        [javac] location: class com.openexchange.admin.rmi.impl.OXUser
        [javac]             UserConfigurationStorage.getInstance().removeUserConfiguration(user.getId(), new ContextImpl(ctx.getId()));
        [javac]             ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXUser.java:427: cannot find symbol
        [javac] symbol  : class UserConfigurationException
        [javac] location: class com.openexchange.admin.rmi.impl.OXUser
        [javac]         } catch (UserConfigurationException e) {
        [javac]                  ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXUser.java:664: cannot find symbol
        [javac] symbol  : variable UserConfigurationStorage
        [javac] location: class com.openexchange.admin.rmi.impl.OXUser
        [javac]                 UserConfigurationStorage.getInstance().removeUserConfiguration(user.getId(), new ContextImpl(ctx.getId()));
        [javac]                 ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXUser.java:665: cannot find symbol
        [javac] symbol  : class UserConfigurationException
        [javac] location: class com.openexchange.admin.rmi.impl.OXUser
        [javac]             } catch (UserConfigurationException e) {
        [javac]                      ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:1935: cannot find symbol
        [javac] symbol  : class UserConfiguration
        [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage
        [javac]             final UserConfiguration user = RdbUserConfigurationStorage
        [javac]                   ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:1935: cannot find symbol
        [javac] symbol  : variable RdbUserConfigurationStorage
        [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage
        [javac]             final UserConfiguration user = RdbUserConfigurationStorage
        [javac]                                            ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:2262: cannot find symbol
        [javac] symbol  : class UserConfiguration
        [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage
        [javac]             final UserConfiguration user = RdbUserConfigurationStorage
        [javac]                   ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:2262: cannot find symbol
        [javac] symbol  : variable RdbUserConfigurationStorage
        [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage
        [javac]             final UserConfiguration user = RdbUserConfigurationStorage
        [javac]                                            ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:2285: cannot find symbol
        [javac] symbol  : variable RdbUserConfigurationStorage
        [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage
        [javac]             RdbUserConfigurationStorage.saveUserConfiguration(user, insert_or_update,
        [javac]             ^
        [javac] /tmpinstall/ox/open-xchange-admin/src/com/openexchange/admin/tools/SHACrypt.java:68: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release
        [javac]         final String ret = (new sun.misc.BASE64Encoder().encode(pwhash));
        [javac]                                         ^
        [javac] Note: Some input files use or override a deprecated API.
        [javac] Note: Recompile with -Xlint:deprecation for details.
        [javac] 15 errors
        [javac] 1 warning
    
    BUILD FAILED


    greetings

    outlow

  • #2
    The directory 'userconfiguration' in the sources is not set in package.

    wait a minute,I will look for more details.

    EDIT:in the compilation-process You can find this symbol '^'.
    This means there is a subdirectory missing.Have a look in the sources from com.openexchange.It seems there are other directories missing in import package.
    Last edited by ole; 11-06-2007, 01:44 PM.

    Comment


    • #3
      and that means what to do?


      Please nobody have same error at the last 48 Hours
      I used allways the uptodate cvs
      Last edited by outlow; 11-07-2007, 01:13 AM.

      Comment


      • #4
        patch

        http://hop.at/tmp/oxadmin.patch

        here is a patch for open-xchange-admin/. I'm sure this is fixed in CVS tomorrow.

        Comment


        • #5
          thx

          but where i have to put it and run?

          Comment


          • #6
            Thank you very much for this patch, i think it'll help many people. Anyway this should really be fixed asap at the cvs and i do think it will be solved in a short period of time.

            Thanks!

            Comment


            • #7
              nice plan with the patch but i could execute it

              so i changed the lines manual

              after change and new build i get the following errors

              Code:
              initializing database (step 2/2)
              user in context 1 could not be created:
              java.lang.NullPointerException
                      at com.openexchange.groupware.userconfiguration.RdbUserConfigurationStorage.deleteUserConfiguration(RdbUserConfigurationStorage.java:500)
                      at com.openexchange.groupware.userconfiguration.UserConfiguration.deletePerformed(UserConfiguration.java:747)
                      at com.openexchange.groupware.delete.DeleteRegistry.fireDeleteEvent(DeleteRegistry.java:217)
                      at com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage.delete(OXUserMySQLStorage.java:1658)
                      at com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage.delete(OXUserMySQLStorage.java:1845)
                      at com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage.delete(OXUserMySQLStorage.java:1886)
                      at com.openexchange.admin.rmi.impl.OXUser.create(OXUser.java:528)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:585)
                      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
                      at sun.rmi.transport.Transport$1.run(Transport.java:153)
                      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$ConnectionHandler.run(TCPTransport.java:707)
                      at java.lang.Thread.run(Thread.java:595)
                      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
                      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
                      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
                      at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:179)
                      at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
                      at $Proxy0.create(Unknown Source)
                      at com.openexchange.admin.console.user.Create.maincall(Create.java:110)
                      at com.openexchange.admin.console.user.CreateCore.commonfunctions(CreateCore.java:116)
                      at com.openexchange.admin.console.user.Create.<init>(Create.java:83)
                      at com.openexchange.admin.console.user.Create.main(Create.java:74)
              
              done
              setting up the system
              creating certificates
              certificate created
              configuring mail system
              using mail.b081.blue.fastwebserver.de as FQHN of the mail server
              done
              Restarting Open-Xchange Admin Daemon: open-xchange-admin.
              Restarting Open-Xchange Groupware Daemon: start-stop-daemon: warning: failed to kill 2036: 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.
              
              ########################################
              Creating Groupware user...
              ########################################
              user in context 1 could not be created:
              java.lang.NullPointerException
                      at com.openexchange.groupware.userconfiguration.RdbUserConfigurationStorage.deleteUserConfiguration(RdbUserConfigurationStorage.java:500)
                      at com.openexchange.groupware.userconfiguration.UserConfiguration.deletePerformed(UserConfiguration.java:747)
                      at com.openexchange.groupware.delete.DeleteRegistry.fireDeleteEvent(DeleteRegistry.java:217)
                      at com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage.delete(OXUserMySQLStorage.java:1658)
                      at com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage.delete(OXUserMySQLStorage.java:1845)
                      at com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage.delete(OXUserMySQLStorage.java:1886)
                      at com.openexchange.admin.rmi.impl.OXUser.create(OXUser.java:528)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:585)
                      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
                      at sun.rmi.transport.Transport$1.run(Transport.java:153)
                      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$ConnectionHandler.run(TCPTransport.java:707)
                      at java.lang.Thread.run(Thread.java:595)
                      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
                      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
                      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
                      at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:179)
                      at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
                      at $Proxy0.create(Unknown Source)
                      at com.openexchange.admin.console.user.Create.maincall(Create.java:110)
                      at com.openexchange.admin.console.user.CreateCore.commonfunctions(CreateCore.java:116)
                      at com.openexchange.admin.console.user.Create.<init>(Create.java:83)
                      at com.openexchange.admin.console.user.Create.main(Create.java:74)
              so i hope that the cvs whil be updatet asap

              Comment


              • #8
                Your are not alone with this problem ;-),I have it ,too.

                Comment


                • #9
                  Anybody with successfully installation

                  on debian etch r0/r1 or ubuntu server 6.06lts from cvs and what version you install?

                  Comment


                  • #10
                    I installed a cvs-version from yesterday on SuSE 10.3.And now a have the same problem like outlaw.

                    Comment


                    • #11
                      i used debian etch and for each try to install ox i loaded the packages from the cvs new

                      I get this mistake since monday, as of this date, I have determined 10 times trying to install ox

                      Comment


                      • #12
                        hi,

                        is it possible to get the needed packages from cvs of an earlier date?
                        Perhaps there are the errors not, or is the cvs with a new version updated?

                        Comment


                        • #13
                          Yes it is, please see the -D option of the standard cvs client for examples how to do this.
                          Otherwise you could checkoout the bf_6_4 branch using the -r command. bf_6_4 is the current "stable" branch. The default branch at checkout is "head" which is bleeding edge code.

                          For example:

                          Checking out CVS HEAD (bleeding edge)
                          Code:
                          cvs -d:pserver:anonymous@www.open-xchange.com:/cvsroot co -r HEAD open-xchange

                          Checking out CVS bf_6_4 (bugfix branch, stable)
                          Code:
                          cvs -d:pserver:anonymous@www.open-xchange.com:/cvsroot co -r bf_6_4 open-xchange
                          You need to define the "-r <branch>" option for all repositories you want to check out based on this branch.

                          Please note that it is possible that HEAD and bf code is incompatible to each other. I will add this option to the community edition installer soon. HEAD is useful for development purposes to keep up with the latest changes, but for daily use the bugfix branch is much more stable.


                          Greetings
                          Last edited by Martin Heiland; 11-09-2007, 11:55 PM.

                          Comment


                          • #14
                            could it be that i need other or older jar libs to compile

                            on this why i get diffrent errors too

                            it seems i have to wait for an update of the cvs repository

                            Comment


                            • #15
                              Hy,

                              Same problem

                              also with CVS bf_6_4 (bugfix branch, stable) some errors

                              Best reguards

                              Michael

                              Comment

                              Working...
                              X