1753794 Members
7073 Online
108799 Solutions
New Discussion юеВ

10.20 problem

 
SOLVED
Go to solution
Clint Gibler
Frequent Advisor

10.20 problem

There is a remote machine that won't boot all the way and it is running HPUX 10.20 what are the commands to chech what runlevel it has made it to and what is the command to change runlevels. We have tried init 1,2,3 but it says it doesn't recognize the commmand? Also if you know of way for me to troubleshoot it not booting without being able to get on the machine myself but giving someone commands to run and tell me what they say that would be great.
Thanks for any help.
4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: 10.20 problem

# who -r

will give you the current run-level.

# /sbin/init run_level

will change the run-level, where run_level is something like 2,3

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
OldSchool
Honored Contributor
Solution

Re: 10.20 problem

"init" *should* be there if it really booted to any level. my guess is that failed somewhere in the boot process and is sitting at an ISL> prompt.

got anybody local to the console that can report what (if anything) is on it?

James R. Ferguson
Acclaimed Contributor

Re: 10.20 problem

Hi Clint:

'who -r' will show you the runlevel.

You can change run levels with 'init'.

You can tranition to single-user mode by entering 'shutdown' without arguments.

The '/etc/rc.log' will offer the history of your last startup steps.

Regards!

...JRF...
Clint Gibler
Frequent Advisor

Re: 10.20 problem

Ok so it sounds like the commands are the same for 10.20 as 11.00, unfortunately the machine is at a remote mine in chile and the tech there who doesn't know unix very well has left for the day but I think he is at the ISL level which gives me some options and explains why init didn't work.