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

H.N. Alamin myhelmi at lycos.com
Mon Sep 22 23:39:08 CDT 2003


David,

The problem was caused by "dirty" boot disk. You should enter the single 
mode first, then run fsck berfore rebooting. In most case that should 
eliminate the problem. If it doesn't work, boot from cdrom and then fsck 
your boot disk.

-hna-

At 01:56 PM 9/22/2003 -0400, you wrote:
>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):



More information about the SunHELP mailing list