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 08-07-2009, 06:36 PM
Active Member
 
Posts: 34
Default mysql startup failure on new server

what does this suggest?
090807 21:30:08 mysqld started
090807 21:30:08 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090807 21:30:08 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090807 21:30:08 [ERROR] Can't start server: cannot resolve hostname!: Success
090807 21:30:08 mysqld ended
fwiw

[root@goose zimbra]# grep -i domain /opt/zimbra/config.*
AVDOMAIN=goose.intranet.seamanpaper.com
CREATEDOMAIN=goose.intranet.seamanpaper.com
DOCREATEDOMAIN=yes

[zimbra@goose ~]$ hostname
goose.intranet.seamanpaper.com
[zimbra@goose ~]$ dig +short `hostname` a
192.168.10.112
[zimbra@goose ~]$ dig +short `hostname` mx
10 goose.intranet.seamanpaper.com.
[zimbra@goose ~]$ dig +short intranet.seamanpaper.com mx
10 buster.intranet.seamanpaper.com.



Last edited by dreamgear; 08-07-2009 at 08:02 PM..
Reply With Quote
  #2 (permalink)  
Old 08-07-2009, 07:57 PM
Active Member
 
Posts: 34
Default

fwiw

[zimbra@goose ~]$ hostname
goose.intranet.seamanpaper.com
[zimbra@goose ~]$ dig +short `hostname` a
192.168.10.112
[zimbra@goose ~]$ dig +short `hostname` mx
10 goose.intranet.seamanpaper.com.
[zimbra@goose ~]$ dig +short intranet.seamanpaper.com mx
10 buster.intranet.seamanpaper.com.
[zimbra@goose ~]$

[root@goose zimbra]# grep -i domain /opt/zimbra/config.*
AVDOMAIN=goose.intranet.seamanpaper.com
CREATEDOMAIN=goose.intranet.seamanpaper.com
DOCREATEDOMAIN=yes
Reply With Quote
  #3 (permalink)  
Old 08-07-2009, 08:01 PM
Active Member
 
Posts: 34
Default

This forum is confusing me. I added a reply but it does't appear.. and then when I try to post it again it tells me it's a duplicate. But the original is still not there several minutes later.
Reply With Quote
  #4 (permalink)  
Old 08-07-2009, 11:35 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by dreamgear View Post
This forum is confusing me. I added a reply but it does't appear.. and then when I try to post it again it tells me it's a duplicate. But the original is still not there several minutes later.
It's an anti-spam measure, as you're a new member your post was moderated and needed approving.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 08-08-2009, 01:32 AM
Moderator
 
Posts: 7,928
Default

Code:
cat /etc/hosts
__________________
Reply With Quote
  #6 (permalink)  
Old 08-09-2009, 09:26 PM
Active Member
 
Posts: 34
Default

::1 localhost.localdomain localhost
Reply With Quote
  #7 (permalink)  
Old 08-09-2009, 09:29 PM
Active Member
 
Posts: 34
Default

BTW zmmtaconfig was looping solidly compute-bound even after I ran the shutdown script, after the installation script fell all over it self and looped for six hours berore I killed it. And what? This was because the *mysql* startup failed because the hostname was wrong ? Huh?
Reply With Quote
  #8 (permalink)  
Old 08-09-2009, 11:47 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by dreamgear View Post
::1 localhost.localdomain localhost
You need a valid, and correct, hosts file. I'd suggest you check the Quick Start Installation Guide for the correct format, you'll also need valid DNS A & MX records and you can find details in the Split DNS article or the forums if you search.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 08-10-2009, 06:36 AM
Active Member
 
Posts: 34
Default

So in other words it doesn't use the standard APIs to determine hostname. FWIW hostname is set in /etc/sysconfig/network on red hat.

And this has what to do with MySQL?

Assuming this was in fact a stupid error on my part, you should still take note of the fact that the installation script just collapsed and did many wrong things after failing to check that the required configuration was in place.

Thanks for the docs pointer, I hadn't found that before.

Last edited by dreamgear; 08-10-2009 at 06:39 AM..
Reply With Quote
  #10 (permalink)  
Old 08-10-2009, 11:33 AM
Active Member
 
Posts: 34
Default

Ok, I followed all the directions in the installation document, and it's doing exactly the same thing:

Note the date/time:
090810 14:17:43 mysqld started
090810 14:17:43 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090810 14:17:43 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090810 14:17:43 [ERROR] Can't start server: cannot resolve hostname!: Success
090810 14:17:43 mysqld ended
Here's some more info:
[root@goose log]# hostname
goose.intranet.seamanpaper.com
[root@goose log]# ifconfig | grep inet
inet addr:192.168.10.112 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe66:3f93/64 Scope:Link
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
[root@goose log]# dig +short `hostname` a
192.168.10.112
[root@goose log]# dig +short `hostname` mx
10 goose.intranet.seamanpaper.com.
[root@goose log]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost.localdomain localhost
192.168.10.112 goose.intranet.seamanpaper.com goose
[root@goose log]#
What did I miss?
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.