Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Eisenkopf Guest

    Default oxinstaller script

    Hi,

    could please someone post the defaultlines 58 - 75 here? i destroyed them -_-


    thx alot,
    Eisenkopf

  2. #2
    Eisenkopf Guest

    Default

    Hi,

    got is by myself but still run in the next problem. After

    Code:
    & /opt/open-xchange/sbin/oxinstaller --oxdb-pass=some_pass --admin-pass=some_pass --maildomain example.com
    i get

    Code:
     Exception in thread "main" java.lang.ClassFormatError: com.openexchange.admin.console.admincore.AllPluginsLoaded (unrecognized class file version)
       at java.lang.VMClassLoader.defineClass(libgcj.so.70)
       at java.lang.ClassLoader.defineClass(libgcj.so.70)
       at java.security.SecureClassLoader.defineClass(libgcj.so.70)
       at java.net.URLClassLoader.findClass(libgcj.so.70)
       at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
       at java.lang.ClassLoader.loadClass(libgcj.so.70)
       at java.lang.ClassLoader.loadClass(libgcj.so.70)
       at gnu.java.lang.MainThread.run(libgcj.so.70)
    admindaemon startup still in progress, waiting...
    as an infinite loop.

    Any ideas?

    thx alot,
    Eisenkopf

  3. #3
    Eisenkopf Guest

    Default

    Hi,

    got it, wrong java version. -_-

    Code:
    update-alternatives --config java
    solved the problem.

  4. #4
    Eisenkopf Guest

    Default

    two posts? mhhh...
    Last edited by Eisenkopf; 06-06-2007 at 12:57 PM.

  5. #5
    Eisenkopf Guest

    Default

    Hi,

    i was wondering why i cant login with user oxadmin and the password i set in the oxinstaller script in the oxadminwebinterface.

    so i took a look in mysql:

    Code:
    mysql> show databases;
    +--------------------+
    | Database           |
    +--------------------+
    | information_schema | 
    | cacti              | 
    | configdb           | 
    | mysql              | 
    | zabbix             | 
    +--------------------+
    5 rows in set (0.00 sec)
    should not be there 2 databases?

    anyway, i deleted the configdb database and started the oxinstaller script a second time

    Code:
    /opt/open-xchange/sbin/oxinstaller -f --oxdb-pass=some_pass --admin-pass=some_pass --maildomain example.com
    as you see, with option -f


    wow, now i get some nice errors.

    Code:
    root@mars:~# /opt/open-xchange/sbin/oxinstaller -f --oxdb-pass=some_pass --admin-pass=some_pass --maildomain example.com
    getopt: unrecognised option `--oxdb-pass=some_pass'
    getopt: unrecognised option `--admin-pass=some_pass'
    getopt: unrecognised option `--maildomain'
    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
    (Re)Starting Admin Daemon
    done
    initializing database (step 2/2)
    Server response:
     Error unmarshaling return; nested exception is: 
            java.lang.ClassNotFoundException: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException (no security manager: RMI class loader disabled)
    Server response:
     Context does not exist
    Server response:
     com.openexchange.admin.exceptions.PoolException: DBP-0002 Category=8 Message=Resolving database for context 1 and server 2 not possible! exceptionID=1824313078-1
    done
    setting up the system
    creating certificates
    Server response:
     com.openexchange.admin.exceptions.PoolException: DBP-0002 Category=8 Message=Resolving database for context 1 and server 2 not possible! exceptionID=1824313078-3
    chmod: Zugriff auf „/etc/ssl/certs/eecert.pem“ nicht möglich: No such file or directory
    chmod: Zugriff auf „/etc/ssl/private/eekey.pem“ nicht möglich: No such file or directory
    chgrp: Zugriff auf „/etc/ssl/private/eekey.pem“ nicht möglich: No such file or directory
    configuring ox admin gui
    configuring mail system
    Server response:
     com.openexchange.admin.exceptions.PoolException: DBP-0002 Category=8 Message=Resolving database for context 1 and server 2 not possible! exceptionID=1824313078-5
    done
    still only one database - oxadmin login doesnt work -



    anyone an idea what exactly to do?


    thx alot,
    Eisenkopf

  6. #6
    Eisenkopf Guest

    Default

    Hi,

    i could solve the first errors...

    i still hang on

    Code:
    Server response:
     Error unmarshaling return; nested exception is: 
            java.lang.ClassNotFoundException: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException (no security manager: RMI class loader disabled)
    Server response:
     Context does not exist
    Server response:
     com.openexchange.admin.exceptions.PoolException: DBP-0002 Category=8 Message=Resolving database for context 1 and server 2 not possible! exceptionID=1824313078-1
    done
    setting up the system
    creating certificates
    Server response:
     com.openexchange.admin.exceptions.PoolException: DBP-0002 Category=8 Message=Resolving database for context 1 and server 2 not possible! exceptionID=1824313078-3
    chmod: Zugriff auf „/etc/ssl/certs/eecert.pem“ nicht möglich: No such file or directory
    chmod: Zugriff auf „/etc/ssl/private/eekey.pem“ nicht möglich: No such file or directory
    chgrp: Zugriff auf „/etc/ssl/private/eekey.pem“ nicht möglich: No such file or directory
    configuring ox admin gui
    configuring mail system
    Server response:
     com.openexchange.admin.exceptions.PoolException: DBP-0002 Category=8 Message=Resolving database for context 1 and server 2 not possible! exceptionID=1824313078-5
    done

  7. #7
    Sneeper Guest

    Thumbs up

    I had similar error messages and taking your "Show Databaces;" as a starting point and using help a lot managed to find a CREATE USER command, which I used to add the oxadmin and openexchange users. I used the same password for both and put in the password that I had used with the oxinstaller. I've replaced the password I used with *'s below.

    mysql> create user oxadmin identified by "********";
    Query OK, 0 rows affected (0.02 sec)

    mysql> create user openexchange identified by "*******";
    Query OK, 0 rows affected (0.00 sec)

    mysql> \q
    Bye
    root@ubuntu:/etc/init.d# mysql -h localhost -u openexchange -p configdb
    Enter password:
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A

    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 2684
    Server version: 5.0.38-Ubuntu_0ubuntu1-log Ubuntu 7.04 distribution

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql>

  8. #8
    Sneeper Guest

    Unhappy

    Thought I had it, but then when I went to section VI. Adding Users ... :

    root@ubuntu:/etc/init.d# /opt/open-xchange/sbin/createuser -A oxadmin -P ox123 --username jan --displayname "Jan" --password de321qa --email jan@azureservices.ca --givenname Jan --surname Sneep --language en_US
    Server response:
    com.openexchange.admin.exceptions.PoolException: DBP-0001 Category=5 Message=Cannot get connection to config DB. exceptionID=-401018674-4
    root@ubuntu:/etc/init.d# mysql -h localhost -u oxadmin -p configdbEnter password:
    ERROR 1044 (42000): Access denied for user 'oxadmin'@'%' to database 'configdb'
    root@ubuntu:/etc/init.d# mysql -h localhost -u openexchange -p configdbEnter password:
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A

    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 2724
    Server version: 5.0.38-Ubuntu_0ubuntu1-log Ubuntu 7.04 distribution

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql> \q
    Bye

    So I managed to get the MySQL openexchange user working, but not the oxadmin user.

    Anyone know how to fix this????


  9. #9
    Eisenkopf Guest

    Default

    could you post your tables please?



    thx alot,
    Eisenkopf

  10. #10
    Sneeper Guest

    Default

    What Tables?

    Only started using Linux recently and Ubuntu within the past couple of weeks. So don't have much knowledge about what comands to use, so you would have to pretty much tell me specifically what to type and where I should be when I type it ... :O)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •