- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
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
тАО04-12-2005 03:29 AM
тАО04-12-2005 03:29 AM
Re: login process takes long time
Do you have any other 10.20 HP-ux boxes that don't have this "problem"?
If so, compare
/etc/hosts
/etc/resolv.conf
/etc/nsswitch.conf
netstat -rvn
Take into account that the two servers will have their on personality (IE: their own IP addr and other minor IP/NAME differences).
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2005 04:11 AM
тАО04-12-2005 04:11 AM
Re: login process takes long time
mv /etc/resolv.conf /etc/resolv.conf.old
To make sure your /etc/hosts file is OK, do this:
nslookup $(hostname)
That should say:
Using /etc/hosts on: k370
looking up FILES
Name: k370
Address: 192.168.0.10
Which means: your local machine (my example uses k370 as the hostname) can find it's IP address in /etc/hosts. If everything is quick, then your DNS file is not configured correctly. The recommendation to run the /etc/resolv.conf file is incorrect--it is simply a data file with the IP addresses of available nameservers. It looks something like this:
domain mycompany.com
nameserver 200.150.100.50
nameserver 12.34.56.78
nameserver 78.65.43.21
What this means is that your overall company network name (called a domain name) is mycompany.com, and there are 3 DNS servers that can be used. There is no point is trying to get DNS working if these addresses are incorrect or the DNS server is configured to ignore your requests. To see if the nameservers will talk to you:
nslookup $(hostname) 200.150.100.50
nslookup $(hostname) 12.34.56.78
nslookup $(hostname) 87.65.43.21
Each working DNS server will come back immediately and say something like this:
Name Server: ns1.mycompany.com
Address: 200.150.100.50
Trying DNS
Name: k370
Addresses: 192.168.0.10
Now it is very important to read the first few lines from nslookup. Here are error messages that are really important:
"Specified server is not available." (this means that this is not a DNS server or it refuses to talk to you)
"Can't resolve 200.150.100.50" (this means that this name server is misconfigured--it doesn't know it's own name)
Post the output of nslookup for your own hostname using each of the servers in your /etc/resolv.conf file.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2005 06:17 AM
тАО04-12-2005 06:17 AM
Re: login process takes long time
Bill I renamed the file /etc/resolv.conf and the result is the same. Looks like the /etc/hosts file is working, see the result:
$ nslookup n4000
... 30 seconds showing nothing ...
Using /etc/hosts on: k370
looking up FILES
Name: n4000
Address: 200.25.0.110
$ nslookp k370
... 30 seconds showing nothing ...
Using /etc/hosts on: k370
looking up FILES
Name: k370
Address: 200.25.0.112
I also tried with the file /etc/resolv.conf renamed, the follow:
$ nslookup 200.25.0.101 (pri win dns server)
... 30 seconds showing nothing ...
Using /etc/hosts on: k370
looking up FILES
Name: lnmxpdc
Address: 200.25.0.101
$ nslookup 200.25.0.102 (sec win dns server)
... 30 seconds showing nothing ...
Using /etc/hosts on: k370
looking up FILES
Name: lnmxbdc
Address: 200.25.0.102
Now is not trying to use the DNS servers because the file /etc/resolv.conf doesn├В┬┤t exist, instead is using directly the /etc/hosts file but the delays still happends in the same way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2005 06:36 AM
тАО04-12-2005 06:36 AM
Re: login process takes long time
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2005 09:08 AM
тАО04-12-2005 09:08 AM
Re: login process takes long time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2005 02:18 PM
тАО04-12-2005 02:18 PM
Re: login process takes long time
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 11:28 AM
тАО04-13-2005 11:28 AM
Re: login process takes long time
BINGO BINGO BINGO !!!!!!
I disable the NIS service and now the server k370 is responding inmediatly in login process, ping, traceourte, etc, etc, etc.
Thanks also to all the other guys tried to help me.
- « Previous
- Next »