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 04-30-2010, 09:24 AM
srw srw is offline
Starter Member
 
Posts: 2
Default [SOLVED] Help! I broke it.

running: zcs open source edition 6.06 on Debian 4.

Hi. Today I was trying to add a transport table as described on: Transport Table for external servers - Zimbra :: Wiki
When I ran zmlocalconfig|grep... I noticed that the existing value used ${zimbra_home} instead of /opt/zimbra. I decided to be fancy and tried to do the same but when I checked the result it had been replaced by nothing. (presumably by my shell) So, I escaped the $ and { } with backslashes, and got this:
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.zimbra.common.localconfig.Main.main(Main.java: 106)
Caused by: java.lang.RuntimeException: com.zimbra.common.localconfig.ConfigException: recursive expansion of key 'zimbra_home': postfix_transport_maps zimbra_home

NOW, any attempt to run zmlocalconfig returns that or something similar. Mail seems to still be running but I'm unable to reconfigure that value back to something sane. HELP! What can I do?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 05-04-2010, 08:05 AM
srw srw is offline
Starter Member
 
Posts: 2
Default

Fixed. Discovered that the configuration is simply in an XML file in /opt/zimbra/conf/localconfig.xml. (here I was expecting something gawdawful like the windows registry) Edited it by hand, and it is all good again. Which makes me wonder... why would anyone use the clumsy "zmlocalconfig" command? Editing a text file just seems so much simpler.
Reply With Quote
  #3 (permalink)  
Old 12-30-2010, 12:55 AM
Starter Member
 
Posts: 1
Default

Thank you very much for the explaination, i was scary because i thought i was the only one to do that before i google my probleme.
Thank you again, you saved me lot of 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.