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

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-02-2009, 02:41 PM
Loyal Member
 
Posts: 83
Default zmzimletctl deploy zimbra_posixaccount.zip - ERROR -

I'm trying to deploy the posix account zimlet on the commandline and I'm getting the below error. I'm trying to script this out. What am I doing wrong?

Here's my config_template:
PHP Code:
<zimletConfig name="zimbra_posixaccount" version="4">
    <global>
           <
property name="loginShells">/bin/bash,/bin/sh,/bin/false</property>        
        <
property name="homePath">/home/%u</property>        
           <
property name="gidBase">1000</property>        
           <
property name="uidBase">1000</property>   
        <
property name="ldapSuffix">dc=example,dc=org</property>
        <
property name="ldapGroupSuffix">ou=groups</property>
    </global>
</
zimletConfig
The erroring output:
Code:
$ zmzimletctl deploy /opt/zimbra/zimlets-admin-extra/zimbra_posixaccount.zip
[] INFO: Deploying on zmail.example.org
[] INFO: Deploy initiated.  (check the servers mailbox.log for the status)
[zimbra@zmail ~]$ zmzimletctl enable /opt/zimbra/zimlets-admin-extra/zimbra_posixaccount
[] INFO: Enabling Zimlet /opt/zimbra/zimlets-admin-extra/zimbra_posixaccount
[] ERROR: Error
com.zimbra.cs.zimlet.ZimletException: Cannot enable Zimlet /opt/zimbra/zimlets-admin-extra/zimbra_posixaccount
        at com.zimbra.cs.zimlet.ZimletException.CANNOT_ENABLE(ZimletException.java:68)
        at com.zimbra.cs.zimlet.ZimletUtil.setZimletEnable(ZimletUtil.java:733)
        at com.zimbra.cs.zimlet.ZimletUtil.enableZimlet(ZimletUtil.java:748)
        at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1552)
        at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1606)
Caused by: com.zimbra.cs.account.AccountServiceException: no such zimlet: /opt/zimbra/zimlets-admin-extra/zimbra_posixaccount
ExceptionId:main:1238701089267:c0f7e13e514f2d4c
Code:account.NO_SUCH_ZIMLET
        at com.zimbra.cs.account.AccountServiceException.NO_SUCH_ZIMLET(AccountServiceException.java:215)
        at com.zimbra.cs.zimlet.ZimletUtil.setZimletEnable(ZimletUtil.java:727)
        ... 3 more
And, the log...mailbox.log
Code:
2009-04-02 14:37:55,536 INFO  [btpool0-3] [] AuthProvider - Adding auth provider: zimbra com.zimbra.cs.service.ZimbraAuthProvider
2009-04-02 14:37:55,537 INFO  [btpool0-3] [ip=127.0.0.1;] soap - AuthRequest
2009-04-02 14:37:55,759 INFO  [btpool0-3] [name=zimbra;ip=127.0.0.1;] soap - GetAllServersRequest
2009-04-02 14:37:55,958 INFO  [btpool0-3] [ip=10.0.0.14;] soap - AuthRequest
2009-04-02 14:37:56,128 INFO  [btpool0-3] [ip=10.0.0.14;ua=Jakarta Commons-HttpClient/3.0;] mailbox - FileUploadServlet received Upload: { accountId=e0fafd89-1360-11d9-8661-000a95d98ef2, time=Thu Apr 02 14:37:56 CDT 2009, uploadId=a04655b3-93e2-432a-bfd9-220179f53111:6e510a8a-8885-40d2-abb6-a1e057a3c89b, zimbra_posixaccount.zip}
2009-04-02 14:37:56,142 INFO  [btpool0-3] [name=zimbra;ip=10.0.0.14;] soap - DeployZimletRequest
2009-04-02 14:37:56,202 INFO  [Thread-54] [] zimlet - Deploying Zimlet zimbra_posixaccount in LDAP.
2009-04-02 14:37:56,565 INFO  [Thread-54] [] zimlet - Installing Zimlet zimbra_posixaccount on this host.
2009-04-02 14:37:56,805 INFO  [Thread-54] [] zimlet - Installing Zimlet config for zimbra_posixaccount
2009-04-02 14:37:56,916 INFO  [Thread-54] [] zimlet - Enabling Zimlet zimbra_posixaccount
2009-04-02 14:43:35,336 INFO  [btpool0-3] [ip=127.0.0.1;] soap - GetDomainInfoRequest
2009-04-02 14:43:38,654 INFO  [btpool0-5] [ip=127.0.0.1;] soap - GetDomainInfoRequest
2009-04-02 14:43:43,400 INFO  [btpool0-5] [ip=127.0.0.1;] soap - GetDomainInfoRequest
2009-04-02 14:43:43,590 INFO  [btpool0-4] [ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - BatchRequest
2009-04-02 14:43:43,590 INFO  [btpool0-4] [ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - (batch) GetVersionInfoRequest
2009-04-02 14:43:43,630 INFO  [btpool0-4] [ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetDomainInfoRequest
2009-04-02 14:43:58,470 INFO  [btpool0-0] [ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - AuthRequest
2009-04-02 14:43:59,003 INFO  [btpool0-0] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetInfoRequest
2009-04-02 14:43:59,609 INFO  [btpool0-0] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAdminExtensionZimletsRequest
2009-04-02 14:44:01,430 INFO  [btpool0-4] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAdminExtensionZimletsRequest
2009-04-02 14:44:01,612 INFO  [btpool0-4] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetLDAPEntriesRequest
2009-04-02 14:44:01,708 INFO  [btpool0-4] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - CreateLDAPEntryRequest
2009-04-02 14:44:01,956 INFO  [btpool0-4] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAdminSavedSearchesRequest
2009-04-02 14:44:02,006 INFO  [btpool0-4] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - ModifyAdminSavedSearchesRequest
2009-04-02 14:44:02,157 INFO  [btpool0-4] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - SearchDirectoryRequest
2009-04-02 14:44:02,279 INFO  [btpool0-0] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllServersRequest
2009-04-02 14:44:02,291 INFO  [btpool0-4] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - SearchDirectoryRequest
2009-04-02 14:44:02,372 INFO  [btpool0-0] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllConfigRequest
2009-04-02 14:44:02,386 INFO  [btpool0-4] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllServersRequest
2009-04-02 14:44:02,485 INFO  [btpool0-4] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAdminSavedSearchesRequest
2009-04-02 14:44:02,616 INFO  [btpool0-3] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetLDAPEntriesRequest
2009-04-02 14:44:06,364 INFO  [btpool0-3] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetServiceStatusRequest
2009-04-02 14:44:06,523 INFO  [btpool0-3] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - SearchDirectoryRequest
2009-04-02 14:44:08,493 INFO  [btpool0-3] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetLDAPEntriesRequest
2009-04-02 14:44:12,043 INFO  [btpool0-3] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllZimletsRequest
2009-04-02 14:44:14,718 INFO  [btpool0-3] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllZimletsRequest
2009-04-02 14:44:18,262 INFO  [btpool0-3] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetLDAPEntriesRequest
2009-04-02 14:44:20,385 INFO  [btpool0-3] [name=admin@example.org;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetLDAPEntriesRequest
Now, here's what it looks like doing via the admin UI:
Code:
2009-04-02 15:02:52,842 INFO  [btpool0-3] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - UndeployZimletRequest
2009-04-02 15:02:52,845 INFO  [Thread-122] [] zimlet - Uninstalling Zimlet zimbra_posixaccount from LDAP.
2009-04-02 15:02:52,941 INFO  [btpool0-3] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllZimletsRequest
2009-04-02 15:02:53,056 INFO  [Thread-122] [] zimlet - Removing Zimlet zimbra_posixaccount from COS default
2009-04-02 15:02:53,129 INFO  [btpool0-3] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllZimletsRequest
2009-04-02 15:02:57,864 INFO  [btpool0-3] [ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - BatchRequest
2009-04-02 15:02:57,864 INFO  [btpool0-3] [ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - (batch) GetVersionInfoRequest
2009-04-02 15:02:57,900 INFO  [btpool0-3] [ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetDomainInfoRequest
2009-04-02 15:03:04,165 INFO  [btpool0-5] [ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - AuthRequest
2009-04-02 15:03:04,262 INFO  [btpool0-5] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetInfoRequest
2009-04-02 15:03:05,035 INFO  [btpool0-5] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAdminExtensionZimletsRequest
2009-04-02 15:03:06,468 INFO  [btpool0-5] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAdminSavedSearchesRequest
2009-04-02 15:03:06,522 INFO  [btpool0-5] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - SearchDirectoryRequest
2009-04-02 15:03:06,975 INFO  [btpool0-5] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - SearchDirectoryRequest
2009-04-02 15:03:06,995 INFO  [btpool0-4] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllServersRequest
2009-04-02 15:03:07,042 INFO  [btpool0-5] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllConfigRequest
2009-04-02 15:03:07,089 INFO  [btpool0-4] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllServersRequest
2009-04-02 15:03:07,159 INFO  [btpool0-4] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAdminSavedSearchesRequest
2009-04-02 15:03:07,782 INFO  [btpool0-4] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetServiceStatusRequest
2009-04-02 15:03:07,938 INFO  [btpool0-4] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - SearchDirectoryRequest
2009-04-02 15:03:11,583 INFO  [btpool0-4] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllZimletsRequest
2009-04-02 15:03:13,261 INFO  [btpool0-4] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllServersRequest
2009-04-02 15:03:15,025 INFO  [btpool0-4] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllZimletsRequest
2009-04-02 15:03:42,768 INFO  [btpool0-4] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllZimletsRequest
2009-04-02 15:04:21,562 INFO  [btpool0-5] [ip=10.0.0.101;ua=Mozilla/5.0 (Windows;; U;; Windows NT 5.1;; en-US;; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729);] mailbox - FileUploadServlet received Upload: { accountId=0565ab02-6f33-4323-858b-f8cc5b09bfc0, time=Thu Apr 02 15:04:21 CDT 2009, uploadId=a04655b3-93e2-432a-bfd9-220179f53111:a1968edd-958b-4a2b-8944-17bf86924f57, zimbra_posixaccount.zip}
2009-04-02 15:04:21,603 INFO  [btpool0-5] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - DeployZimletRequest
2009-04-02 15:04:21,703 INFO  [Thread-166] [] zimlet - Deploying Zimlet zimbra_posixaccount in LDAP.
2009-04-02 15:04:21,931 INFO  [Thread-166] [] zimlet - Installing Zimlet zimbra_posixaccount on this host.
2009-04-02 15:04:22,161 INFO  [Thread-166] [] zimlet - Installing Zimlet config for zimbra_posixaccount
2009-04-02 15:04:22,248 INFO  [btpool0-5] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - DeployZimletRequest
2009-04-02 15:04:22,309 INFO  [Thread-166] [] zimlet - Enabling Zimlet zimbra_posixaccount
2009-04-02 15:04:22,463 INFO  [Thread-166] [] zimlet - Skipping on zmail.ptest.us
2009-04-02 15:04:22,755 INFO  [btpool0-5] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - DeployZimletRequest
2009-04-02 15:04:22,823 INFO  [btpool0-5] [name=admin@ptest.us;mid=1;ip=10.0.0.101;ua=ZimbraWebClient - FF3.0 (Win);] soap - GetAllZimletsRequest
Thanks in advance,
todd_dsm

Don't forget to Vote for this RFE:
RFE: A place To Display the contents of 'My Documents'
Reasoning: It's new, bold, and cool.

Last edited by todd_dsm; 10-08-2010 at 10:46 AM..
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.