INIT : failed write of utmpx entry " "
807559Dec 2 2003 — edited Dec 2 2003Hi all,
I have faced a big problem when the power of the system solaris 8 intel Rel 2/02 is suddenly outage so that the system cannot be shutdown normally. When I restart the system, I have the following error message and the system cannot access into all run-level. The error message as shown below :
################# Begin of error message ##############################
The / file system (/dev/rdsk/c0d0s0) is being checked.
/dev/rdsk/c0d0s0 : BAD INODE NUMBER FOR ' .. ' I=24638 OWNER=ROOT MODE=40755
/dev/rdsk/c0d0s0 : SIZE=512 MTIME=NOV 30 23:25 2003
/dev/rdsk/c0d0s0 : UNEXPECTED INCONSISTENCY ; RUN fsck MANUALLY
WARNING - Unable to repair the / filesystem - Run fsck
manually (fsck - F ufs /dev/rdsk/c0d0s0). Exit the shell
when done to continue the boot process
Type control-d to process with normal startup (or give root passowrd for system maintenance) :
Single-user privilege assigned to /dev/console Entering System Maintenance Mode
****** After I entered the root password *******
Nov 30 11:29:40 su : 'su root' suceeded for root on /dev/console
No directory !
resuming system initialization
mount : the state of /dev/dsk/c0d0s0 is not okay and it was attempted to be mounted read/write
mount : Please run fsck and try again
failed to open /etc/coreadm.confsyseventd : Unable to open daemon lock file
'/etc/sysevent/syseventd-lock' : 'Read only file system'ln :
cannot create /dev/fb/dislay@0:text-0 : Read only system
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 maintenace) :
Single-user privilege assigned to /dev/console Entering System Maintenance Mode
########################## End of error message ##########################
Due to the above error, I can never enter the system and make any action on the system. Please advise what should I do. Otherwise, the whole system will be re-installed.
Many thanks.