[SOLVED] Find account by UUID

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
MobiusNZ
Advanced member
Advanced member
Posts: 112
Joined: Fri Sep 12, 2014 10:46 pm

[SOLVED] Find account by UUID

Postby MobiusNZ » Sun Jun 12, 2011 6:09 pm

Hi there,
I'm noticing this in my mailbox.log. How can I find out who the ID "be6f5d0f-a825-481f-af7b-7cedc98fc8f6" belongs to?
[QUOTE]2011-06-13 11:05:06,591 WARN [btpool0-17://server.example.com/service/soap/SyncRequest] [ip=192.168.132.254;] SoapEngine - unable to construct SOAP context

com.zimbra.common.service.ServiceException: permission denied: can not access account be6f5d0f-a825-481f-af7b-7cedc98fc8f6

ExceptionId:btpool0-17://server.example.com/service/soap/SyncRequest:1307919906591:5f23acd8459b279f

Code:service.PERM_DENIED

at com.zimbra.common.service.ServiceException.PERM_DENIED(ServiceException.java:278)

at com.zimbra.common.service.ServiceException.DEFEND_ACCOUNT_HARVEST(ServiceException.java:287)

at com.zimbra.soap.ZimbraSoapContext.(ZimbraSoapContext.java:235)

at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:203)

at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:158)

at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:291)

at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:212)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:181)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:814)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)

at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:79)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)

at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:155)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:218)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:422)

at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)

at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.handler.DebugHandler.handle(DebugHandler.java:77)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.Server.handle(Server.java:326)

at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:543)

at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:946)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)

at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)

at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)

at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)

[/QUOTE]


Krishopper
Outstanding Member
Outstanding Member
Posts: 769
Joined: Fri Sep 12, 2014 10:23 pm

[SOLVED] Find account by UUID

Postby Krishopper » Sun Jun 12, 2011 11:17 pm

You can use
zmprov ga be6f5d0f-a825-481f-af7b-7cedc98fc8f6

from the command line
MobiusNZ
Advanced member
Advanced member
Posts: 112
Joined: Fri Sep 12, 2014 10:46 pm

[SOLVED] Find account by UUID

Postby MobiusNZ » Sun Jun 12, 2011 11:30 pm

Thanks.
I get [QUOTE]ERROR: account.NO_SUCH_ACCOUNT (no such account: be6f5d0f-a825-481f-af7b-7cedc98fc8f6)[/QUOTE]
Any ideas on how I can track down what/who/where is attempting this logon?
fyd
Outstanding Member
Outstanding Member
Posts: 356
Joined: Sat Sep 13, 2014 1:36 am

[SOLVED] Find account by UUID

Postby fyd » Mon Jun 27, 2011 8:53 am

[quote user="MobiusNZ"]Thanks.
I get
Any ideas on how I can track down what/who/where is attempting this logon?[/QUOTE]
It turns out that, the exception is generated about a non-existing account or deleted account. I am seeing a lot of these on my mailbox.log after upgrading to 6.0.13 from .10.
Krishopper's command will give results if it exists, and yes it gave me your result. Account doesn't exist.
fyd
Outstanding Member
Outstanding Member
Posts: 356
Joined: Sat Sep 13, 2014 1:36 am

[SOLVED] Find account by UUID

Postby fyd » Mon Jun 27, 2011 11:17 am

imho the subject line doesn't go with the issue we are facing. Maybe this should be addressed with a new thread or subject line should be changed.
User avatar
L. Mark Stone
Elite member
Elite member
Posts: 2129
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 8.8.15 Network Edition
Contact:

[SOLVED] Find account by UUID

Postby L. Mark Stone » Mon Jun 27, 2011 2:12 pm

Any chance the mailbox existed at one time, was moved to another mailbox server, but never purged from the original server?
Just trying to think of a scenario where Zimbra would have a UID for a mailbox which technically no longer exists.
Hope that helps,

Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
Zeta Alliance http://www.zetalliance.org/
MobiusNZ
Advanced member
Advanced member
Posts: 112
Joined: Fri Sep 12, 2014 10:46 pm

[SOLVED] Find account by UUID

Postby MobiusNZ » Mon Jun 27, 2011 5:48 pm

No, we've only got the one Zimbra server (we cluster using DRBD)
User avatar
L. Mark Stone
Elite member
Elite member
Posts: 2129
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 8.8.15 Network Edition
Contact:

[SOLVED] Find account by UUID

Postby L. Mark Stone » Mon Jun 27, 2011 9:11 pm

[quote user="MobiusNZ"]No, we've only got the one Zimbra server (we cluster using DRBD)[/QUOTE]
Any cluster failovers recently? Any chance you have a split brain (in your cluster that is...)?
Can you gracefully failover the cluster and see if the mailbox exists on the other cluster member?
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
Zeta Alliance http://www.zetalliance.org/
MobiusNZ
Advanced member
Advanced member
Posts: 112
Joined: Fri Sep 12, 2014 10:46 pm

[SOLVED] Find account by UUID

Postby MobiusNZ » Mon Jun 27, 2011 10:27 pm

Nope - no failovers recently, and definitely not split brain.
The way we have DRBD set up its impossible for the account to exist on one node and not the other - the filesystems are sync'd atomically.
fyd
Outstanding Member
Outstanding Member
Posts: 356
Joined: Sat Sep 13, 2014 1:36 am

[SOLVED] Find account by UUID

Postby fyd » Tue Jun 28, 2011 5:12 am

[quote user="LMStone"]Any chance the mailbox existed at one time, was moved to another mailbox server, but never purged from the original server?
Just trying to think of a scenario where Zimbra would have a UID for a mailbox which technically no longer exists.
Hope that helps,

Mark[/QUOTE]
Hi Mark, thanks. Good to see you.
Mine is an ldap/mta/proxy along with two mailstore servers. I guess you are right, I've moved some accounts from one mailstore to another, through the standard mailbox move with zmmailbox. I then make sure it doesn't exist there(make sure the account shows the new mailstore as location)

But that was some long time back, and never seen those errors on my previous 6 versions.
So do you think this can happen as the ids were cached by ldap, and now querying it?

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 9 guests