Running Policy Server ?start-all? shell script creates .java_pidNNNN file under /tmp directory

book

Article ID: 37960

calendar_today

Updated On:

Products

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

Issue/Introduction

Problem

This document explains a UNIX/Linux Policy Server ‘start-all’ shell script behavior.

 

When Policy Server starts up by ‘start-all’, a temporary file .java_pidNNNN (‘N’ is integer) is created under /tmp. However, when it stops by ‘stop-all’ script, the file is not removed.

 

# ls -la /tmp

srw-------.  1 smuser smuser  0 Apr  2 12:05 .java_pid52348

 

Resolution/Workaround:

The ‘start-all’ shell script invokes two processes:

(1) smpolicysrv (Policy Server)

(2) smmon (Health Monitor)

 

‘smmon’ is a Java process and creates such a temporary file /tmp/.java_pidNNNN of socket type. The file can be deleted after Policy Server shutdown.

 

Additional Information:

On the other hand, ‘smpolsrv’ command does not create such a temporary file. If you need to start (1) smpolicysrv (Policy Server) only, you may use ‘smpolsrv’ command with option “-start”. Here is a usage information.

 

# pwd

/opt/CA/siteminder

# ./smpolsrv -h

Usage :

        smpolsrv -start (to start server)

        smpolsrv -stop (to stop server)

Environment

Release:
Component: SMPLC