Announcement

Collapse
No announcement yet.

creat ox users error

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

  • creat ox users error

    /opt/open-xchange/sbin/createuser -A "oxadmin" -P "secret" -u "tqiu" -d "terry qiu" -p "secret" -e "pqiu@35post.com" -g "terry" -s "qiu" -l "en_US" -t "Europe/Berlin" -x "Network" -z "35post"

    When I use above command to create a user, the following error appeared:

    Server response:
    com.openexchange.admin.exceptions.PoolException: DBP-0001 Category=5 Message=Can't get connection to config DB. exceptionID=-1638124831-4

    I have insall the ox three time step by step according the Insall guide.
    This make me very sad. Any suggesstions are very appreciated. Thanks!

  • #2
    Can you connect to the database on commandline?
    "mysql -u "youruser" -p"

    Daniel

    Comment


    • #3
      When I create a user I receive the following message:

      Code:
      Server response:
       com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPException: unable to create INBOX
      The GUI is ok and I can login as oxadmin...I also find a user-folder in "Userstore".
      But the users will not be created.

      Can someone help me?

      edit:

      I have following msgs in my log-file:
      Code:
      Mar 14, 2007 1:23:37 PM com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage create
      INFO: User 17 created!
      Mar 14, 2007 1:23:37 PM com.openexchange.admin.rmi.impl.OXUser create
      INFO: Calling create for plugin: open_xchange_admin_plugin_imap
      Mar 14, 2007 1:23:37 PM com.openexchange.admin.rmi.impl.OXUser create
      SEVERE: Error while calling create for plugin: open_xchange_admin_plugin_imap
      com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPException: unable to create INBOX
              at com.openexchange.admin.rmi.impl.OXUserIMAPImpl.create(OXUserIMAPImpl.java:306)
              at com.openexchange.admin.rmi.impl.OXUser.create(OXUser.java:169)
              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:597)
              at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
              at sun.rmi.transport.Transport$1.run(Transport.java:159)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
              at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
              at java.lang.Thread.run(Thread.java:619)
      Mar 14, 2007 1:23:37 PM com.openexchange.admin.rmi.impl.OXUser create
      INFO: Now doing rollback for all everything until now...
      Orlando
      Last edited by Guest; 03-14-2007, 03:28 PM. Reason: update

      Comment


      • #4
        mysql -u pqiu -p

        Daniel, May be the user pqiu can not be create, so mysql -u pqiu -p
        can not connect to the mysql database. Thanks a lot for your response!
        The following is the command result for your review:

        mail:~# mysql -u pqiu -p
        Enter password:
        ERROR 1045 (28000): Access denied for user 'pqiu'@'localhost' (using password: YES)

        Comment


        • #5
          unable to create INBOX

          Today ,I install the ox again, and still can not create the ox user.
          But the error is different, It show that unable to create INBOX.

          The listed below is the create ox user process and the error:


          mail:~# /opt/open-xchange/sbin/createuser -A oxadmin -P secret --username pqiu --displayname "peter qiu" --password qwer1234 --email pqiu@35post.com --givenname peter --surname qiu --language en_US --timezone Asia/Shanghai --department Network --company "Neuros"
          Server response:
          com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: unable to create INBOX

          Any advice or suggestion are very thankful!

          Comment


          • #6
            unable to create INBOX Log information

            The following is the log inf when create the ox user:

            Mar 15, 2007 12:08:52 PM sun.rmi.server.UnicastServerRef logCallException
            FINE: RMI TCP Connection(4)-59.60.10.115: [59.60.10.115] exception:
            com.openexchange.admin.rmi.exceptions.StorageExcep tion: com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: unable to create INBOX
            at com.openexchange.admin.rmi.impl.OXUser.create(OXUs er.java:186)
            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)
            Caused by: com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: unable to create INBOX
            at com.openexchange.admin.rmi.impl.OXUserIMAPImpl.cre ate(OXUserIMAPImpl.java:328)
            at com.openexchange.admin.rmi.impl.OXUser.create(OXUs er.java:169)

            Comment


            • #7
              same problem...

              Code:
              Server response:
               com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPException: unable to create INBOX

              Comment


              • #8
                Yes....now everything is fine!!

                1. create the mailbox with "/" :

                Code:
                cm user/orlando
                sam user/orlando orlando lswiprcd
                2. create the user like wiki

                then you can login.

                orlando

                Comment


                • #9
                  Originally posted by oprocopio View Post
                  same problem...

                  Code:
                  Server response:
                   com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPException: unable to create INBOX

                  Now I got it.

                  Set /etc/imapd.conf
                  Code:
                  autocreatequota:102

                  That's it. Now the createuser script works perferct.

                  Comment

                  Working...
                  X