[Linux-HA] STONITH error using apcmaster on heartbeat 2.0.7

Dave Blaschke debltc at us.ibm.com
Wed Jan 17 07:49:30 MST 2007


George H wrote:
> Hi, I'm having some odd problems trying to get the stonith device 
> working.
>
> I'm using APC AP7920 and I made sure the devices themselves are setup
> correctly. It has telnet server open and I added an outlet username +
> password.
>
> For a simple test I ran /usr/lib/heartbeat/stonithd -a   to start the 
> daemon
> Then  /usr/lib/heartbeat/stonithd -s   tells me that it's running.
> I run the /usr/lib/heartbeat/stonithdtest/STONITHBasicSanityTest  and
> it passes all tests.
>
> Then I went to kill my second node manually as the final test.
> I ran this command in the console
>
> stonith -v -t apcmaster ipaddr=7.200.200.11 login=gentoo2
> password=secret -T off gentoo2
>
>
> This was the output
> ** (process:14047): CRITICAL **: Did not find string Escape character
> is '^]'. from APC MasterSwitch.
> ** (process:14047): CRITICAL **: Received [\xff\xfb\u0001\u000dUser 
> Name: ]
Looks like something is out of sync here.  The first thing that the 
plugin tries to do is log in to the device - the plugin looks for 
"Escape character is '^]'." and, once that is received, looks for the 
"User Name :"  prompt before sending the login.  Here it looks like the 
"Escape..." string was never received by the plugin while the device is 
sitting there waiting for the user name to be entered.  Have you tried 
this manually?  Telnet to the APC device (7.200.200.11) and login with 
gentoo2/secret - note the output you receive from the device...
> ** (process:14047): CRITICAL **: Did not find string Escape character
> is '^]'. from APC MasterSwitch.
> ** (process:14047): CRITICAL **: Received []
> ** (process:14047): CRITICAL **: Did not find string Escape character
> is '^]'. from APC MasterSwitch.
> ** (process:14047): CRITICAL **: Received []
> ** (process:14047): CRITICAL **: Did not find string Escape character
> is '^]'. from APC MasterSwitch.
> ** (process:14047): CRITICAL **: Received []
> ** (process:14047): CRITICAL **: Did not find string Escape character
> is '^]'. from APC MasterSwitch.
> ** (process:14047): CRITICAL **: Received []
> ** (process:14047): CRITICAL **: Did not find string Escape character
> is '^]'. from APC MasterSwitch.
> ** (process:14047): CRITICAL **: Received []
> -----
> Anyone got any idea what is happening ? or why? and perhaps how to fix 
> this?
>
> Thanks in advance!
>
> -- 
> "Nothing is impossible for the person that doesn't have to do it"
> "The probability of anything happening is in inverse ratio to its 
> desirability"
> "If I were a roman statue, I'd be made alabastard"
> -- 
> George H
> george.dma at gmail.com
> _______________________________________________
> 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




More information about the Linux-HA mailing list