Mailing List Archive

$B%j%=!<%9$,5/F0$7$J(B$B$$>l9g!&%j%=!<%9$r=*N;$5$;$i$l(B$B$J$$>l9g!!$K$D$$$F(B
$B:d0fED$H?=$7$^$9!#(B
$B$4B8$8$NJ}$,$$$i$C$7$c$$$^$7$?$i!"(B2$B$D$[.$I65$($F$$$?$@$1$J$$$G$7$g$&$+!)(B

$B!J#1!K%j%=!<%95/F0MQ%9%/%j%W%H$,5/F0$7$J$$>l9g$N>r7o$K$D$$$F(B
heartbeat$B$O4IM}2<$N%j%=!<%9$r5/F0$5$;$k$?$a$K(B/etc/ha.d/resource.d/$B!"(B/etc/init.d/$B$N(B
$B5/F0%9%/%j%W%H$r<B9T$5$;$h$&$H$9$k$H;W$$$^$9$,!"<B9T$7$J$$>l9g$,$"$j:$$C$F$$$^$9!#(B
$B<B9T$9$k$?$a$N>r7o$H$$$&$b$N$,$"$k$N$G$7$g$&$+!)(B

$B6qBNE*$K$O(BpostgreSQL 8.2.6$B$N%9%/%j%W%H$,5/F0$7$^$;$s!#(B
$B$3$N%9%/%j%W%H$O%=!<%9$+$i(BpostgreSQL$B$rF~$l$?$H$-$K(B

cp /usr/local/src/postgresql-8.2.6/contrib/start-scripts/linux
/etc/rc.d/init.d/postgresql

$B$H$7$F!"%3%T!<$7$?$b$N$G$9!#(B

$B%9%/%j%W%H$O$=$lC1BN$G5/F0$9$k$3$H$r3NG'$7$F$$$^$9!#(B
/etc/init.d/postgresql start $B$HF~NO$7$?>l9g$K$O5/F0$7$^$9!#(B
$B$^$?!"2?$+$NM}M3$G(BPID$B%U%!%$%k$,;D$C$F$$$F(Bpostgres$B$,5/F0$7$J$$!"$H$$$&$o$1$G$O$"$j$^$;$s$G$7$?!#(B


$B!J#2!K%j%=!<%9$r=*N;$5$;$i$l$J$$>l9g$N5sF0$K$D$$$F(B
$BJ8Kv$N(B2$B$D$N%m%0$K$D$$$F65$($F$$$?$@$1$J$$$G$7$g$&$+!#(B
heartbeat$B$N4IM}%j%=!<%9$H$7$F(BpostgreSQL$B$r5/F0$7$F$$$^$9!#(B

$B%m%0$O(BResourceManager$B$,(BpostgreSQL$B%W%m%;%9$r=*N;$5$;$i$l$J$$$?$a$K(Bheartbeat$B$,0[>o=*N;$7$F$$$k!"$H$$$&$3$H$@$H;W$$$^$9$,(B
heartbeat$B$,(BOS$B$r%j%V!<%H$5$;$k>l9g$H!"$5$;$J$$>l9g$,$"$j$^$9!#$I$N$h$&$J0c$$$G$3$&$$$&F0:n$r$9$k$N$G$7$g$&$+!)(B


$B$3$N8=>]$O(B

1.heartbeat$B$,5/F0Cf$K<jF0$G(Bpostgresql$B%5!<%S%9$r%9%H%C%W!#(B
2.heartbeat$B$r<jF0$G%9%H%C%W$5$;$k!#(B
3.heartbeat$B$O4IM}%j%=!<%9$G$"$k(Bpostgresql$B$r%9%H%C%W$5$;$h$&$H$5$;$k!#(B
4.$B$7$+$7!"$9$G$K(Bpostgresql$B$O%9%H%C%W$7$F$$$k$?$a=*N;$5$;$i$l$J$$!#(B

$B$H$$$&>l9g$K5/$3$k$h$&$G$9!#(B


$B"#(BOS$B%j%V!<%H$9$k>l9g(B
ResourceManager[6477]: 2008/02/24_04:11:10 info: Releasing resource
group: node1 drbddisk Filesystem::/dev/drbd0::/data::ext3
192.168.1.1/24 postgresql
ResourceManager[6477]: 2008/02/24_04:11:10 info: Running
/etc/init.d/postgresql stop
ResourceManager[6477]: 2008/02/24_04:12:12 ERROR: Return code 1 from
/etc/init.d/postgresql
ResourceManager[6477]: 2008/02/24_04:12:13 info: Retrying failed stop
operation [postgresql]
ResourceManager[6477]: 2008/02/24_04:12:13 info: Running
/etc/init.d/postgresql stop
ResourceManager[6477]: 2008/02/24_04:13:15 ERROR: Return code 1 from
/etc/init.d/postgresql
ResourceManager[6477]: 2008/02/24_04:13:16 info: Retrying failed stop
operation [postgresql]
ResourceManager[6477]: 2008/02/24_04:13:16 info: Running
/etc/init.d/postgresql stop
ResourceManager[6477]: 2008/02/24_04:14:17 ERROR: Return code 1 from
/etc/init.d/postgresql
ResourceManager[6477]: 2008/02/24_04:14:18 info: Retrying failed stop
operation [postgresql]
ResourceManager[6477]: 2008/02/24_04:14:18 info: Running
/etc/init.d/postgresql stop
ResourceManager[6477]: 2008/02/24_04:15:20 ERROR: Return code 1 from
/etc/init.d/postgresql
ResourceManager[6477]: 2008/02/24_04:15:21 info: Retrying failed stop
operation [postgresql]
ResourceManager[6477]: 2008/02/24_04:15:21 info: Running
/etc/init.d/postgresql stop
ResourceManager[6477]: 2008/02/24_04:16:22 ERROR: Return code 1 from
/etc/init.d/postgresql
ResourceManager[6477]: 2008/02/24_04:16:23 info: Retrying failed stop
operation [postgresql]
ResourceManager[6477]: 2008/02/24_04:16:23 info: Running
/etc/init.d/postgresql stop
ResourceManager[6477]: 2008/02/24_04:17:25 ERROR: Return code 1 from
/etc/init.d/postgresql
ResourceManager[6477]: 2008/02/24_04:17:26 info: Retrying failed stop
operation [postgresql]
ResourceManager[6477]: 2008/02/24_04:17:26 info: Running
/etc/init.d/postgresql stop
ResourceManager[6477]: 2008/02/24_04:18:28 ERROR: Return code 1 from
/etc/init.d/postgresql
ResourceManager[6477]: 2008/02/24_04:18:29 info: Retrying failed stop
operation [postgresql]
ResourceManager[6477]: 2008/02/24_04:18:29 info: Running
/etc/init.d/postgresql stop
ResourceManager[6477]: 2008/02/24_04:19:30 ERROR: Return code 1 from
/etc/init.d/postgresql
ResourceManager[6477]: 2008/02/24_04:19:32 info: Retrying failed stop
operation [postgresql]
ResourceManager[6477]: 2008/02/24_04:19:32 info: Running
/etc/init.d/postgresql stop
ResourceManager[6477]: 2008/02/24_04:20:33 ERROR: Return code 1 from
/etc/init.d/postgresql
ResourceManager[6477]: 2008/02/24_04:20:35 info: Retrying failed stop
operation [postgresql]
ResourceManager[6477]: 2008/02/24_04:20:35 info: Running
/etc/init.d/postgresql stop
ResourceManager[6477]: 2008/02/24_04:21:37 ERROR: Return code 1 from
/etc/init.d/postgresql
ResourceManager[6477]: 2008/02/24_04:21:38 info: Retrying failed stop
operation [postgresql]
ResourceManager[6477]: 2008/02/24_04:21:38 info: Running
/etc/init.d/postgresql stop
ResourceManager[6477]: 2008/02/24_04:22:40 ERROR: Return code 1 from
/etc/init.d/postgresql
ResourceManager[6477]: 2008/02/24_04:22:40 CRIT: Resource STOP
failure. Reboot required!
ResourceManager[6477]: 2008/02/24_04:22:40 CRIT: Killing heartbeat ungracefully!

$B"#(BOS$B%j%V!<%H$7$J$$>l9g(B
ResourceManager[7265]: 2008/02/23_23:00:22 info: Releasing resource
group: node1 drbddisk Filesystem::/dev/drbd0::/data::ext3
192.168.1.1/24 postgresql
ResourceManager[7265]: 2008/02/23_23:00:23 info: Running
/etc/ha.d/resource.d/postgresql stop
ResourceManager[7265]: 2008/02/23_23:00:23 ERROR: Return code 1 from
/etc/ha.d/resource.d/postgresql
ResourceManager[7265]: 2008/02/23_23:00:25 info: Retrying failed stop
operation [postgresql]
ResourceManager[7265]: 2008/02/23_23:00:25 info: Running
/etc/ha.d/resource.d/postgresql stop
ResourceManager[7265]: 2008/02/23_23:00:25 ERROR: Return code 1 from
/etc/ha.d/resource.d/postgresql
ResourceManager[7265]: 2008/02/23_23:00:26 info: Retrying failed stop
operation [postgresql]
ResourceManager[7265]: 2008/02/23_23:00:26 info: Running
/etc/ha.d/resource.d/postgresql stop
ResourceManager[7265]: 2008/02/23_23:00:27 ERROR: Return code 1 from
/etc/ha.d/resource.d/postgresql
ResourceManager[7265]: 2008/02/23_23:00:28 info: Retrying failed stop
operation [postgresql]
ResourceManager[7265]: 2008/02/23_23:00:28 info: Running
/etc/ha.d/resource.d/postgresql stop
ResourceManager[7265]: 2008/02/23_23:00:29 ERROR: Return code 1 from
/etc/ha.d/resource.d/postgresql
ResourceManager[7265]: 2008/02/23_23:00:30 info: Retrying failed stop
operation [postgresql]
ResourceManager[7265]: 2008/02/23_23:00:30 info: Running
/etc/ha.d/resource.d/postgresql stop
ResourceManager[7265]: 2008/02/23_23:00:30 ERROR: Return code 1 from
/etc/ha.d/resource.d/postgresql
ResourceManager[7265]: 2008/02/23_23:00:32 info: Retrying failed stop
operation [postgresql]
ResourceManager[7265]: 2008/02/23_23:00:32 info: Running
/etc/ha.d/resource.d/postgresql stop
ResourceManager[7265]: 2008/02/23_23:00:32 ERROR: Return code 1 from
/etc/ha.d/resource.d/postgresql
ResourceManager[7265]: 2008/02/23_23:00:33 info: Retrying failed stop
operation [postgresql]
ResourceManager[7265]: 2008/02/23_23:00:33 info: Running
/etc/ha.d/resource.d/postgresql stop
ResourceManager[7265]: 2008/02/23_23:00:35 ERROR: Return code 1 from
/etc/ha.d/resource.d/postgresql
ResourceManager[7265]: 2008/02/23_23:00:36 info: Retrying failed stop
operation [postgresql]
ResourceManager[7265]: 2008/02/23_23:00:36 info: Running
/etc/ha.d/resource.d/postgresql stop
ResourceManager[7265]: 2008/02/23_23:00:36 ERROR: Return code 1 from
/etc/ha.d/resource.d/postgresql
ResourceManager[7265]: 2008/02/23_23:00:37 info: Retrying failed stop
operation [postgresql]
ResourceManager[7265]: 2008/02/23_23:00:37 info: Running
/etc/ha.d/resource.d/postgresql stop
ResourceManager[7265]: 2008/02/23_23:00:38 ERROR: Return code 1 from
/etc/ha.d/resource.d/postgresql
ResourceManager[7265]: 2008/02/23_23:00:39 info: Retrying failed stop
operation [postgresql]
ResourceManager[7265]: 2008/02/23_23:00:39 info: Running
/etc/ha.d/resource.d/postgresql stop
ResourceManager[7265]: 2008/02/23_23:00:40 ERROR: Return code 1 from
/etc/ha.d/resource.d/postgresql
ResourceManager[7265]: 2008/02/23_23:00:41 info: Retrying failed stop
operation [postgresql]
ResourceManager[7265]: 2008/02/23_23:00:41 info: Running
/etc/ha.d/resource.d/postgresql stop
ResourceManager[7265]: 2008/02/23_23:00:41 ERROR: Return code 1 from
/etc/ha.d/resource.d/postgresql
ResourceManager[7265]: 2008/02/23_23:00:42 ERROR: Resource script for
postgresql probably not LSB-compliant.
ResourceManager[7265]: 2008/02/23_23:00:42 WARN: it (postgresql) MUST
succeed on a stop when already stopped
ResourceManager[7265]: 2008/02/23_23:00:42 WARN: Machine reboot
narrowly avoided!


$B0J>e!"59$7$/$*4j$$CW$7$^$9!#(B

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: $B%j%=!<%9$,5/F0$7$J(B$B$$>l9g!&%j%=!<%9$r=*N;$5$;$i$l(B$B$J$$>l9g!!$K$D$$$F(B [ In reply to ]
$BCSED$H?=$7$^$9!#(B

$B5HBt$5$s$b;XE&$5$l$F$$$i$C$7$c$$$^$9$,(B
$B8_49@-$KLdBj$,$"$k$N$G$O$J$$$G$7$g$&$+!#(B
$B;d$O(BLSB$B$N(BRA$B$r;H$C$?$3$H$,$J$$$N$G(B
$B8+47$l$J$$%m%0$J$N$G$9$,!"!V(BOS$B$,%j%V!<%H$7$J$$!W$H$-$K$G$F$$$k(B
$B!V(BResource script for postgresql probably not LSB-compliant.$B!W(B
$B$C$F$"$d$7$$$G$9$h$M!#!#!#(B

OCF$B%j%=!<%9%(!<%8%'%s%H$r;H$C$?(BHeartbeat + PostgreSQL$B$N(B
$BAH$_9g$o$;$O$&$^$/$$$-$^$9$N$G!"$48!F$$/$@$5$$!#!#(B

$B0J>e$h$m$7$/$*4j$$$$$?$7$^$9!#(B

$BCSED=_;R(B



> -----Original Message-----
> From: linux-ha-japan-bounces@lists.sourceforge.jp
> [mailto:linux-ha-japan-bounces@lists.sourceforge.jp] On Behalf Of $B:d0fEDJ](B
> $BI'(B
> Sent: Tuesday, February 26, 2008 5:53 PM
> To: linux-ha-japan@lists.sourceforge.jp
> Subject: [Linux-ha-jp] $B%j%=!<%9$,5/F0$7$J$$>l9g!&%j%=!<%9$r=*N;$5$;$i$l$J(B
$B$$(B
> $B>l9g!!$K$D$$$F(B
>
> $B:d0fED$H?=$7$^$9!#(B
> $B$4B8$8$NJ}$,$$$i$C$7$c$$$^$7$?$i!"(B2$B$D$[.$I65$($F$$$?$@$1$J$$$G$7$g$&$+!)(B
>
> $B!J#1!K%j%=!<%95/F0MQ%9%/%j%W%H$,5/F0$7$J$$>l9g$N>r7o$K$D$$$F(B
> heartbeat$B$O4IM}2<$N%j%=!<%9$r5/F0$5$;$k$?$a$K(B/etc/ha.d/resource.d/$B!"(B
> /etc/init.d/$B$N(B
> $B5/F0%9%/%j%W%H$r<B9T$5$;$h$&$H$9$k$H;W$$$^$9$,!"<B9T$7$J$$>l9g$,$"$j:$$C$F(B
> $B$$$^$9!#(B
> $B<B9T$9$k$?$a$N>r7o$H$$$&$b$N$,$"$k$N$G$7$g$&$+!)(B
>
> $B6qBNE*$K$O(BpostgreSQL 8.2.6$B$N%9%/%j%W%H$,5/F0$7$^$;$s!#(B
> $B$3$N%9%/%j%W%H$O%=!<%9$+$i(BpostgreSQL$B$rF~$l$?$H$-$K(B
>
> cp /usr/local/src/postgresql-8.2.6/contrib/start-scripts/linux
> /etc/rc.d/init.d/postgresql
>
> $B$H$7$F!"%3%T!<$7$?$b$N$G$9!#(B
>
> $B%9%/%j%W%H$O$=$lC1BN$G5/F0$9$k$3$H$r3NG'$7$F$$$^$9!#(B
> /etc/init.d/postgresql start $B$HF~NO$7$?>l9g$K$O5/F0$7$^$9!#(B
> $B$^$?!"2?$+$NM}M3$G(BPID$B%U%!%$%k$,;D$C$F$$$F(Bpostgres$B$,5/F0$7$J$$!"$H$$$&$o$1(B
> $B$G$O$"$j$^$;$s$G$7$?!#(B
>
>
> $B!J#2!K%j%=!<%9$r=*N;$5$;$i$l$J$$>l9g$N5sF0$K$D$$$F(B
> $BJ8Kv$N(B2$B$D$N%m%0$K$D$$$F65$($F$$$?$@$1$J$$$G$7$g$&$+!#(B
> heartbeat$B$N4IM}%j%=!<%9$H$7$F(BpostgreSQL$B$r5/F0$7$F$$$^$9!#(B
>
> $B%m%0$O(BResourceManager$B$,(BpostgreSQL$B%W%m%;%9$r=*N;$5$;$i$l$J$$$?$a$K(B
> heartbeat$B$,0[>o=*N;$7$F$$$k!"$H$$$&$3$H$@$H;W$$$^$9$,(B
> heartbeat$B$,(BOS$B$r%j%V!<%H$5$;$k>l9g$H!"$5$;$J$$>l9g$,$"$j$^$9!#$I$N$h$&$J0c(B
> $B$$$G$3$&$$$&F0:n$r$9$k$N$G$7$g$&$+!)(B
>
>
> $B$3$N8=>]$O(B
>
> 1.heartbeat$B$,5/F0Cf$K<jF0$G(Bpostgresql$B%5!<%S%9$r%9%H%C%W!#(B
> 2.heartbeat$B$r<jF0$G%9%H%C%W$5$;$k!#(B
> 3.heartbeat$B$O4IM}%j%=!<%9$G$"$k(Bpostgresql$B$r%9%H%C%W$5$;$h$&$H$5(B
> $B$;$k!#(B
> 4.$B$7$+$7!"$9$G$K(Bpostgresql$B$O%9%H%C%W$7$F$$$k$?$a=*N;$5$;$i$l$J$$!#(B
>
> $B$H$$$&>l9g$K5/$3$k$h$&$G$9!#(B
>
>
> $B"#(BOS$B%j%V!<%H$9$k>l9g(B
> ResourceManager[6477]: 2008/02/24_04:11:10 info: Releasing resource
> group: node1 drbddisk Filesystem::/dev/drbd0::/data::ext3
> 192.168.1.1/24 postgresql
> ResourceManager[6477]: 2008/02/24_04:11:10 info: Running
> /etc/init.d/postgresql stop
> ResourceManager[6477]: 2008/02/24_04:12:12 ERROR: Return code 1
from
> /etc/init.d/postgresql
> ResourceManager[6477]: 2008/02/24_04:12:13 info: Retrying failed
stop
> operation [postgresql]
> ResourceManager[6477]: 2008/02/24_04:12:13 info: Running
> /etc/init.d/postgresql stop
> ResourceManager[6477]: 2008/02/24_04:13:15 ERROR: Return code 1
from
> /etc/init.d/postgresql
> ResourceManager[6477]: 2008/02/24_04:13:16 info: Retrying failed
stop
> operation [postgresql]
> ResourceManager[6477]: 2008/02/24_04:13:16 info: Running
> /etc/init.d/postgresql stop
> ResourceManager[6477]: 2008/02/24_04:14:17 ERROR: Return code 1
from
> /etc/init.d/postgresql
> ResourceManager[6477]: 2008/02/24_04:14:18 info: Retrying failed
stop
> operation [postgresql]
> ResourceManager[6477]: 2008/02/24_04:14:18 info: Running
> /etc/init.d/postgresql stop
> ResourceManager[6477]: 2008/02/24_04:15:20 ERROR: Return code 1
from
> /etc/init.d/postgresql
> ResourceManager[6477]: 2008/02/24_04:15:21 info: Retrying failed
stop
> operation [postgresql]
> ResourceManager[6477]: 2008/02/24_04:15:21 info: Running
> /etc/init.d/postgresql stop
> ResourceManager[6477]: 2008/02/24_04:16:22 ERROR: Return code 1
from
> /etc/init.d/postgresql
> ResourceManager[6477]: 2008/02/24_04:16:23 info: Retrying failed
stop
> operation [postgresql]
> ResourceManager[6477]: 2008/02/24_04:16:23 info: Running
> /etc/init.d/postgresql stop
> ResourceManager[6477]: 2008/02/24_04:17:25 ERROR: Return code 1
from
> /etc/init.d/postgresql
> ResourceManager[6477]: 2008/02/24_04:17:26 info: Retrying failed
stop
> operation [postgresql]
> ResourceManager[6477]: 2008/02/24_04:17:26 info: Running
> /etc/init.d/postgresql stop
> ResourceManager[6477]: 2008/02/24_04:18:28 ERROR: Return code 1
from
> /etc/init.d/postgresql
> ResourceManager[6477]: 2008/02/24_04:18:29 info: Retrying failed
stop
> operation [postgresql]
> ResourceManager[6477]: 2008/02/24_04:18:29 info: Running
> /etc/init.d/postgresql stop
> ResourceManager[6477]: 2008/02/24_04:19:30 ERROR: Return code 1
from
> /etc/init.d/postgresql
> ResourceManager[6477]: 2008/02/24_04:19:32 info: Retrying failed
stop
> operation [postgresql]
> ResourceManager[6477]: 2008/02/24_04:19:32 info: Running
> /etc/init.d/postgresql stop
> ResourceManager[6477]: 2008/02/24_04:20:33 ERROR: Return code 1
from
> /etc/init.d/postgresql
> ResourceManager[6477]: 2008/02/24_04:20:35 info: Retrying failed
stop
> operation [postgresql]
> ResourceManager[6477]: 2008/02/24_04:20:35 info: Running
> /etc/init.d/postgresql stop
> ResourceManager[6477]: 2008/02/24_04:21:37 ERROR: Return code 1
from
> /etc/init.d/postgresql
> ResourceManager[6477]: 2008/02/24_04:21:38 info: Retrying failed
stop
> operation [postgresql]
> ResourceManager[6477]: 2008/02/24_04:21:38 info: Running
> /etc/init.d/postgresql stop
> ResourceManager[6477]: 2008/02/24_04:22:40 ERROR: Return code 1
from
> /etc/init.d/postgresql
> ResourceManager[6477]: 2008/02/24_04:22:40 CRIT: Resource STOP
> failure. Reboot required!
> ResourceManager[6477]: 2008/02/24_04:22:40 CRIT: Killing heartbeat
> ungracefully!
>
> $B"#(BOS$B%j%V!<%H$7$J$$>l9g(B
> ResourceManager[7265]: 2008/02/23_23:00:22 info: Releasing resource
> group: node1 drbddisk Filesystem::/dev/drbd0::/data::ext3
> 192.168.1.1/24 postgresql
> ResourceManager[7265]: 2008/02/23_23:00:23 info: Running
> /etc/ha.d/resource.d/postgresql stop
> ResourceManager[7265]: 2008/02/23_23:00:23 ERROR: Return code 1 from
> /etc/ha.d/resource.d/postgresql
> ResourceManager[7265]: 2008/02/23_23:00:25 info: Retrying failed stop
> operation [postgresql]
> ResourceManager[7265]: 2008/02/23_23:00:25 info: Running
> /etc/ha.d/resource.d/postgresql stop
> ResourceManager[7265]: 2008/02/23_23:00:25 ERROR: Return code 1 from
> /etc/ha.d/resource.d/postgresql
> ResourceManager[7265]: 2008/02/23_23:00:26 info: Retrying failed stop
> operation [postgresql]
> ResourceManager[7265]: 2008/02/23_23:00:26 info: Running
> /etc/ha.d/resource.d/postgresql stop
> ResourceManager[7265]: 2008/02/23_23:00:27 ERROR: Return code 1 from
> /etc/ha.d/resource.d/postgresql
> ResourceManager[7265]: 2008/02/23_23:00:28 info: Retrying failed stop
> operation [postgresql]
> ResourceManager[7265]: 2008/02/23_23:00:28 info: Running
> /etc/ha.d/resource.d/postgresql stop
> ResourceManager[7265]: 2008/02/23_23:00:29 ERROR: Return code 1 from
> /etc/ha.d/resource.d/postgresql
> ResourceManager[7265]: 2008/02/23_23:00:30 info: Retrying failed stop
> operation [postgresql]
> ResourceManager[7265]: 2008/02/23_23:00:30 info: Running
> /etc/ha.d/resource.d/postgresql stop
> ResourceManager[7265]: 2008/02/23_23:00:30 ERROR: Return code 1 from
> /etc/ha.d/resource.d/postgresql
> ResourceManager[7265]: 2008/02/23_23:00:32 info: Retrying failed stop
> operation [postgresql]
> ResourceManager[7265]: 2008/02/23_23:00:32 info: Running
> /etc/ha.d/resource.d/postgresql stop
> ResourceManager[7265]: 2008/02/23_23:00:32 ERROR: Return code 1 from
> /etc/ha.d/resource.d/postgresql
> ResourceManager[7265]: 2008/02/23_23:00:33 info: Retrying failed stop
> operation [postgresql]
> ResourceManager[7265]: 2008/02/23_23:00:33 info: Running
> /etc/ha.d/resource.d/postgresql stop
> ResourceManager[7265]: 2008/02/23_23:00:35 ERROR: Return code 1 from
> /etc/ha.d/resource.d/postgresql
> ResourceManager[7265]: 2008/02/23_23:00:36 info: Retrying failed stop
> operation [postgresql]
> ResourceManager[7265]: 2008/02/23_23:00:36 info: Running
> /etc/ha.d/resource.d/postgresql stop
> ResourceManager[7265]: 2008/02/23_23:00:36 ERROR: Return code 1 from
> /etc/ha.d/resource.d/postgresql
> ResourceManager[7265]: 2008/02/23_23:00:37 info: Retrying failed stop
> operation [postgresql]
> ResourceManager[7265]: 2008/02/23_23:00:37 info: Running
> /etc/ha.d/resource.d/postgresql stop
> ResourceManager[7265]: 2008/02/23_23:00:38 ERROR: Return code 1 from
> /etc/ha.d/resource.d/postgresql
> ResourceManager[7265]: 2008/02/23_23:00:39 info: Retrying failed stop
> operation [postgresql]
> ResourceManager[7265]: 2008/02/23_23:00:39 info: Running
> /etc/ha.d/resource.d/postgresql stop
> ResourceManager[7265]: 2008/02/23_23:00:40 ERROR: Return code 1 from
> /etc/ha.d/resource.d/postgresql
> ResourceManager[7265]: 2008/02/23_23:00:41 info: Retrying failed stop
> operation [postgresql]
> ResourceManager[7265]: 2008/02/23_23:00:41 info: Running
> /etc/ha.d/resource.d/postgresql stop
> ResourceManager[7265]: 2008/02/23_23:00:41 ERROR: Return code 1 from
> /etc/ha.d/resource.d/postgresql
> ResourceManager[7265]: 2008/02/23_23:00:42 ERROR: Resource script for
> postgresql probably not LSB-compliant.
> ResourceManager[7265]: 2008/02/23_23:00:42 WARN: it (postgresql) MUST
> succeed on a stop when already stopped
> ResourceManager[7265]: 2008/02/23_23:00:42 WARN: Machine reboot
> narrowly avoided!
>
>
> $B0J>e!"59$7$/$*4j$$CW$7$^$9!#(B
>
> _______________________________________________
> Linux-ha-japan mailing list
> Linux-ha-japan@lists.sourceforge.jp
> http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
Re: $B%j%=!<%9$,5/F0$7$J(B$B$$>l9g!&%j%=!<%9$r=*N;$5$;$i$l(B$B$J$$>l9g(B $B$K$D$$$F(B [ In reply to ]
$B5HBtMM!"?yB<MM!"CSEDMM(B

$B:d0fED$G$9!#M-1W$J>pJs$"$j$,$H$&$4$6$$$^$9!#(B
$B!J$4JV?.$,$:$$$V$sCY$/$J$C$F$7$^$$$^$7$?!#$9$_$^$;$s!K(B

> $B!J#1!K$K$D$$$F(B
>
> LSB$B%j%=!<%9%(!<%8%'%s%H$r;HMQ$7$F$$$k$h$&$G$9$,!"!V(B/etc/rc.d/init.d/postgresql$B!W$O(B
> http://www.linux-ha.org/ja/LSBResourceAgent_ja
> $B$N8_49@-%A%'%C%/$rA4$F%/%j%"$9$k$G$7$g$&$+!)(B
>
> $B<+J,$,!"(BPostgreSQL$B$H(BHeartbeat$B$r;n$7$?:](B(heartbeat-2.1.2-2.i386.rpm$B$r;HMQ$7$^$7$?(B)$B$K$O(B
> OCF$B%j%=!<%9%(!<%8%'%s%H$H$7$F%j%=!<%9$r:n@.$7$^$7$?!#(B
> $B$3$N>l9g!V(B/usr/lib/ocf/resource.d/heartbeat/pgsql$B!W$r;HMQ$7$F$$$k$h$&$G$9!#(B
>
> OCF$B%j%=!<%9%(!<%8%'%s%H$KJQ99$9$k;v$O$G$-$^$;$s$+!)$3$N>l9g%j%=!<%9:n@.;~$K(B
> Class/Provider$B$,(Blsb$B$G$O$J$/!"(Bocf/heartbeat$B$K$J$k$H;W$$$^$9!#(B

hearbeat 2.1.3$B$r;HMQ$7$F$$$^$9$,!"%P!<%8%g%s(B1$B$N@_DjJ}K!$G;HMQ$7$F$$$^$7$?!#(B
$B!J$4;XE&$$$?$@$/A0$O<+J,$,%P!<%8%g%s(B1$B$N@_Dj$r$7$F$$$k$3$H<+BN$bCN$j$^$;$s$G$7$?!K(B
$B8_49@-%A%'%C%/$r$7$?$H$3$m(BLSB$B$K=`5r$7$F$$$J$$$H$$$&7k2L$G$7$?$N$G5/F0$G$-$J$+$C$?$h$&$G$9!#(B
OCF$B%j%=!<%9%(!<%8%'%s%H$r;HMQ$9$k@_Dj$KJQ99$7$F;n$7$F$_$^$9!#(B


> $B!J#2!K$K$D$$$F(B
>
> $B#1$N860x$G(BHeartbeat$B$,(BPostgreSQL$B$r$-$C$A$j5/F0@)8f$G$-$F$$$J$$$N$,860x$N$h$&$J5$$,$7$^$9!#(B
> $B$^$?(BOS$B%j%V!<%H$9$k>l9g$O!V(B/etc/init.d/postgresql$B!W$J$N$KBP$7$F(BOS$B%j%V!<%H$7$J$$>l9g$O(B
> $B!V(B/etc/ha.d/resource.d/postgresql$B!W$J$N$O2?8N$J$N$G$7$g$&$+!&!&!&!)(B
> $BN>%9%/%j%W%H$OF10l$N$b$N$G$7$g$&$+!)(B

$B%j%V!<%H$9$k>l9g$O(BPostgreSQL8.2.6$B!"$7$J$$>l9g$O(B7.3.21$B$G$7$?!#(B
LSB$B8_49@-%A%'%C%/$K$*$$$FJV$C$FMh$k%(%i!<%3!<%I$,(B8$B7O$H(B7$B7O$G0[$J$C$F$$$^$7$?$N$G(B
heartbeat$B$N5sF0$bJQ2=$7$?$N$+$b$7$l$^$;$s!#(B



> $B$D$$$G$KA02s$N%j%=!<%98N>c$r3P$($F$$$k;v$G(Bfail-count$B$,%+%&%s%H%"%C%W$5$l$F$$$k;v$b860x$+$b(B
> $B$7$l$^$;$s!#%j%=!<%9$N%/%j!<%s%"%C%W$O9T$C$F$$$^$9$+!)(B

$B9T$C$F$$$^$;$s!#(BOCF$B$N@_Dj$H9g$o$;$F3NG'$7$F$_$^$9!#(B


08/02/27 $B$K(B Junko IKEDA<ikedaj@intellilink.co.jp> $B$5$s$O=q$-$^$7$?(B:
> $BCSED$H?=$7$^$9!#(B
>
> $B5HBt$5$s$b;XE&$5$l$F$$$i$C$7$c$$$^$9$,(B
> $B8_49@-$KLdBj$,$"$k$N$G$O$J$$$G$7$g$&$+!#(B
> $B;d$O(BLSB$B$N(BRA$B$r;H$C$?$3$H$,$J$$$N$G(B
> $B8+47$l$J$$%m%0$J$N$G$9$,!"!V(BOS$B$,%j%V!<%H$7$J$$!W$H$-$K$G$F$$$k(B
> $B!V(BResource script for postgresql probably not LSB-compliant.$B!W(B
> $B$C$F$"$d$7$$$G$9$h$M!#!#!#(B
>
> OCF$B%j%=!<%9%(!<%8%'%s%H$r;H$C$?(BHeartbeat + PostgreSQL$B$N(B
> $BAH$_9g$o$;$O$&$^$/$$$-$^$9$N$G!"$48!F$$/$@$5$$!#!#(B
>
> $B0J>e$h$m$7$/$*4j$$$$$?$7$^$9!#(B
>
> $BCSED=_;R(B
>
>
>
>
> > -----Original Message-----
> > From: linux-ha-japan-bounces@lists.sourceforge.jp
> > [mailto:linux-ha-japan-bounces@lists.sourceforge.jp] On Behalf Of $B:d0fEDJ](B
> > $BI'(B
> > Sent: Tuesday, February 26, 2008 5:53 PM
> > To: linux-ha-japan@lists.sourceforge.jp
> > Subject: [Linux-ha-jp] $B%j%=!<%9$,5/F0$7$J$$>l9g!&%j%=!<%9$r=*N;$5$;$i$l$J(B
> $B$$(B
> > $B>l9g!!$K$D$$$F(B
> >
> > $B:d0fED$H?=$7$^$9!#(B
> > $B$4B8$8$NJ}$,$$$i$C$7$c$$$^$7$?$i!"(B2$B$D$[.$I65$($F$$$?$@$1$J$$$G$7$g$&$+!)(B
> >
> > $B!J#1!K%j%=!<%95/F0MQ%9%/%j%W%H$,5/F0$7$J$$>l9g$N>r7o$K$D$$$F(B
> > heartbeat$B$O4IM}2<$N%j%=!<%9$r5/F0$5$;$k$?$a$K(B/etc/ha.d/resource.d/$B!"(B
> > /etc/init.d/$B$N(B
> > $B5/F0%9%/%j%W%H$r<B9T$5$;$h$&$H$9$k$H;W$$$^$9$,!"<B9T$7$J$$>l9g$,$"$j:$$C$F(B
> > $B$$$^$9!#(B
> > $B<B9T$9$k$?$a$N>r7o$H$$$&$b$N$,$"$k$N$G$7$g$&$+!)(B
> >
> > $B6qBNE*$K$O(BpostgreSQL 8.2.6$B$N%9%/%j%W%H$,5/F0$7$^$;$s!#(B
> > $B$3$N%9%/%j%W%H$O%=!<%9$+$i(BpostgreSQL$B$rF~$l$?$H$-$K(B
> >
> > cp /usr/local/src/postgresql-8.2.6/contrib/start-scripts/linux
> > /etc/rc.d/init.d/postgresql
> >
> > $B$H$7$F!"%3%T!<$7$?$b$N$G$9!#(B
> >
> > $B%9%/%j%W%H$O$=$lC1BN$G5/F0$9$k$3$H$r3NG'$7$F$$$^$9!#(B
> > /etc/init.d/postgresql start $B$HF~NO$7$?>l9g$K$O5/F0$7$^$9!#(B
> > $B$^$?!"2?$+$NM}M3$G(BPID$B%U%!%$%k$,;D$C$F$$$F(Bpostgres$B$,5/F0$7$J$$!"$H$$$&$o$1(B
> > $B$G$O$"$j$^$;$s$G$7$?!#(B
> >
> >
> > $B!J#2!K%j%=!<%9$r=*N;$5$;$i$l$J$$>l9g$N5sF0$K$D$$$F(B
> > $BJ8Kv$N(B2$B$D$N%m%0$K$D$$$F65$($F$$$?$@$1$J$$$G$7$g$&$+!#(B
> > heartbeat$B$N4IM}%j%=!<%9$H$7$F(BpostgreSQL$B$r5/F0$7$F$$$^$9!#(B
> >
> > $B%m%0$O(BResourceManager$B$,(BpostgreSQL$B%W%m%;%9$r=*N;$5$;$i$l$J$$$?$a$K(B
> > heartbeat$B$,0[.>o=*N;$7$F$$$k!"$H$$$&$3$H$@$H;W$$$^$9$,(B
> > heartbeat$B$,(BOS$B$r%j%V!<%H$5$;$k>l9g$H!"$5$;$J$$>l9g$,$"$j$^$9!#$I$N$h$&$J0c(B
> > $B$$$G$3$&$$$&F0:n$r$9$k$N$G$7$g$&$+!)(B
> >
> >
> > $B$3$N8=>]$O(B
> >
> > 1.heartbeat$B$,5/F0Cf$K<jF0$G(Bpostgresql$B%5!<%S%9$r%9%H%C%W!#(B
> > 2.heartbeat$B$r<jF0$G%9%H%C%W$5$;$k!#(B
> > 3.heartbeat$B$O4IM}%j%=!<%9$G$"$k(Bpostgresql$B$r%9%H%C%W$5$;$h$&$H$5(B
> > $B$;$k!#(B
> > 4.$B$7$+$7!"$9$G$K(Bpostgresql$B$O%9%H%C%W$7$F$$$k$?$a=*N;$5$;$i$l$J$$!#(B
> >
> > $B$H$$$&>l9g$K5/$3$k$h$&$G$9!#(B
> >
> >
> > $B"#(BOS$B%j%V!<%H$9$k>l9g(B
> > ResourceManager[6477]: 2008/02/24_04:11:10 info: Releasing resource
> > group: node1 drbddisk Filesystem::/dev/drbd0::/data::ext3
> > 192.168.1.1/24 postgresql
> > ResourceManager[6477]: 2008/02/24_04:11:10 info: Running
> > /etc/init.d/postgresql stop
> > ResourceManager[6477]: 2008/02/24_04:12:12 ERROR: Return code 1
> from
> > /etc/init.d/postgresql
> > ResourceManager[6477]: 2008/02/24_04:12:13 info: Retrying failed
> stop
> > operation [postgresql]
> > ResourceManager[6477]: 2008/02/24_04:12:13 info: Running
> > /etc/init.d/postgresql stop
> > ResourceManager[6477]: 2008/02/24_04:13:15 ERROR: Return code 1
> from
> > /etc/init.d/postgresql
> > ResourceManager[6477]: 2008/02/24_04:13:16 info: Retrying failed
> stop
> > operation [postgresql]
> > ResourceManager[6477]: 2008/02/24_04:13:16 info: Running
> > /etc/init.d/postgresql stop
> > ResourceManager[6477]: 2008/02/24_04:14:17 ERROR: Return code 1
> from
> > /etc/init.d/postgresql
> > ResourceManager[6477]: 2008/02/24_04:14:18 info: Retrying failed
> stop
> > operation [postgresql]
> > ResourceManager[6477]: 2008/02/24_04:14:18 info: Running
> > /etc/init.d/postgresql stop
> > ResourceManager[6477]: 2008/02/24_04:15:20 ERROR: Return code 1
> from
> > /etc/init.d/postgresql
> > ResourceManager[6477]: 2008/02/24_04:15:21 info: Retrying failed
> stop
> > operation [postgresql]
> > ResourceManager[6477]: 2008/02/24_04:15:21 info: Running
> > /etc/init.d/postgresql stop
> > ResourceManager[6477]: 2008/02/24_04:16:22 ERROR: Return code 1
> from
> > /etc/init.d/postgresql
> > ResourceManager[6477]: 2008/02/24_04:16:23 info: Retrying failed
> stop
> > operation [postgresql]
> > ResourceManager[6477]: 2008/02/24_04:16:23 info: Running
> > /etc/init.d/postgresql stop
> > ResourceManager[6477]: 2008/02/24_04:17:25 ERROR: Return code 1
> from
> > /etc/init.d/postgresql
> > ResourceManager[6477]: 2008/02/24_04:17:26 info: Retrying failed
> stop
> > operation [postgresql]
> > ResourceManager[6477]: 2008/02/24_04:17:26 info: Running
> > /etc/init.d/postgresql stop
> > ResourceManager[6477]: 2008/02/24_04:18:28 ERROR: Return code 1
> from
> > /etc/init.d/postgresql
> > ResourceManager[6477]: 2008/02/24_04:18:29 info: Retrying failed
> stop
> > operation [postgresql]
> > ResourceManager[6477]: 2008/02/24_04:18:29 info: Running
> > /etc/init.d/postgresql stop
> > ResourceManager[6477]: 2008/02/24_04:19:30 ERROR: Return code 1
> from
> > /etc/init.d/postgresql
> > ResourceManager[6477]: 2008/02/24_04:19:32 info: Retrying failed
> stop
> > operation [postgresql]
> > ResourceManager[6477]: 2008/02/24_04:19:32 info: Running
> > /etc/init.d/postgresql stop
> > ResourceManager[6477]: 2008/02/24_04:20:33 ERROR: Return code 1
> from
> > /etc/init.d/postgresql
> > ResourceManager[6477]: 2008/02/24_04:20:35 info: Retrying failed
> stop
> > operation [postgresql]
> > ResourceManager[6477]: 2008/02/24_04:20:35 info: Running
> > /etc/init.d/postgresql stop
> > ResourceManager[6477]: 2008/02/24_04:21:37 ERROR: Return code 1
> from
> > /etc/init.d/postgresql
> > ResourceManager[6477]: 2008/02/24_04:21:38 info: Retrying failed
> stop
> > operation [postgresql]
> > ResourceManager[6477]: 2008/02/24_04:21:38 info: Running
> > /etc/init.d/postgresql stop
> > ResourceManager[6477]: 2008/02/24_04:22:40 ERROR: Return code 1
> from
> > /etc/init.d/postgresql
> > ResourceManager[6477]: 2008/02/24_04:22:40 CRIT: Resource STOP
> > failure. Reboot required!
> > ResourceManager[6477]: 2008/02/24_04:22:40 CRIT: Killing heartbeat
> > ungracefully!
> >
> > $B"#(BOS$B%j%V!<%H$7$J$$>l9g(B
> > ResourceManager[7265]: 2008/02/23_23:00:22 info: Releasing resource
> > group: node1 drbddisk Filesystem::/dev/drbd0::/data::ext3
> > 192.168.1.1/24 postgresql
> > ResourceManager[7265]: 2008/02/23_23:00:23 info: Running
> > /etc/ha.d/resource.d/postgresql stop
> > ResourceManager[7265]: 2008/02/23_23:00:23 ERROR: Return code 1 from
> > /etc/ha.d/resource.d/postgresql
> > ResourceManager[7265]: 2008/02/23_23:00:25 info: Retrying failed stop
> > operation [postgresql]
> > ResourceManager[7265]: 2008/02/23_23:00:25 info: Running
> > /etc/ha.d/resource.d/postgresql stop
> > ResourceManager[7265]: 2008/02/23_23:00:25 ERROR: Return code 1 from
> > /etc/ha.d/resource.d/postgresql
> > ResourceManager[7265]: 2008/02/23_23:00:26 info: Retrying failed stop
> > operation [postgresql]
> > ResourceManager[7265]: 2008/02/23_23:00:26 info: Running
> > /etc/ha.d/resource.d/postgresql stop
> > ResourceManager[7265]: 2008/02/23_23:00:27 ERROR: Return code 1 from
> > /etc/ha.d/resource.d/postgresql
> > ResourceManager[7265]: 2008/02/23_23:00:28 info: Retrying failed stop
> > operation [postgresql]
> > ResourceManager[7265]: 2008/02/23_23:00:28 info: Running
> > /etc/ha.d/resource.d/postgresql stop
> > ResourceManager[7265]: 2008/02/23_23:00:29 ERROR: Return code 1 from
> > /etc/ha.d/resource.d/postgresql
> > ResourceManager[7265]: 2008/02/23_23:00:30 info: Retrying failed stop
> > operation [postgresql]
> > ResourceManager[7265]: 2008/02/23_23:00:30 info: Running
> > /etc/ha.d/resource.d/postgresql stop
> > ResourceManager[7265]: 2008/02/23_23:00:30 ERROR: Return code 1 from
> > /etc/ha.d/resource.d/postgresql
> > ResourceManager[7265]: 2008/02/23_23:00:32 info: Retrying failed stop
> > operation [postgresql]
> > ResourceManager[7265]: 2008/02/23_23:00:32 info: Running
> > /etc/ha.d/resource.d/postgresql stop
> > ResourceManager[7265]: 2008/02/23_23:00:32 ERROR: Return code 1 from
> > /etc/ha.d/resource.d/postgresql
> > ResourceManager[7265]: 2008/02/23_23:00:33 info: Retrying failed stop
> > operation [postgresql]
> > ResourceManager[7265]: 2008/02/23_23:00:33 info: Running
> > /etc/ha.d/resource.d/postgresql stop
> > ResourceManager[7265]: 2008/02/23_23:00:35 ERROR: Return code 1 from
> > /etc/ha.d/resource.d/postgresql
> > ResourceManager[7265]: 2008/02/23_23:00:36 info: Retrying failed stop
> > operation [postgresql]
> > ResourceManager[7265]: 2008/02/23_23:00:36 info: Running
> > /etc/ha.d/resource.d/postgresql stop
> > ResourceManager[7265]: 2008/02/23_23:00:36 ERROR: Return code 1 from
> > /etc/ha.d/resource.d/postgresql
> > ResourceManager[7265]: 2008/02/23_23:00:37 info: Retrying failed stop
> > operation [postgresql]
> > ResourceManager[7265]: 2008/02/23_23:00:37 info: Running
> > /etc/ha.d/resource.d/postgresql stop
> > ResourceManager[7265]: 2008/02/23_23:00:38 ERROR: Return code 1 from
> > /etc/ha.d/resource.d/postgresql
> > ResourceManager[7265]: 2008/02/23_23:00:39 info: Retrying failed stop
> > operation [postgresql]
> > ResourceManager[7265]: 2008/02/23_23:00:39 info: Running
> > /etc/ha.d/resource.d/postgresql stop
> > ResourceManager[7265]: 2008/02/23_23:00:40 ERROR: Return code 1 from
> > /etc/ha.d/resource.d/postgresql
> > ResourceManager[7265]: 2008/02/23_23:00:41 info: Retrying failed stop
> > operation [postgresql]
> > ResourceManager[7265]: 2008/02/23_23:00:41 info: Running
> > /etc/ha.d/resource.d/postgresql stop
> > ResourceManager[7265]: 2008/02/23_23:00:41 ERROR: Return code 1 from
> > /etc/ha.d/resource.d/postgresql
> > ResourceManager[7265]: 2008/02/23_23:00:42 ERROR: Resource script for
> > postgresql probably not LSB-compliant.
> > ResourceManager[7265]: 2008/02/23_23:00:42 WARN: it (postgresql) MUST
> > succeed on a stop when already stopped
> > ResourceManager[7265]: 2008/02/23_23:00:42 WARN: Machine reboot
> > narrowly avoided!
> >
> >
> > $B0J>e!"59$7$/$*4j$$CW$7$^$9!#(B
> >
>
> > _______________________________________________
> > Linux-ha-japan mailing list
> > Linux-ha-japan@lists.sourceforge.jp
> > http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
>
> _______________________________________________
> Linux-ha-japan mailing list
> Linux-ha-japan@lists.sourceforge.jp
> http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
>

_______________________________________________
Linux-ha-japan mailing list
Linux-ha-japan@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan