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 Search this Thread Display Modes
  #11 (permalink)  
Old 11-12-2008, 11:35 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

The problem with your hosts file is this:

Code:
192.168.2.5	server1.medalist.com.au	server1
192.168.2.5	mail.medalist.com.au server1
and it should contain only this:

Code:
127.0.0.1	localhost.localdomain	localhost
192.168.2.5	mail.medalist.com.au mail
as per the documentation (plus dozens of posts in the forums).
__________________
Regards


Bill
Reply With Quote
  #12 (permalink)  
Old 11-12-2008, 11:59 PM
Loyal Member
 
Posts: 95
Default

Bill,

The server name and the zimbra installation is called server1.medalist.com.au

The reason I have mail.medalist.com.au is that the mx record for the externally hosted dns is mail.medalist.com.au as is the web address on our ssl certificate.

On the internal DNS (hosted on the server) and in the hosts file, should I use server1.medalist.com.au or mail.medalist.com.au, assuming that I can only use 1?
__________________
Mark Hawkins

Medalist
Reply With Quote
  #13 (permalink)  
Old 11-13-2008, 12:10 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Th reason I used "mail.medalist.com.au" in my reply was because the MX records also has that name in it, if you want to use the FQDN of the server then change the hosts file and your DNS records to reflect the correct FQDN of the server. It shouldn't make any difference what your local DNS records look like as long as they reflect the FQDN.

If you use "mail.medalist.com.au" internally as the url to the server then you could do this:

Code:
192.168.2.5	server1.medalist.com.au server1 mail
with an additional A record for 'mail'. This should work:

Code:
server1.medalist.com.au.     604800	 IN	A	192.168.2.5
mail.medalist.com.au.        604800	IN	A	192.168.2.5
__________________
Regards


Bill
Reply With Quote
  #14 (permalink)  
Old 11-13-2008, 12:12 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

I guess this resolution also fixes the problem in this thread? Could you put a solved status on that and reference the solution here, please.
__________________
Regards


Bill
Reply With Quote
  #15 (permalink)  
Old 11-13-2008, 02:04 AM
Loyal Member
 
Posts: 95
Default

Still not working I'm afraid.

/etc/hosts:
Code:
127.0.0.1	localhost.localdomain localhost
192.168.2.5	server1.medalist.com.au server1 mail 

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
/etc/resolv.conf
Code:
nameserver 192.168.2.5
nameserver 192.168.2.1
nameserver 192.168.0.4
dig medalist.com.au mx
Code:
; <<>> DiG 9.4.2-P2 <<>> medalist.com.au mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4298
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;medalist.com.au.		IN	MX

;; ANSWER SECTION:
medalist.com.au.	604800	IN	MX	10 mail.medalist.com.au.

;; AUTHORITY SECTION:
medalist.com.au.	604800	IN	NS	192.168.2.5.medalist.com.au.

;; ADDITIONAL SECTION:
mail.medalist.com.au.	604800	IN	A	192.168.2.5

;; Query time: 0 msec
;; SERVER: 192.168.2.5#53(192.168.2.5)
;; WHEN: Thu Nov 13 20:51:45 2008
;; MSG SIZE  rcvd: 96
dig medalist.com.au any
Code:
; <<>> DiG 9.4.2-P2 <<>> medalist.com.au any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61888
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;medalist.com.au.		IN	ANY

;; ANSWER SECTION:
medalist.com.au.	604800	IN	MX	10 mail.medalist.com.au.
medalist.com.au.	604800	IN	AAAA	::1
medalist.com.au.	604800	IN	SOA	server1.medalist.com.au. server.medalist.com.au. 3 604800 86400 2419200 604800
medalist.com.au.	604800	IN	NS	192.168.2.5.medalist.com.au.
medalist.com.au.	604800	IN	A	192.168.2.5

;; ADDITIONAL SECTION:
mail.medalist.com.au.	604800	IN	A	192.168.2.5

;; Query time: 0 msec
;; SERVER: 192.168.2.5#53(192.168.2.5)
;; WHEN: Thu Nov 13 20:52:29 2008
;; MSG SIZE  rcvd: 191
host `hostname`
Code:
server1.medalist.com.au has address 192.168.2.5
I put my.cnf and my.logger.cnf back to localhost and zmlocalconfig bind_address (both) to localhost and the mysql and logger would not start. Putting them back to 192.168.2.5 does allow it to start with the changes to the hosts file and the bind9 db file, but the problem still remains with slapd not starting from user zimbra.

Thanks for the help, I'm sure it's getting closer.
__________________
Mark Hawkins

Medalist
Reply With Quote
  #16 (permalink)  
Old 11-13-2008, 02:09 AM
Loyal Member
 
Posts: 95
Default

zmcontrol status:
Code:
Host server1.medalist.com.au
	antispam                Running
	antivirus               Running
	ldap                    Running
	logger                  Stopped
		logmysql.server is not running
	mailbox                 Stopped
		mysql.server is not running
	mta                     Stopped
	snmp                    Running
	spell                   Running
	stats                   Running
__________________
Mark Hawkins

Medalist
Reply With Quote
  #17 (permalink)  
Old 11-13-2008, 03:02 AM
Loyal Member
 
Posts: 95
Default

Maybe the problem is in my bind setup

db.medalist.com.au:

Code:
db.medalist.com.au
;
; BIND data file for local loopback interface
;
$TTL	604800
@	IN	SOA	server1.medalist.com.au. server.medalist.com.au. (
			      3		; Serial
			 604800		; Refresh
			  86400		; Retry
			2419200		; Expire
			 604800 )	; Negative Cache TTL
;
@	IN	NS	192.168.2.5
@	IN	A	192.168.2.5
server1 IN	A	192.168.2.5
mail	IN	A	192.168.2.5
www	IN	CNAME	server1
ftp	IN	CNAME	server1

@	IN	MX	10 mail
@	IN	AAAA	::1
I've seen other setup us A records for www and ftp instead of CNAME, but I didn't think that would make any difference in this instance.
__________________
Mark Hawkins

Medalist
Reply With Quote
  #18 (permalink)  
Old 11-13-2008, 03:20 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Your MX record should have the FQDN of the server, have a look at this post for the formats. Once you've made the changes you can check the configuration with the dig & host commands from the earlier post by Uxbod. If they look OK then try a restart of Zimbra and see what errors you get in the logs (if any of the services fail).
__________________
Regards


Bill
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.