Using v2 without CRM doesn't get any real sense.

The error that you are getting form OCF scrip is a right. If you wan't
to call it form command line you need to set OCF_ROOT variable to
/usr/lib/ocf.

There are quite a few people using Heartbeat with CRM for controlling
PostgreSQL so it's not that hard as you think, so I'd recommend to
start using CRM. You can try GUI for building your cib.xml.

On Thu, Feb 28, 2008 at 10:00 AM, Carlos Alexandre de Souza da Silva
<[EMAIL PROTECTED]> wrote:
> I am using v2 w/o CRM, the cib.xml looks kinda hard to configure.
>
>  If I browse into OCF scripts directory and o a ./pgsql start I will get
>  ./pgsql: line 26: /resource.d/heartbeat/.ocf-shellfuncs: No such file or
>  directory
>
>  This is just what I get from running it from command line, dont know if
>  this is supported anyway. The rpms that I got my heartbeat from were the
>  ones from centos 5 repo.
>
>  -----Mensagem original-----
>  De: [EMAIL PROTECTED]
>  [mailto:[EMAIL PROTECTED] Em nome de Serge Dubrouski
>  Enviada em: quinta-feira, 28 de fevereiro de 2008 13:51
>  Para: General Linux-HA mailing list
>  Assunto: Re: [Linux-HA] Problems Starting Postgres LSB-Compliant
>
>
>
>  Why you don't use an OCF script?
>
>  On Thu, Feb 28, 2008 at 9:47 AM, Carlos Alexandre de Souza da Silva
>  <[EMAIL PROTECTED]> wrote:
>  > I am getting this errors, anyone knows how to fix this or get a
>  >  LSB-Compliant init script, I am using the postgres 8.2.6 for redhat 5
>  >  from postgresql.org
>  >
>  >
>  >
>  >  Thanks in advance
>  >
>  >
>  >
>  >
>  >
>  >  Feb 28 10:28:57 pgmaster ResourceManager[9259]: [9610]: ERROR: Return
>  >  code 1 from /etc/init.d/postgresql
>  >
>  >  Feb 28 10:28:58 pgmaster ResourceManager[9259]: [9613]: info:
>  Retrying
>  >  failed stop operation [postgresql]
>  >
>  >  Feb 28 10:28:58 pgmaster ResourceManager[9259]: [9622]: info: Running
>  >  /etc/init.d/postgresql  stop
>  >
>  >  Feb 28 10:28:58 pgmaster ResourceManager[9259]: [9659]: ERROR: Return
>  >  code 1 from /etc/init.d/postgresql
>  >
>  >  Feb 28 10:28:59 pgmaster ResourceManager[9259]: [9662]: info:
>  Retrying
>  >  failed stop operation [postgresql]
>  >
>  >  Feb 28 10:28:59 pgmaster ResourceManager[9259]: [9671]: info: Running
>  >  /etc/init.d/postgresql  stop
>  >
>  >  Feb 28 10:28:59 pgmaster ResourceManager[9259]: [9708]: ERROR: Return
>  >  code 1 from /etc/init.d/postgresql
>  >
>  >  Feb 28 10:29:00 pgmaster ResourceManager[9259]: [9711]: info:
>  Retrying
>  >  failed stop operation [postgresql]
>  >
>  >  Feb 28 10:29:00 pgmaster ResourceManager[9259]: [9720]: info: Running
>  >  /etc/init.d/postgresql  stop
>  >
>  >  Feb 28 10:29:00 pgmaster ResourceManager[9259]: [9757]: ERROR: Return
>  >  code 1 from /etc/init.d/postgresql
>  >
>  >  Feb 28 10:29:01 pgmaster ResourceManager[9259]: [9760]: info:
>  Retrying
>  >  failed stop operation [postgresql]
>  >
>  >  Feb 28 10:29:01 pgmaster ResourceManager[9259]: [9769]: info: Running
>  >  /etc/init.d/postgresql  stop
>  >
>  >  Feb 28 10:29:02 pgmaster ResourceManager[9259]: [9806]: ERROR: Return
>  >  code 1 from /etc/init.d/postgresql
>  >
>  >  Feb 28 10:29:03 pgmaster ResourceManager[9259]: [9809]: info:
>  Retrying
>  >  failed stop operation [postgresql]
>  >
>  >  Feb 28 10:29:03 pgmaster ResourceManager[9259]: [9818]: info: Running
>  >  /etc/init.d/postgresql  stop
>  >
>  >  Feb 28 10:29:03 pgmaster ResourceManager[9259]: [9855]: ERROR: Return
>  >  code 1 from /etc/init.d/postgresql
>  >
>  >  Feb 28 10:29:04 pgmaster ResourceManager[9259]: [9858]: info:
>  Retrying
>  >  failed stop operation [postgresql]
>  >
>  >  Feb 28 10:29:04 pgmaster ResourceManager[9259]: [9867]: info: Running
>  >  /etc/init.d/postgresql  stop
>  >
>  >  Feb 28 10:29:04 pgmaster ResourceManager[9259]: [9904]: ERROR: Return
>  >  code 1 from /etc/init.d/postgresql
>  >
>  >  Feb 28 10:29:04 pgmaster ResourceManager[9259]: [9926]: ERROR:
>  Resource
>  >  script for postgresql probably not LSB-compliant.
>  >
>  >  Feb 28 10:29:04 pgmaster ResourceManager[9259]: [9927]: WARN: it
>  >  (postgresql) MUST succeed on a stop when already stopped
>  >
>  >
>  >
>  >  Carlos Alexandre
>  >  Analista de Suporte
>  >
>  >  Direct Phone: + 55 21 2142-9383
>  >  www.blumar.com.br <http://www.blumar.com.br>
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >  Av. Borges de Medeiros, 633 - Sala 405 a 408 - Leblon - Rio de
>  janeiro -
>  >  Brasil - 22430-041
>  >  www.blumar.com.br <http://www.blumar.com.br>  phone: +55 21 2142 9300
>  >  fax: +55 21 2511 3739
>  >
>  >
>  >
>  >
>  >
>  >
>  > _______________________________________________
>  >  Linux-HA mailing list
>  >  Linux-HA@lists.linux-ha.org
>  >  http://lists.linux-ha.org/mailman/listinfo/linux-ha
>  >  See also: http://linux-ha.org/ReportingProblems
>  >
>
>
>
>  --
>  Serge Dubrouski.
>  _______________________________________________
>  Linux-HA mailing list
>  Linux-HA@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@lists.linux-ha.org
>  http://lists.linux-ha.org/mailman/listinfo/linux-ha
>  See also: http://linux-ha.org/ReportingProblems
>



-- 
Serge Dubrouski.
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to