Operating System - HP-UX
1833857 Members
2492 Online
110063 Solutions
New Discussion

Re: 5 to 8 sec lag when logging in to get login prompt

 
SOLVED
Go to solution
Ratzie
Super Advisor

5 to 8 sec lag when logging in to get login prompt

Have just built an 11.i server, and have a lag of about 5 to 8 seconds when trying to connect to the time the login prompt comes back. I have checked and modified the link speed from 100/half to 100/full with auto neg off, same as the old server, and this still does not help.

Any ideas?
6 REPLIES 6
Dave Olker
Neighborhood Moderator

Re: 5 to 8 sec lag when logging in to get login prompt

What service are you using for your password entries? /etc/passwd? NIS? NIS+? Make sure your /etc/nsswitch.conf file is configured correctly to reflect the name server your using, if any.

I've also seen delays in the case where the /etc/pam.conf file was incorrectly modified. If you do a:

# diff /etc/pam.conf /usr/newconfig/etc/pam.conf

Do you see any differences? If so, try renaming the existing pam.conf and copying the default vresion into place.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Ratzie
Super Advisor

Re: 5 to 8 sec lag when logging in to get login prompt

I am using the /etc/passwd file. I did notice that the system does not have the nsswitch.conf file set yet, but would this really create a lag between trying to connect and coming up to the login prompt? I can see a lag after intially logging in and waiting for the passwd prompt...
Dave Olker
Neighborhood Moderator

Re: 5 to 8 sec lag when logging in to get login prompt

Sorry, my misunderstanding. I thought you meant the delay was from the time you entered a password to getting the command prompt.

Have you checked the link-level stats in lanadmin to see if they are clean? Also, have you verified that the switch port you're new server is connected to is configured at 100/full?

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Ratzie
Super Advisor

Re: 5 to 8 sec lag when logging in to get login prompt

Everything is clean and the switch is on 100/full
Sundar_7
Honored Contributor

Re: 5 to 8 sec lag when logging in to get login prompt

ermm..is it the login prompt or password prompt ?

"when trying to connect to the time the login prompt comes back"

" can see a lag after intially logging in and waiting for the passwd prompt... "

# telnet host

login: username
====> are we talking about the delay here?
password:
login incorrect:
====> or are we talking about the delay here ?
login:
Learn What to do ,How to do and more importantly When to do ?
Thierry Poels_1
Honored Contributor
Solution

Re: 5 to 8 sec lag when logging in to get login prompt

hi,

delays while logging in are often caused by incorrect (host)name resolving. When name resolving is not setup correctly waiting until DNS or other time out.
You already mentioned /etc/nsswitch.conf was not setup. Configure it and it might make the differnce.

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.