1748142 Members
3572 Online
108758 Solutions
New Discussion юеВ

Single user problem

 
David Tang_3
Occasional Contributor

Single user problem

Hi all,
I am running into a major problem with my system. I have a Series 700 running HP-UX 10.2 The system is not able to boot up, showing a INIT:Command is respawning too repid error. I tried to get into the single user mode to check the files as stated in other threads.
I interupted the boot, but once i get into single user mode, no command seems to work, so I am not able to check anything.
Pls do help me. Thanks

David Tang
6 REPLIES 6
Philip Chan_1
Respected Contributor

Re: Single user problem

I guess most commands you need are probably under the /usr file system so you must mount it first. If that fs is already mounted then try your search path.
David Tang_3
Occasional Contributor

Re: Single user problem

But since all command is not responding, how do I mount the it?
Philip Chan_1
Respected Contributor

Re: Single user problem

The "mount" command is under /sbin, can you reach that directory?

Run the "mount" command alone it'll tell you what fs are mounted, what does that show?
Bruce Regittko_1
Esteemed Contributor

Re: Single user problem

Hi,

My first guess would be that the /etc/inittab file is corrupt. First, you will have to mount the /usr filesystem. Issue

/sbin/cat /etc/fstab

and make note of the device file associated with /usr. Next,

/sbin/mount /usr

Now, rename /etc/inittab and then copy a new one into place:

/usr/bin/mv /etc/inittab /etc/INITTAB.old
/usr/bin/cp /usr/newconfig/etc/inittab /etc/inittab

and then cross you fingers and reboot. If it works, you can compare inittab's to see what blew up.

--Bruce
www.stratech.com/training
Wodisch
Honored Contributor

Re: Single user problem

Hello David,
bott your system "attended", i.e. press
when your console screen tells you.
Then boot "interactively" with:
boot pri isl
and when the "ISL>" prompt appears, start your
kernel in single-user mode:
hpux -is

Now you have a single-user shell and only "/" and
"/stand" are mounted. To mount "/usr" and the rest
enter "mount -a" and check with "mount"...
HTH,
Wodisch
Sandor Horvath_2
Valued Contributor

Re: Single user problem

Hi David !

In single user mode only /stand and / mounted. If /usr is under vg00 then run
# muont -a
if /usr is under vgxx then
# vgchange -a y vgxx
# mount -a
check PATH
# echo $PATH
if need PATH=$PATH:/usr/bin

regards, Saa
If no problem, don't fixed it.