Results 1 to 8 of 8

Thread: mysql won't start on install of zimbra

  1. #1
    bpm
    bpm is offline Junior Member
    Join Date
    May 2010
    Posts
    5
    Rep Power
    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?

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    bpm
    bpm is offline Junior Member
    Join Date
    May 2010
    Posts
    5
    Rep Power
    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.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    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.
    Last edited by phoenix; 05-25-2010 at 08:11 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    bpm
    bpm is offline Junior Member
    Join Date
    May 2010
    Posts
    5
    Rep Power
    5

    Default

    ok will do

  6. #6
    bpm
    bpm is offline Junior Member
    Join Date
    May 2010
    Posts
    5
    Rep Power
    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:~$

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    bpm
    bpm is offline Junior Member
    Join Date
    May 2010
    Posts
    5
    Rep Power
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 22
    Last Post: 12-02-2007, 05:05 PM
  2. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  3. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 12:45 PM
  4. svn version still won't start
    By kinaole in forum Developers
    Replies: 0
    Last Post: 10-04-2006, 06:47 AM
  5. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •