MMM Agent can't start

Bug #793535 reported by Jonathan Gazeley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-mmm
New
Undecided
Unassigned

Bug Description

I've just installed mysql-mmm 2.2.1-1.el5 on CentOS 5.6 x86_64. I've tweaked the values in the default configs but made no major changes, and I attempted to start the service. Every time it fails with this error message. Nothing is logged in the mmm-agent log file.

[jg4461@rnw-dev-db2 ~]$ sudo /sbin/service mysql-mmm-agent status
mmm_agentd is stopped
[jg4461@rnw-dev-db2 ~]$ sudo /sbin/service mysql-mmm-agent start
Starting MMM Agent Daemon: Deep recursion on subroutine "MMM::Common::Config::read" at /usr/lib/perl5/vendor_perl/5.8.8/MMM/Common/Config.pm line 161, <> line 1.
                                                           [FAILED]

Revision history for this message
Walter Heck (walterheck) wrote : Re: [Bug 793535] [NEW] MMM Agent can't start

Please show us your config files. Something is wrong with them ;)

On Mon, Jun 6, 2011 at 16:33, Jonathan Gazeley
<email address hidden> wrote:
> Public bug reported:
>
> I've just installed mysql-mmm 2.2.1-1.el5 on CentOS 5.6 x86_64. I've
> tweaked the values in the default configs but made no major changes, and
> I attempted to start the service. Every time it fails with this error
> message. Nothing is logged in the mmm-agent log file.
>
> [jg4461@rnw-dev-db2 ~]$ sudo /sbin/service mysql-mmm-agent status
> mmm_agentd is stopped
> [jg4461@rnw-dev-db2 ~]$ sudo /sbin/service mysql-mmm-agent start
> Starting MMM Agent Daemon: Deep recursion on subroutine "MMM::Common::Config::read" at /usr/lib/perl5/vendor_perl/5.8.8/MMM/Common/Config.pm line 161, <> line 1.
>                                                           [FAILED]
>
> ** Affects: mysql-mmm
>     Importance: Undecided
>         Status: New
>
> --
> You received this bug notification because you are subscribed to mysql-
> mmm.
> https://bugs.launchpad.net/bugs/793535
>
> Title:
>  MMM Agent can't start
>
> Status in MMM for MySQL:
>  New
>
> Bug description:
>  I've just installed mysql-mmm 2.2.1-1.el5 on CentOS 5.6 x86_64. I've
>  tweaked the values in the default configs but made no major changes,
>  and I attempted to start the service. Every time it fails with this
>  error message. Nothing is logged in the mmm-agent log file.
>
>  [jg4461@rnw-dev-db2 ~]$ sudo /sbin/service mysql-mmm-agent status
>  mmm_agentd is stopped
>  [jg4461@rnw-dev-db2 ~]$ sudo /sbin/service mysql-mmm-agent start
>  Starting MMM Agent Daemon: Deep recursion on subroutine "MMM::Common::Config::read" at /usr/lib/perl5/vendor_perl/5.8.8/MMM/Common/Config.pm line 161, <> line 1.
>                                                             [FAILED]
>

--
Walter Heck

--
follow @walterheck on twitter to see what I'm up to!
--
Check out my new startup: Server Monitoring as a Service @ http://tribily.com
Follow @tribily on Twitter and/or 'Like' our Facebook page at
http://www.facebook.com/tribily

Revision history for this message
Jonathan Gazeley (y-mo-n) wrote :

I do apologise. I had used Puppet to distribute the config files to my nodes, and I made a copy-paste error. Both mmm_common.conf and mmm_mon.conf contained the contents of mmm_mon.conf. No surprise it didn't start. I've now fixed that, and the daemon starts.

However, I still think the error message I was given isn't too helpful. Most other daemons will give a specific error and tell you which config file and which line number are causing the error.

Revision history for this message
Pascal Hofmann (pascalhofmann) wrote : Re: [Bug 793535] Re: MMM Agent can't start

This was an include recursion problem. mmm_common.conf included mmm_common.conf which included mmm_common.conf...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.