Results 1 to 6 of 6

Thread: Problems with Wiki / Documents on OSX/PPC

  1. #1
    GadgetGuru is offline Junior Member
    Join Date
    Sep 2006
    Posts
    5
    Rep Power
    8

    Unhappy Problems with Wiki / Documents on OSX/PPC

    Hello,

    I have read as many of the forum entries as are available on the subject of correctly installing the wiki/documents functionality. I am installing the open source version of Zimbra on an OSX/PPC machine.

    My environment includes Apache on port 80, and for Zimbra:

    Port 8080 - Standard non-SSL Webmail Login,
    Port 8443 - SSL Webmail Login, and
    Port 8000 - Zimbra Admin Console.

    To the best of my knowledge, all of the above web-based interfaces seem to work as they should. I have the web GUI working in mixed mode as well. All of the command-line utilities also seem to work properly (for zmprov, I have to add the additional -s hostort parameter). I even have Apache using the mod_jk module properly in order to leverage the AJP 1.3 functionality to get Apache and Tomcat to work well together.

    However, I am unable to create the wiki documents for use by any user.

    Here is my situation: I have the main wiki user on the primary domain, let's call this account wikiONE@primary.com. I have added a second virtual domain to my installation called secondary.com. Inside this second domain, I have created an account called wikiTWO@secondary.com.

    Per the many forum entries on the subject, I have executed the following commands successfully (I have removed the -s parameter from zmprov for the sake of clarity):

    1. zmprov mc default zimbraFeatureNotebookEnabled TRUE
    2. zmprov mcf zimbraNotebookAccount wikiONE@primary.com
    3. zmprov in wikiONE@primary.com password /opt/zimbra/wiki/Template Template

    [In response to the 3rd command listed above, I get the following response:
    Initializing folders
    Initializing...
    Creating wiki document _Footer in folder Template
    Creating wiki document _Header in folder Template
    Creating wiki document _Index in folder Template
    Creating wiki document _PathBodyTemplate in folder Template
    Creating wiki document _PathItemTemplate in folder Template
    Creating wiki document _PathSeparator in folder Template
    Creating wiki document _SideBar in folder Template
    Creating wiki document _Template in folder Template
    Creating wiki document _TemplateStyles in folder Template
    Creating wiki document _TemplateStyles_unused in folder Template
    Creating wiki document _TitleBar in folder Template
    Creating wiki document _TocBodyTemplate in folder Template
    Creating wiki document _TocItemTemplate in folder Template
    Creating file document Logo.gif in folder Template]

    So, now I am ready to create the documents for my virtual domain. I do this by typing in the command:

    4. zmprov in wikiTWO@secondary.com password /opt/zimbra/wiki/Template Template

    When I type this command, I get the following response:

    Initializing folders
    [] INFO: updating default account from wikiONE@primary.com to wikiTWO@secondary.com
    Initializing...
    Creating wiki document _Footer in folder Template
    Cannot import Wiki documents from /opt/zimbra/wiki/Template
    com.zimbra.cs.service.wiki.WikiServiceException: error: import
    at com.zimbra.cs.service.wiki.WikiServiceException.ER ROR(WikiServiceException.java:60)
    at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.startImpo rt(WikiUtil.java:499)
    at com.zimbra.cs.account.ProvUtil.doImport(ProvUtil.j ava:1201)
    at com.zimbra.cs.account.ProvUtil.initNotebook(ProvUt il.java:1153)
    at com.zimbra.cs.account.ProvUtil.execute(ProvUtil.ja va:522)
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1418)
    Caused by: com.zimbra.soap.SoapFaultException: system failure: indexDocument caught Exception
    at com.zimbra.soap.Soap12Protocol.soapFault(Soap12Pro tocol.java:102)
    at com.zimbra.soap.SoapTransport.extractBodyElement(S oapTransport.java:212)
    at com.zimbra.soap.SoapTransport.parseSoapResponse(So apTransport.java:188)
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:210)
    at com.zimbra.soap.SoapTransport.invoke(SoapTransport .java:228)
    at com.zimbra.cs.client.soap.LmcSoapRequest.invoke(Lm cSoapRequest.java:148)
    at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.createWik i(WikiUtil.java:417)
    at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.createIte m(WikiUtil.java:424)
    at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.populateF olders(WikiUtil.java:460)
    at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.startImpo rt(WikiUtil.java:496)
    ... 4 more

    Interestingly enough, regardless of who I log in as within the web client, and I have tried the following users:

    admin@primary.com, wikiONE@primary.com, admin@secondary.com, wikiTWO@secondary.com

    I get the following error when I click on the notebook icon: Error: Document templates missing. Please notify administrator.

    So, what have I done wrong? What can I do to get this functionality, since it seems to be something that would be of great collaborative use?

    Thanks in advance!

    -GadgetGuru

  2. #2
    GadgetGuru is offline Junior Member
    Join Date
    Sep 2006
    Posts
    5
    Rep Power
    8

    Default I figured it out...

    Okay, so here is the deal (at least in my situation). I should have stopped after I issued the third command:

    1. zmprov mc default zimbraFeatureNotebookEnabled TRUE
    2. zmprov mcf zimbraNotebookAccount wikiONE@primary.com
    3. zmprov in wikiONE@primary.com password /opt/zimbra/wiki/Template Template

    It looks like irrespective of whether or not I have virtual domains installed, I only need to install the templates to wikiONE@primary.com. Once I have this working, the wiki automatically appears for admin@secondary.com and all of the other accounts I mentioned in the original post. Sorry to take up the bandwidth!

    -GadgetGuru

  3. #3
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    Default

    zmprov help notebook is your friend in this case.
    Code:
     zmprov help notebook
    
      importNotebook(impn) {name@domain} {password} {directory} {folder}
    
      initNotebook(in) {name@domain} {password} [ {directory} {folder} ]
    
      initDomainNotebook(idn) {name@domain} {password} {domain} 
        [ {directory} {folder} ]
    wiki/documents/notebooks have a tiered configuration. The zimbraNotebookAccount can exist in both the global configuration as well as the domain configuration. The global templates take precedence for any domain that doesn't have the attribute zimbraNotebookAccount defined.

    The zmprov mcf zimbraNotebookAccount wikiONE@primary.com is actually redundant as the zmprov in/idn will set that attribute in the approproiate location.

    Recommended sequence.
    Code:
    zmprov mc default zimbraFeatureNotebookEnabled TRUE
    zmprov in wikiONE@primary.com password /opt/zimbra/wiki/Template Template
    If you want to initialize a additional domain with separate templates
    Code:
    zmprov idn wikiTWO@secondary.com passwd /opt/zimbra/wiki/Template Template
    Note that domain level configuration is done when you initialize documents from within the Admin Console.

  4. #4
    rewster is offline New Member
    Join Date
    Jan 2006
    Posts
    4
    Rep Power
    9

    Default Learn from My Oversite

    This may not pertain to this thread exactly... but it might help people who stumble here... searching for answers.

    I too got the message "Document templates missing. Contact Administrator" after fresh install and provisioning on Mac OS Server 10.4.7.

    The Fix is pretty easy but could easily be over looked. The stock install of zimbra has the document service in the "default" Class of Service turned off (unchecked)...

    Thru the WebAdmin (and thru zmprov as well) if you add a new domian with the default COS and enable wiki/document for that domain... the user (wiki@domain.com) created during this process won't have access to documents nor the templates.

    So the easy work around is to make sure the document level user (wiki@domain.com) has the document service/feature enabled. One can do this by either establishing a new COS which includes the documents service or enabling the documents service on the Documents User specifically.

    I hope this helps and is not too redundant.

  5. #5
    Anilyalla is offline New Member
    Join Date
    Oct 2006
    Posts
    4
    Rep Power
    8

    Default zmprov Failed to Connect host

    Hi,
    This is anil.Iam checking the user (wiki@domain.com) has the document service/feature enabled. Iam trying to establishing a new COS which includes the documents service or enabling the documents service on the Documents User specifically.But when iam tried with the following command.It gives IOException.The Problem described below.

    ./zmprov mc default zimbraFeatureNotebookEnabled TRUE

    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

    Thanks in Advance,
    Anil.

  6. #6
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    Default Make sure the service is running

    If the mailbox service is not running, this command cannot complete.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Sharing Wiki Documents Error
    By LMStone in forum Administrators
    Replies: 5
    Last Post: 12-08-2009, 01:30 PM
  2. How to access files attached in wiki (Documents)
    By Aderium in forum Administrators
    Replies: 1
    Last Post: 03-04-2007, 10:49 PM
  3. Wiki modifications tracking in Documents
    By francis in forum Users
    Replies: 3
    Last Post: 11-07-2006, 05:07 AM
  4. How do I see shared documents?
    By Jazzhands in forum Administrators
    Replies: 2
    Last Post: 10-12-2006, 10:52 AM
  5. Red Hat ES4 - 64 bit - Documents Problem
    By RyanC in forum Installation
    Replies: 4
    Last Post: 09-21-2006, 11:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •