- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to go into Single Mode on HP-UX
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
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
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
03-26-2007 05:09 AM
03-26-2007 05:09 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 05:14 AM
03-26-2007 05:14 AM
SolutionReboot the system and interupt to boot process when prompted to press any key ny pressing any key
issue the command
bo pri
to continue the boot process
When asked if you want to interact with ISL, answer yes
at the ISL prompt enter hpux -is
the system should then boot up in single user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 05:16 AM
03-26-2007 05:16 AM
Re: How to go into Single Mode on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 05:27 AM
03-26-2007 05:27 AM
Re: How to go into Single Mode on HP-UX
Regards,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 05:29 AM
03-26-2007 05:29 AM
Re: How to go into Single Mode on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 05:29 AM
03-26-2007 05:29 AM
Re: How to go into Single Mode on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 05:29 AM
03-26-2007 05:29 AM
Re: How to go into Single Mode on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 05:33 AM
03-26-2007 05:33 AM
Re: How to go into Single Mode on HP-UX
A telnet session will not work it is a network communcation method and since networking does not start until run level 2 there is no way you can monitor the boot process with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 05:33 AM
03-26-2007 05:33 AM
Re: How to go into Single Mode on HP-UX
Regards,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 06:18 PM
03-26-2007 06:18 PM
Re: How to go into Single Mode on HP-UX
The other way for the system console you can give init s ---> it will take to single user mode.
you need to umount the filesystem if you want to increase or decrease . or from the ISL prompt you can use hpux -is --> for init s or hpux -i1 or i2 or o3 to various init levels from the pdc menu ie. boot menu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 05:49 AM
03-28-2007 05:49 AM
Re: How to go into Single Mode on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 06:04 AM
03-28-2007 06:04 AM
Re: How to go into Single Mode on HP-UX
Pls help.
Regards,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 09:25 AM
03-28-2007 09:25 AM
Re: How to go into Single Mode on HP-UX
when do need to increase /var /usr /opt without console access, you are be able to do so during a reboot of your system.
You have to prepare the very first startup script
/sbin/init.d/crashconf
After the line export PATH add the following lines for each logical volume which
needs expanded:
umount
lvextend -L
extendfs
For example, the code snippet below extends /usr and /opt:
# Configure kernel crash dumps
#
PATH=/sbin
export PATH
umount /usr
lvextend -L 2300 /dev/vg00/lvol5
extendfs /dev/vg00/rlvol5
umount /opt
lvextend -L 1200 /dev/vg00/lvol7
extendfs /dev/vg00/rlvol7
rval=0
Make sure the are no subdirectories mounted
on the volume you would like to increase.
This is a "proven" solution.
Best regards,
Herbert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 09:50 AM
03-28-2007 09:50 AM
Re: How to go into Single Mode on HP-UX
But can anyone tell me why I get a mixed up console when going into single mode on the console and how I can prevent/solve this?
Thanx in advance.
Regards,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 10:33 AM
03-28-2007 10:33 AM
Re: How to go into Single Mode on HP-UX
The init -s method is hopeless on HP-UX because it does not unmount critical filesystem because they are busy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 02:02 AM
03-29-2007 02:02 AM
Re: How to go into Single Mode on HP-UX
The scenario you described is not quite mine. Almost every character is replaced by anotherone.
I followed your advise, but still the same situations persists.
This is what I did:
Booted
Interrupted boot process
"bo pri"
Interact with ISL: Yes
"hpux -is"
mount /usr
export TERM=vt100
--
Also tried whether mounting /var would help but unfortunately not. By the way /var is the filesystem I want to increase, so I hope this one does not have to be mounted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 02:20 AM
03-29-2007 02:20 AM
Re: How to go into Single Mode on HP-UX
Chris, what method are using to access the console?
A standard HP console? if so, hold down the D key while powering up the console - this will return it to the default settings
A PC connected vis serial cable? if so try a different software to connect, or change the terminal setting on the one you are using
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 02:41 AM
03-29-2007 02:41 AM
Re: How to go into Single Mode on HP-UX
However, setting TERM is not enough for the shell because you also need to run some stty commands to define various keys.
The most annoying is erase:
stty erase="^h"
will set erase to ctrl-h which is often mapped to the BS key but that depends or your terminal or emulator.
This all stems from the dim mists of time when UNIX was born and the common terminals were teletypes --- which could not backspace
so the '#' key was chosen as the default erase character.
So if you typed "Chro#is" the character preceding the '#' was ignored and the effective input became "Chris".
At login time, the system doesn't have a clue about your terminal type so it chooses some very old defaults.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 05:10 AM
03-29-2007 05:10 AM
Re: How to go into Single Mode on HP-UX
You can use the shutdown command to boot into singel user mode. Or you boot and do the innterupt on the boot process as stated above. You need to be on the console unless you have a GSP LAN connection which would allow you to boot remote.
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 06:44 AM
03-29-2007 06:44 AM
Re: How to go into Single Mode on HP-UX
Thanks to the GSP/MP designers (with dubious help from the authors of ttytype), the console is composed of a rigid pipe that knows more about your terminal than you do. There is a (painful) setting in the GSP (or MP depending on your machine model) that totally ignores what you are connecting to the console. This is not the case for network connections like telnet.
It is VERY important to know if you are using a 'real' HP terminal or a fake terminal created with a PC or some non-HP terminal box. If you are using a real HP terminal (like the 700/92 or similar) then you can change the emulation and fix your problem. If you are not using an HP terminal, most likely you have a basic ANSI or VT-series lookalike and the GSP/MP has been set to HP terminal mode. To fix this, go into the GSP/MP menu and select the CA (configure async) option, then change the terminal type to vt100 (assuming that this is what you are using).
Bill Hassell, sysadmin