cancel
Showing results for 
Search instead for 
Did you mean: 

Login issue

 
Midrange
Occasional Advisor

Login issue

Unable to SU - from root for application users.Takes a long time to login more than(5-8 minutes).
CHeck the staus of the cpu its in 70% IDLE,Memory also within limit./home folder also 70% utilized.

The .profile as below

bradano:/home/users/edbap # more .profile
umask 022
PS1='$PWD [$LOGNAME]> '
ORACLE_HOME=/home/prods/express/product/6.34a_x
ORACLE_TERM=vt100
OLAP_HOME=$ORACLE_HOME/olap
SHLIB_PATH=$ORACLE_HOME/lib:$OLAP_HOME/lib
PATH=$PATH:$ORACLE_HOME/bin:$OLAP_HOME/bin:/bin:/usr/bin:/usr/ccs/bin
TERM=vt100
TMP=/home/data/ofa_prod/upgrade/TMP

export ORACLE_HOME ORACLE_TERM OLAP_HOME SHLIB_PATH PATH TERM TMP
4 REPLIES
Pete Randall
Outstanding Contributor

Re: Login issue

Is $HOME NFS mounted?


Pete

Pete
Robert-Jan Goossens
Honored Contributor

Re: Login issue

Hi,

-
Unable to SU - from root for application users
-
Check the security file for su_root_group.
/etc/default/security SU_ROOT_GROUP

-
Takes a long time to login more than(5-8 minutes).
-
Do you have a /etc/nsswitch.conf file? Are you using DNS or the locale /etc/hosts file?

Regards,
Robert-Jan
Midrange
Occasional Advisor

Re: Login issue

Please find the o/p of nsswitch.conf and /etc/hosts. But we were not able to find the security file in /etc/default.

bradano:/etc/default # cat /etc/nsswitch.conf
#
# /etc/nsswitch.files:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files ldap
group: files ldap
hosts: dns files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files ldap
automount: files
aliases: files
bradano:/etc/default # cat /etc/hosts
# @(#)B.11.11_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
#
#
# For example:
# 192.1.2.34 hpfcrm loghost
#
# See the hosts(4) manual page for more information.
# Note: The entries cannot be preceded by a space.
# The format described in this file is the correct format.
# The original Berkeley manual page contains an error in
# the format description.
#

192.168.9.195 bradano.norwich-union.com bradano
127.0.0.1 localhost loopback
Robert-Jan Goossens
Honored Contributor

Re: Login issue

# nslookup 192.168.9.195
# nslookup bradano.norwich-union.com

are you using valid dns servers in your /etc/resolv.conf?

As a test you could change the configuration in your /etc/nsswitch.conf file from "hosts: dns files" to "hosts: files dns", check if you login without delay.

Regards,
Robert-Jan