[SunHELP] Could not bring up system due to utmpx problem

sunhelp at sunhelp.org sunhelp at sunhelp.org
Mon Sep 22 14:06:13 CDT 2003


We ran into this the other day.  System crashed. When it came up the root
file system was mounted at:

   /pci at 6,4000/...

init 0 did NOT take us to the ok> prompt.

To correct the problem we did the following:

   reboot

That was it.  We just typed reboot at the prompt.  When the system came back
up, it was fine.

Dennis Lund

-----Original Message-----
From: Nguyen, David M [mailto:david.m.nguyen at xo.com]
Sent: Monday, September 22, 2003 10:56 AM
To: The SunHELP List
Subject: RE: [SunHELP] Could not bring up system due to utmpx problem


No.

How do I get to ok prompt.  I did try #init 0 but it did not let me as
message shown below.

# init 0

INIT: Cannot create /var/adm/utmpx



-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]
On Behalf Of TomST at netins.com
Sent: Monday, September 22, 2003 12:51 PM
To: sunhelp at sunhelp.org
Subject: RE: [SunHELP] Could not bring up system due to utmpx problem

Check your /etc/vfstab file.  Are you mounting this from another system?

-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]On
Behalf Of Nguyen, David M
Sent: Monday, September 22, 2003 12:14 PM
To: The SunHELP List
Subject: RE: [SunHELP] Could not bring up system due to utmpx problem


I try to remove it to create a new one but it does not let me delete it
or modify it as it says the file is read-only file system.

# rm /var/adm/utmpx
rm: /var/adm/utmpx: override protection 644 (yes/no)? yes
rm: /var/adm/utmpx not removed: Read-only file system



-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]
On Behalf Of TomST at netins.com
Sent: Monday, September 22, 2003 12:00 PM
To: sunhelp at sunhelp.org
Subject: RE: [SunHELP] Could not bring up system due to utmpx problem

It should be owned by root group of bin with rw-r--r-- permissions.  Is
the
file too large?  You can move the file to another directory and make a
new
one.

-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]On
Behalf Of Nguyen, David M
Sent: Monday, September 22, 2003 11:55 AM
To: sunhelp at sunhelp.org
Subject: [SunHELP] Could not bring up system due to utmpx problem


I am running solaris8, I just reboot my system after changing IP address
and the system could not come up as it complains it could not write to
the file /var/adm/utmpx as shown below.  I entered into system
maintenance mode to attempt fixing utmpx file using VI to edit the file
but it does not let me save it, it told me the file is read only.
Please help me to fix the problem as it is critical.

Thanks,
David


Boot device: disk  File and args:
SunOS Release 5.8 Version Generic_108528-14 64-bit
Copyright 1983-2001 Sun Microsystems, Inc.  All rights reserved.
configuring IPv4 interfaces: hme0.

INIT: Cannot create /var/adm/utmpx

INIT: failed write of utmpx entry:"  "

INIT: failed write of utmpx entry:"  "

INIT: SINGLE USER MODE

Type control-d to proceed with normal startup,
(or give root password for system maintenance):
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp


     - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.



More information about the SunHELP mailing list