- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Help with init 3
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 07:28 AM
тАО11-28-2001 07:28 AM
after shutdown and reboot the WS wait in single user mode. I can access to CDE only typing init 3 at the prompt.
I have checked the inittab file and seems to be ok (init:3:initdefault:)
What can I do now?
Thanks in davance for any help.
Regards,
Alessandra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 07:34 AM
тАО11-28-2001 07:34 AM
Re: Help with init 3
Checkup your auto string and make sure it doesn't have -is with it.
Find your boot disk by lvlnboot -v or strings /etc/lvmtab
then do a
lifcp /dev/dsk/cxtyd0:AUTO -
This is the auto string that is used by ISL to bring up the system. Make sure it doesn't have -is. It should be looking something like this.
hpux -lq (;0)/stand/vmunix
or
hpux
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 07:35 AM
тАО11-28-2001 07:35 AM
Re: Help with init 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 07:35 AM
тАО11-28-2001 07:35 AM
Re: Help with init 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 07:36 AM
тАО11-28-2001 07:36 AM
Re: Help with init 3
What does your boot string say...
Identify the boot disk using lvlnboot -v vg00
# lvlnboot -v vg00
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t5d0 (8/4.5.0) -- Boot Disk
/dev/dsk/c0t9d0 (8/4.9.0)
/dev/dsk/c0t8d0 (8/4.8.0)
Boot: lvol1 on: /dev/dsk/c0t5d0
Root: lvol3 on: /dev/dsk/c0t5d0
Swap: lvol2 on: /dev/dsk/c0t5d0
Dump: lvol2 on: /dev/dsk/c0t5d0, 0
Then take a look at the boot string currently defined by copying the LIF file to your terminal device:
# lifcp /dev/dsk/c0t5d0:AUTO `tty`
If it has a '-i' argument on it, then this will be the run level the server will boot to.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 07:56 AM
тАО11-28-2001 07:56 AM
Re: Help with init 3
The auto string does not have -is inside (it says hpux)
I attach the rc.log file as requested.
Regards,
Ale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 02:35 PM
тАО11-28-2001 02:35 PM
Re: Help with init 3
try to rename that link "/sbin/rc3.d/S991vuelogin.rc" to something like "/sbin/rc3.d/s991vuelogin.rc" (lower case starting letter) as there seem to be some problems with the VUE startup and it might block the CDE startup.
Just guessing here,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 02:52 PM
тАО11-28-2001 02:52 PM
Re: Help with init 3
We need to be clear on a couple of things:
1) Does your box really stop ar run-level 1 after a reboot? Do a who -r after a reboot and make sure.
2) Whereever your box stops, we need an /etc/rc.log at that point - before the init 3 is run manually.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 03:06 PM
тАО11-28-2001 03:06 PM
SolutionWhat is the shell for the root account?. Try changing it to /sbin/sh and see if it works. If the shell is /usr/bin/(k)sh, the system will think it as an unknown shell will get into single user mode without invoking runlevel 3.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 04:37 PM
тАО11-28-2001 04:37 PM
Re: Help with init 3
I believe your system is booting into run level 3 - it just isn't completing the transition. /sbin/rc isn't finishing else you would see at the end of your rc.log something like:
**************************************************
HP-UX run-level transition completed
Sat Nov 24 11:41:56 EST 2001
**************************************************
When you try to boot again, before doing the init 3 enter "who -r" to see what run-level you're at. Also, ps -ef | grep rc to see if /sbin/rc is running. This will verify my theory.
Do you want to run VUE? If not, disable it from starting (mv /sbin/rc3.d/S991vuelogin.rc to /sbin/rc3.d/s991vuelogin.rc). You should be able to get CDE since you are running S990dtlogin.rc.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2001 06:59 AM
тАО12-04-2001 06:59 AM
Re: Help with init 3
Grazie, Thank you very very much to ALL!
SPECIALLY TO Sridhar.
Changing the root shell to /sbin/sh has fixed the problem.
Regards,
Ale
P.S I tried to assign points but I have not understood how to do it...anyway thanks again to all for the time spent with me!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2001 07:11 AM
тАО12-04-2001 07:11 AM
Re: Help with init 3
Ciao,
Ale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2001 07:18 AM
тАО12-04-2001 07:18 AM
Re: Help with init 3
In case no one else said it, never change root's shell in /etc/profile on an HP from /sbin/sh. To do so invites many problems later (such as when trying to boot in single user or maintenance mode).
If you prefer working in an alternate shell when root, simply start a sub-shell.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2002 03:36 AM
тАО02-21-2002 03:36 AM
Re: Help with init 3
ma sei proprio tu?
ciao
ivan.ferro@aaasgr.it