Thinking Out Loud

June 6, 2012

pldd – list dynamic libraries linked into each process

Filed under: oracle,solaris — mdinh @ 2:49 am

I am using ldd and pldd on Solaris 10.

I was upgrading the database using dbua and was distracted. Later, I saw the listener process was running from 11.2.0.2

> ps -afe|grep tns
 oracle 26639 6520 0 Jun 04 ? 0:01 /u01/app/oracle/product/11.2.0.2/dbhome_1/bin/tnslsnr listener_db02 -inherit
 oracle 6963 7420 0 12:09:09 pts/3 0:00 grep tns

Strange – Hmm?  What happened and what version is oracle process running?

> ps -afe|grep ora_smon
 oracle 4563 6520 0 10:47:37 ? 0:02 ora_smon_db02
 oracle 7012 7420 0 12:09:19 pts/3 0:00 grep ora_smon
> pldd 4563
4563: ora_smon_db02
/u01/app/oracle/product/11.2.0.3/dbhome_1/lib/libodmd11.so
/u01/app/oracle/product/11.2.0.3/dbhome_1/lib/libcell11.so
/u01/app/oracle/product/11.2.0.3/dbhome_1/lib/libskgxp11.so
/u01/app/oracle/product/11.2.0.3/dbhome_1/lib/libnnz11.so
/u01/app/oracle/product/11.2.0.3/dbhome_1/lib/libclsra11.so
/u01/app/oracle/product/11.2.0.3/dbhome_1/lib/libdbcfg11.so
/u01/app/oracle/product/11.2.0.3/dbhome_1/lib/libhasgen11.so
/u01/app/oracle/product/11.2.0.3/dbhome_1/lib/libskgxn2.so
/u01/app/oracle/product/11.2.0.3/dbhome_1/lib/libocr11.so
/u01/app/oracle/product/11.2.0.3/dbhome_1/lib/libocrb11.so
/u01/app/oracle/product/11.2.0.3/dbhome_1/lib/libocrutl11.so
/lib/sparcv9/libkstat.so.1
/lib/sparcv9/libnsl.so.1
/lib/sparcv9/libsocket.so.1
/lib/sparcv9/libresolv.so.2
/lib/sparcv9/libgen.so.1
/lib/sparcv9/libdl.so.1
/usr/lib/sparcv9/libsched.so.1
/lib/sparcv9/librt.so.1
/lib/sparcv9/libc.so.1
/lib/sparcv9/libaio.so.1
/usr/lib/sparcv9/libpool.so.1
/lib/sparcv9/libm.so.2
/lib/sparcv9/libmd.so.1
/usr/lib/sparcv9/libxml2.so.2
/lib/sparcv9/libscf.so.1
/lib/sparcv9/libnvpair.so.1
/usr/lib/sparcv9/libexacct.so.1
/lib/sparcv9/libpthread.so.1
/usr/lib/sparcv9/libz.so.1
/lib/sparcv9/libdoor.so.1
/lib/sparcv9/libuutil.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1

I have must have not shutdown the listener from the previous version.

That was easy.

 

 

 

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: