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
  #1 (permalink)  
Old 05-25-2010, 06:29 AM
bpm bpm is offline
Junior Member
 
Posts: 5
Default mysql won't start on install of zimbra

Hi all,

I did an install of zimbra 6.0.6 on Ubuntu 8.0.4 and everything worked out well except the "unable to verify the mx record". Bypassing this, the install worked perfectly until I did a "zmcontrol status" (see below). I also have bind9 working on the server as normal, resolving the A and MX records to my local LAN IP and tested from a PC.

zimbra@mail:~$ zmcontrol status
Host mail.mydomain.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
mysql.server is not running.
mta Running
snmp Running
spell Running
stats Stopped
zimbra@mail:~$

Can anyone help troubleshoot?
Reply With Quote
  #2 (permalink)  
Old 05-25-2010, 06:58 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by bpm View Post
I did an install of zimbra 6.0.6 on Ubuntu 8.0.4 and everything worked out well except the "unable to verify the mx record". Bypassing this, the install worked perfectly until I did a "zmcontrol status" (see below). I also have bind9 working on the server as normal, resolving the A and MX records to my local LAN IP and tested from a PC.
With the MX record error message the install didn't work 'perfectly', you need a valid hosts file (see the Quick Start Installation Guide) and an A & MX records pointing to your server. You need to check that from the ZImbra server itself, make sure that AppArmor & the firewall are disabled and search the forums for how to diagnose this problem (it's been covered many times). If your DNS A & MX records are correct (make sure you post the diagnostic information here for confirmation) then check the log files for errors when you start Zimbra.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 05-25-2010, 07:33 AM
bpm bpm is offline
Junior Member
 
Posts: 5
Default

Thanks for that. I've already verified that the hosts file is correct and it works from the zimbra server itself. I was not aware about AppArmor so have now disabled it. The firewall is also disabled and I'm rebooting the server at the moment to check again.

I've already gone through the standard tests from previous posts and all came back as normal, hence my post.

Will see how it goes after the reboot.
Reply With Quote
  #4 (permalink)  
Old 05-25-2010, 07:36 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by bpm View Post
I've already gone through the standard tests from previous posts and all came back as normal, hence my post.
I understand that but the DNS tests need to run on the Zimbra server and you need to post the output here for verification.
__________________
Regards


Bill

Last edited by phoenix; 05-25-2010 at 08:11 AM..
Reply With Quote
  #5 (permalink)  
Old 05-25-2010, 07:42 AM
bpm bpm is offline
Junior Member
 
Posts: 5
Default

ok will do
Reply With Quote
  #6 (permalink)  
Old 05-25-2010, 08:15 AM
bpm bpm is offline
Junior Member
 
Posts: 5
Default

Results :


bpm@mail:~$ cat /etc/hosts
127.0.0.1 localhost
#127.0.1.1 mail.mydomain.com mail
192.168.0.249 mail.mydomain.com 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
bpm@mail:~$
bpm@mail:~$ cat /etc/resolv.conf
search mydomain.com
nameserver 127.0.0.1
bpm@mail:~$
bpm@mail:~$ dig mydomain.com mx

; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42176
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;mydomain.com. IN MX

;; ANSWER SECTION:
mydomain.com. 604800 IN MX 10 mail.mydomain.com.

;; AUTHORITY SECTION:
mydomain.com. 604800 IN NS ns.d-y.p.com.

;; ADDITIONAL SECTION:
mail.mydomain.com. 604800 IN A 192.168.0.249

;; Query time: 62 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue May 25 16:07:24 2010
;; MSG SIZE rcvd: 87

bpm@mail:~$
bpm@mail:~$ dig mydomain.com any

; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64852
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;mydomain.com. IN ANY

;; ANSWER SECTION:
mydomain.com. 604800 IN SOA ns.mydomain.com. root.mydomain.com. 2010190504 28800 3600 604800 38400
mydomain.com. 604800 IN NS ns.d-y.p.com.
mydomain.com. 604800 IN MX 10 mail.mydomain.com.

;; ADDITIONAL SECTION:
mail.mydomain.com. 604800 IN A 192.168.0.249

;; Query time: 80 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue May 25 16:07:51 2010
;; MSG SIZE rcvd: 131

bpm@mail:~$
bpm@mail:~$ host `hostname`
mail.mydomain.com has address 192.168.0.249
bpm@mail:~$
Reply With Quote
  #7 (permalink)  
Old 05-25-2010, 08:20 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

You hosts file should contain the following line (not the format you have):

Code:
127.0.0.1 localhost.localdomain localhost
Change that, restart Zimbra and see if there's any errors in the log files.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 05-25-2010, 04:48 PM
bpm bpm is offline
Junior Member
 
Posts: 5
Default

I tried that and had no joy. I then rebuilt the system from being a VMWare with Ubuntu to just Ubunto on its own. I then reinstalled bind9 and Zimbra and all worked first time.

I'm guessing it had something to do with the hostname as I used a FQDN this time and only a servername of "mail" the first time around which I then renamed to a FQDN.

Thanks for all your help Phoenix.
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.