Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-19-2010, 05:13 AM
Active Member
 
Posts: 47
Default mail.NO_SUCH_ITEM (Constant reminder of non-existant calendar-item

An element (An ivitation sent by an external user) in my colleagues Calendar is impossible to delete, due to the fact that it does not exist. (Even though it shows up in his Calendar. -But when we want to view it (or delete it) through the reminder, or click on the calendar-element, we get the following error message:
Code:
Element "72053" finnes ikke.
#(Element "72053" does not exist) 
method:	GetMsgRequest
msg:	no such item: 72053
code:	mail.NO_SUCH_ITEM
detail:	soap:Sender
trace:	btpool0-79://mail.server.com/service/soap/GetMsgRequest:1274270660045:2175379101ce4287
request:	

Body: {
  GetMsgRequest: {
    _jsns: "urn:zimbraMail",
    m: {
      html: 1,
      id: "72053-72052",
      max: 100000
     }
   }
 },
Header: {
  context: {
    _jsns: "urn:zimbra",
    account: {
      _content: "colleague@company.com",
      by: "name"
     },
    authToken: "(removed)",
    notify: {
      seq: 3
     },
    session: {
      _content: 14203,
      id: 14203
     },
    userAgent: {
      name: "ZimbraWebClient - FF3.0 (Win)",
      version: "6.0.5_GA_2213.UBUNTU8"
     }
   }
 }
I have tried to run zmprov rim, and I have tried to run repair on the database, with no luck. I have also done a search through his .msg-files, without finding the missing item.

Since this appointment is set with a reminder, it is extremely annoying for my colleague.

My question is: How do I delete something that is not there, but still shows up in my colleagues web-client?

Thanks upfront for any help.

Last edited by primaxx; 05-19-2010 at 05:23 AM..
Reply With Quote
  #2 (permalink)  
Old 05-19-2010, 08:09 AM
Moderator
 
Posts: 1,554
Default

you might have to remove it from the database. you can see if its in there

first you have to get the mailbox id of the account

Code:
zmprov gmi <accout>
it will return the mailbox id, a number, lets say for example its 187. to find out the mboxgroup just do

Code:
expr 187 % 100
this would return '87'. so the database is in mboxgroup87. now do

Code:
/opt/zimbra/mysql/bin/mysql mboxgroup87
mysql> select * from mail_item where mailbox_id=187 and id=72053;
see what that gives you. the 3rd column 'type' will identify the type of item it is, like 5 is message, 6 is a contact, 11 is an appointment i think.

if this looks like hte offending item, you can do

Code:
mysql> delete from mail_item where mailbox_id=187 and id=72053;
Reply With Quote
  #3 (permalink)  
Old 05-19-2010, 11:39 PM
Active Member
 
Posts: 47
Default

Thank you very much Bdial!

Unfortunately the problem still exists, due to the fact that there is no element in the database with the ID 72053. (I also tried the query without the mailbox_id, but got empty set as a result in both queries.)

I must admit though, that I took a slightly different approach than what you described. I had to do like this:
Code:
mysql
mysql> use mboxgroup41;
mysql> select * from mail_item where mailbox_id=41 and id=72053;
mysql> Empty set (0.15 sec)


mysql> select * from mail_item where id=72053;
mysql> Empty set (0.15 sec)
-But Zimbra's webUI is obviously getting this information from somewhere. Which other table could it be?
(I am, by the way, 100 % sure mboxgroup41 is the correct one. I have tried, and found, other elements in that base.)

Thanks again for any help, I really appretiate it!
Reply With Quote
  #4 (permalink)  
Old 05-21-2010, 04:16 AM
Active Member
 
Posts: 47
Default Bump

Bump...
Reply With Quote
  #5 (permalink)  
Old 05-26-2010, 05:51 AM
Active Member
 
Posts: 47
Default

Bump again...
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.