- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Console login problem...I give up!
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
тАО08-29-2001 08:41 AM
тАО08-29-2001 08:41 AM
I have tried copying the .profile for root from a working system to this system....same result. I can telnet into the system with this login but just not get in at the console. I don't have a /etc/securetty file. June 2001 periodic patch is on this system.
There are no errors when I try to login....it just seems that after we type in the password, it hangs at that entry. We either have to grep for console and kill or it just comes back as if being timed out. If it does happen to act as if taking us a little further....we get the text 29D2C0;7;1M;Request Server 29D that shows up every time we hit the space bar.
I tried another login with root rights, and I can't get in with that login either. It just stays at the password prompt. One time it told me incorrect or invalid login. I created a new login, can't get in with that either....same hanging at the password prompt. I am not sure what to try next. Any suggestions would be greatly appreciated.
Oh, and there are no special characters in our password.
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 08:54 AM
тАО08-29-2001 08:54 AM
Re: Console login problem...I give up!
You said you cannot directly login to the console, but you can su to root. is that right?
Check the syslog.log, also check /etc/profile, are you doing anything there to prevent root from directly logging in.
You already checked /etc/securetty. I would say definitely check /etc/profile.
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 08:56 AM
тАО08-29-2001 08:56 AM
Re: Console login problem...I give up!
Have you tried booting into single user mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 09:26 AM
тАО08-29-2001 09:26 AM
Re: Console login problem...I give up!
Is this problem only with root login or other logins too. Can you login as any other user, not with root id say a regular user.
This might help in isolating the issue.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 09:31 AM
тАО08-29-2001 09:31 AM
Re: Console login problem...I give up!
If you are using CDE then try login using option-commandline login. If it works then you can be sure that it is CDE login problem.
Sachin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 10:32 AM
тАО08-29-2001 10:32 AM
Re: Console login problem...I give up!
I tried 3 different logins on the console and none of them worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 10:49 AM
тАО08-29-2001 10:49 AM
Re: Console login problem...I give up!
If you have tried three different logins and none of them worked, it seems there is no problem with the profile. you are able to login using telnet.
It looks like your console terminal settings have got changed. If it is a hp console terminal, select user system keu on keyboard, select F8 for config keys, Select F5 for terminal config and Select F4 to reset terminal settings to Default, Select F1 to save settings. Exit and reset the terminal.
If it still dosen't work, you may have to look at the getty running for the console port.
Hope this helps
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 11:04 AM
тАО08-29-2001 11:04 AM
Re: Console login problem...I give up!
How do I check the other option you were talking about and how should it be set?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 11:24 AM
тАО08-29-2001 11:24 AM
Re: Console login problem...I give up!
Also, check the /etc/inittab file, and make sure you have this line in it:
cons:123456:respawn:/usr/sbin/getty console console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 11:44 AM
тАО08-29-2001 11:44 AM
Re: Console login problem...I give up!
And I have that line in my /etc/inittab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 11:50 AM
тАО08-29-2001 11:50 AM
Re: Console login problem...I give up!
Like harry is saying, u have to look for this entry in /etc/inittab
cons:123456:respawn:/usr/sbin/getty console console
Also there should be an entry in your /etc/gettydefs that looks like
console # B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
# B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
# Console Login :#console
Hope this helps
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 11:56 AM
тАО08-29-2001 11:56 AM
Re: Console login problem...I give up!
/etc/inittab reads...
cons:123456:respawn:/usr/sbin/getty console console
/etc/gettydefs reads...
console # B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
# B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
#Console Login: #console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 12:35 PM
тАО08-29-2001 12:35 PM
Re: Console login problem...I give up!
One the console login hangs up at the password prompt, if you login from another wkstn and go a grep on the process running on console tty, what does it show. I'm trying to emulate your problem on my console and have been unsucessful till now.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 12:42 PM
тАО08-29-2001 12:42 PM
Re: Console login problem...I give up!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 12:56 PM
тАО08-29-2001 12:56 PM
SolutionIt should show login root as the process running when the login name is typed as root and the sytem is waiting for password.
Silly of me to ask, but have you tried a working terminal and a working keyboard together.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 12:58 PM
тАО08-29-2001 12:58 PM
Re: Console login problem...I give up!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 01:17 PM
тАО08-29-2001 01:17 PM
Re: Console login problem...I give up!
Not sure if you already checked or not but on a L-2000, there is three-way splitter at the back, one is for UPS, one is for modem, and one is for console. Are you sure you are hooking your physical console to the right cable.
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 01:19 PM
тАО08-29-2001 01:19 PM
Re: Console login problem...I give up!
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 01:32 PM
тАО08-29-2001 01:32 PM
Re: Console login problem...I give up!
Basically, when you enter your username (root), you screen shows almost nothing, but actually inserts characters and/or hidden characters (terminal codes) in between the letters.
I generally try to use the hp or vt100 terminal types for console login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 09:37 PM
тАО08-29-2001 09:37 PM
Re: Console login problem...I give up!
Are you able to login as any user at the console? If so, can you "su -" from a user to root?
If you could, please add the following line to the top of your .profile;
set -x
Now login at the console as root, if it parses the .profile we should atleast see if/where it hangs. You could always copy root's default .profile from /usr/newconfig/.profile. This would be better than a copy from another system.
More importantly, I'm not sure if you've answered that you can login as root from anywhere other than the console. Can you?
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 10:01 PM
тАО08-29-2001 10:01 PM
Re: Console login problem...I give up!
I agree with Denver, you may also add the following in your .profile file :
stty hupcl ixon ixoff
and it will work.
I would appreciate that HP correct this bug, because after installing hp-ux 11.0 and having such a problem, it really generates "Adrenalin" !
Magdi
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2001 03:53 AM
тАО08-30-2001 03:53 AM