Computing.Net > Forums > Solaris > Corrupted utmpx

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Corrupted utmpx

Reply to Message Icon

Name: Rella
Date: August 9, 2002 at 22:44:57 Pacific
Comment:

When i try to boot my solaris 2.6 E220R server, i get this error message

> 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
Press Ctrl-d for normal boot process or enter roots password for system maintenance.

Now when i do either of the last sentence above, nothing happens, it appears to hang.

I used the solaris cd to boot to single user mode using
boot cdrom -s
with the intention of running fsck on the /var files system where the utmpx file recides. But when it boots to root prompt-single user mode with cd , i am unable to type successfully. Any letter i type just keeps running on , repeating it self like;
fffffffffffffffffffffffffffffffffffffffffffffffssssssssssssssssssssssssscccccccccccccccckkkkkkkkkkkk
kkkkkkkkkkkkkk........etc.

Please how do i get out of this mess? I really need a quick response, it's my mail system.




Sponsored Link
Ads by Google

Response Number 1
Name: dave
Date: August 12, 2002 at 06:57:18 Pacific
Reply:

search google for this. I ran into this problem before and I was able to get lots of info off of google.

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


0

Response Number 2
Name: Tanweer eqbal
Date: August 15, 2002 at 01:20:01 Pacific
Reply:


just enter into system maintainance by typing the root password as a single user.Now go to var directory(if it is mounted) and create a directory `adm` inside var.change directory to adm and create two files by typing" touch wtmp and touch utmpx".Now u reboot ur system.
This will definetely solve ur problem.

regards
tan________


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


pop up windows Re: Sun Solaris SCSI Logi...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Corrupted utmpx

corrupt label -- wrong magic number www.computing.net/answers/solaris/corrupt-label-wrong-magic-number/1507.html

Solaris 7 startup disk corrupted www.computing.net/answers/solaris/solaris-7-startup-disk-corrupted/608.html

Corrupt wtmp www.computing.net/answers/solaris/corrupt-wtmp/2480.html