Announcement

Collapse
No announcement yet.

Install OX6 on OpenSuse 11 error createcontext

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

  • Install OX6 on OpenSuse 11 error createcontext

    I try to install on a dedicated server with openSuse 11 the community edition of OX6. after the wiki following http://oxpedia.org/index.php?title=Q...ion_openSUSE11 I stand at the point to create a context, I use the following line and change the settings to match my server.

    $ /opt/open-xchange/sbin/createcontext -A oxadminmaster -P admin_master_password -c 1 -u oxadmin -d "Context Admin" -g Admin -s User -p admin_password -L defaultcontext -e oxadmin@example.com-q 1024 --access-combination-name=all

    Then I got an error: "Unrecognized options on the command line: Unknown option ``-c'

    Has anyone an idea what wrong? I get the website-login screen.

    Thy
    Trapcode

    Thx
    Trapcode

  • #2
    Hi,

    I don't know if it matters in this context, but between "-e oxadmin@example.com" and "-p" is no space in your example.

    Everything looks good in your instruction.
    Last edited by 881822; 04-14-2010, 12:26 AM. Reason: wrong language
    Viele Grüße
    Rene

    OS: Ubuntu Server amd64 20.4 LTS
    JRE: openjdk-8-jre, Maria-DB, Apache 2.4, Dovecot
    OX-Server backend: OXSE latest
    OX-frontend: OX appsuite latest

    Comment


    • #3
      Sorry, the missing gap is only a type error, what my problem is that the option -c is not known by the system.

      Comment


      • #4
        same Error on 6.16.xx version

        on RHEL 5 :
        Code:
        /opt/open-xchange/sbin/createcontext -A oxadminmaster -P <mypass> -N 1 -u oxadmin -d "Context Admin" -g Admin -s User -p Ox6-2008 -L defaultcontext  -e admin@mycompany.local -q 1024 --access-combination-name=all
        the response is:
        Code:
        context could not be created: 
        Server response:
         com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.StorageException: Table 'configdb.sequence_context' doesn't exist

        it's made on fresh install...
        all the commands typed before this working:
        Code:
        /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P <mypass>
        server 2 registered
        /opt/open-xchange/sbin/registerfilestore -A oxadminmaster -P <mypass> -t file:///opt/ox6/filestore
        filestore 3 registered
        /opt/open-xchange/sbin/registerdatabase -A oxadminmaster -P <mypass> -n oxdatabase -p <mydbpass> -m true
        database 4 registered
        the question is who made the 'configdb.sequence_context' ?

        and for shure how to repair this ?

        Comment


        • #5
          Hi,

          this table is created by the initconfigdb script, please check if it has been executed correctly.

          Comment


          • #6
            This looks like you installed the new bundle open-xchange-admin-plugin-autocontextid. If this is installed you get the table configdb.sequence_context.

            Furthermore the option -c is removed from the command line tool if you install this bundle, because it's obsolete if the context id is autogenerated.

            I just wonder why this bundle was installed because it's not mentioned in the installation guide you refer to.

            Regards,

            Dennis

            Comment


            • #7
              I follow the guide an now try the following. I delete the configdb manually and use again "$ /opt/open-xchange/sbin/initconfigdb --configdb-pass=db_password -a" the configdb was created but after all I can't set a context, in MySql the configdb_sequence contains only one field with the entry "1". I've no idea what's going wrong. Maybe there is a way to manually configure this configdb.

              Regards
              Trapcode

              Update: I try the lines from adnuser and get the same error. When I log at the tables of my SQL Database there is no "configdb.sequence_context" only a "configdb.configdb_sequence" may be this is the error.
              Last edited by Guest; 04-14-2010, 06:26 PM.

              Comment


              • #8
                There should be no configdb.sequence_context if no autocontextid is in use. Can you please post a list of the packages you have installed.

                Regards,

                Dennis

                Comment


                • #9
                  I'm not an expert in Linux. Here are the version-numbers of my OX install, mysql and java the server runs unter openSuse 11.0 X86-64.

                  Open-Xchange is Version 6.16.0.0-4_4.1
                  MySQL is version 5.051a-27.4
                  Java SE RE is version 1.6.0_19

                  And another question to Dennis Sieben,I've no idea if I have autocontextid or not, so where I can check it out. Because I still didn't understood why the command "createcontext" say the option -c is invalid. Or is there the discription I posted above not compatible with my OX6 version.

                  Hope for help,
                  Trapcode

                  Comment


                  • #10
                    Please post the output of "rpm -qa|grep -i open-xchange". This will also tell us, if there's autocontextid installed or not. I assume it's installed because of the error message you get, but I want to be sure...

                    Regards,

                    Dennis

                    Comment


                    • #11
                      Thx, here are the results:

                      open-xchange-meta-6.16.0.0-4_4.1
                      open-xchange-global-6.16.0.0-4_4.1
                      open-xchange-upsell-generic-6.16.0.0-4_4.1
                      open-xchange-commons-logging-log4j-6.16.0.0-4_4.1
                      open-xchange-monitoring-6.16.0.0-4_4.1
                      open-xchange-smtp-6.16.0.0-4_4.1
                      open-xchange-settings-extensions-6.16.0.0-4_4.1
                      open-xchange-easylogin-6.16.0.0-4_4.1
                      open-xchange-authentication-database-6.16.0.0-4_4.1
                      open-xchange-themes-default-6.16.0.0-4_4.1
                      open-xchange-contacts-ldap-6.16.0.0-4_4.1
                      open-xchange-admin-plugin-autocontextid-client-6.16.0.0-4_4.1
                      open-xchange-subscribe-microformats-6.16.0.0-4_4.1
                      open-xchange-meta-gui-6.16.0.0-4_4.1
                      open-xchange-gui-mobile-1.0.0-25_25.1
                      open-xchange-common-6.16.0.0-4_4.1
                      open-xchange-configjump-generic-gui-6.16.0.0-4_4.1
                      open-xchange-publish-6.16.0.0-4_4.1
                      open-xchange-dataretention-csv-6.16.0.0-4_4.1
                      open-xchange-sessiond-6.16.0.0-4_4.1
                      open-xchange-passwordchange-script-6.16.0.0-4_5.1
                      open-xchange-push-mailnotify-6.16.0.0-2_2.1
                      open-xchange-control-6.16.0.0-4_4.1
                      open-xchange-publish-json-6.16.0.0-4_4.1
                      open-xchange-admin-client-6.16.0.0-4_4.1
                      open-xchange-report-client-6.16.0.0-4_4.1
                      open-xchange-crypto-6.16.0.0-4_4.1
                      open-xchange-admin-doc-6.16.0.0-4_4.1
                      open-xchange-gui-themes-default-6.16.0.0-4_4.1
                      open-xchange-online-help-fr-6.16.0.0-5_5.1
                      open-xchange-gui-6.16.0.0-4_4.1
                      open-xchange-gui-wizard-plugin-gui-6.16.0.0-4_4.1
                      open-xchange-custom-parallels-gui-6.16.0.0-4_4.1
                      open-xchange-xerces-sun-6.16.0.0-4_4.1
                      open-xchange-messaging-6.16.0.0-4_4.1
                      open-xchange-conversion-6.16.0.0-4_4.1
                      open-xchange-i18n-6.16.0.0-4_4.1
                      open-xchange-twitter-6.16.0.0-4_4.1
                      open-xchange-threadpool-6.16.0.0-4_4.1
                      open-xchange-audit-6.16.0.0-4_4.1
                      open-xchange-passwordchange-servlet-6.16.0.0-4_4.1
                      open-xchange-gui-wizard-plugin-6.16.0.0-4_4.1
                      open-xchange-push-udp-6.16.0.0-4_4.1
                      open-xchange-group-managerequest-6.16.0.0-4_4.1
                      open-xchange-conversion-servlet-6.16.0.0-4_4.1
                      open-xchange-calendar-6.16.0.0-4_4.1
                      open-xchange-user-json-6.16.0.0-4_4.1
                      open-xchange-publish-basic-6.16.0.0-4_4.1
                      open-xchange-subscribe-json-6.16.0.0-4_4.1
                      open-xchange-admin-soap-6.16.0.0-4_4.1
                      open-xchange-admin-plugin-autocontextid-6.16.0.0-4_4.1
                      open-xchange-online-help-en-6.16.0.0-5_5.1
                      open-xchange-publish-microformats-6.16.0.0-4_4.1
                      open-xchange-jcharset-1.3.0-23_52.1
                      open-xchange-admin-plugin-hosting-doc-6.16.0.0-4_4.1
                      open-xchange-lang-6.16.0.0-4_4.1
                      open-xchange-genconf-6.16.0.0-4_4.1
                      open-xchange-xml-6.16.0.0-4_4.1
                      open-xchange-management-6.16.0.0-4_4.1
                      open-xchange-configjump-generic-6.16.0.0-4_4.1
                      open-xchange-cache-6.16.0.0-4_4.1
                      open-xchange-server-6.16.0.0-5_5.1
                      open-xchange-push-malpoll-6.16.0.0-4_4.1
                      open-xchange-imap-6.16.0.0-4_4.1
                      open-xchange-resource-managerequest-6.16.0.0-4_4.1
                      open-xchange-passwordchange-database-6.16.0.0-4_4.1
                      open-xchange-data-conversion-ical4j-6.16.0.0-4_4.1
                      open-xchange-calendar-printing-6.16.0.0-4_4.1
                      open-xchange-voipnow-json-6.16.0.0-4_4.1
                      open-xchange-admin-plugin-hosting-lib-6.16.0.0-4_4.1
                      open-xchange-6.16.0.0-5_5.1
                      open-xchange-subscribe-crawler-offering-6.16.0.0-4_4.1
                      open-xchange-admin-plugin-hosting-client-6.16.0.0-4_4.1
                      open-xchange-admin-plugin-contextrestore-6.16.0.0-4_4.1
                      open-xchange-subscribe-crawler-6.16.0.0-4_4.1
                      open-xchange-unifiedinbox-6.16.0.0-4_4.1
                      open-xchange-gui-ie6-compat-6.8.1-47_47.1
                      open-xchange-log4j-6.16.0.0-4_4.1
                      open-xchange-charset-6.16.0.0-4_4.1
                      open-xchange-dataretention-6.16.0.0-4_4.1
                      open-xchange-conversion-engine-6.16.0.0-4_4.1
                      open-xchange-push-6.16.0.0-4_4.1
                      open-xchange-mailfilter-6.16.0.0-4_4.1
                      open-xchange-pop3-6.16.0.0-4_4.1
                      open-xchange-contactcollector-6.16.0.0-4_4.1
                      open-xchange-sso-6.16.0.0-4_4.1
                      open-xchange-publish-infostore-online-6.16.0.0-4_4.1
                      open-xchange-meta-pubsub-6.16.0.0-4_4.1
                      open-xchange-meta-admin-6.16.0.0-4_4.1
                      open-xchange-online-help-de-6.16.0.0-5_5.1
                      open-xchange-activation-1.1.1-23_23.1
                      open-xchange-sql-6.16.0.0-4_4.1
                      open-xchange-voipnow-gui-6.16.0.0-4_4.1
                      open-xchange-configread-6.16.0.0-4_4.1
                      open-xchange-admin-lib-6.16.0.0-4_4.1
                      open-xchange-spamhandler-default-6.16.0.0-4_4.1
                      open-xchange-genconf-mysql-6.16.0.0-4_4.1
                      open-xchange-axis2-6.16.0.0-4_4.1
                      open-xchange-subscribe-6.16.0.0-4_4.1
                      open-xchange-admin-6.16.0.0-4_4.1
                      open-xchange-admin-plugin-hosting-6.16.0.0-4_4.1
                      open-xchange-templating-6.16.0.0-4_4.1
                      open-xchange-meta-server-6.16.0.0-4_4.1

                      I hope you can use this.

                      Regards
                      Trapcode

                      Comment


                      • #12
                        Originally posted by Martin Braun View Post
                        Hi,

                        this table is created by the initconfigdb script, please check if it has been executed correctly.

                        thanks a lot i have been restarted the initconfigdb with the proper options now it's work.
                        thanks again!!
                        Last edited by adnuser; 04-15-2010, 11:42 AM.

                        Comment


                        • #13
                          Update, I have uninstalled the open-xchange-autocontextid then deleted the configdb and then start againt initconfdb and createcontext with the following result:

                          # initconfigdb --configdb-pass=hhga684 -a
                          initializing configdb from scratch... done
                          # createcontext -A oxadminmaster -P [passwort] -c 1 -u oxadmin -d trapcode -g Admin -s User -p [password] -L defaultcontext -e oxadmin@[Domainname] -q 1024 --access-combination-name=all
                          context 1 could not be created:
                          Server response:
                          com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.StorageExcep tion: Table 'configdb.sequence_context' doesn't exist

                          And in MySQL there is no sequence_context. So whats wrong with my installation. I hope for any idea because otherwise I stop this experiment and try an other collaboration software.

                          Regards
                          Trapcode

                          Comment


                          • #14
                            Hi,

                            have you restarted the OX Service after removing the package?

                            Greetings

                            Comment


                            • #15
                              @Martin Braun
                              I make the hard way, I reinitialize the complet server and set OX6CE new on and now why ever it works much better I have create a context and a test user. Problem now is that the system told the testuser his login is wrong, but not on the login-page but in the web frontend. I get the following error:

                              04-16-2010 03:39 PM-->Error: Error in low level connection to sieve server (MAIL_FILTER-0014, 1331419066-174)
                              04-16-2010 03:39 PM-->Error: Wrong or missing login data to access server 127.0.0.1 with login testuser (user=3, context=1). Error message from server: Login failed. (MSG-1001, 1331419066-175)

                              But this is much better than before. Thx everyone for the support, hopefully now I come on by my own.

                              Regards
                              Trapcode

                              Comment

                              Working...
                              X