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 07-23-2009, 09:20 PM
Junior Member
 
Posts: 8
Default mysql dead

Hi,

Everything works in my zimbra 5.0.12 except logger. When I go to admin webpage it says logger must be installed. When I zmcontrol status it says logger not started. When I logmysql.server start it says done but then logmysql.server status says it is not running.
When I try upgrading to 5.0.18 it gets to logger database intergrety check it says:

Starting mysqld...done.
/opt/zimbra/logger/mysql/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2) when trying to connect
No Logger DB errors found.
/opt/zimbra/logger/mysql/bin/mysqlcheck --defaults-file=/opt/zimbra/conf/my.logger.cnf -S /opt/zimbra/logger/db/mysql.sock --silent -u root --password=(***) --auto-repair --databases mysql zimbra_logger command failed:


I even tried zmmyinit and it says it can't connect to mysql.
Please help I am stuck
Reply With Quote
  #2 (permalink)  
Old 07-23-2009, 11:30 PM
Moderator
 
Posts: 7,928
Default

Hmmm, could be your /etc/hosts file is not correct. So please post the following
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
Have you also disabled IPTables and SELinux ?
__________________
Reply With Quote
  #3 (permalink)  
Old 07-24-2009, 12:08 AM
Advanced Member
 
Posts: 186
Post

Hi,
If 127.0.0.1 is define in names other than localhost, mysql will have issues.

Regards
Adeel
Reply With Quote
  #4 (permalink)  
Old 07-24-2009, 12:26 AM
Outstanding Member
 
Posts: 594
Default

Did you try changing passowrd of mysql ?
Reply With Quote
  #5 (permalink)  
Old 07-24-2009, 09:14 AM
Junior Member
 
Posts: 8
Default I tried all those

hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
71.216.159.50 metric.shonaz.net mail.shonaz.net metric mail

resolv.conf

search shonaz.net
nameserver 205.171.3.65
nameserver 205.171.2.65


I tried changing the password as it says in the wiki but can't get connected to mysql to change the password. The logmysql.server start does not start the server.
Reply With Quote
  #6 (permalink)  
Old 07-24-2009, 09:28 AM
Moderator
 
Posts: 7,928
Default

Please post all the details I have asked for
__________________
Reply With Quote
  #7 (permalink)  
Old 07-24-2009, 10:21 AM
Outstanding Member
 
Posts: 594
Default

Are permissions fine? would you mind running zmfixperms ? Also check if there is stale logger/db/mysql.sock file
Reply With Quote
  #8 (permalink)  
Old 07-24-2009, 11:37 AM
Junior Member
 
Posts: 8
Default

I tried fixing permisions... no go.


; <<>> DiG 9.3.3rc2 <<>> panahi.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51620
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

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

;; ANSWER SECTION:
panahi.com. 5192 IN MX 50 mx2.mailhop.org.
panahi.com. 5192 IN MX 5 mail.shonaz.net.

;; Query time: 41 msec
;; SERVER: 205.171.3.65#53(205.171.3.65)
;; WHEN: Fri Jul 24 12:34:57 2009
;; MSG SIZE rcvd: 90

[zimbra@mail ~]$ dig panahi.com any

; <<>> DiG 9.3.3rc2 <<>> panahi.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62348
;; flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 0

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

;; ANSWER SECTION:
panahi.com. 9070 IN TXT "v=spf1 a:mx2.mailhop.org a:mail.shonaz.net a:metric.shonaz.net ip4:67.42.72.82 -all"
panahi.com. 5130 IN MX 5 mail.shonaz.net.
panahi.com. 5130 IN MX 50 mx2.mailhop.org.
panahi.com. 5130 IN NS ns3.mydyndns.org.
panahi.com. 5130 IN NS ns5.mydyndns.org.
panahi.com. 5130 IN NS ns1.mydyndns.org.
panahi.com. 5130 IN NS ns2.mydyndns.org.
panahi.com. 5130 IN NS ns4.mydyndns.org.

;; Query time: 42 msec
;; SERVER: 205.171.3.65#53(205.171.3.65)
;; WHEN: Fri Jul 24 12:35:59 2009
;; MSG SIZE rcvd: 285


[zimbra@mail ~]$ host `hostname`
mail.shonaz.net has address 71.216.159.50
Reply With Quote
  #9 (permalink)  
Old 07-24-2009, 12:29 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

You appear to have no A record for your domain, you should fix that.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 07-24-2009, 08:58 PM
Junior Member
 
Posts: 8
Default

I do have an A record, I wonder why dig did not show it.
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.