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
  #11 (permalink)  
Old 11-27-2007, 10:39 AM
Active Member
 
Posts: 45
Default

So are we just outta luck on this one? I was really hoping to move our entire intranet onto Zimbra, then I could finally convince the higher ups to pony up for NE, but I'll need to host more than .txt files to make everybody happy...
Reply With Quote
  #12 (permalink)  
Old 11-27-2007, 11:06 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Is this a working server or just a test server? Could you wipe Zimbra and reinstall the RC2 and see if your problems go away? If you can't wipe it then you really should file these problems in bugzilla.
__________________
Regards


Bill
Reply With Quote
  #13 (permalink)  
Old 11-27-2007, 11:16 AM
Active Member
 
Posts: 45
Default

Unfortunately it is a working server (I know, but I'm willing to take the risk), so wiping is a no-go. I already posted to bugzilla Bug 21485 - Can only upload .txt files into Briefcase
I'm grepping through all the log files I can, and it just doesn't seem to throw an error anywhere. Turned on the debug window and still don't see anything. Is it possible that my OS (Centos 4.4) is blocking these extensions somehow, and if so where might I look?
Reply With Quote
  #14 (permalink)  
Old 11-27-2007, 11:21 AM
Former Zimbran
 
Posts: 5,606
Default

We can't seem to repo. I just tried it on 3 different installs
CentOS 4
Ubuntu 6.06
MacOS X.10

Can you give me access to your server, and I can take a look?
If this is a bug, we need to fix it before it goes GA
Reply With Quote
  #15 (permalink)  
Old 11-27-2007, 12:07 PM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by jpcaldwell View Post
Unfortunately it is a working server (I know, but I'm willing to take the risk), so wiping is a no-go. I already posted to bugzilla Bug 21485 - Can only upload .txt files into Briefcase
I'm grepping through all the log files I can, and it just doesn't seem to throw an error anywhere. Turned on the debug window and still don't see anything. Is it possible that my OS (Centos 4.4) is blocking these extensions somehow, and if so where might I look?
I can't imagine it would be the o/s, I use CentOS myself and don't have any problems uploading files to the Briefcase. Let John have a look at your server (if you can) and we'll see what he finds. As he said, if it's a bug it really does need to be fixed.
__________________
Regards


Bill
Reply With Quote
  #16 (permalink)  
Old 11-27-2007, 12:09 PM
Active Member
 
Posts: 45
Default

@jholder, pm'd you the login info, thanks for the help.
Reply With Quote
  #17 (permalink)  
Old 11-27-2007, 12:33 PM
Former Zimbran
 
Posts: 5,606
Default

Looks like this is a bug.

When a user has NE installed with 4.5, and upgrades to a 5.0 Open Source, convertd gets removed (it's a NE component).

Looks like there is a class somewhere that is hanging out.

Because of this, it tries to use the html converter (which doesn't exist), thus it fails on upload.

txt succeeds because there's no conversion for that.

I'm looking more into it now.
Reply With Quote
  #18 (permalink)  
Old 11-27-2007, 03:28 PM
Former Zimbran
 
Posts: 5,606
Default

before we Go any further, please make a full backup of your server.

This fix only applies to users who have downgraded from NE, and are now running 5.0.

When getting e-mails or when uploading to the briefcase, you may get an error:
Code:
ParsedMessage - exception while analyzing message; message will be partially indexed
java.lang.NullPointerException
        at com.zimbra.cs.mime.MimeHandlerManager.getMimeHandler(MimeHandlerManager.java:83)
        at com.zimbra.cs.mime.ParsedMessage.analyzePart(ParsedMessage.java:786)
        at com.zimbra.cs.mime.ParsedMessage.analyzeMessage(ParsedMessage.java:732)
        at com.zimbra.cs.mime.ParsedMessage.analyze(ParsedMessage.java:286)
        at com.zimbra.cs.lmtpserver.ZimbraLmtpBackend.deliverMessageToLocalMailboxes(ZimbraLmtpBackend.java:291)
        at com.zimbra.cs.lmtpserver.ZimbraLmtpBackend.deliver(ZimbraLmtpBackend.java:135)
        at com.zimbra.cs.lmtpserver.LmtpHandler.processMessageData(LmtpHandler.java:398)
        at com.zimbra.cs.lmtpserver.TcpLmtpHandler.continueDATA(TcpLmtpHandler.java:66)
        at com.zimbra.cs.lmtpserver.LmtpHandler.doDATA(LmtpHandler.java:364)
        at com.zimbra.cs.lmtpserver.LmtpHandler.processCommand(LmtpHandler.java:174)
        at com.zimbra.cs.lmtpserver.TcpLmtpHandler.processCommand(TcpLmtpHandler.java:60)
        at com.zimbra.cs.tcpserver.ProtocolHandler.processConnection(ProtocolHandler.java:212)
        at com.zimbra.cs.tcpserver.ProtocolHandler.run(ProtocolHandler.java:179)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:619)
or

Code:
imeHandlerManager - Unable to instantiate MIME handler
java.lang.ClassNotFoundException: extension convertd not found
        at com.zimbra.cs.extension.ExtensionUtil.loadClass(ExtensionUtil.java:157)
        at com.zimbra.cs.mime.MimeHandlerManager.loadHandler(MimeHandlerManager.java:131)
        at com.zimbra.cs.mime.MimeHandlerManager.getMimeHandler(MimeHandlerManager.java:81)
        at com.zimbra.cs.mime.ParsedDocument.init(ParsedDocument.java:70)
If you are not running RC2, then please do not import this file. You should grab the file from the latest available source (ZimbraServer/conf/ldap/zimbra_mimehandlers.ldif)

After your backup has completed, run the following command:
Code:
ldapdelete -D uid=zimbra,cn=admins,cn=zimbra -w {password} -h `zmhostname` -x -r cn=mime,cn=config,cn=zimbra
This deletes the mime headers from ldap. Then import the ldif file:
Code:
ldapmodify -D uid=zimbra,cn=admins,cn=zimbra -w {password} -h `zmhostname` -x -a -f {location}/zimbra_mimehandlers.ldif
The zimbra ldap password can be found by running:
zmlocalconfig -s | grep password
and look for the zimbra ldap password entry

Also, make sure that viewing as html is turned off. For each user, run:
Code:
zmprov ma user@mail.domain.com zimbraFeatureViewInHtmlEnabled FALSE;
Then make sure convertd is turned offin COS by running:
Code:
ldapsearch -x -h `zmhostname` -LLL -b "" -D "uid=zimbra,cn=admins,cn=zimbra" "(|(zimbraFeatureViewInHtmlEnabled=TRUE)(zimbraAttachmentsViewInHtmlOnly=TRUE))" -w `zmlocalconfig -s -m nokey zimbra_ldap_password` dn zimbraAttachmentsViewInHtmlOnly zimbraFeatureViewInHtmlEnabled
For each COS, disable view as html using zmprov.


Good luck!!
Reply With Quote
  #19 (permalink)  
Old 11-27-2007, 03:32 PM
Former Zimbran
 
Posts: 5,606
Default RC2 MIME File

Code:
# for storing mime config
dn: cn=mime,cn=config,cn=zimbra
objectclass: organizationalRole
cn: mime
description: for storing MIME configuration

dn: cn=message/rfc822,cn=mime,cn=config,cn=zimbra
zimbraMimeType: message/rfc822
cn: message/rfc822
objectclass: zimbraMimeEntry
zimbraMimeIndexingEnabled: TRUE
zimbraMimeHandlerClass: MessageRFC822Handler
description: Mail Message

dn: cn=text/html,cn=mime,cn=config,cn=zimbra
zimbraMimeType: text/html
cn: text/html
objectclass: zimbraMimeEntry
zimbraMimeIndexingEnabled: TRUE
zimbraMimeHandlerClass: com.zimbra.cs.mime.handler.TextHtmlHandler
zimbraMimeFileExtension: html
zimbraMimeFileExtension: htm
description: HTML Document

dn: cn=text/enriched,cn=mime,cn=config,cn=zimbra
zimbraMimeType: text/enriched
cn: text/enriched
objectclass: zimbraMimeEntry
zimbraMimeIndexingEnabled: TRUE
zimbraMimeHandlerClass: TextEnrichedHandler
zimbraMimeFileExtension: txe
description: Enriched Text Document

dn: cn=text/plain,cn=mime,cn=config,cn=zimbra
zimbraMimeType: text/plain
cn: text/plain
objectclass: zimbraMimeEntry
zimbraMimeIndexingEnabled: TRUE
zimbraMimeHandlerClass: TextPlainHandler
zimbraMimeFileExtension: text
zimbraMimeFileExtension: txt
description: Plain Text Document

dn: cn=text/calendar,cn=mime,cn=config,cn=zimbra
zimbraMimeType: text/calendar
cn: text/calendar
objectclass: zimbraMimeEntry
zimbraMimeIndexingEnabled: TRUE
zimbraMimeHandlerClass: TextCalendarHandler
zimbraMimeFileExtension: ics
zimbraMimeFileExtension: vcs
description: iCalendar Document

dn: cn=all,cn=mime,cn=config,cn=zimbra
zimbraMimeType: all
cn: all
objectclass: zimbraMimeEntry
zimbraMimeIndexingEnabled: TRUE
zimbraMimeHandlerClass: UnknownTypeHandler
description: All Document
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.