Results 1 to 9 of 9

Thread: Can't add mailbox - gives error

  1. #1
    Join Date
    May 2007
    Posts
    19
    Rep Power
    8

    Default Can't add mailbox - gives error

    Hi, after doing a restore from our backup i couldn't find couple of my mailboxes. I try to add them via the admin panel and i couldn't. Then i try to add them from the command line zmprov gives the error below ;

    prov> ca edibe.guler@...... 123456
    ERROR: account.ACCOUNT_EXISTS (account already exists: edibe.guler@...)

    I searched the forum and find the following thread ;

    http://www.zimbra.com/forums/adminis...g-mailbox.html

    I looked at the mysql tables and i can see them on table ;

    mysql zimbra -e 'select * from mailbox where comment like "edibe%"'

    gives me the account.

    Now i can't neither add nor delete the account with ca or da from the zmprov.

    What should i do?

    Regards
    Gokalp

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    After you performed the restore were there any error messages in the Log Files - Zimbra :: Wiki , and are there any errors showing now ?

  3. #3
    Join Date
    May 2007
    Posts
    19
    Rep Power
    8

    Default What we did actually

    Here is the list;

    1 - Take the whole /opt/zimbra directory while the Zimbra is stopped
    2 - Do a clean OS install
    3 - Do a clean Zimbra install with the same version we took the backup
    4 - Stop Zimbra and remove the whole /opt directory
    5 - Untar the /opt/zimbra to the new server
    6 - Start the Zimbra

    Many of the mailboxes are working seamlessly. But some of them, well, i already described.

    Gokalp

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Then we need to see if there are any error message in your logfiles (linky above) to understand what is happening please.

  5. #5
    Join Date
    May 2007
    Posts
    19
    Rep Power
    8

    Default Logs

    I follow the link you have given. Those files are really big in size and i can't decide which'll be usefull for you to look. Which log files should I send? Should I grep something out of those log files? Can you lead me?

    Thanks
    Gokalp

    Examples ;

    -rw-r--r-- 1 zimbra zimbra 34544206 Mar 28 14:19 zimbra.log
    -rw-r--r-- 1 zimbra zimbra 75617885 Mar 28 04:03 zimbra.log.1

    -rw------- 1 root root 44308615 Mar 28 14:19 maillog

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    grep -i error <logfile>
    - just interested in items since you performed the upgrade.

  7. #7
    Join Date
    May 2007
    Posts
    19
    Rep Power
    8

    Default Some selection of errors in log files just after the installation

    [root@mail log]# grep -i error mailbox.log.2008-03-26 | more
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)

    -----------------

    2008-03-26 23:26:57,546 WARN [ImapServer-12] [ip=192.168.0.99;] security - cmd=Auth; account=ercan.gedik@....; protocol=imap; error=authentication failed for ercan.gedik@....;
    2008-03-26 23:27:18,335 WARN [ImapServer-8] [ip=192.168.0.99;] security - cmd=Auth; account=ercan.gedik@.......; protocol=imap; error=authentication failed for ercan.gedik@....;
    2008-03-26 23:29:54,978 WARN [ImapServer-196] [ip=216.xx.xy.146;] security - cmd=Auth; account=ozgul.altuner@.....; protocol=imap; error=authentication failed for ozgul.altuner@....;
    2008-03-26 23:32:52,343 WARN [Pop3Server-48] [ip=216.xx.xy.176;] security - cmd=Auth; account=mustafa.kocak@.....; protocol=pop3; error=authentication failed for mustafa.kocak@.....;


    Mar 27 09:35:06 mail postfix/trivial-rewrite[17947]: warning: dict_ldap_lookup: Search error -5: Timed out
    Mar 27 10:20:37 mail postfix/error[618]: 0967B25834C: to=<edibe.guler@..>, relay=none, delay=6, status=bounced (....)
    Mar 27 10:36:24 mail postfix/smtpd[3690]: too many errors after RCPT from host202-26-dynamic.56-82-r.retail.telecomitalia.it[82.xxx202]
    Mar 27 10:52:12 mail postfix/smtp[5469]: 5AB2B2583D1: to=<ernisalca@....>, relay=none, delay=17, status=bounced (Host or domain name not found. Name
    service error for name=......com type=A: Host not found)
    Mar 27 12:05:04 mail postfix/trivial-rewrite[9891]: warning: dict_ldap_lookup: Search error -5: Timed out
    Mar 27 12:33:39 mail postfix/smtpd[2424]: warning: dict_ldap_lookup: Search error -5: Timed out
    Mar 27 12:44:54 mail postfix/smtpd[22659]: SSL_accept error from host75-179-static.49-88.tel.....it[88.4xxxx.75]: -1
    Mar 27 13:31:00 mail postfix/trivial-rewrite[2429]: warning: dict_ldap_lookup: Search error -5: Timed out


    -------------------

    For my local user who has bounced 'edibe.guler', i made the following tests ;

    [zimbra@mail ~]$ zmprov
    prov> da edibe.guler@.....
    ERROR: account.NO_SUCH_ACCOUNT (no such account: edibe.guler@.....)
    prov> ca edibe.guler@..... 123456
    ERROR: account.ACCOUNT_EXISTS (account already exists: edibe.guler@...)

    [zimbra@mail ~]$ mysql zimbra -e 'select id,group_id,comment from mailbox where comment like "edibe%"'

    | 246 | 46 | edibe.guler@..... |
    | 247 | 47 | edibe.guler@..... |

    I just want to recreate that account and the others that are in the same situation.

    Gokalp

  8. #8
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    maybe a corruption in LDAP so this may help http://www.zimbra.com/forums/adminis...-solution.html

    remember to take another backup though beforehand !

  9. #9
    Join Date
    May 2007
    Posts
    19
    Rep Power
    8

    Default I will try it

    I appreciate your help. I'll try that fix after 6:00 pm since the other mailboxes working already and let you know what happened.

    Regards
    Gokalp

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 01:42 AM
  2. Replies: 20
    Last Post: 03-18-2008, 06:37 AM
  3. [SOLVED] Debian Etch 32 / 64: MTA not working
    By xflip in forum Installation
    Replies: 2
    Last Post: 01-18-2008, 04:58 AM
  4. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM
  5. Building native libraries on MacOS X
    By ajmas in forum Developers
    Replies: 3
    Last Post: 10-15-2005, 12:00 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
  •