Operating System - HP-UX
1833878 Members
1822 Online
110063 Solutions
New Discussion

Re: Boot single user mode

 
SOLVED
Go to solution
Torsten.
Acclaimed Contributor
Solution

Re: Boot single user mode

There is a "W" serial cable connected to the GSP of the server. One of the connectors is labeld "console". Now connect a null modem cable to this port and your laptop.

Run putty, select "serial" and the correct COM port and connect ("open").

You can even try to reset the GSP from there:

GSP> xd


XD

Non destructive tests :
1. Parameters checksum
2. I2C access (get Power Monitor status)
3. LAN access (PING)
4. Modem selftests
5. Secondary I2C access (get System status)

Type R to reset the GSP or [Q] to quit the diagnostic menu.

-> Choice: r
r

The GSP is now being reset...
HP Guardian Service Processor
...


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!   
Surizan Othman
Frequent Advisor

Re: Boot single user mode

Hi Torsten

Thank you very much, I'll give it a try
Surizan Othman
Frequent Advisor

Re: Boot single user mode

I have another problem, I'm using ssh to connect to hp-ux server. The problem is I cannot su to another user, either its root user or ordinary user. How can I fix this problem,
Torsten.
Acclaimed Contributor

Re: Boot single user mode

Are you able to reset your password now?

"I can not..." is not a good description of a problem. Is this the same server? Any messages?

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!   
Surizan Othman
Frequent Advisor

Re: Boot single user mode

This problem occur after I try to shadow my password by running pwconv. Then I exit the ssh. I login to ssh by user oracle because ssh not allow root and then I try su. Unfortunately, after it prompt for password and I key-in the correct password, it prompt me

unknown id : root

eventhough i try to su to another user " admin" it still prompt

unknown id: admin

That is why I try to get into single user mode to fix this. Is there any way I can get to another user by using another command

FYI, this is the same server
Yogeeraj_1
Honored Contributor

Re: Boot single user mode

hi,

can you try rlogin ?

e.g.

$ rlogin slx2
Password: <=========press enter
Login incorrect
login: root
Password:


revert

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Surizan Othman
Frequent Advisor

Re: Boot single user mode

Cannot,

My server is only allow SSH only. Can i edit my sshd_config file in single user mode. I just want to allow root access only. I think that is the only way to allow root access to my system
Surizan Othman
Frequent Advisor

Re: Boot single user mode

I've sucessfully get into single user mode. But how can I check on the file inside a directory. I need to change a sshd_config file in /usr/local/etc directory. Bu when I try to get into /usr directory and type command ls. There's nothing appear. What shall I do. I need to allow root access for SSH.
Steven Schweda
Honored Contributor

Re: Boot single user mode

> [...] What shall I do. [? ...]

Mount /usr ("mount /usr")? Mounting all the
file systems is only one of what may be many
other parts of the multi-user start-up which
you'll find useful, depending on exactly what
you wish to be able to do.
Davis Paul
Valued Contributor

Re: Boot single user mode

Hi Surizan Othman,
In single usermode, activate your vg00
#vgchange -a y vg00
Then mount your file systems
#mountall

Sajjad Sahir
Honored Contributor

Re: Boot single user mode

hpux -is
it will boot in single usermod