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 02-18-2010, 10:18 AM
Active Member
 
Posts: 38
Angry Troubleshooting

How do you troubleshoot zimlets?

I've had a zimbra support ticket open for two weeks now and all that they do is remove the zimlet and ask me to try again. Over and over without any results.

I don't get any errors in the mailbox.log but the zimlets will just not display.

I have been using these zimlets for a couple years with no problems until version 6.

I cannot find any information on how to troubleshoot a zimlet. Is there a verbose mode I can put it into? Is there some way I can modify it to be more verbose? Is there some magic that can be done to see what the problem is? I am seriously at my wits end. This is a production system and I am seriously worried about the state of the upgrade.

I've read this: ZCS 6.0:Zimlet Developers Guide:Troubleshooting - Zimbra :: Wiki

But that doesn't exactly give me much direction.
Reply With Quote
  #2 (permalink)  
Old 02-18-2010, 11:02 AM
Moderator
 
Posts: 7,928
Default

Perhaps you could provide some background to which zimlet and the issues you are experiencing ?
__________________
Reply With Quote
  #3 (permalink)  
Old 02-18-2010, 12:01 PM
Active Member
 
Posts: 38
Default

I am just interested in breaking down the problem and being capable of troubleshooting it myself now. It should make no difference if it is this particular zimlet I am having trouble with or some other; zimbra_samba & zimbra_posixaccount are the ones I'd like working again.

I am not even confident that those in particular are the cause of the fact that they will not display because they have not been the only ones to go missing. This system has some serious trouble going on since the upgrade and it seems to manifest by refusing to display zimlets even though they install without any errors.

The upgrade also seems to have broken smtp ssl ... dunno yet if they are related.
Reply With Quote
  #4 (permalink)  
Old 02-18-2010, 12:32 PM
y@w y@w is offline
Moderator
 
Posts: 658
Default

I've been wondering the same thing while trying to fight through issues with Zimlets..


There's a few pages in the wiki and documentation, but nothing comprehensive.

Of course, always check Firebug for any freebies.

Have a look at: Troubleshooting SalesForce Zimlet - Zimbra :: Wiki

It's specific to the SalesForce Zimlet, but may be helpful depending upon what you are running into.

If that gets you no where, you can add an account logger for Zimlets via zmprov. See: Zimbra CLI Commands

It would be very helpful if you could post any details of things you're struggling through as well.
__________________
What a n00b!
Reply With Quote
  #5 (permalink)  
Old 02-18-2010, 12:35 PM
y@w y@w is offline
Moderator
 
Posts: 658
Default

Also, a Zimlet problem won't affect SMTP over SSL.

There have been a few people with issues with GoDaddy certificates being lost during upgrades to 6.0, but I'm fairly certain nothing would work if that was the case..
__________________
What a n00b!
Reply With Quote
  #6 (permalink)  
Old 02-18-2010, 01:09 PM
Active Member
 
Posts: 38
Default

Background info:
I've been running a basic 50 user zimbra install since 4 series.
Sometime in series 5 I extended the ldap schema, access list and indexes in slapd.conf.in and also installed the samba & posix extensions. Every upgrade since has just worked. That is until I tried 6.0.1.

After the upgrade several components were missing from the admin interface certificates, backup, ACL, samba, posix, etc...

Removing and reinstalling the missing ones didn't seem to help any nor were any errors that I can find being generated in the logs.

But when we removed all zimlets and installed them one at a time several finally began showing up again. Then one was installed which caused the others to go missing. So we uninstalled them all again and installed them each one at a time with the exception of the apparent problem one(com_zimbra_domainadmin). This kept all of the core zimlets in the interface but still the posix & samba ones do not display.

Durring the last undeploy redeploy cycle, deploying com_zimbra_license would cause the entire admin interface to stick at "Loading..." after login.

This seemingly was caused by the samba zimlet being installed before it. Or as best we can tell since all we think we did to finally get it installed and working was remove just those and redeploy com_zimbra_license. Reinstalling the samba one afterwards doesn't hang the login but still doesn't work...all of this with no sign of an error to be found in the logs....sigh.
Reply With Quote
  #7 (permalink)  
Old 02-18-2010, 01:25 PM
Zimbra Employee
 
Posts: 105
Default

One thing you can do is set the zimlet logging to "DEBUG". That will give you more messages to mailbox.log.

Edit {zcs-install-dir}/conf/log4j.properties

Add the following line (to the bottom):

Code:
log4j.logger.zimbra.zimlet=DEBUG
Restart your server.
Reply With Quote
  #8 (permalink)  
Old 02-18-2010, 02:00 PM
Active Member
 
Posts: 38
Default

Well that got me all excited but at least for these two zimlets I don't seem to get a shred of extra information. Just the same old:

Code:
2010-02-18 15:55:37,585 INFO  [] mailbox - FileUploadServlet received Upload: {zimbra_samba.zip}
2010-02-18 15:55:37,599 INFO  [] soap - DeployZimletRequest
2010-02-18 15:55:37,694 INFO  [Thread-278] [] zimlet - Deploying Zimlet zimbra_samba in LDAP.
2010-02-18 15:55:37,803 INFO  [Thread-278] [] zimlet - Installing Zimlet zimbra_samba on this host.
2010-02-18 15:55:37,805 INFO  [Thread-278] [] zimlet - Upgrading Zimlet zimbra_samba to 6.0.3
2010-02-18 15:55:37,971 INFO  [Thread-278] [] zimlet - Installing Zimlet config for zimbra_samba
2010-02-18 15:55:38,075 INFO  [Thread-278] [] zimlet - Enabling Zimlet zimbra_samba
Reply With Quote
  #9 (permalink)  
Old 02-19-2010, 07:07 AM
Zimbra Employee
 
Posts: 105
Default

Ok. Real quick step back:

1) You have a bunch of zimlets and two of them are not showing in the zimbra web client (zimbra_samba and com_zimbra_license)
2) You use the admin console to deploy and the zimlets appear to deploy (they are listed as deployed in the admin interface)
3) When you use the zimbra web client, they don't show. And no error messages in the logs

Are you using Firefox? Anything error messages (on MacOS, in the "Window > Error Console" and on Windows "Tools > Error Console")?
Reply With Quote
  #10 (permalink)  
Old 02-19-2010, 08:44 AM
Active Member
 
Posts: 38
Default

1. Initially there were more than that missing, currently it is only affecting zimbra_samba & zimbra_posixaccount

2. Most zimlets were deployed on the commandline via zmzimletctl but I did try through the admin console a couple of times.

3. Correct though I have now discovered errors that are not being presented in the zimbra logs by using firebug and IE8's profiler.

In firebug I see error:

e is undefined
[Break on this error] r=e[c]

That section is an if statement where the undefined error is the last line r=e[c]
Code:
if(u){
var s=Dwt.getBounds(u);
var r=this._components[c];
if(c==ZaAppViewMgr.C_APP_CONTENT||c==ZaAppViewMgr.C_TOOLBAR_TOP||c==ZaAppViewMgr.C_TOOLBAR_BOTTOM){
var e=this._views[this._currentView];
r=e[c]
}
In Internet Explorer's profiler I see:

Code:
Expected identifier, string or number  Zimlets-nodev_all.js.zgz.js?v=100202213223, line 17525 character 211


ref:ZaSambaGroupMapping.A_isSpecialNTGroup,type:_CHECKBOX_,msgName:zimbra_samba.MSG_SpecialWindowsGroup,label:zimbra_samba.LBL_SpecialWindowsGroup,trueValue:1,falseValue:0,onChange:ZaTabView.onFormFieldChanged,}
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.