- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- login process takes long time
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
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-14-2004 03:14 AM
12-14-2004 03:14 AM
login process takes long time
I really apresiate any help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 03:18 AM
12-14-2004 03:18 AM
Re: login process takes long time
Lets say the servers hostname is:
dataserver
and its ip address is:
192.168.0.40
Try connecting as dataserver
then by IP address.
if the response time is noticably different, then look at the DNS servers. You may be choosing the wrong ones for your users, or they may need patching and update.
I'm not familiar with your original issue, can you provide a link to the itrc thread?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 03:19 AM
12-14-2004 03:19 AM
Re: login process takes long time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 03:31 AM
12-14-2004 03:31 AM
Re: login process takes long time
in the .profile file I don't have any reference to a any NFS directory, should I look in other files?.
the thread I look to fix my NFS problem was http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=501693
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 03:44 AM
12-14-2004 03:44 AM
Re: login process takes long time
Were your home directories automounted?
Does your HISTORY file go in /home/
Check for this and change them all to local file systems.
export HISTORY=/tmp/.history.$LOGNAME.$$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 03:52 AM
12-14-2004 03:52 AM
Re: login process takes long time
My login doesn't have any reference to NFS-mounted, well I am only checking the .profile file, should I check another file to find out that?
My hoem directories were propertly automonted.
The history files are into /home directory in this way /home/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 04:16 AM
12-14-2004 04:16 AM
Re: login process takes long time
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 05:08 AM
12-14-2004 05:08 AM
Re: login process takes long time
export HISTORY=/tmp/.history.$LOGNAME.$$
in your .profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 05:18 AM
12-14-2004 05:18 AM
Re: login process takes long time
export HISTFILE=/tmp/.history.$LOGNAME.$$
Sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 05:26 AM
12-14-2004 05:26 AM
Re: login process takes long time
the mount -p respond very fast.
I dont have any /etc/nsswitch.conf file.
Stuart:
I put the line you suggest me in my .profile file, what should I expect?.
Acctually using telnet takes several seconds also to promptme login:, then takes other several seconds to login into the system, before this process took only 1 or 2 seconds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 06:16 AM
12-14-2004 06:16 AM
Re: login process takes long time
also try an nslookup servername where the server name is the name of the NFS source to see if it responds quckly with the correct address. (if no resove.conf file it should only be looking in /etc/hosts)
also another profile to look at is
/etc/profile
a profile for all users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 07:12 AM
12-14-2004 07:12 AM
Re: login process takes long time
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 09:01 AM
12-14-2004 09:01 AM
Re: login process takes long time
*** Can't find server name for address xx.xx.x.xxx: Non-existent domain (address of the DNS windows server)
*** Default servers are not available
Using /etc/hosts on:
looking up FILES
Name:
Address: xx.xx.x.xxx (address of the hostname)
also this commands takes several seconds, in other server working fine this commands run inmediatly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 09:11 AM
12-14-2004 09:11 AM
Re: login process takes long time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 09:17 AM
12-14-2004 09:17 AM
Re: login process takes long time
doing ping to any ip address from the server having problems takes several seconds to show the first line, after the first line appears the time respond in ms is fine.
doing ping to the ip address of the server having problems from any other server or workstatios responds inmediatly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 09:29 AM
12-14-2004 09:29 AM
Re: login process takes long time
Because lanadmin on 10.20 may lack features of later versions --- especially if you are not fully patched, I suggest that you ftp a 10MB (or so) file in both directions and determine if the transfer speed seems reasonable. In not, you have fundamental network setting mismatches (possibly hard-set on one end and auto-negotiate on the other). Surprising these mismatches will almost work and may not at all be evident in a telnet session but will kill FTP transfers (or NFS). I suspect that this was what started all your problems and the automounter was a symptom rather than a problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 10:17 AM
12-14-2004 10:17 AM
Re: login process takes long time
doing a nslookup
*** Can't find server name for address xx.xx.x.xxx: Non-existent domain (address of the DNS windows server)
*** Default servers are not available
--This is very important. The DNS server you are trying to use doesn't know it's own name. That is a common but very bad mistake in setting up a DNS server. DNS is a major security on a network and nslookup is trying to validate that the DNS server is valid.
Using /etc/hosts on:
looking up FILES
Name:
Address: xx.xx.x.xxx (address of the hostname)
--Because of the above failure, DNS is disabled and only /etc/hosts is used.
also this commands takes several seconds, in other server working fine this commands run inmediatly
--This is the source of your long login delays. During login, a check is being made to validate the IP address with the DNS server. The server(s) are not responding or are misconfigured, thus the long delays.
Start by verifying *every* DNS server listed in /etc/resolv.conf. Do this by using nslookup with an extra parameter, namely, the server to use:
nslookup
nslookup
nslookup
Until nslookup can reach each of the DNS servers, you will experience long delays. Either the IP address is wrong, the DNS server is not reachable (routing errors) or the server is refusing to talk to your machine.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 10:40 AM
12-14-2004 10:40 AM
Re: login process takes long time
I am not sure if my network administrator configure propertly the DNS for this server, he just added that configuration 1 month ago, the fact is that the login process worked fast before I change the automounting NFS to off. I don't know why, and I don't know if this change is related with the login problem.
I tried the command you suggest me and this was the result:
nslookup hostname xx.xx.x.xxx
Specified server is not available.
The configured name services and switch policy will be used.
*** Can't find server name for address xx.xx.x.xxx (address of the dns server): Non-existent domain
*** Default servers are not available
Using /etc/hosts on: hostname
Should I deactivate the DNS as was before?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 03:39 PM
12-14-2004 03:39 PM
Re: login process takes long time
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 03:17 AM
12-15-2004 03:17 AM
Re: login process takes long time
I deleted the resolv.conf file, and the IP adresses already exists in the hosts file, I try the login process again and takes the same several seconds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 03:29 AM
12-15-2004 03:29 AM
Re: login process takes long time
How are your home-directories mounted? Are you getting to your home directory?
More information about where exactly the delay is would be helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 04:06 AM
12-15-2004 04:06 AM
Re: login process takes long time
It takes a long time to get the login prompt and after I enter the password also it takes a long time to get the unix prompt. In the console the difference is that the login prompt is already waiting in the screen so in the console the delay only happends after to enter the password.
my home-directories are local, and yes I am getting my home directories.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 05:05 AM
12-15-2004 05:05 AM
Re: login process takes long time
could it be that there is NFS-related stuff in $PATH ?
You really can fall into serious performance troubles when automount is not working in this case...
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 05:16 AM
12-15-2004 05:16 AM
Re: login process takes long time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 06:37 AM
12-15-2004 06:37 AM
Re: login process takes long time
mark