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 04-19-2010, 11:55 PM
Intermediate Member
 
Posts: 19
Default zmaccts don't work under root

zmaccts don't work under root, it says:
Quote:
ldap_start_tls: Connect error (-11)
additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (unable to get local issuer certificate)
ldap_result: Can't contact LDAP server (-1)
What can I do? zmaccts hasn't any arguments.
Reply With Quote
  #2 (permalink)  
Old 04-20-2010, 02:36 AM
Moderator
 
Posts: 927
Default

Have you tried running this tool as the zimbra user? Most commands staring with "zm" are designed to run as zimbra, not root.
Reply With Quote
  #3 (permalink)  
Old 09-21-2010, 03:03 AM
k_k k_k is offline
Active Member
 
Posts: 40
Default

Hi Dirk,

Even i want to run zmaccts from root user and giving same error message. Yes from zimbra user, its working fine. But we need to provide one read only dashboard to users to show mailbox status. and for that we need to run zmaccts command from root....
is there any way ??
Reply With Quote
  #4 (permalink)  
Old 09-21-2010, 03:53 AM
Moderator
 
Posts: 2,207
Default

What about using su?

As root:
Code:
su - zimbra -c "zmaccts"
Reply With Quote
  #5 (permalink)  
Old 09-21-2010, 03:57 AM
Moderator
 
Posts: 927
Default

I was going to suggest
Code:
sudo -u zimbra /opt/zimbra/bin/zmaccts
but that does not work. I tried Klug's suggestion though and that does work, so go with that one
Reply With Quote
  #6 (permalink)  
Old 09-22-2010, 10:57 PM
k_k k_k is offline
Active Member
 
Posts: 40
Default

hey that worked..thanks a lot
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.