SUMMARY: Saving System State ?

From: Eyal Edri <EEdri_at_lannet.com>
Date: Sun Jul 22 2001 - 03:47:34 EDT
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C11282.921CBD50
Content-Type: text/plain;
	charset="windows-1255"

Hi admins ,
 
This was a bit tricky , A lot of people including myself though it to be a
dtpower problem and with the power managment setting . 
Well It wasn't exactly the case . 
 
Mark Mcmanus helped ,and told me about the special keys in solaris
(speckeysd deamon) . 
It appears that this process enables the features of some special keys in
solaris , including the power key which brings the system to a suspend mode
(saving system state). 
He recommnded runing a script on each station to check if the process is up
and if so - kill it . :
<#! /bin/sh>

speck_file=/usr/openwin/bin/speckeysd

if [ -f "$speck_file" ]; then

/bin/mv $speck_file ${speck_file}.old

fi

keyd_yes=`ps -eo pid,comm |\

/bin/grep speckeysd |\

/bin/grep -v grep |\

/bin/awk '{print $1}'`

if [ -n "$keyd_yes" ]; then

/bin/kill -9 $keyd_yes

/bin/mailx -s "$host had its Power Key Disabled" $mailto_min < /dev/null

fi

 ** a fellow friend told me this can be done also by issuing the command :
kbd_mode -a disable . 
 
thanks . 
 
-----Original Message-----
From: Eyal Edri [mailto:EEdri@lannet.com]
Sent: Wednesday, July 18, 2001 5:01 PM
To: Sunmanagers (E-mail)
Subject: Saving System State ? 



Hi admins , 

I have a serious problem. 
Some of my Solaris stations got hang with a black sceen saying : "saving
system state..."  please wait .. 

 - I have the S85power disabled in /etc/rc2.d 
 - /etc/power.conf is configed to noshutdown . 

do any one know how to disable this saving state ? 

will summarize . 
thank you. 


Best Regards, 

Eyal Edri 
Unix System Administrator 
Avaya Communications 

Email  : eedri@lannet.com 
Phone & Fax : 972-3-6458487 
  



------_=_NextPart_001_01C11282.921CBD50
Content-Type: text/html;
	charset="windows-1255"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1255">
<TITLE>Saving System State ?</TITLE>

<META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=174233907-22072001>Hi admins 
,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=174233907-22072001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial (Hebrew)" size=2><SPAN class=174233907-22072001>This was 
a bit tricky , A lot of people including myself though it to be a dtpower 
problem and with the power managment setting . </SPAN></FONT></DIV>
<DIV><FONT face="Arial (Hebrew)" size=2><SPAN class=174233907-22072001>Well It 
wasn't exactly the case . </SPAN></FONT></DIV>
<DIV><FONT face="Arial (Hebrew)" size=2><SPAN 
class=174233907-22072001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial (Hebrew)" size=2><SPAN class=174233907-22072001>Mark 
Mcmanus helped ,and told me about the special keys in solaris (speckeysd deamon) 
. </SPAN></FONT></DIV>
<DIV><FONT face="Arial (Hebrew)" size=2><SPAN class=174233907-22072001>It 
appears that this process enables the features of some special keys in solaris , 
including the power key which brings the system to a suspend mode (saving system 
state). </SPAN></FONT></DIV>
<DIV><FONT face="Arial (Hebrew)" size=2><SPAN class=174233907-22072001>He 
recommnded runing a script on each station to check if the process is up and if 
so - kill it . :</SPAN></FONT></DIV>
<DIV><SPAN class=174233907-22072001>
<P><FONT color=#0000ff face="Arial (Hebrew)" size=2><SPAN 
class=174233907-22072001>&lt;#! /bin/sh&gt;</SPAN></FONT></P>
<P><FONT face="Arial (Hebrew)" 
size=2>speck_file=/usr/openwin/bin/speckeysd</FONT></P>
<P><FONT face="Arial (Hebrew)" size=2>if [ -f "$speck_file" ]; then</FONT></P>
<P><FONT face="Arial (Hebrew)" size=2>/bin/mv $speck_file 
${speck_file}.old</FONT></P>
<P><FONT face="Arial (Hebrew)" size=2>fi</FONT></P>
<P><FONT face="Arial (Hebrew)" size=2>keyd_yes=`ps -eo pid,comm |\</FONT></P>
<P><FONT face="Arial (Hebrew)" size=2>/bin/grep speckeysd |\</FONT></P>
<P><FONT face="Arial (Hebrew)" size=2>/bin/grep -v grep |\</FONT></P>
<P><FONT face="Arial (Hebrew)" size=2>/bin/awk '{print $1}'`</FONT></P>
<P><FONT face="Arial (Hebrew)" size=2>if [ -n "$keyd_yes" ]; then</FONT></P>
<P><FONT face="Arial (Hebrew)" size=2>/bin/kill -9 $keyd_yes</FONT></P>
<P><FONT face="Arial (Hebrew)" size=2>/bin/mailx -s "$host had its Power Key 
Disabled" $mailto_min &lt; /dev/null</FONT></P>
<P><FONT face="Arial (Hebrew)" size=2>fi</FONT></SPAN></P></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=174233907-22072001>&nbsp;** a fellow friend told me this can be done also 
by issuing the command&nbsp;: kbd_mode -a disable . </SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=174233907-22072001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=174233907-22072001>thanks 
. </SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=174233907-22072001></SPAN></FONT>&nbsp;</DIV>
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
size=2>-----Original Message-----<BR><B>From:</B> Eyal Edri 
[mailto:EEdri@lannet.com]<BR><B>Sent:</B> Wednesday, July 18, 2001 5:01 
PM<BR><B>To:</B> Sunmanagers (E-mail)<BR><B>Subject:</B> Saving System State ? 
<BR><BR></FONT></DIV>
<P><FONT face=Arial size=2>Hi admins , </FONT></P>
<P><FONT face=Arial size=2>I have a serious problem. </FONT><BR><FONT face=Arial 
size=2>Some of my Solaris stations got hang with a black sceen saying : "saving 
system state..."&nbsp; please wait .. </FONT></P>
<P><FONT face=Arial size=2>&nbsp;- I have the S85power disabled in /etc/rc2.d 
</FONT><BR><FONT face=Arial size=2>&nbsp;- /etc/power.conf is configed to 
noshutdown . </FONT></P>
<P><FONT face=Arial size=2>do any one know how to disable this saving state ? 
</FONT></P>
<P><FONT face=Arial size=2>will summarize .</FONT> <BR><FONT face=Arial 
size=2>thank you.</FONT> </P><BR>
<P><FONT face="Times New Roman">Best Regards,</FONT> </P>
<P><FONT color=#ff0000 face="Times New Roman">Eyal Edri </FONT><BR><FONT 
color=#339966 face="Times New Roman">Unix System Administrator </FONT><BR><FONT 
color=#3366ff face="Times New Roman">Avaya Communications </FONT></P>
<P><B><FONT color=#3366ff 
face="Times New Roman">Email<U></U></FONT></B><U>&nbsp;<FONT color=#3366ff 
face="Times New Roman"></FONT></U> <FONT color=#3366ff face="Times New Roman">: 
eedri@lannet.com</FONT> <BR><B><FONT color=#3366ff 
face="Times New Roman">Phone</FONT></B><FONT color=#3366ff 
face="Times New Roman"> &amp; Fax :</FONT><B> <FONT color=#3366ff 
face="Times New Roman">972-3-6458487 </FONT></B><BR><B><FONT color=#3366ff 
face="Times New Roman">&nbsp;</FONT></B> </P><BR></BODY></HTML>

------_=_NextPart_001_01C11282.921CBD50--
Received on Sun Jul 22 08:47:34 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:59 EDT