[Linux-HA] please advice
David Hansel
hanselzen at gmail.com
Wed Dec 5 01:05:43 MST 2007
Alredy fixed :)
the cause is, i choose to install heartbeat with yum and there is no
/usr/lib/ocf dir as OCF resource path. Then i reinstall it with the
newest heartbeat tar ball.. and it works well.
thats my assumption :)
On Dec 4, 2007 11:01 PM, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> Hi,
>
> On Tue, Dec 04, 2007 at 04:17:52PM +0800, David Hansel wrote:
> > I'm a newbie had a little and stressing problem. I cant find the
> > solution, even i google until the end of page.
> >
> > This is my error log.
> >
> > ResourceManager[16847]: 2007/12/04_16:05:13 info: Running
> > /etc/ha.d/resource.d/drbddisk db start
> > ResourceManager[16847]: 2007/12/04_16:05:13 info: Running
> > /etc/ha.d/resource.d/Filesystem /dev/drbd0 /db ext3 start
> > ResourceManager[16847]: 2007/12/04_16:05:13 ERROR: Return code 2 from
> > /etc/ha.d/resource.d/Filesystem
> > ResourceManager[16847]: 2007/12/04_16:05:13 CRIT: Giving up resources
> > due to failure of Filesystem::/dev/drbd0::/db::ext3
> > ResourceManager[16847]: 2007/12/04_16:05:13 info: Releasing resource
> > group: axsrnd 10.0.4.145 10.0.4.146 10.0.4.147 drbddisk::db
> > Filesystem:
> > :/dev/drbd0::/db::ext3 mysql
> > ResourceManager[16847]: 2007/12/04_16:05:13 info: Running
> > /etc/ha.d/resource.d/mysql stop
> > ResourceManager[16847]: 2007/12/04_16:05:13 info: Running
> > /etc/ha.d/resource.d/Filesystem /dev/drbd0 /db ext3 stop
> > ResourceManager[16847]: 2007/12/04_16:05:13 ERROR: Return code 2 from
> > /etc/ha.d/resource.d/Filesystem
>
> Did you try to mount the filesystem by hand? The Filesystem RA
> reports an error. It is strange though that there's no additional
> message saying why. Perhaps it ended up in a different log.
>
> Thanks,
>
> Dejan
>
>
> > My haresource file:
> > axsrnd 10.0.4.145 drbddisk::db Filesystem::/dev/drbd0::/db::ext3 mysql
> >
> > Anyone know how to fix it?
> > Thanks you so much.
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
--
Best Regards,
David Hansel
More information about the Linux-HA
mailing list