|
Home > Archive > Unix administration > January 2004 > Can't create /var/tmp/utmpx
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Can't create /var/tmp/utmpx
|
|
|
| Hello,
On a Sun Blade 150 running Solaris 8, when the system was powered down
gracefully,then powered back on, the error message "Can't create
/var/tmp/utmpx" popped up and informed that fsck would need to be run.
fsck was run and it adjusted some file systems after finding
corruption with superblocks.
At this point the standard message to enter Control-D for continue to
multi user mode, or root password for single mode.
I was unable to init with either 2 or 3, only 1 with the same error
message coming back up. I checked at Sunsolve but didn't see any
explanation on what to do. Anyone gurus here that can help me.
Thanks for all help and suggestions.
Anne
| |
| Bill Marcum 2004-01-23, 5:02 pm |
| On 15 Sep 2003 07:25:16 -0700, Anne
<apembert@hq.nasa.gov> wrote:quote:
> Hello,
>
> On a Sun Blade 150 running Solaris 8, when the system was powered down
> gracefully,then powered back on, the error message "Can't create
> /var/tmp/utmpx" popped up and informed that fsck would need to be run.
> fsck was run and it adjusted some file systems after finding
> corruption with superblocks.
> At this point the standard message to enter Control-D for continue to
> multi user mode, or root password for single mode.
> I was unable to init with either 2 or 3, only 1 with the same error
> message coming back up. I checked at Sunsolve but didn't see any
> explanation on what to do. Anyone gurus here that can help me.
>
> Thanks for all help and suggestions.
> Anne
I suppose you have checked the obvious things like permissions of
/var/tmp and whether /var has run out of free space or inodes?
Did it say fsck needs to be run again? Have you done that? Maybe the
drive has gone bad.
--
Commander Spiral Pyjama Pseudo-Rhinocerous Feline Thingamajig Bill Marcum
(the First)
Ozy and Millie Name Generator http://heifong.phase.org/omname.php
| |
| Michael Vilain 2004-01-23, 5:02 pm |
| In article <3F65D040.7040807@ascc01.ascc.lucent.com>,
John Thomas - Lucent ASCC Cary <jthomas@ascc01.ascc.lucent.com> wrote:
quote:
> Anne wrote:
>
> 1) it sounds like whatever "gracefully" was, it wasn't actually what the
> OS was expecting, so there was file system corruption.
>
> 2) it's been my experience that after getting that error and cleaning up
> the filesystems, cntl-d has never worked, but that a simple reboot would.
I was taught that the filesystems were in read-only mode and the only
way to ensure the changes took effect was to reboot. They're not
'committed' until a reboot.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
| |
|
| Hi.
After running fsck again on the root device, then a reboot, the system
came up fine without errors.
Thanks for the rplies.
Anne
apembert@hq.nasa.gov (Anne) wrote in message news:<73fa94c2.0309150625.28ed02ac@posting.google.com>...quote:
> Hello,
>
> On a Sun Blade 150 running Solaris 8, when the system was powered down
> gracefully,then powered back on, the error message "Can't create
> /var/tmp/utmpx" popped up and informed that fsck would need to be run.
> fsck was run and it adjusted some file systems after finding
> corruption with superblocks.
> At this point the standard message to enter Control-D for continue to
> multi user mode, or root password for single mode.
> I was unable to init with either 2 or 3, only 1 with the same error
> message coming back up. I checked at Sunsolve but didn't see any
> explanation on what to do. Anyone gurus here that can help me.
>
> Thanks for all help and suggestions.
> Anne
| |
| Darren Tucker 2004-01-23, 5:02 pm |
| In article <73fa94c2.0309160456.78ca3a23@posting.google.com>,
Anne <apembert@hq.nasa.gov> wrote:quote:
>After running fsck again on the root device, then a reboot, the system
>came up fine without errors.
You might want to add the "logging" mount option to your UFS filesystems,
you'll have less problems like this..
Logging has been part of the base OS since Solaris 7, I don't know why
it isn't on by default.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
|
|
|
|
|