Flushing LDAP Cache information for group
Flushing LDAP Cache information for passwd
uid=7011(jtime76) gid=100(users) groups=100(users),6001(oinstall),6002(dba)
jtime76@apt-lnxtst-01:~> logout
apt-lnxtst-01:~ # nscd -i passwd
apt-lnxtst-01:~ # su - jtime76
jtime76@apt-lnxtst-01:~> id
uid=7011(jtime76) gid=100(users) groups=100(users),6001(oinstall),6002(dba)
jtime76@apt-lnxtst-01:~> logout
apt-lnxtst-01:~ # nscd -i passwd
apt-lnxtst-01:~ # vi /etc/nscd.conf
apt-lnxtst-01:~ # /etc/init.d/nscd stop
Shutting down Name Service Cache Daemon done
apt-lnxtst-01:~ # /etc/init.d/nscd start
Starting Name Service Cache Daemon done
changed the value in ldap browser ( removed the group from
/ldapbrowser> ./lbe.sh
apt-lnxtst-01:~ # su - jtime76
jtime76@apt-lnxtst-01:~> id
uid=7011(jtime76) gid=100(users) groups=100(users),6001(oinstall),6002(dba) ---- dba group is still there
jtime76@apt-lnxtst-01:~> logout
apt-lnxtst-01:~ # nscd -i group -------- then flush the group information using this command
apt-lnxtst-01:~ # nscd -i passwd -------- if you want to flush user information
apt-lnxtst-01:~ # su - jtime76
jtime76@apt-lnxtst-01:~> id
uid=7011(jtime76) gid=100(users) groups=100(users),6001(oinstall)
Search This Blog
Total Pageviews
Tuesday, 12 April 2011
sqlplus / as sysdba is hanged
sqlplus / as sysdba is not working
apt-lnxtst-01:~ # /etc/init.d/nscd stop
Shutting down Name Service Cache Daemon done
sqlplus / as sysdba will hang , if nscd service is not running on your server
( if you are using ldap )
apt-lnxtst-01:~ # su - oracle
oracle@apt-lnxtst-01:~> sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Apr 12 12:37:46 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
----------------this screen will stay like this --------------------------
--- hanged hanged hanged hanged hanged hanged hanged hanged hanged hanged hanged ----------
apt-lnxtst-01:/aptus/www/jtime76 # /etc/init.d/nscd start
Starting Name Service Cache Daemon done
now this will work
open a new terminal then
# su - oracle
oracle@apt-lnxtst-01:~> sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Apr 12 12:41:57 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
apt-lnxtst-01:~ # /etc/init.d/nscd stop
Shutting down Name Service Cache Daemon done
sqlplus / as sysdba will hang , if nscd service is not running on your server
( if you are using ldap )
apt-lnxtst-01:~ # su - oracle
oracle@apt-lnxtst-01:~> sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Apr 12 12:37:46 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
----------------this screen will stay like this --------------------------
--- hanged hanged hanged hanged hanged hanged hanged hanged hanged hanged hanged ----------
apt-lnxtst-01:/aptus/www/jtime76 # /etc/init.d/nscd start
Starting Name Service Cache Daemon done
now this will work
open a new terminal then
# su - oracle
oracle@apt-lnxtst-01:~> sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Apr 12 12:41:57 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Subscribe to:
Posts (Atom)
Oracle DBA
anuj blog Archive
- ▼ 2011 (362)