000030928 - How to avoid the delay between login and shell prompt affecting virtual appliances in RSA Security Analytics

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000030928
Applies ToRSA Product Set: Security Analytics
RSA Product/Service Type: All Virtual Appliances
Platform: CentOS
O/S Version: EL5, EL6
IssueA delay of approximately 10 seconds is noticed when opening an SSH session to a virtual appliance.
The delay occurs every time although there is no network latency.
Once logged in, the session responds without any delay.
ResolutionThe /etc/profile.d/zzzz-vamilocale.sh script is one of the VMWare Tools scripts and can cause delays while it attempts to read OVF Environment settings via /opt/vmware/bin/ovfenv when the specified device it not connected.
To avoid the delay, remove /etc/profile.d/zzzz-vamilocale.sh from the affected virtual machine, as shown below.
[root@ESA-VM-01 ~]# ls /etc/profile.d
colorls.csh  cvs.csh  glib2.csh  lang.csh  less.csh  which2.sh
colorls.sh   cvs.sh   glib2.sh   lang.sh   less.sh   zzzz-vamilocale.sh
[root@ESA-VM-01 ~]# rm /etc/profile.d/zzzz-vamilocale.sh
rm: remove regular file `/etc/profile.d/zzzz-vamilocale.sh'? y
[root@ESA-VM-01 ~]#

Attachments

    Outcomes