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 (1) Thread Tools Display Modes
  #21 (permalink)  
Old 01-13-2006, 09:54 AM
Intermediate Member
 
Posts: 18
Default

Quote:
Originally Posted by DanielP
SE-linux is not enabled.
I had a problem on my smp-server, too. Try to boot for installation with 'failsafe', this worked for me on sles9 + sp2. After installation, zimbra run with the default kernel.

hth

cu chris
Reply With Quote
  #22 (permalink)  
Old 01-14-2006, 10:10 AM
Intermediate Member
 
Posts: 20
Default Problem solved.

Hi,

Well, i dont belive that it was a kernel issue(the previous beta wen just fine). Anyway, i ended up doing some serious cleaning using grep -r , locate, lsof|grep zimbra etc and made really sure all updates where on, rebooted, installed and everything worked as a charm. The machine seems to be happily running M3_381 right now. Something must have been left from the previous installation, or the machine got problem since i switched IP prior to removing the old installation, and installing the new one.

Thanks for the tip tough.

/Daniel
Reply With Quote
  #23 (permalink)  
Old 01-18-2006, 08:37 AM
Intermediate Member
 
Posts: 17
Default

I'm experiencing this exact same problem. mysqld is not running, and running zmmyinit fails complaining that it cannot find mysql.sock.

Also, starting mysqld.server as zimbra gives:
Quote:
Starting mysqld daemon with databases from /opt/zimbra/db/data
STOPPING server from pid file /opt/zimbra/db/mysql.pid
060118 10:36:11 mysqld ended

Last edited by prosenbl : 01-18-2006 at 08:43 AM.
Reply With Quote
  #24 (permalink)  
Old 01-18-2006, 08:43 AM
Intermediate Member
 
Posts: 17
Default

hm perhaps this is another dns issue
Quote:
zimbra@mailtemp:~/log> more zmmyinit.log
Neither host 'mailtemp' nor 'localhost' could be looked up with
/opt/zimbra/mysql/bin/resolveip
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
Starting mysqld daemon with databases from /opt/zimbra/db/data
STOPPING server from pid file /opt/zimbra/db/mysql.pid
060118 10:27:51 mysqld ended

Starting mysqld daemon with databases from /opt/zimbra/logger/db/data
STOPPING server from pid file /opt/zimbra/logger/db/mysql.pid
060118 10:28:10 mysqld ended
Reply With Quote
  #25 (permalink)  
Old 01-18-2006, 09:25 AM
Zimbra Employee
 
Posts: 2,073
Default hostnames and mysql

what do you get from
host `hostname` (backticks, not quotes)
What's in /etc/hosts?
what do you get from
host localhost
Reply With Quote
  #26 (permalink)  
Old 01-18-2006, 09:41 AM
Intermediate Member
 
Posts: 17
Default

Thanks for the quick repsonse... here's the info you asked for
Quote:
zimbra@mailtemp:~/libexec> host `hostname`
mailtemp.my-domain.com has address 192.168.1.73

zimbra@mailtemp:~/libexec> host localhost
localhost has address 127.0.0.1

zimbra@mailtemp:~/libexec> more /etc/hosts
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#

127.0.0.1 localhost.localdomain localhost
63.138.xxx.xxx office.my-domain.com office


# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 mailtemp.my-domain.com mailtemp
Also, since the zmmyinit.log seems to blame mysql's resolveip:
Quote:
zimbra@mailtemp:~/libexec> /opt/zimbra/mysql/bin/resolveip `hostname`
IP address of mailtemp is 127.0.0.2


zimbra@mailtemp:~/libexec> /opt/zimbra/mysql/bin/resolveip localhost
IP address of localhost is 127.0.0.1

Last edited by prosenbl : 01-18-2006 at 10:45 AM.
Reply With Quote
  #27 (permalink)  
Old 01-18-2006, 09:46 AM
Zimbra Employee
 
Posts: 2,073
Default /etc/hosts entry missing

Try adding the 192 entry for mailtemp to your /etc/hosts file:
192.168.1.73 mailtemp.my-domain.com mailtemp
Reply With Quote
  #28 (permalink)  
Old 01-18-2006, 11:01 AM
Intermediate Member
 
Posts: 17
Default

No luck... with a new entry in the hosts file in addition to the 127.0.0.2 and with replacing the 127.0.0.2 entry...

even though:
Quote:
zimbra@mailtemp:~/log> /opt/zimbra/mysql/bin/resolveip `hostname`
IP address of mailtemp is 192.168.1.73

Last edited by prosenbl : 01-18-2006 at 11:08 AM.
Reply With Quote
  #29 (permalink)  
Old 01-18-2006, 12:33 PM
Zimbra Employee
 
Posts: 274
Default re: mysql not starting

In the past when mysql would abruptly terminate I have found the reason for the badness stated in /opt/zimbra/log/mysqld.log.

What does your mysqld.log contain?
Reply With Quote
  #30 (permalink)  
Old 01-18-2006, 12:37 PM
Intermediate Member
 
Posts: 17
Default

Unfortunately all I am seeing in /opt/zimbra/log/mysqld.log is:
Quote:
zimbra@mailtemp:~/log> more mysqld.log
060118 14:32:44 mysqld started
060118 14:32:44 mysqld ended

060118 14:34:29 mysqld started
060118 14:34:29 mysqld ended
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0