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 09-13-2009, 02:38 AM
Moderator
 
Posts: 7,928
Default V6 Issue with Admin Zimlets

Hi,

Yesterday I migrated from ZCS6GA -> ZCS6GA on another server. The reason is that the original ZCS6GA had been upgraded from V5 and I wanted to work with a clean V6 install.

I followed the Wiki :: Network Edition Distaster Recovery document and all went pretty well apart from a few hickups (Thanks Mike! )

The issue I have is that due to not starting the servers once the install is complete the Zimlets do not get deployed. So I have tried to deploy them using
Code:
su - zimbra
zmzimlet deploy zimlets-network/com_zimbra_backuprestore.zip
This fires off okay but on checking /opt/zimbra/log/mailbox.log I see
Code:
2009-09-13 10:30:28,311 INFO  [btpool0-15] [name=zimbra;ip=192.168.1.100;] soap - DeployZimletRequest
2009-09-13 10:30:28,413 INFO  [Thread-285] [] zimlet - Deploying Zimlet com_zimbra_backuprestore in LDAP.
2009-09-13 10:30:28,549 INFO  [Thread-285] [] zimlet - Installing Zimlet com_zimbra_backuprestore on this host.
2009-09-13 10:30:28,550 INFO  [Thread-285] [] zimlet - deploy
java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(File.java:883)
    at com.zimbra.cs.zimlet.ZimletUtil.writeFile(ZimletUtil.java:611)
    at com.zimbra.cs.zimlet.ZimletUtil.installZimlet(ZimletUtil.java:558)
    at com.zimbra.cs.zimlet.ZimletUtil.deployZimlet(ZimletUtil.java:487)
    at com.zimbra.cs.zimlet.ZimletUtil.deployZimlet(ZimletUtil.java:421)
    at com.zimbra.cs.service.admin.DeployZimlet$DeployThread.run(DeployZimlet.java:98)
    at java.lang.Thread.run(Thread.java:619)
I have even tried un-deploying before I install it. When I list the Zimlets I get
Code:
$ zmzimletctl listZimlets
Installed Zimlet files on this host:
[] WARN: error loading zimlet com_zimbra_cert_manager
java.io.FileNotFoundException: zimlet description not found: com_zimbra_cert_manager.xml
	at com.zimbra.cs.zimlet.ZimletFile.initZimletDescription(ZimletFile.java:227)
	at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:205)
	at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:162)
	at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile.java:148)
	at com.zimbra.cs.zimlet.ZimletUtil.loadZimletsFromDir(ZimletUtil.java:311)
	at com.zimbra.cs.zimlet.ZimletUtil.loadZimlets(ZimletUtil.java:248)
	at com.zimbra.cs.zimlet.ZimletUtil.listInstalledZimletsOnHost(ZimletUtil.java:841)
	at com.zimbra.cs.zimlet.ZimletUtil.listAllZimlets(ZimletUtil.java:910)
	at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1687)
	at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1803)
	com_zimbra_mobilesync
	com_zimbra_ymemoticons
So could this be a specific issue with ZCSV6GA that requires a RFE ?

This also happens with the HSM Zimlet aswell.
__________________
Reply With Quote
  #2 (permalink)  
Old 10-11-2009, 09:00 AM
Active Member
 
Posts: 41
Default

Got the same issue when installing the vtwitter zimlet in Zimbra 6:

Output from /opt/zimbra/log/mailbox.log:

2009-10-11 17:55:46,488 INFO [Thread-1597] [] zimlet - deploy
java.io.FileNotFoundException: zimlet description not found: null
at com.zimbra.cs.zimlet.ZimletFile.initZimletDescript ion(ZimletFile.java:227)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:205)
at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile. java:153)
at com.zimbra.cs.service.admin.DeployZimlet$DeployThr ead.run(DeployZimlet.java:98)
at java.lang.Thread.run(Thread.java:619)

Zimbra version:
zcs-6.0.1_GA_1816.F7.20090911174852.tgz

Last edited by mrcoffee11; 10-12-2009 at 04:36 AM..
Reply With Quote
  #3 (permalink)  
Old 10-15-2009, 02:07 PM
Junior Member
 
Posts: 9
Default

I've encountered the same problem when attempting to enable the Certificate Manager extension, on a fresh install of 6.0.1

/opt/zimbra # zmcontrol -v
Release 6.0.1_GA_1816.RHEL5_20090911164519 CentOS5 NETWORK edition.

/opt/zimbra # zmzimletctl deploy zimlets/com_zimbra_cert_manager.zip
[] INFO: Deploying on z1.<domain-chain>.com
[] INFO: Deploy initiated. (check the servers mailbox.log for the status)
[] INFO: Deploying on z2.<domain-chain>.com
[] INFO: Deploy initiated. (check the servers mailbox.log for the status)
/opt/zimbra #

/opt/zimbra # tail -18 log/mailbox.log
2009-10-15 16:59:39,643 INFO [btpool0-7] [ip=127.0.0.1;] soap - AuthRequest
2009-10-15 16:59:39,732 INFO [btpool0-7] [name=zimbra;ip=127.0.0.1;] soap - GetAllServersRequest
2009-10-15 16:59:40,232 INFO [btpool0-7] [ip=10.xxx.xxx.xxx;] soap - AuthRequest
2009-10-15 16:59:40,315 INFO [btpool0-7] [ip=10.xxx.xxx.xxx;ua=Jakarta Commons-HttpClient/3.0;] mailbox - FileUploadServlet received Upload: { accountId=e0fafd89-1360-xxxx-xxxx-xxxxxxxxxxxx, time=Thu Oct 15 16:59:40 EDT 2009, uploadId=e5af1a4c-26d3-xxxx-xxxx-xxxxxxxxxxxx:602963b6-92ed-xxxx-xxxx-xxxxxxxxxxxx, com_zimbra_cert_manager.zip}
2009-10-15 16:59:40,319 INFO [btpool0-7] [name=zimbra;ip=10.xxx.xxx.xxx;] soap - DeployZimletRequest
2009-10-15 16:59:40,404 WARN [Thread-117] [] zimlet - zimlet description not found: com_zimbra_cert_manager.xml
2009-10-15 16:59:40,407 INFO [Thread-117] [] zimlet - Deploying Zimlet com_zimbra_cert_manager in LDAP.
2009-10-15 16:59:40,516 INFO [Thread-117] [] zimlet - Installing Zimlet com_zimbra_cert_manager on this host.
2009-10-15 16:59:40,517 INFO [Thread-117] [] zimlet - deploy
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.createNewFile(File.java:883)
at com.zimbra.cs.zimlet.ZimletUtil.writeFile(ZimletUt il.java:611)
at com.zimbra.cs.zimlet.ZimletUtil.installZimlet(Ziml etUtil.java:558)
at com.zimbra.cs.zimlet.ZimletUtil.deployZimlet(Zimle tUtil.java:487)
at com.zimbra.cs.zimlet.ZimletUtil.deployZimlet(Zimle tUtil.java:421)
at com.zimbra.cs.service.admin.DeployZimlet$DeployThr ead.run(DeployZimlet.java:98)
at java.lang.Thread.run(Thread.java:619)
/opt/zimbra #

Does anyone have any suggestions for a workaround?

.Dave
Reply With Quote
  #4 (permalink)  
Old 10-26-2009, 09:47 AM
Member
 
Posts: 13
Default

I encountered the same issue on 6.0.2 (among others) on Ubuntu after an upgrade. After some debugging and decompiling of code we determined it was a permissions issue.

The zimbra home folder was owned by root and was stopping the zmzimletctl program from unzipping the properties files into the /opt/zimbra/zimlet-properties folder.

See full description on this post... ZCS 6.0.2 Admin Interface Missing Features and/or Broken
Reply With Quote
  #5 (permalink)  
Old 10-26-2009, 11:54 AM
Active Member
 
Posts: 41
Default

Sounds great so I tried it. Looks like the folder was already there with the correct rights. ZChanged the /opt/zimbra rights to be sure.
Installed vtwitter... it failed. Other zimlets install without a problem.
Think it's a vtwitter issue in combination with 6.01
Reply With Quote
  #6 (permalink)  
Old 10-26-2009, 12:28 PM
Member
 
Posts: 13
Default

mrcoffee - your issue is slightly different than the others that were posted. Most were reporting a JAVA exception of "java.io.IOException: No such file or directory" as part of the installation.

Your stack trace is...

2009-10-11 17:55:46,488 INFO [Thread-1597] [] zimlet - deploy
java.io.FileNotFoundException: zimlet description not found: null
at com.zimbra.cs.zimlet.ZimletFile.initZimletDescript ion(ZimletFile.java:227)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:205)
at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile. java:153)
at com.zimbra.cs.service.admin.DeployZimlet$DeployThr ead.run(DeployZimlet.java:98)
at java.lang.Thread.run(Thread.java:619)

Judging by the code and the message it appears that you should look into the /opt/zimbra/zimlets-deployed for a subfolder with your zimlet name. In that folder it should have an .xml file that contains a description="" attribute...

e.g. <zimlet name="com_zimbra_license" version="6.0" description="License Management for Admin UI" extension="true">

If that file is missing then it could explain the problem you are getting. And if so it is likely like you suspect that it is a zimlet designed for older versions of zimbra.
Reply With Quote
  #7 (permalink)  
Old 10-26-2009, 12:59 PM
Active Member
 
Posts: 41
Default

Thank a lot for your time
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.