- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Shell prompt is not shown in HPUX 10.20
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
10-20-2009 07:35 AM
10-20-2009 07:35 AM
Suddenly i am not able to get the shell prompt after entering the correct username and password.
For example:
login: ze4egi
Password:
Please wait...checking for disk quotas
General Motors (GMLG) EMD
Engineering CAD/CAM/CAE Network
Unauthorized use is prohibited.
Welcome, Senthil Kumar.
You last logged in Sunday October 18, 2009 at 22:22, on GMLG Node lgprime.lag.gm lg.gm.com.
General Motors (GMLG) EMD
Engineering CAD/CAM/CAE Network
Unauthorized use is prohibited.
How to solve this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2009 07:41 AM
10-20-2009 07:41 AM
Re: Shell prompt is not shown in HPUX 10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2009 07:41 AM
10-20-2009 07:41 AM
Re: Shell prompt is not shown in HPUX 10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2009 07:50 AM
10-20-2009 07:50 AM
Re: Shell prompt is not shown in HPUX 10.20
It could be due to few reason like , once you logged in it will check your profile depending on the type of shell the user has, it also checks disk quota etc,
- check the shell of the user: #grep username /etc/passwd
- Check the .profile in user home directory , if there is any customized script to load before you get a login prompt.
- check the vg00 filesystems , /var /tmp / are not full.
# bdf | grep vg00
- check if there is any error in syslog.log or dmesg .
* The above tasks can be checked from another active session , or if a session already open/available.
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2009 07:51 AM
10-20-2009 07:51 AM
Re: Shell prompt is not shown in HPUX 10.20
He got past the quota check, which I'd have expected to fail had there been a missing mount
2) "Check the /etc/passwd. The entry for the shell i.e. /sbin/sh might got replaced."
he got started logging in, as it appears to be running the profiles.....
so....
which shell are you *supposed* to be running?
This is from a terminal emulator and not X-Windows, correct?
take a look at the various startup files that the the shell for that userid uses. Any recent changes?
Which start up file issues the the messages you did recieve? What does that file do next? Is that the *last* startup file in the chain?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2009 11:39 AM
10-20-2009 11:39 AM
Re: Shell prompt is not shown in HPUX 10.20
Oct 19 05:01:11 lgprime inetd[16254]: login/tcp: Connection from unknown (10.151.0.25) at Mon Oct 19 05:01:11 2009
10.151.0.25 is the IP of my client system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2009 12:35 PM
10-20-2009 12:35 PM
Re: Shell prompt is not shown in HPUX 10.20
What did you change?
> i am not able to get the shell prompt
> [...]
How long did you wait?
> [...] Connection from unknown
DNS (reverse) problem?
A Forum search for keywords like, say,
slow login
might find something useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2009 01:26 PM
10-20-2009 01:26 PM
Re: Shell prompt is not shown in HPUX 10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2009 01:32 PM
10-20-2009 01:32 PM
Re: Shell prompt is not shown in HPUX 10.20
does this affect all users, ore only this user ore oly the users whit this shell?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2009 01:57 PM
10-20-2009 01:57 PM
Re: Shell prompt is not shown in HPUX 10.20
These symptoms could be caused by an infinite loop in a login script.
An infinite recursion can do that too.
Once upon a time, in a very old development system where the developers had root access for historical reasons, one developer decided he didn't like root's /sbin/sh shell. He put something like "/usr/local/bin/bash -l" to the end of root's .profile script.
But bash runs .profile too! It caused /bin/sh to run bash, which ran bash again, and again... until the system ran out of memory and crashed.
This little episode provided great justification to remove unnecessary root access from developers :-]
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2009 06:37 PM
10-20-2009 06:37 PM
Re: Shell prompt is not shown in HPUX 10.20
Did you change any configuration file ?
Is the problem came for all user or only for you.
If the problem is only for you than check your .profile .cshrc
Ifthe problem is for everyone then you need to check /etc/passwd file first for that you need single user..
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 10:12 AM
10-21-2009 10:12 AM
Re: Shell prompt is not shown in HPUX 10.20
1)Checking /etc/passwd file
root@lgapps:/root > grep -i ze4egi /etc/passwd
ze4egi:vxNYMz1aVU5Mc:10251:1600:Senthil Kumar:/emd/home/ze4egi:/usr/bin/sh
2)DNS reverse lookup, i am facing the same issue while try to login from all computers (windows / unix)
4)Here with i have attached .profile
5)But i am able to login as root user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 10:43 AM
10-21-2009 10:43 AM
Re: Shell prompt is not shown in HPUX 10.20
>> 5)But i am able to login as root user.
The only thing different may be the .profile,
It lookslike .profile causing some problem at the end.
Can you check the .profile of root user.
# ls -l ~ze4egi/.profile
# ls -l /.profile #i.e root .profile #
(or if root is in acustomized home_dir check the .rofile)
Also check /etc/skel/profile
- You can also check for user other than this.proile (the one attached)
- Or you can create a sample user with a default .profile and check with login. Thus you can go step by step with troubleshootng the problem.
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 03:10 PM
10-21-2009 03:10 PM
Re: Shell prompt is not shown in HPUX 10.20
root@lgapps:/root > grep -i ze4egi /etc/passwd
ze4egi:vxNYMz1aVU5Mc:10251:1600:Senthil Kumar:/emd/home/ze4egi:/usr/bin/sh
OK, *you* use the std shell, and "root" should use /usr/sbin/sh. They BOTH run the same files at start up... /etc/profile followed by $HOME/.profile (if present).
Since root works (and you say everyone else hangs) that indicates that the issue may be due to:
a] either there is something in /etc/profile that runs differently for root -vs- non-root users
-OR-
b] there is something different between .profile for root and that used by other users.
-OR-
c] since you never answered, are the home directories NFS mounts???
2)DNS reverse lookup, i am facing the same issue while try to login from all computers (windows / unix)
I don't *know* that the will hang the login, but again you say root "works" while *all* others fail. It might cause problems w/ NFS related stuff, and that continues to bother me, as root's home directory probably is /, while you've not elaborated on where a normal users's home dir would be (internal disk, NFS, ???)
4)Here with i have attached .profile
once again internot exploder won't let me see it...(usually works better if given a .txt extension)...so I can't make any comment on this
5)But i am able to login as root user.
see the above mentioned items.
If you're sure nothing has changed in the config on *this* box, have any changes been made to your network. For instance, due you use a DNS server? If so, did it move recently and your current config points at the old address for it????
And,
From Steve S:
>> Suddenly
>What did you change? <<<<<--- And does that that change coincide w/ the start of problems
>> i am not able to get the shell prompt
>> [...]
>How long did you wait?
>> [...] Connection from unknown
>DNS (reverse) problem?
>A Forum search for keywords like, say,
> slow login
>might find something useful.
This *shouldn't* be tough to work out, you just have to work through it in a logical progression. So far, you seem to be taking a shotgun approach...and ignoring / not responding to requests for information....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 06:59 PM
10-21-2009 06:59 PM
Re: Shell prompt is not shown in HPUX 10.20
>>I am facing this issue for all users.
Its looks your profile is having some problem.
Questions again
1.Did your all user are having same type of .profile
2.Which is home directiory for all user.
if it is /home then check are you able to access /home, cd /home and do a ls -l is it working ?
If not then problem is with your /home
check lvdisplay -v /dev/vg00/home.
If all ok then also not able to login then try this
move your .profile into .oldprofile and copy new .profile from /etc/skel and then try to login.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 07:12 PM
10-21-2009 07:12 PM
Re: Shell prompt is not shown in HPUX 10.20
>>But i am able to login as root user.
>>I am facing this issue for all users.
Did you try creating new user from root?
Can you login from this newly created user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 02:23 AM
10-22-2009 02:23 AM
Re: Shell prompt is not shown in HPUX 10.20
can you test a user after moving his ~/.profile to ~/.profile.test
(do not forget to put it back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 02:26 AM
10-22-2009 02:26 AM
Re: Shell prompt is not shown in HPUX 10.20
after finding out whit part the error is in please post the file that is causing this.
ps if you run mount -all do you see strange errors? sometimes a not mounted file system can cause this kind of errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 02:30 AM
10-22-2009 02:30 AM
Re: Shell prompt is not shown in HPUX 10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 02:54 AM
10-22-2009 02:54 AM
Re: Shell prompt is not shown in HPUX 10.20
Your shell is corrupted.
Check whehter the root also uses the same shell as others? If not, please use the root's shell for all other users.
Also there is a chance that the root home directory is local and all other user's use NFS mount and it is not available now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 05:03 AM
10-22-2009 05:03 AM
Re: Shell prompt is not shown in HPUX 10.20
1) Home directories are NFS mounted and able to access.
2) Users are configured in NIS server, so we are facing this issue while try to log in from NIS client.
3)NIS server is running on HP-UX 11.00 but this NIS client is running on HP-UX 10.20.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 05:25 AM
10-22-2009 05:25 AM
Re: Shell prompt is not shown in HPUX 10.20
Has this setup worked earlier? If yes, anything changed recently?
Also please see the thread
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=37669
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2009 09:06 AM
10-22-2009 09:06 AM
Re: Shell prompt is not shown in HPUX 10.20
"4)Here with i have attached .profile",
snd yet the attached file appears to be the /etc/profile.
If it really is the contents of .profile, that probably not a good thing, although it would explain the duplicate messages after the "disk quota" message in your original post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2009 01:23 AM
11-08-2009 01:23 AM
Re: Shell prompt is not shown in HPUX 10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2009 05:13 AM
11-09-2009 05:13 AM
Re: Shell prompt is not shown in HPUX 10.20
Still this issue is not resolved.
Hi OldSchool,
Please attach the file.