FATAL Couldn't configure IP 'x.x.x.x' on interface 'eth0': undef

420 views
Skip to first unread message

fleish

unread,
Mar 29, 2010, 12:13:05 PM3/29/10
to MySQL Multi Master Manager Development
hi all, I've followed the installation guide here http://mysql-mmm.org/mmm2:guide
... but when I try to bring things online I get errors in mmm_agentd
when it tries to add the virtual ip's to my interface, such as:
2010/03/26 19:04:45 FATAL Couldn't configure IP '192.168.149.41' on
interface 'eth0': undef

I've double checked that I have all the dependency packages on the
guide page installed & I'm able to manually do an ip add add
192.168.149.41/32 dev eth0 successfully. any idea how I can figure out
what's going on here?

Istvan Podor

unread,
Mar 30, 2010, 3:01:24 AM3/30/10
to mmm-...@googlegroups.com
Hi fleish,

Regarding to this:


> IP '192.168.149.41' on
> interface 'eth0': undef

I would say this is a perl error. (notice 'undef'). So probably the definition of the interface is wrong in your config. Give it a check or copy paste to your reply :)

Thanks,
Istvan

> --
> You received this message because you are subscribed to the Google Groups "MySQL Multi Master Manager Development" group.
> To post to this group, send email to mmm-...@googlegroups.com.
> To unsubscribe from this group, send email to mmm-devel+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mmm-devel?hl=en.
>

Pascal Hofmann

unread,
Mar 30, 2010, 3:36:06 AM3/30/10
to mmm-...@googlegroups.com
Hi fleish,

try running
"/usr/lib/mysql-mmm/agent/configure_ip mmm_agent eth0 192.168.149.41" on the agent host.

Maybe you'll see more detailed messages when you add "debug 1" to the agent config (you'll have to restart the agent in order for the changes to take effect).


Regards
Pascal

Message has been deleted

fleish

unread,
Apr 2, 2010, 6:21:23 PM4/2/10
to MySQL Multi Master Manager Development
Ah-chah! Thanks for this note, you made me realize the issue. The
installation guide sets the bin_path to /usr/bin/mysql-mmm/ while
the .deb packages put the files in /usr/lib/mysql-mmm/

Once I changed this in /etc/mysql-mmm/mmm_common.conf everything comes
up just fine.

I went ahead and edited the installation guide to correct this to
avoid confusion in the future.

Thanks!

Reply all
Reply to author
Forward
0 new messages