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 Display Modes
  #1 (permalink)  
Old 01-08-2007, 03:29 PM
OpenSource Builder
 
Posts: 16
Question developer install and LDAP inject : samplecontacts.xml missing

Hello,

First, Zimbra is really great

I downloaded and installed Zimbra on FreeBSD via the SVN sources. I managed to get it to work by doing manually some tasks that should normally be done during "ant reset-the-world" in ZimbraServer. The problems I have is that, in order to port Zimbra to FreeBSD, things need to be done the clean way. So here are my problems :

# cd zimbra/trunk/ZimbraServer
# ant reset-the-world
[...]
All things OK until
[...]
init-wiki:
[echo] Initializing wiki@host.domain
[java] Initializing folders
[java] Creating folder Template
[java] [] INFO: updating default account from null to wiki@host.domain
[java] Initializing...
[java] Creating wiki page _Footer in folder Template
[java] Cannot import Wiki documents from data/wiki/Template
[java] com.zimbra.cs.service.wiki.WikiServiceException: error: import
[java] at com.zimbra.cs.service.wiki.WikiServiceException.ER ROR(WikiServiceException.java:60)
[java] at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.startImpo rt(WikiUtil.java:411)
[java] at com.zimbra.cs.account.ProvUtil.doImport(ProvUtil.j ava:1257)
[java] at com.zimbra.cs.account.ProvUtil.initNotebook(ProvUt il.java:1209)
[java] at com.zimbra.cs.account.ProvUtil.execute(ProvUtil.ja va:536)
[java] at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1455)
[java] Caused by: com.zimbra.soap.SoapFaultException: Couldn't parse message
[java] at com.zimbra.soap.Soap12Protocol.soapFault(Soap12Pro tocol.java:102)
[java] at com.zimbra.soap.SoapTransport.extractBodyElement(S oapTransport.java:215)
[java] at com.zimbra.soap.SoapTransport.parseSoapResponse(So apTransport.java:191)
[java] at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:214)
[java] at com.zimbra.soap.SoapTransport.invoke(SoapTransport .java:231)
[java] at com.zimbra.cs.zclient.ZMailbox.invoke(ZMailbox.jav a:343)
[java] at com.zimbra.cs.zclient.ZMailbox.createWiki(ZMailbox .java:2325)
[java] at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.createIte m(WikiUtil.java:342)
[java] at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.populateF olders(WikiUtil.java:372)
[java] at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.startImpo rt(WikiUtil.java:408)
[java] ... 4 more

inject:
[echo] Inserting default contacts: user1@host.domain
[java] Exception in thread "main" java.io.FileNotFoundException: data/soap/samplecontacts.xml (No such file or directory)
[java] at java.io.FileInputStream.open(Native Method)
[java] at java.io.FileInputStream.(FileInputStream.java:106)
[java] at com.zimbra.common.util.ByteUtil.getContent(ByteUti l.java:86)
[java] at com.zimbra.soap.SoapTestHarness.runTests(SoapTestH arness.java:240)
[java] at com.zimbra.soap.SoapTestHarness.main(SoapTestHarne ss.java:199)

BUILD FAILED
/usr/home/zozo/zimbra/ZimbraServer/build.xml:412: Java returned: 1
------------------

So two errors : one during init-wiki (I don't understand, but it's not blocking). Here is the content of my data/wiki :
# find data/wiki | grep -v '.svn'
data/wiki
data/wiki/Template
data/wiki/Template/_Footer.wiki
data/wiki/Template/_TemplateStyles.wiki
data/wiki/Template/_TocBodyTemplate.wiki
data/wiki/Template/_TocItemTemplate.wiki
data/wiki/Template/_TemplateStyles_unused.wiki
data/wiki/Template/Logo.gif
data/wiki/Template/_PathBodyTemplate.wiki
data/wiki/Template/_TitleBar.wiki
data/wiki/Template/_Index.wiki
data/wiki/Template/_PathItemTemplate.wiki
data/wiki/Template/_Header.wiki
data/wiki/Template/_SideBar.wiki
data/wiki/Template/_Template.wiki
data/wiki/Template/_PathSeparator.wiki

But the following error makes "ant reset-the-world" fail : you'll notice "java.io.FileNotFoundException: data/soap/samplecontacts.xml (No such file or directory)". The reason is simple :

# find data/soap/ | grep -v '.svn'
data/soap/
data/soap/nps-contacts.xml

There is no file "samplecontacts.xml" in zimbra/trunk/ZimbraServer/data/soap on the SVN repository ! And no "samplesearchfolders.xml" also, which should be used to initialize LDAP contents next.

"ant inject-npscontacts" will fail too, cause there is no "data/soap/nps-contacts-orig.xml" in the SVN, but I can "cp" it from "data/soap/nps-contacts.xml".

So, my questions :
in the current (same thing a month before) SVN repository, where are "zimbra/trunk/ZimbraServer/data/soap/samplecontacts.xml", "zimbra/trunk/ZimbraServer/data/soap/samplesearchfolders.xml", "zimbra/trunk/ZimbraServer/data/soap/nps-contacts-orig.xml" (not very important) and is the error "Cannot import Wiki documents from data/wiki/Template" caused by missing files too ?
Where can I get all of these, or how ?

Please don't give me a link to the thread where someone wrote how to have Zimbra running on FreeBSD, because a FreeBSD port will in no way use ZimbraBuild (it should use tomcat, mysql, openldap, postfix... from ports), and my problem is not FreeBSD-specific, files are missing in the SVN so this could happen on any Linux distro with the developer install.

Thanks for your help !

Last edited by osmedts : 01-09-2007 at 10:13 AM. Reason: Remove real domain name
Reply With Quote
  #2 (permalink)  
Old 03-13-2007, 08:03 AM
Member
 
Posts: 10
Smile I got same problems!

My OS is Windows XP!
Anybody has any comments. Thanks in advance.
Reply With Quote
  #3 (permalink)  
Old 09-16-2007, 09:31 AM
OpenSource Builder
 
Posts: 16
Default

I'm now trying Zimbra 5.0 BETA3. Now, there is a file "ZimbraServer/data/soap/samplecontacts.xml". And no problems to set-up the wiki account.

BUT "ant reset-the-world" is still complaining about a missing data/soap/samplesearchfolders.xml in ZimbraServer. Where can I find this file ?
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0