- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- server takes time to login
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
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
12-27-2010 07:26 PM
12-27-2010 07:26 PM
server takes time to login
I have a problem while logging into one of my hp-ux server. It takes quite long time to load the prompt after the password is validated. I had checked the server and found nothing suspectable. Can someone recommend a solution for me.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2010 07:32 PM
12-27-2010 07:32 PM
Re: server takes time to login
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2010 09:33 PM
12-27-2010 09:33 PM
Re: server takes time to login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2010 09:47 PM
12-27-2010 09:47 PM
Re: server takes time to login
this behavior usually caused by Network misconfiguration,
1- check hostname command and put entry in etc/hosts for the hostname
2- check your DNS "nslookup" and fix any issue if there.
3- use FQDN.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2010 09:47 PM
12-27-2010 09:47 PM
Re: server takes time to login
Logging in from what?
> [...] my hp-ux server. [...]
Not a very detailed description of anything.
uname -a
> [...] quite long time [...]
Define "quite long time".
Logging in how? Serial port? Telnet?
RSH/REMSH? SSH? ???
If it's some network method, then a Forum
search for keywords like, say,
slow telnet
should find many old threads which describe a
common reverse-DNS problem which can cause
this kind of behavior (and a few other
possible causes).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2010 09:51 PM
12-27-2010 09:51 PM
Re: server takes time to login
> issue if there.
Check _how_, exactly?
> 3- use FQDN.
For the usual (reverse-) DNS problem, that
would make exactly no difference.
For more useful answers, you might try that
Forum search.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2010 10:55 PM
12-27-2010 10:55 PM
Re: server takes time to login
Please check size of below files and if it is of huge size trim those ( take backup if needed )
/var/adm/wtmp
/var/adm/btmps
/var/adm/wtmps
Bibith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 12:09 PM
12-28-2010 12:09 PM
Re: server takes time to login
"...while logging into one of my hp-ux server. It takes quite long time to load the prompt after the password is validated"
Based on what you write, clearly you have no issue getting to the server. So resolution is NOT the issue. You get the prompt and login with password - THEN your slow down occurs.
At that point, I might start by taking a look at the files being served up - like the /etc/profile and user's .profile....
Check syntax..
Just a quick thought,
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 02:58 PM
12-28-2010 02:58 PM
Re: server takes time to login
Two of the most common reasons for delayed logins were mentioned; hwoever, to reiterate:
/var/adm/*tmp files get updated/searched when you log in. If those files are *huge*, the search will take a bit and so will your log in.
telnet/ssh/ftp all do reverse dns look ups. if you're DNS isn't set up correctly - or even worse - the first dns server isn't responding, your accesses will be delayed while the first one times out and the queries go to the second one..
One more thing to check, assuming those two are ok: do all users experience this or is it just specific users. If only specific users, move their profiles out of the way and try again. If that speeds up the access, then something in borked with their environment.
Those are the things that come immediately to mind. Hope it helps.
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 05:13 PM
12-28-2010 05:13 PM
Re: server takes time to login
1. Create (or replace) the file /etc/nsswitch.conf with:
passwd: files
group: files
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
ipnodes: files [NOTFOUND=return UNAVAIL=return TRYAGAIN=return]
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
2. Add the IP address of your PC, your Linux box, your Mac, whatever you use to login to your system, to the /etc/hosts file.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2010 08:43 PM
12-28-2010 08:43 PM
Re: server takes time to login
Check the syslog from /var/adm/syslog/syslog.log .
Check /var/adm/wtmp
/var/adm/utmp
Cheers..
Taifur