- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Console problem....I give up....continued.....
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
08-30-2001 10:53 AM
08-30-2001 10:53 AM
We lost power to our building last night and had to bring the system down. Upon reboot....amazingly enough, I could login to the terminal. But there were more strange problems:( At that point, after I logged in as root, it appeared that every line from the boot up status would appear as I hit the enter key to get to the next line. I had to hit enter several times to get to a blank line. Clear did not fix the problem. Why would this happen?
Once I got to a blank line, I could continue as usual. The only problem I encountered was when I tried to enter into OMADMIN and I got some strange emulation problem....that I am not sure how to fix. Nothing looked like it should have on our old system.
In my process of trying different terminal types, I have now locked myself out of being able to login as root. Sigh.
Does anyone have an suggestions as to why I had all the status lines from my boot up show when I was first able to login as root...line by line as I hit enter. OR how I might fix the OMADMIN emulation problem?
Thanks again for all of the help yesterday!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 10:58 AM
08-30-2001 10:58 AM
SolutionOn your console, try setting the Term type to HP, vt220 etc and see which one works.
The fine test to check whether the terminal is working or not is with clear command. When ran, it should clear the display without any garbage.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 10:58 AM
08-30-2001 10:58 AM
Re: Console problem....I give up....continued.....
What type of console is this? Is it an HP (700/92, 700/96, 2392, etc.) or something else?
It sounds as if the TERM is just not getting set appropriately when you log in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 11:20 AM
08-30-2001 11:20 AM
Re: Console problem....I give up....continued.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 11:30 AM
08-30-2001 11:30 AM
Re: Console problem....I give up....continued.....
You have a 700/96 console, Not sure if you know how to change the terminal setting, but here you go.
/Begin/
On the keyboarrd, between F5 and F8
press
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 11:45 AM
08-30-2001 11:45 AM
Re: Console problem....I give up....continued.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 11:50 AM
08-30-2001 11:50 AM
Re: Console problem....I give up....continued.....
I assume you have a hp 700/96 console terminal. When you login as root and if your terminal emulation is set as vt220 or something like that, u will face that problem of screen not clearing when you "clear" it and boot message appearing when you press enter.
Just change your emulation to hp and export. It will work fine. Happens all the time to me when i reboor the box and don't change the emulation.
Do this
TERM=hp
export TERM
or you can do this
export TERM=hp
This should fix you terminal issue.
You have to use the same emulation ("hp") if you login as any user from the console. If you do a telnet and login you can use "vt220" as your terminal emulation.
Hope this helps
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 05:13 AM
08-31-2001 05:13 AM
Re: Console problem....I give up....continued.....
and as mentioned above export TERM=hp
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 05:37 AM
08-31-2001 05:37 AM
Re: Console problem....I give up....continued.....
Ramesh's suggestion stores the settings on a chip on the consoles motherboard and are not lost when you turn it off/on.
As many have said strange screen displays are normally due to an emulation problem.
# TERM=hp or vt100 or wy60 or vt220
Then
# export TERM
Will normally cure the problem.
You stated that you tried to run OMADMIN -
Running anything other than essential systems administration commands on a console is NOT recommended as the console is the system admins last line of defence and from there very often miracles can be achieved ? or so the users believe.
If you run applications other than these essential sys admin ones and they fail / lock then you have removed a big safety net.
I speak from experience and I am sure we all have in the past locked the console when it was at that time the only way to communicate with the server and so had to reboot to fix it ? but this type of reboot is not very elegant ? power off / on, which is fraught with potential dangers.
So to run applications telnet to the server and leave the console for only essential work.
;-)
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 05:50 AM
08-31-2001 05:50 AM
Re: Console problem....I give up....continued.....
power of the 700/96
hold the d key down, an dpower the terminal back on still holding the d key.
release the d key after about 10 seconds, it shoul dbeep an dthen display a message telling you it is using defaults, presss return to continue.
press the return key
check to see if this helped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 06:04 AM
08-31-2001 06:04 AM
Re: Console problem....I give up....continued.....
Another thought is to login from a remote machine and rename .profile .profile.old
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 07:23 AM
08-31-2001 07:23 AM
Re: Console problem....I give up....continued.....
Pardon me if these suggestions are too elementary but I thought I would write them anyway.
On an HP 700/96 you can clear the screen with 2 keystrokes: on the top row just to the right of F8 is a key with a triangle pointing to the upper left - that's takes the cursor to the "home" position (first character on first line on display buffer). 2 keys to it's right is the clear display key. Press the cursor home then the clear display and the screen is cleared.
You ask about TERM being set in a file. It is normally set it /etc/profile and perhaps the user's .profile as well. I have known admins to hardcode values in one or both of these files (which really aggravetes me) and defeats the logic built into the profile script that sets TERM to match your terminal.
As Ramesh says, you can change the setting on the terminal itself to emulate either an HP or EM100 terminal. If /etc/profile or the user's .profile hasn't been altered then TERM should get set correctly. Here's the snippet from /etc/profile that sets TERM:
# set term if it's not set
if [ "$TERM" = "" -o "$TERM" = "unknown" -o "$TERM" = "dialup" -o "$TERM" = "network" ]
then
eval `ttytype -s -a`
fi
export TERM