Re: "Error: an inet prefix is expected"

Tuomo Soini <[email protected]>
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ajay Sharma wrote:

> cluster2.amntv.com      \
>         ldirectord::ldirectord.cf \
>         LVSSyncDaemonSwap::master \
>         IPaddr2::207.218.714.13/255.255.255.0/eth0/207.218.714.255

usage: /etc/ha.d/resource.d/IPaddr2 \
	ip-address[/netmaskbits[/interface[:label][/broadcast]]] \
	{start|stop|status|monitor}

That means you should have this line in your haresources:

	IPaddr2::207.218.714.13/24/eth0/207.218.714.255

255.255.255.0 is not netmaskbits, it's netmask.

- --
Tuomo Soini <[email protected]>
Linux and network services
+358 40 5240030
Foobar Oy <http://foobar.fi/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFEl/uXTlrZKzwul1ERAm9ZAJ98DzBXmTYjDDJkmpUtWdybVm2wTQCgjdVQ
yD5CcrEGYoaylL8dt169zgQ=
=aOl2
-----END PGP SIGNATURE-----


-- 
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.