zmaccts don't work under root

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
kilg
Posts: 19
Joined: Sat Sep 13, 2014 1:10 am

zmaccts don't work under root

Postby kilg » Tue Apr 20, 2010 1:55 am

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)

[/QUOTE]

What can I do? zmaccts hasn't any arguments.


12237Dirk
Outstanding Member
Outstanding Member
Posts: 902
Joined: Fri Sep 12, 2014 10:10 pm

zmaccts don't work under root

Postby 12237Dirk » Tue Apr 20, 2010 4:36 am

Have you tried running this tool as the zimbra user? Most commands staring with "zm" are designed to run as zimbra, not root.
k_k
Posts: 46
Joined: Fri Sep 12, 2014 11:55 pm

zmaccts don't work under root

Postby k_k » Tue Sep 21, 2010 5:03 am

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 ??
Klug
Elite member
Elite member
Posts: 2358
Joined: Mon Dec 16, 2013 11:35 am
Contact:

zmaccts don't work under root

Postby Klug » Tue Sep 21, 2010 5:53 am

What about using su?
As root:
su - zimbra -c "zmaccts"
12237Dirk
Outstanding Member
Outstanding Member
Posts: 902
Joined: Fri Sep 12, 2014 10:10 pm

zmaccts don't work under root

Postby 12237Dirk » Tue Sep 21, 2010 5:57 am

I was going to suggest

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 :)
k_k
Posts: 46
Joined: Fri Sep 12, 2014 11:55 pm

zmaccts don't work under root

Postby k_k » Thu Sep 23, 2010 12:57 am

hey that worked..thanks a lot :)

Return to “Administrators”

Who is online

Users browsing this forum: MSN [Bot] and 11 guests