On Mon, Feb 25, 2008 at 06:58:30PM +0100, Papp Tamás wrote: > Papp Tamás wrote: > > hali! > > > > Hogy kell ennek kineznie, hol talalok errol infot? A doksik kozott > > egyelore nem talalom. > > > > Ezt kapom: > > > > mgmtd[4445]: 2008/02/25_17:56:47 info: on_add_rsc:<primitive > > id="iface_eth1" class="lsb" type="iface_eth1.sh" > > provider="heartbeat"><instance_attributes > > id="iface_eth1_instance_attrs"> <attributes><nvpair > > id="iface_eth1_target_role" name="target_role" > > value="stopped"/></attributes></instance_attributes></primitive> > > crmd[4444]: 2008/02/25_17:56:48 info: do_lrm_rsc_op: Performing > > op=iface_eth1_monitor_0 key=5:11:853793e5-6e4f-49d2-b7b3-c6b88a8ce861) > > lrmd[5670]: 2008/02/25_17:56:48 ERROR: (raexeclsb.c:execra:265) execv > > failed for /etc/init.d/iface_eth1.sh: Exec format error > > crmd[4444]: 2008/02/25_17:56:48 ERROR: process_lrm_event: LRM operation > > iface_eth1_monitor_0 (call=2, rc=254) Error <unknown> > > cib[5669]: 2008/02/25_17:56:48 info: write_cib_contents: Wrote version > > 0.1.2 of the CIB to disk (digest: f0c44fb314fa40873809f33ae448ee5b) > > crmd[4444]: 2008/02/25_17:56:50 info: do_lrm_rsc_op: Performing > > op=iface_eth1_stop_0 key=1:12:853793e5-6e4f-49d2-b7b3-c6b88a8ce861) > > lrmd[5671]: 2008/02/25_17:56:50 WARN: For LSB init script, no additional > > parameters are needed. > > > > > > A script nem csinal mast, mint ifup/ifdown, command line mukodik. > > > > Miutan elkuldtem, egybol megtalaltam, de ezek szerint jo: > > http://www.linux-ha.org/LSBResourceAgent > > Ill. egy dolgot nem ertek a tesztek kozott. Ilyen kerdeseket tesz fel, > hogy "Did the script indicate the service was *not* running?" A > scriptnek megis mit kellene valaszolni? > Nem eleg, hogy az exit code-ok megfeleljenek? > > Egy peldat nem tudna vki kuldeni?
Storno, mukodni latszik, hianyzot a script elejerol a /bin/sh:D Koszi es bocs, tompos _________________________________________________ linux lista - [email protected] http://mlf2.linux.rulez.org/mailman/listinfo/linux
