[SunHELP] Help please

Lund, Dennis sunhelp at sunhelp.org
Fri May 25 07:17:48 CDT 2001


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_01C0E514.B6671750
Content-Type: text/plain; charset="gb2312"

At my last job this error was caused because /var was not mounted at the
boot time when the 
system wants to write to /var/adm/utmp.  Without /var mounted at boot time,
the /var/adm path 
does not exist.  What we did to avoid this message was to unmount /var and
create the
path /var/adm.  This creates the path from /.
 
What it does is make the path /var/adm available at boot time without having
/var mounted.
/var/adm/utmp and utmpx can then be created/written to at boot time.  When
the system 
comes up /var will be mounted normally and the system will use the mounted
/var/adm/utmp.
 
Dennis L. Lund

-----Original Message-----
From: Li Huawei [mailto:lihuawei at ict.ac.cn]
Sent: Thursday, May 24, 2001 11:16 PM
To: sunhelp at sunhelp.org
Subject: [SunHELP] Help please


Hi Admins,
 
It seems that a power outage happenend and have corrupted the files
/var/adm/utmpx and utmp. 
When the system came back after power came back we get the msgs:

INIT: Cannot create /var/adm/utmp or /var/adm/utmpx

INIT: failed write of utmpx entry:"   "

INIT: failed write of utmpx entry:"   "
 
INIT: Single User Mode
 
...
 
We couldn't enter single user mode.
So we booted from cdrom, renamed the files utmp and utmpx to utmp and utmpx.
old,and rebooted the system but got the same err msgs again.
 
Any ideas... Help please.
 
Thanks,
 
Huawei Li

 



?????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

------_=_NextPart_001_01C0E514.B6671750
Content-Type: text/html; charset="gb2312"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">


<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face=Arial><SPAN class=658050412-25052001>At my last 
job this error was caused because /var was not mounted at the boot time when the 
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial><SPAN class=658050412-25052001>system wants 
to write to /var/adm/utmp.  </SPAN></FONT><FONT color=#0000ff 
face=Arial><SPAN class=658050412-25052001>Without /var mounted at boot time, the 
/var/adm path </SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial><SPAN class=658050412-25052001>does not 
exist.  What we did to avoid this message was to unmount 
</SPAN></FONT><FONT color=#0000ff face=Arial><SPAN class=658050412-25052001>/var 
and create the</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial><SPAN class=658050412-25052001>path 
/var/adm.  This creates the path from /.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial><SPAN 
class=658050412-25052001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial><SPAN class=658050412-25052001>What it does 
is make the path /var/adm available at boot time without having /var 
mounted.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial><SPAN class=658050412-25052001>/var/adm/utmp 
and utmpx can then be created/written to at boot time.  When the system 
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial><SPAN class=658050412-25052001>comes up 
</SPAN></FONT><FONT color=#0000ff face=Arial><SPAN class=658050412-25052001>/var 
will be mounted normally and the system will use the mounted 
/var/adm/utmp.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial><SPAN 
class=658050412-25052001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial><SPAN class=658050412-25052001>Dennis L. 
Lund</SPAN></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Li Huawei 
  [mailto:lihuawei at ict.ac.cn]<BR><B>Sent:</B> Thursday, May 24, 2001 11:16 
  PM<BR><B>To:</B> sunhelp at sunhelp.org<BR><B>Subject:</B> [SunHELP] Help 
  please<BR><BR></DIV></FONT>
  <DIV><FONT size=2>Hi Admins,</FONT></DIV>
  <DIV> </DIV>
  <DIV><FONT size=2>It seems that a power outage happenend and have corrupted 
  the files /var/adm/utmpx and utmp. </FONT></DIV>
  <DIV><FONT size=2>When the system came back after power came back we get 
  the msgs:<BR></DIV></FONT>
  <DIV><FONT size=2>INIT: Cannot create /var/adm/utmp or 
  /var/adm/utmpx<BR><BR>INIT: failed write of utmpx entry:"   
  "</FONT></DIV>
  <DIV><FONT size=2><BR>INIT: failed write of utmpx entry:"   
  "<BR> <BR>INIT: Single User Mode</FONT></DIV>
  <DIV> </DIV>
  <DIV><FONT size=2>...</FONT></DIV>
  <DIV> </DIV>
  <DIV><FONT size=2>We couldn't enter single user mode.</FONT></DIV>
  <DIV><FONT size=2>So we booted from cdrom, </FONT><FONT size=2>renamed 
  the files utmp and utmpx to utmp and utmpx.old,and rebooted the system but got 
  the same err msgs again.</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2>Any ideas... Help please.</FONT></DIV>
  <DIV> </DIV>
  <DIV><FONT size=2>Thanks,</FONT></DIV>
  <DIV> </DIV>
  <DIV><FONT size=2>Huawei Li</FONT></DIV>
  <DIV><FONT size=2><BR> </DIV></BLOCKQUOTE></FONT>???????????????????????
????
?????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??????????????</BODY></HTML>

------_=_NextPart_001_01C0E514.B6671750--



More information about the SunHELP mailing list