[Bug 526311] Review Request: mysql-mmm - Multi-Master Replication Manager for MySQL

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 11 15:47:36 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=526311





--- Comment #14 from Ruben Kerkhof <ruben at rubenkerkhof.com>  2009-11-11 10:47:34 EDT ---
> - the monitor subpackage is missing a dependency on dbd::mysql

>> Was removed based on comment #4 ;).  Added back in.

rpm uses /usr/lib/rpm/perldeps.pl to find perl packages.
That script parses perl code for 'use' statements. It missed dbd::mysql in this
case.

> I ran into the same issue. I believe setting the IP for db1 in mmm_common.conf
> to 127.0.0.1 by default will atleast keep the process from dying and causing
> havoc with logs/email.  I did added comments to the config to encourage the IP
> be set right, but I know I always try starting the process before anything
> else.  Regardless, I've reported the following upstream when I first came
> across it:

> https://bugs.launchpad.net/mysql-mmm/+bug/473446

I've added a log4perl config file to my setup:

[ruben at db2 ~]$ sudo cat /etc/mysql-mmm/mmm_agent_log.conf
log4perl.logger = INFO, FileInfo

log4perl.appender.FileInfo = Log::Log4perl::Appender::File
log4perl.appender.FileInfo.Threshold = INFO
log4perl.appender.FileInfo.filename = /var/log/mysql-mmm/mmmd_agent.log
log4perl.appender.FileInfo.recreate = 1
log4perl.appender.FileInfo.layout = PatternLayout
log4perl.appender.FileInfo.layout.ConversionPattern = %d %5p %m%n

This takes care of the mail problem. Something like this might be a nice
default for Fedora, but we'll have to rotate that log too.

Regards,

Ruben

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list