Announcement

Collapse
No announcement yet.

Admin GUI create user problem

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

  • Admin GUI create user problem

    Hi there,

    after setting up OX on a Ubuntu Dapper server I am facing some problems when trying to create new users with the admin GUI.
    GUI gives me the following error output:

    Code:
    Fehlermeldung: com.openexchange.admin.plugins.PluginException: java.net.SocketTimeoutException: Read timed out (SVL-0001,-1343971095-18)
    After switching the logfile output to be more verbose I got the following entries in open-exchange-admin.log:

    Code:
    Jan 6, 2008 6:58:10 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: Folder names determined for default folders:
            Calendar=Kalender       Contact=Kontakte        Task=Aufgaben
    Jan 6, 2008 6:58:10 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: User's default CALENDAR folder successfully created
    Jan 6, 2008 6:58:10 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: User's default CONTACT folder successfully created
    Jan 6, 2008 6:58:10 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: User's default TASK folder successfully created
    Jan 6, 2008 6:58:10 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: User's default INFOSTORE folder successfully created
    Jan 6, 2008 6:58:10 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: All user default folders were successfully created
    Jan 6, 2008 6:58:10 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: User 24 successfully created in context 1
    Jan 6, 2008 6:58:10 PM com.openexchange.admin.storage.mysqlStorage.OXUserMySQLSt                                                                                                  orage create
    INFO: User 24 created!
    Jan 6, 2008 6:58:10 PM com.openexchange.admin.rmi.impl.OXUser create
    SEVERE: unable to create directory: /home/dennis.michalski
    Jan 6, 2008 6:58:10 PM com.openexchange.admin.rmi.impl.OXUser create
    SEVERE: /bin/chown exited abnormally
    Jan 6, 2008 6:58:10 PM com.openexchange.admin.rmi.impl.OXUser create
    SEVERE: /bin/chown: `dennis.michalski:': cannot get the login group of a numeric                                                                                                   UID
    Jan 6, 2008 6:58:10 PM com.openexchange.admin.rmi.impl.OXUser create
    SEVERE: Unable to chown homedirectory: /home/dennis.michalski
    Jan 6, 2008 6:58:40 PM com.openexchange.admin.rmi.impl.OXUserMailfilterImpl crea                                                                                                  te
    SEVERE: java.net.SocketTimeoutException: Read timed out
    Jan 6, 2008 6:58:40 PM com.openexchange.admin.rmi.impl.OXUser create
    SEVERE: Error while calling create for plugin: open_xchange_admin_plugin_mailfil                                                                                                  ter
    com.openexchange.admin.plugins.PluginException: java.net.SocketTimeoutException:                                                                                                   Read timed out
            at com.openexchange.admin.rmi.impl.OXUserMailfilterImpl.create(OXUserMai                                                                                                  lfilterImpl.java:148)
            at com.openexchange.admin.rmi.impl.OXUser.create(OXUser.java:519)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.                                                                                                  java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces                                                                                                  sorImpl.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:4                                                                                                  60)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport                                                                                                  .java:701)
            at java.lang.Thread.run(Thread.java:595)
    Jan 6, 2008 6:58:40 PM com.openexchange.admin.rmi.impl.OXUser create
    INFO: Now doing rollback for everything until now...
    Jan 6, 2008 7:07:08 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: Folder names determined for default folders:
            Calendar=Kalender       Contact=Kontakte        Task=Aufgaben
    Jan 6, 2008 7:07:08 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: User's default CALENDAR folder successfully created
    Jan 6, 2008 7:07:08 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: User's default CONTACT folder successfully created
    Jan 6, 2008 7:07:08 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: User's default TASK folder successfully created
    Jan 6, 2008 7:07:08 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: User's default INFOSTORE folder successfully created
    Jan 6, 2008 7:07:08 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: All user default folders were successfully created
    Jan 6, 2008 7:07:08 PM com.openexchange.tools.oxfolder.OXFolderAdminHelper addUs                                                                                                  erToOXFolders
    INFO: User 25 successfully created in context 1
    Jan 6, 2008 7:07:08 PM com.openexchange.admin.storage.mysqlStorage.OXUserMySQLSt                                                                                                  orage create
    INFO: User 25 created!
    Jan 6, 2008 7:07:08 PM com.openexchange.admin.rmi.impl.OXUser create
    SEVERE: unable to create directory: /home/dennis.michalski
    Jan 6, 2008 7:07:08 PM com.openexchange.admin.rmi.impl.OXUser create
    SEVERE: /bin/chown exited abnormally
    Jan 6, 2008 7:07:08 PM com.openexchange.admin.rmi.impl.OXUser create
    SEVERE: /bin/chown: `dennis.michalski:': cannot get the login group of a numeric                                                                                                   UID
    Jan 6, 2008 7:07:08 PM com.openexchange.admin.rmi.impl.OXUser create
    SEVERE: Unable to chown homedirectory: /home/dennis.michalski
    Jan 6, 2008 7:07:38 PM com.openexchange.admin.rmi.impl.OXUserMailfilterImpl crea                                                                                                  te
    SEVERE: java.net.SocketTimeoutException: Read timed out
    [...]
    As you can see there seems to be a problem when calling chown command. I'm new to OX so I couldn't figure out what exactly OX wants to do at this point. Just for understanding, does OX create a system account for each OX user? If so, this is defintely not done properly here. I have a open-xchange user and a group with the same name but nothing else...
    Maybe this debug output looks familiar to someone, many thanks in advance for your help.

  • #2
    I just tried to create a new OX user with the "createuser" command. This works fine:

    Code:
    /opt/open-xchange/sbin/createuser -c 1 -u jon.doe -d Jon Doe -g Jon -s Doe -p abcdef -e jon.doe@mydomain.com -A oxadmin -P password
    The user can login, send and receive mails without problems. But strangewise I get the following output if I want to see the user details in Admin GUI:

    Code:
    Fehlermeldung: Error occured in: com.openexchange.admin.rmi.extensions.OXUserMailfilterExtension! Errortext: java.net.SocketTimeoutException: Read timed out (SVL-0001,-1343971095-26)
    Quite similar to the problem described above... Is it possible that the OX Admin application does not have certain system rights at some place?

    Comment


    • #3
      Is /etc/pam.d/sieve symlinked to /etc/pam.d/imap? (Or does it have the same content?)

      Comment


      • #4
        Originally posted by Gertjan View Post
        Is /etc/pam.d/sieve symlinked to /etc/pam.d/imap? (Or does it have the same content?)
        Both files have the same content and username/password is correct.

        Comment


        • #5
          and check if this line is in your cyrus.conf :
          Code:
          sieve           cmd="/usr/lib/cyrus/bin/timsieved" listen="localhost:sieve" prefork=0 maxchild=100
          Mani

          Comment


          • #6
            Originally posted by mani View Post
            and check if this line is in your cyrus.conf :
            Code:
            sieve           cmd="/usr/lib/cyrus/bin/timsieved" listen="localhost:sieve" prefork=0 maxchild=100
            Mani
            Yay, thanks alot! Checking that line did the trick. The autoinstaller seems to have a bug at that point, my cyrus.conf had this rather stupid entry:

            Code:
            sieve           cmd="/usr/lib/cyrus/bin//usr/lib/cyrus/bin//usr/lib/cyrus/bin//usr/lib/cyrus/bin//usr/lib/cyrus/bin//usr/lib/cyrus/bin//usr/lib/cyrus/bin//usr/lib/cyrus/bin//usr/lib/cyrus/bin//usr/lib/cyrus/bin//usr/lib/cyrus/bin/timsieved" listen="localhost:sieve" prefork=0 maxchild=100
            After changing this to the right path user creation works fine. Thanks alot again!

            Comment


            • #7
              User creation problem - GUI gives chown error

              Originally posted by mani View Post
              and check if this line is in your cyrus.conf :
              Code:
              sieve           cmd="/usr/lib/cyrus/bin/timsieved" listen="localhost:sieve" prefork=0 maxchild=100
              Mani
              Hi,

              I'm on Ubuntu 7.10 and did a fresh install with the script. Install ran wonderfully, thanks for the beautifull work!!
              I can login to admin (oxadmin) perfectly and create users there; no problem.
              BUT: user cannot login to ox...
              When digging in the log files, I find the above mentioned
              Code:
               SEVERE: /bin/chown: 'pietje.puk': cannot get the login group of a numeric UID May 1, 2008 8:31:11 PM com.openexchange.admin.rmi.impl.OXUser create SEVERE: Unable to chown homedirectory
              I have compared /etc/pam.d/sieve and imap and these are identical (not symlinked)

              I also checked /etc/cyrus.conf and this reads:
              Code:
              # useful if you need to give users remote access to sieve
                      # by default, we limit this to localhost in Debian
                      sieve           cmd="/usr/lib/cyrus/bin/timsieved" listen="localhost:sieve" prefork=0 maxchild=100
              
                      # this one is needed for the notification services
                      notify          cmd="notifyd" listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1
              Creating a user from the CLI works allright - created user is able to login.
              I've compared the permissions in the /home/user dirs, and they don't differ...

              I do have the impression spam control is not properly working. Not sure though.
              (I had to install amavisd-new and procmail manually)

              What might cause this problem?
              Many thanks for your help!!

              Erwin

              Comment

              Working...
              X