- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- login hanging
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
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
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
07-17-2011 05:15 PM
07-17-2011 05:15 PM
Re: login hanging
>no histfile
You could try setting it to a local filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2011 06:52 PM - edited 07-17-2011 06:53 PM
07-17-2011 06:52 PM - edited 07-17-2011 06:53 PM
Re: login hanging
I'm running truss on the sshd process following forks but I dont really see anything. I can see my ctrl-c and returns but it then just sleeps. I am using Putty, but the problem does not occur on other 11.11 or 11.23 11.31 boxes. I just don't get a prompt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2011 07:07 PM - edited 07-17-2011 07:14 PM
07-17-2011 07:07 PM - edited 07-17-2011 07:14 PM
Re: login hanging
Holy crap! It is the .sh_history over nfs mount. A default histfile does get created even though I am not specifying one. I saw it in the truss ouput. I changed it to be on a local filesystem, as you suggested, and now it works. WHY!!!!
I still don't know why it only does this on this one box??
Thanks Dennis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2011 12:57 AM
07-18-2011 12:57 AM
Re: login hanging
Hi,
check /etc/profile.
And read 'man profile' - "If the file /etc/profile exists, it is executed by the shell for every user who logs in."
In a cold installation there will of course exists a default /etc/profile.
HTH
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2011 01:09 AM
07-18-2011 01:09 AM
Re: login hanging
Can you issue the command ;
3 bdf (OR jsut in case of got stuck "bdf -l")
and post here.
also you can issue the command (when logon with root)
# echo $0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2011 07:42 AM
07-18-2011 07:42 AM
Re: login hanging
Please check your DNS server entry in /etc/resolv.conf file and confirm it is working properly or not. Otherwise disable DNS in sshd_config file. Also check /var/adm/wtmp file size, may it is very big.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2011 08:16 AM - edited 07-18-2011 08:18 AM
07-18-2011 08:16 AM - edited 07-18-2011 08:18 AM
Re: login hanging
Nyga, read farther back. Already isolated /etc/profile. They are the same as other servers we have.
Hakki, it is not a stale nfs. Other users could login using same home nfs mount. Automounter Configs
are same as other servers.
Arunabha, I have seen problems with DNS in the past. But resolv.conf is the same as other servers here.
Also, I had two servers with slow login not perm hang that had 1-2 gig size wtmps files. But this is not the case
here.
This is something with writing the history file to the home dir nfs mount with this server. Other 11.11 server
is fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2011 09:42 AM
07-18-2011 09:42 AM
Re: login hanging
the 2 common problems are:
1) dns not responding, and nswitch.conf configuring it.
2) nfs when the account is mounted over NFS, or mail directory is nfs mounted,
check dmesg
To tusc/truss rlogind you need to either configure it in inetd.conf or just tusc
inetd with options -p -f -E -o resfile.out pidofinetd,
then try a rlogin and give the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2011 10:14 AM
07-18-2011 10:14 AM
Re: login hanging
>A default histfile does get created even though I am not specifying one.
Are you sure? I thought the default was some temp file or just memory? What was the name?
> I changed it to be on a local filesystem, as you suggested, and now it works. WHY!!!!
>I still don't know why it only does this on this one box?
You don't have the right patches on it? Or there was a networking glitch?
Do you have the RPC lock demons working correctly on the client and the server?
(Perhaps your control-C works because you have your NFS mounted with INTR?)
I've had this problem over and over for more than a decade because I need a shared history file.)
>Hakki, it is not a stale nfs. Other users could login using same home nfs mount.
>This is something with writing the history file to the home dir nfs mount with this server.
Right, it is the RPC lock demons. Are these other users using ksh? Are they on the same machine?
You may need the NFS guru Dave to help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2011 10:52 AM
07-18-2011 10:52 AM
Re: login hanging
The .sh_history file gets created by default.
It's the patch bundles in their ignite build that they have been using. The other box has the same.
The export is /nfshomes with no options. Homes is auto.direct file with /nfshomes unity:/nfshomes
pretty straight forward.
RPC lock daemons should be doing whatever the default is.
Any users have the same problem unless the histfile is redirected to local filesystem.
Who is Dave?