Hi,

On Mon, Jan 25, 2010 at 09:24:32AM +0200, Ilo Lorusso wrote:
> Ive managed to get the postfix resource agent to start..
> 
> ClusterIP       (ocf::heartbeat:IPaddr2):       Started
> saamailin0p01.ipnetwork.co.za
> postfix (ocf::heartbeat:postfix):       Started saamailin0p01.ipnetwork.co.za
> 
> but to do so I have to export OCF_ROOT path before starting heartbeat
> export OCF_ROOT=/usr/lib/ocf why is this?

That's definitely not necessary.

> and make sure postfix is not running as it seems the postfix resouce
> agent  does not shutdown postfix properly when u shutdown heart. :(
> well in my experiance..

>From the beginning you should have search the logs for
lrmd.*postfix. crm_verify and CRM can't give you the exact reason
why the resource failed.

Thanks,

Dejan

> On Sun, Jan 24, 2010 at 7:42 PM, Ilo Lorusso <[email protected]> wrote:
> > yeah I noticed that after posting..but I still get the same problem
> > after I corrected the config_dir
> >
> > after doing a crm_verify -L -V I get the following
> >
> > crm_verify[23139]: 2010/01/24_21:30:13 WARN: unpack_rsc_op: Processing
> > failed op postfix_start_0 on saamailin0s01.ipnetwork.co.za: unknown
> > error (1)
> > crm_verify[23139]: 2010/01/24_21:30:13 WARN: unpack_rsc_op: Processing
> > failed op postfix_start_0 on saamailin0p01.ipnetwork.co.za: unknown
> > error (1)
> > crm_verify[23139]: 2010/01/24_21:30:13 WARN: common_apply_stickiness:
> > Forcing postfix away from saamailin0p01.ipnetwork.co.za after 1000000
> > failures (max=1000000)
> > crm_verify[23139]: 2010/01/24_21:30:13 WARN: common_apply_stickiness:
> > Forcing postfix away from saamailin0s01.ipnetwork.co.za after 1000000
> > failures (max=1000000)
> > crm_verify[23139]: 2010/01/24_21:30:13 WARN: native_color: Resource
> > postfix cannot run anywhere
> >
> >
> >
> >
> > if I do a ocf test as indicated in the postfix agent resource
> >
> > /usr/sbin/ocf-tester -n post1 -o binary="/usr/sbin/postfix" \
> >       -o config_dir="/root/postfix/"
> > /usr/lib/ocf/resource.d/heartbeat/postfix; echo $?
> >
> > I get the following output
> >
> > * rc=1: Validation failed.  Did you supply enough options with -o ?
> > Aborting tests
> > 1
> >
> >
> > does anyone else experiance this problem??
> >
> > anyone know how to fix
> >
> >
> >
> >
> >
> > On Sat, Jan 23, 2010 at 6:55 PM, Stelio Plautz <[email protected]> wrote:
> >> Hi,
> >>
> >>> config_dir=/etc/posfix
> >> config_dir=/etc/postfix
> >>
> >>
> >> --
> >> lg stelio
> >> _______________________________________________
> >> Linux-HA mailing list
> >> [email protected]
> >> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> >> See also: http://linux-ha.org/ReportingProblems
> >>
> >
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to