Operating System - HP-UX
1833831 Members
2279 Online
110063 Solutions
New Discussion

how to login from the lowest level "sh"

 

how to login from the lowest level "sh"

I saw message /dev/root/ file system full (1 block extent) then i tried to reboot my machine. Then I used my ROOT id to login thru console and got this following message:

No utmp entry. You must exec "login" from the lowest level "sh".

INIT: failed write of utmp entry. "cons"

what should i do now since i have no other user id to login to the machine.

Regards

Hanif Ahmad
3 REPLIES 3
Rajeev  Shukla
Honored Contributor

Re: how to login from the lowest level "sh"

Hi Hanif,

It seems that your root filesystem is full and that is why it is not allowing you to login even as root.
To rectify this, boot your machine in the single user mode and do the cleanup on the root filesystem.
Kenan Erdey
Honored Contributor

Re: how to login from the lowest level "sh"

if you can't log in, you can start it with OS cd. then do some cleaning.
Computers have lots of memory but no imagination
rariasn
Honored Contributor

Re: how to login from the lowest level "sh"

Hi Nanif,

- shutdown if posible all critical process.

# shutdown -r

stop init process:

Number State Inst Data
--------- -------- --------------------- ----------------- ------------
0 650 MHz Active Functional 750 KB 1.5 MB
2 650 MHz Idle Functional 750 KB 1.5 MB

Central Bus Speed (in MHz) : 133
Available Memory : 4194304 KB
Good Memory Required : 354672 KB

Primary boot path: 0/0/1/1.2
Alternate boot path: 0/0/2/0.2
Console path: 0/0/4/1.0
Keyboard path: 0/0/4/0.0


Processor is booting from first available device.

To discontinue, press any key within 10 seconds.

> BO PRI

Interact with ISL -> YES

ISL> boot -is

This put your system in single user state.

---
ran