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-22-2006, 12:32 PM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default Two problems with 3.0.1 release

I've done an upgrade to the latest release, as usual it went smoothly. However there are two minor problems. During the install I got a message about there being no MX records for my system, I run a local BIND and there is an MX in BIND for my server and dig returns the correct information. I ignored the warning and continued to run the upgrade without problems. Is this a problem with the install script?

To troubleshoot the above MX record problem I ran zmprov to check the domain was already in existence and it is but zmprov gives the following message when run:
Code:
zmprov gad -v
java.net.UnknownHostException: A: A
        at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
        at com.zimbra.cs.localconfig.LC.<clinit>(LC.java:160)
        at com.zimbra.cs.localconfig.KnownKey.<clinit>(KnownKey.java:39)
        at com.zimbra.cs.localconfig.LocalConfig.verify(LocalConfig.java:337)
        at com.zimbra.cs.localconfig.LocalConfig.<init>(LocalConfig.java:185)
        at com.zimbra.cs.localconfig.LocalConfig.readConfig(LocalConfig.java:360)
        at com.zimbra.cs.localconfig.LocalConfig.<clinit>(LocalConfig.java:365)
        at com.zimbra.cs.localconfig.Main.main(Main.java:116)
java.net.UnknownHostException: A: A
        at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
        at com.zimbra.cs.localconfig.LC.<clinit>(LC.java:160)
        at com.zimbra.cs.util.Zimbra.toolSetup(Zimbra.java:186)
        at com.zimbra.cs.util.Zimbra.toolSetup(Zimbra.java:181)
        at com.zimbra.cs.util.Zimbra.toolSetup(Zimbra.java:177)
        at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java:1409)
It then goes on to display the domains on this server. I also checked with 'zmprov gas -v' and that also displays the server correctly. In fact, zmprov seems to give this message for every command I tried.
__________________
Regards


Bill
Reply With Quote
  #2 (permalink)  
Old 02-22-2006, 12:41 PM
Zimbra Employee
 
Posts: 2,103
Default

Looks like it can't resolve the localhost's name or address. /etc/hosts problem?
Reply With Quote
  #3 (permalink)  
Old 02-22-2006, 01:05 PM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by marcmac
Looks like it can't resolve the localhost's name or address. /etc/hosts problem?
I don't think so, I've had my host file set correctly since I first installed Zimbra:

Code:
127.0.0.1	localhost.localdomain	localhost
fixedIP          FQDN hostname
I've also tried 'host hostname' and that returns the correct IP address. I've setup BIND as per these instructions and it's been working fine. Zimbra is working but it was just the initial warning that threw me. BIND also seems to be working OK as my DNS server, not being an expert I can't see anything obviously wrong with my setup.
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 02-22-2006, 01:08 PM
Zimbra Employee
 
Posts: 2,103
Default

What hosts do you have configured? Could be it's got one listed it can't get details on. What do you get from just zmprov gas?
Reply With Quote
  #5 (permalink)  
Old 02-22-2006, 01:22 PM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default The inevitable reboot fixed it!

Something odd seems to have happened to my system and I'm not sure what. If I do 'zmprov gas' it returns the error & the correct hostname, in fact every command seems to produce the correct results except the hostname command, that just returns a value of 'A'. I'll do some more digging and see if I can find out what's happening, I'll post back to this thread if I find the answer or (more likely) i need some more help.

Just as an idle thought, I don't suppose the fact I ignored the zimbra warning about there being no MX record would have made the install do anything odd to my system?

[edit]
As per the title, al the config files were correct and a restart of BIND did nothing so a rebbot was in order and voila - everything's back to normal. Now I suppose it's a chicken and egg question, did the problem happen after this mornings power-on and cause the zimbra install to not find the MX record or did the install routine change something it shouldn't have and cause the subsequent 'missing' hostname?
__________________
Regards


Bill

Last edited by phoenix; 02-22-2006 at 01:44 PM.. Reason: resolved
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.