Announcement

Collapse
No announcement yet.

oxinstaller failure

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

  • oxinstaller failure

    Hello,

    this is the output of

    /opt/open-xchange/sbin/oxinstaller --oxdb-pass=somepass --admin-pass=somepass --maildomain mydomain.tld
    initializing database (step 2/2)
    Server response:
    com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.AuthenticationFailedException: Login failed: authentication failure
    com.openexchange.admin.rmi.exceptions.StorageExcep tion: com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.AuthenticationFailedException: Login failed: authentication failure
    at com.openexchange.admin.rmi.impl.OXUser.create(OXUs er.java:235)
    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:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:701)
    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.create(Unknown Source)
    at com.openexchange.admin.console.user.Create.<init>( Create.java:140)
    at com.openexchange.admin.console.user.Create.main(Cr eate.java:78)
    Caused by: com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.AuthenticationFailedException: Login failed: authentication failure
    at com.openexchange.admin.rmi.impl.OXUserIMAPImpl.cre ate(OXUserIMAPImpl.java:506)
    at com.openexchange.admin.rmi.impl.OXUser.create(OXUs er.java:218)
    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:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:595)
    done
    setting up the system
    creating certificates
    configuring ox admin gui
    configuring mail system
    using mail.mydomain.tld as FQHN of the mail server
    done
    I did it twice, second try with -f option. I saw you have add a comment about MySQL username/password in $ox/sbin/oxinstaller.
    There's no root password after installation of mysql packages, where and what should be modified inside that script?

    Greetings Christian

  • #2
    Hi, is the IMAP Server already configured to authentificate agains MySQL? This triggers such an exception because the installer tries to create a IMAP account for user "oxadmin". The -f option only forces a overwrite of existing database tables, even if they already exist.
    Are the database tables created properly? Do a:
    > mysql
    mysql> show databases;

    which should return
    "configdb" and "open-xchange-db" as existing databases.

    Comment


    • #3
      Many thanks for reply and it seems you are right...

      SCHWERWIEGEND: unable to create directory: /home/postmaster
      02.07.2007 20:00:32 com.openexchange.admin.rmi.impl.OXUser create
      SCHWERWIEGEND: /bin/chown exited abnormally
      02.07.2007 20:00:32 com.openexchange.admin.rmi.impl.OXUser create
      SCHWERWIEGEND: /bin/chown: »postmaster:«: kann die Login-Gruppe einer numerischen UID nicht ermitteln
      02.07.2007 20:00:32 com.openexchange.admin.rmi.impl.OXUser create
      SCHWERWIEGEND: Unable to chown homedirectory: /home/postmaster
      02.07.2007 20:00:35 com.openexchange.admin.rmi.impl.OXUserIMAPImpl initImap
      SCHWERWIEGEND: javax.mail.AuthenticationFailedException: Login failed: generic failure
      02.07.2007 20:00:35 com.openexchange.admin.rmi.impl.OXUser create
      SCHWERWIEGEND: Error while calling create for plugin: open_xchange_admin_plugin_imap
      What UID/GID? I havn't read something about in wiki.

      The other thing makes no sense for me as well

      SCHWERWIEGEND: Could not create sender to [127.0.0.1:57462] -- Socket is null, cannot connect to 127.0.0.1:57462
      02.07.2007 20:00:20 org.apache.jcs.auxiliary.lateral.socket.tcp.Latera lTCPCacheManager <init>
      SCHWERWIEGEND: Failure, lateral instance will use zombie service
      I try to run Hyperion with Debian Etch. I realised many wrong settings for files/folders... example: postfix socket for sasl.
      Anyway sasl auth works fine...
      /usr/sbin/testsaslauthd -u oxadmin -p somepass
      0: OK "Success."
      Any ideas?
      Last edited by ghoster1970; 07-02-2007, 10:19 PM.

      Comment


      • #4
        SCHWERWIEGEND: Could not create sender to [127.0.0.1:57462] -- Socket is null, cannot connect to 127.0.0.1:57462

        this can be ignored afaik, i also have this error on my debian etch / hyperion system and it works like a charm.

        SCHWERWIEGEND: Error while calling create for plugin: open_xchange_admin_plugin_imap

        uhm, strange - what cvs repositories did you checkout and built?

        Comment


        • #5
          This is the way I created OX, open-xchange-admin, open-xchange-gui

          cd /tmp
          cvs -d : pserver:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange

          cd /tmp/open-xchange
          ant -Dlib.dir=/opt/open-xchange/lib install

          cd /tmp

          cvs -d : pserver:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin
          cvs -d : pserver:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-console-ee
          cvs -d : pserver:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-plugin-imap
          cvs -d : pserver:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-plugin-mail
          cvs -d : pserver:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-plugin-mailfilter
          cvs -d : pserver:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-plugin-context_light
          cvs -d : pserver:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-plugin-ca_mgmt_simple

          cd /tmp/open-xchange-admin
          ant -Dlib.dir=/opt/open-xchange/lib install

          cd /tmp
          cvs -d : pserver:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-gui
          cd /tmp/open-xchange-gui
          export CLASSPATH=/opt/open-xchange/lib/saxon8.jar

          export ANT_OPTS="-Djavax.xml.transform.TransformerFactory=net.sf.sax on.TransformerFactoryImpl"

          ant -Dlib.dir=/opt/open-xchange/lib/ deploy

          ant -Dlib.dir=/opt/open-xchange/lib/ -Dhtdoc=/var/www/ox/htdocs deploy
          SCHWERWIEGEND: Error while calling create for plugin: open_xchange_admin_plugin_imap

          uhm, strange - what cvs repositories did you checkout and built?
          Have I missed something like a step during installation with cvs?

          Edit: here's full error message with admin_plugin_imap. Hope this helps to locate source of that error...

          SCHWERWIEGEND: Error while calling create for plugin: open_xchange_admin_plugin_imap
          com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.AuthenticationFailedException: Login failed: generic failure
          at com.openexchange.admin.rmi.impl.OXUserIMAPImpl.cre ate(OXUserIMAPImpl.java:506)
          at com.openexchange.admin.rmi.impl.OXUser.create(OXUs er.java:218)
          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)
          02.07.2007 20:00:35 com.openexchange.admin.rmi.impl.OXUser create
          Last edited by ghoster1970; 07-02-2007, 10:41 PM.

          Comment


          • #6
            seems to be all correct, maybe somebody else knows... on my setup, i configured all services like imap/smtp/mysql/sasl before building the first package, this seems to be a lot more robust.

            Comment


            • #7
              Originally posted by Martin Braun View Post
              seems to be all correct, maybe somebody else knows... on my setup, i configured all services like imap/smtp/mysql/sasl before building the first package, this seems to be a lot more robust.
              mmmhhhhh, going backward with installation...an idea it is.
              Many thanks and you get reply how this works.

              MfG
              Christian

              Comment


              • #8
                The result stays the same in green exactly...

                SCHWERWIEGEND: unable to create directory: /home/postmaster
                02.07.2007 21:58:43 com.openexchange.admin.rmi.impl.OXUser create
                SCHWERWIEGEND: /bin/chown exited abnormally
                02.07.2007 21:58:43 com.openexchange.admin.rmi.impl.OXUser create
                SCHWERWIEGEND: /bin/chown: »postmaster:«: kann die Login-Gruppe einer numerischen UID nicht ermitteln
                02.07.2007 21:58:43 com.openexchange.admin.rmi.impl.OXUser create
                SCHWERWIEGEND: Unable to chown homedirectory: /home/postmaster
                02.07.2007 21:58:46 com.openexchange.admin.rmi.impl.OXUserIMAPImpl initImap
                SCHWERWIEGEND: javax.mail.AuthenticationFailedException: Login failed: generic failure
                02.07.2007 21:58:46 com.openexchange.admin.rmi.impl.OXUser create
                SCHWERWIEGEND: Error while calling create for plugin: open_xchange_admin_plugin_imap
                com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.AuthenticationFailedException: Login failed: generic failure
                at com.openexchange.admin.rmi.impl.OXUserIMAPImpl.cre ate(OXUserIMAPImpl.java:506)
                at com.openexchange.admin.rmi.impl.OXUser.create(OXUs er.java:218)
                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)
                02.07.2007 21:58:46 com.openexchange.admin.rmi.impl.OXUser create
                INFO: Now doing rollback for everything until now...
                I unfortunately have no idea what could cause that error. Am in doubt it is the cvs package. May I should create /home/postmaster by hand with UID/GID 500... EDIT: oxadmin installation failed as well...
                May I hope someone is reading these logs and can tell me solution.
                Many thanks anyway

                Grüsse Christian
                Last edited by ghoster1970; 07-03-2007, 12:16 AM.

                Comment


                • #9
                  No one have an idea what could cause this mentioned error message?
                  If you need some configs, please let me know and will post them.

                  Thanks.

                  Comment


                  • #10
                    Originally posted by Martin Braun View Post
                    seems to be all correct, maybe somebody else knows... on my setup, i configured all services like imap/smtp/mysql/sasl before building the first package, this seems to be a lot more robust.

                    It seems he havn't installed all needed packages. You should post and may we find out which one(s) is (are) missing. Why to heck no one told you this earlier?
                    BTW, ghoster1970, you have to run oxinstaller before you can setup services. Reason: oxinstaller will overwrite settings you have done.

                    BTW: have you checked cyrus ownership as well, should be 750 and cyrmaster:cyrmaster AFAIR?
                    Last edited by sledge0303; 07-03-2007, 07:20 PM.

                    Comment


                    • #11
                      Hi sledge

                      May you are right. I unfortunately never used cyrus in the past (courier only) and in /var/log/mail.info appears this error output

                      cyrus/imap[5456]: badlogin: localhost.localdomain [127.0.0.1] plaintext postmaster SASL(-1): generic failure: checkpass failed
                      I have set up sasl like mentioned in wiki and it happens again and again...

                      oxinstaller installs /home/postmaster with root:root and octal 644 rights. This is IMHO the source of that error.
                      BUT where have I to do the setup?
                      Last edited by ghoster1970; 07-03-2007, 08:29 PM.

                      Comment


                      • #12
                        Problem with OXinstaller fixed and just a small prob with cyrus still exists.
                        Many thanks for your attention regarding mentioned problems.

                        Comment


                        • #13
                          Originally posted by ghoster1970 View Post
                          Problem with OXinstaller fixed and just a small prob with cyrus still exists.
                          Many thanks for your attention regarding mentioned problems.
                          As you know already, I hope, you need to add cyrus & sasl socket for postfix.
                          Postfix runs in a chroot environment at Debian Etch and this explains the occurred error message in previous post.

                          Anyway, it runs now, your cyrus/postfix problem will be fixed with that cyrus socket.

                          Comment


                          • #14
                            Installed .jar dependencies:
                            d5dd655f6056a72116f6a0666745a386 activation.jar
                            f6feeb3b3d95f7d09180fd71e96cead4 commons-cli-1.0.jar
                            c9021a6ed3d7d399ca96a7d9d9c84bb1 commons-fileupload.jar
                            456245a3b1b49eb51c57d037acebfefc commons-httpclient-2.0.2.jar
                            2e55c05d3386889af97caae4517ac9df commons-io.jar
                            6b62417e77b000a87de66ee3935edbf5 commons-logging.jar
                            f06604130992b14978119d2765f3cfdd concurrent.jar
                            f9195326c0d626830090a706cae13fee jakarta-slide-webdavlib-2.1.jar
                            b8f356f0fa765dc4c925f9ebc1e85f42 jcs-1.2.7.9.2.jar
                            0b8f97de82fc9529b1028a77125ce4f8 jdom.jar
                            485ff3efdf4080cef5478758e2c8b371 jsdk.jar
                            234644548f81a6c5efb216a23714bdf9 json.jar
                            3aa45be8fd3f5ae8c69b73959a7fa57c junit-4.1.jar
                            0bacd591fbd2ce1a5e0d0062be15ff8e mail.jar
                            0b5b0d256ef85ce79b564d9cd046fc6a mysql-connector-java-3.1.13-bin.jar
                            1e18abd2772f4c5294b43d2d8b9f70a5 org.eclipse.osgi_3.2.2.ox.jar
                            72f30e87de84451678dab4e765f3ce11 saxon8.jar
                            b797c2644dee11fb4237a4bb7ff2095f spring-beans_1.2.7.jar
                            bdb7a0eed97a5b112054dc151f5d71b9 spring-core_1.2.7.jar
                            204950cba6228acc3bd5f564f119e45c tnef.jar

                            Debian 4.0 Packages (attachment)
                            Attached Files
                            Last edited by Martin Heiland; 07-04-2007, 10:50 AM.

                            Comment


                            • #15
                              Many thanks Martin and Sledge0303 for help. Back to point, have installed at Ubuntu image and it was working fine.
                              Short look at Martin's package list is different a bit. I'll try with Etch later in the say.

                              Many thanks again

                              Christian

                              Comment

                              Working...
                              X