How to determine ports used by policy server without using smconsole on linux

book

Article ID: 141355

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) AXIOMATICS POLICY SERVER CA Single Sign On Agents (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) SITEMINDER

Issue/Introduction

I do not have and xserver currently set up to use smconsole and we are using non-standard ports. I am not sure how to determine ports used by policy server. How do I determine this?

Environment

Release : 12.8

Component : SITEMINDER -POLICY SERVER

Resolution

Find the PID of the smpolicysrv process:

ps aux | grep smpolicysrv

Then execute:

lsof -p <PID of smpolicysrv> | grep LISTEN

This should return something like:

smpolicys 7542 smadmin   30u  IPv6          213843118      0t0       TCP *:6662 (LISTEN)
smpolicys 7542 smadmin   31u  IPv6          213843122      0t0       TCP *:6661 (LISTEN)
smpolicys 7542 smadmin   32u  IPv6          213843126      0t0       TCP *:6663 (LISTEN)
smpolicys 7542 smadmin   33u  IPv6          213843130      0t0       TCP *:6664 (LISTEN)

In the above the policy server is listening on ports 6661-6664.