Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Creating accounts problem

  1. #1
    Join Date
    Jun 2006
    Posts
    34
    Rep Power
    9

    Default Creating accounts problem

    Hello

    Sorry to make noise like this but I have attached some logs to the thread opened previously by someone else, at http://www.zimbra.com/forums/adminis...w-account.html , but I guess it might have gone unnoticed due to the thread being older.

    I would be most glad if anyone had any ideas on what could be wrong with our setup.

  2. #2
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    Quote Originally Posted by d64 View Post
    I would be most glad if anyone had any ideas on what could be wrong with our setup.
    Please show the output of:
    Code:
    ls -ld /opt/zimbra/openldap-data
    and

    Code:
    ls -l /opt/zimbra/openldap-data
    Thanks!
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  3. #3
    Join Date
    Jun 2006
    Posts
    34
    Rep Power
    9

    Default

    Here..

    Code:
    $ ls -ld /opt/zimbra/openldap-data
    drwxr-xr-x 2 zimbra zimbra 4096 Jan  2 14:48 /opt/zimbra/openldap-data
    $ ls -l /opt/zimbra/openldap-data
    total 18188
    -rw-rw-r-- 1 zimbra zimbra     4096 Jan 15 11:56 alock
    -rw------- 1 zimbra zimbra   126976 Jan 15 12:21 cn.bdb
    -rw------- 1 zimbra zimbra    16384 Jan  2 14:48 __db.001
    -rw------- 1 zimbra zimbra 65544192 Jan  2 14:48 __db.002
    -rw------- 1 zimbra zimbra  2359296 Jan  2 14:48 __db.003
    -rw------- 1 zimbra zimbra   450560 Jan  2 14:48 __db.004
    -rw------- 1 zimbra zimbra    16384 Jan  2 14:48 __db.005
    -rw-r--r-- 1 zimbra zimbra      320 Aug 10 15:58 DB_CONFIG
    -rw------- 1 zimbra zimbra    77824 Jan 15 12:21 displayName.bdb
    -rw------- 1 zimbra zimbra    94208 Jan 15 12:11 dn2id.bdb
    -rw------- 1 zimbra zimbra    16384 Jan 16 12:31 entryCSN.bdb
    -rw------- 1 zimbra zimbra    16384 Jan  3 10:33 entryUUID.bdb
    -rw------- 1 zimbra zimbra     8192 Jan 15 12:21 givenName.bdb
    -rw------- 1 zimbra zimbra   540672 Jan 16 12:31 id2entry.bdb
    -rw-r--r-- 1 zimbra zimbra   247150 Dec 14 01:13 ldap.bak
    -rw------- 1 zimbra zimbra 10475464 Dec 13 18:03 log.0000000003
    -rw------- 1 zimbra zimbra  3868502 Jan 16 12:31 log.0000000004
    -rw------- 1 zimbra zimbra   126976 Jan 15 12:01 mail.bdb
    -rw------- 1 zimbra zimbra    40960 Jan 15 12:01 objectClass.bdb
    -rw------- 1 zimbra zimbra    77824 Jan 15 12:21 sn.bdb
    -rw------- 1 zimbra zimbra    12288 Jan 15 12:11 uid.bdb
    -rw------- 1 zimbra zimbra     8192 Jan 15 12:01 zimbraDomainName.bdb
    -rw------- 1 zimbra zimbra    16384 Jan 15 12:01 zimbraId.bdb
    -rw------- 1 zimbra zimbra    32768 Jan 15 12:01 zimbraMailAlias.bdb
    -rw------- 1 zimbra zimbra     8192 Jan 15 12:01 zimbraMailCatchAllAddress.bdb
    -rw------- 1 zimbra zimbra   106496 Jan 15 12:11 zimbraMailDeliveryAddress.bdb
    -rw------- 1 zimbra zimbra     8192 Jan 15 12:21 zimbraMailForwardingAddress.bdb
    -rw------- 1 zimbra zimbra     8192 Jan  6 16:58 zimbraVirtualHostname.bdb

  4. #4
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    Which release are you running?

    Also, as the zimbra user:

    Code:
    cd /opt/zimbra/openldap-data
    /opt/zimbra/sleepycat/bin/db_stat -c
    and paste the output.

    Thanks!
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  5. #5
    Join Date
    Jun 2006
    Posts
    34
    Rep Power
    9

    Default

    4.5.10

    Code:
    # rpm -qa | grep -i zimbra
    zimbra-core-4.5.10_GA_1575.FC5-20071117095155
    zimbra-snmp-4.5.10_GA_1575.FC5-20071117095155
    zimbra-ldap-4.5.10_GA_1575.FC5-20071117095155
    zimbra-mta-4.5.10_GA_1575.FC5-20071117095155
    zimbra-store-4.5.10_GA_1575.FC5-20071117095155
    zimbra-spell-4.5.10_GA_1575.FC5-20071117095155
    zimbra-logger-4.5.10_GA_1575.FC5-20071117095155
    zimbra-apache-4.5.10_GA_1575.FC5-20071117095155
    Code:
    $ cd /opt/zimbra/openldap-data
    $ /opt/zimbra/sleepycat/bin/db_stat -c
    166     Last allocated locker ID.
    2147M   Current maximum unused locker ID.
    9       Number of lock modes.
    1000    Maximum number of locks possible.
    1000    Maximum number of lockers possible.
    1000    Maximum number of lock objects possible.
    17      Number of current locks.
    92      Maximum number of locks at any one time.
    62      Number of current lockers.
    84      Maximum number of lockers at any one time.
    4294M   Number of current lock objects.
    4294M   Maximum number of lock objects at any one time.
    18M     Total number of locks requested.
    18M     Total number of locks released.
    0       Total number of lock requests failing because DB_LOCK_NOWAIT was set.
    6       Total number of locks not immediately available due to conflicts.
    1       Number of deadlocks.
    0       Lock timeout value.
    0       Number of locks that have timed out.
    0       Transaction timeout value.
    0       Number of transactions that have timed out.
    440KB   The size of the lock region..
    16      The number of region locks granted after waiting.
    29M     The number of region locks granted without waiting.

  6. #6
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    Quote Originally Posted by d64 View Post
    4.5.10

    Code:
    $ cd /opt/zimbra/openldap-data
    $ /opt/zimbra/sleepycat/bin/db_stat -c
    1       Number of deadlocks.
    You've had a deadlock that needs cleaning up. Try the following as the zimbra user:

    Code:
    ldap stop
    cd /opt/zimbra/openldap-data
    /opt/zimbra/sleepycat/bin/db_recover
    ldap start
    And see if that resolves the issue.

    --Quanah
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  7. #7
    Join Date
    Jun 2006
    Posts
    34
    Rep Power
    9

    Default

    This resolved the issue, thanks.

    One small thing is that after the recovery commands ldap start did not restore Zimbra to workable state but I had to do zmcontrol stop/start.

  8. #8
    Join Date
    Jun 2006
    Posts
    34
    Rep Power
    9

    Default More problems

    Since I got this problem solved, it has happened again several times. The ldap info doesn't show a deadlock, but shutting down, running db_recover and starting up again allow me to make changes to users again.

    Any idea what could cause this? I can't find any fault with the server, it has not crashed or even been reset in a long time.

  9. #9
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    Are you using Xen?
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  10. #10
    Join Date
    Jun 2006
    Posts
    34
    Rep Power
    9

    Default

    Quote Originally Posted by quanah View Post
    Are you using Xen?
    Yes we are.

Similar Threads

  1. Problem with multiple accounts / signatures
    By vtx in forum Administrators
    Replies: 6
    Last Post: 04-10-2008, 12:29 PM
  2. 4.0.4 to 4.5.6 upgrade failed in network edition
    By chenthil in forum Administrators
    Replies: 1
    Last Post: 08-27-2007, 09:36 AM
  3. [SOLVED] Simple backup question...
    By dameron in forum Administrators
    Replies: 3
    Last Post: 08-25-2007, 09:36 PM
  4. Creating user accounts with SOAP
    By Andreas in forum Administrators
    Replies: 2
    Last Post: 01-19-2006, 12:17 AM

Posting Permissions

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