FATAL Child exited with exitcode 255

Asked by Seonghwan Kim

I have problem plz help ma. :)

I have been install MMM and start agent, monitor.
agent is start OK. but monitor is not start.
My mysql-mmm-monitor is not start.

-------------------
[root@kiodb2 mysql-mmm]# /etc/init.d/mysql-mmm-monitor start
Daemon bin: '/usr/sbin/mmm_mond'
Daemon pid: '/var/run/mmm_mond.pid'
Starting MMM Monitor daemon: 2013/08/07 14:25:25 INFO STARTING...
2013/08/07 14:25:25 DEBUG Created pid file '/var/run/mmm_mond.pid' with pid 8982
2013/08/07 14:25:25 INFO Waiting for network connection...
2013/08/07 14:25:25 INFO Spawning checker 'ping_ip'...
2013/08/07 14:25:25 DEBUG IP '192.168.235.57' is reachable: OK
2013/08/07 14:25:25 INFO Shutting down checker 'ping_ip'...
2013/08/07 14:25:25 INFO Network connection is available.
Use of uninitialized value $old_state in string ne at /usr/local/lib/perl5/5.18.0/MMM/Monitor/Agent.pm line 42.
2013/08/07 14:25:25 FATAL Child exited with exitcode 255, restarting after 10 second sleep

-------------------
HOW CAN I SOLVE IT???
please help ma, ASAP

Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
mysql-mmm Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Seonghwan Kim (auidy) said :
#2

Help Me...plz

Revision history for this message
Vadim Tkachenko (vadim-tk) said :
#3

MMM software is deprecated.
Please consider using something more actively developed like MHA https://code.google.com/p/mysql-master-ha/

Revision history for this message
Daniel Black (daniel-black) said :
#4

I added the following code to /usr/share/perl5/MMM/Monitor/Agent.pm on line 41.

if (! defined($old_state)) { $old_state = 'certinally not new_state'; }

Looking forward to migrating off mmm to corosync/pacemaker.

Can you help with this problem?

Provide an answer of your own, or ask Seonghwan Kim for more information if necessary.

To post a message you must log in.