PIM Daemon Appears Twice in issec, Does Not Stop When Secons -S Is Called.

Document ID : KB000030469
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

When running issec after loading, the output shows two lines for one daemon. The first line says it is not running, the second is at the bottom and says it is running. Is something wrong with issec or the daemon?

 

Answer:

The reason why the daemon is listed twice is that the daemon is still starting up. When it finishes loading, it registers with seosd. After this occurs, it will be properly listed. An example with the serevu daemon is below.

# seload

CA ControlMinder seload v12.63.0.144 - Loader Utility

Copyright (c) 2010 CA. All rights reserved.

17 Apr 2015 12:25:47> WAKE_UP : Server going up

17 Apr 2015 12:25:47> INFO    : Filter mask: 'WATCHDOG*' is registered

17 Apr 2015 12:25:47> INFO    : Filter mask: 'INFO    : Setting PV*' is registered

17 Apr 2015 12:25:47> INFO    : Filter mask: 'INFO    : DB*' is registered

17 Apr 2015 12:25:47> INFO    : Filter mask: '*seosd.trace*' is registered

17 Apr 2015 12:25:47> INFO    : Filter mask: '*FILE*secons*(*/log/*)*' is registered

Starting seosd. PID = 8524.

Checking database ...

Starting seagent. PID = 8527

seagent: Loading database image...

Starting seoswd. PID = 8530

seagent: Initialization phase completed

Executing [daemons] command: /opt/CA/AccessControl/bin/serevu

Starting serevu. PID = 8535

 

A few seconds after running seload, issec is called.

# issec

CA ControlMinder version 12.6 installed in /opt/CA/AccessControl

VeRsIoN: 12.63-0 (144) Compiled On:Nov 10 2013 21:03:54  Kernel: 2.6.32-71-RH6 _LINUX60ASX86_64.X86_64 STOP 30027

CA ControlMinder kernel extension is loaded.

CA ControlMinder security daemon is running, pid=8524 (security)

CA ControlMinder watchdog daemon is running, pid=8530 (watchdog)

CA ControlMinder agent daemon is running, pid=8527 (agent)

CA ControlMinder serevu daemon is not running.

CA ControlMinder selogrd daemon is not running.

CA ControlMinder selogrcd daemon is not running.

CA ControlMinder eacws daemon is not running.

CA ControlMinder ReportAgent daemon is not running.

CA ControlMinder AgentManager daemon is not running.

CA ControlMinder policyfetcher daemon is not running.

CA ControlMinder KBLAudMgr daemon is not running.

CA ControlMinder auxiliary daemon is not running.

CA ControlMinder serevu daemon is running, pid=8535 (/opt/CA/AccessControl/bin/serevu )

 

After waiting two minutes, issec is called again.

# issec

CA ControlMinder version 12.6 installed in /opt/CA/AccessControl

VeRsIoN: 12.63-0 (144) Compiled On:Nov 10 2013 21:03:54  Kernel: 2.6.32-71-RH6 _LINUX60ASX86_64.X86_64 STOP 30027

CA ControlMinder kernel extension is loaded.

CA ControlMinder security daemon is running, pid=8524 (security)

CA ControlMinder watchdog daemon is running, pid=8530 (watchdog)

CA ControlMinder agent daemon is running, pid=8527 (agent)

CA ControlMinder serevu daemon is running, pid=8535 (serevu )

CA ControlMinder selogrd daemon is not running.

CA ControlMinder selogrcd daemon is not running.

CA ControlMinder eacws daemon is not running.

CA ControlMinder ReportAgent daemon is not running.

CA ControlMinder AgentManager daemon is not running.

CA ControlMinder policyfetcher daemon is running, pid=8702 (policyfetcher )

CA ControlMinder KBLAudMgr daemon is not running.

CA ControlMinder auxiliary daemon is not running.

 

Additional Information:

If secons -S is called during this time, the daemon will not be stopped. If a daemon is still starting up, secons -S will not stop it since it has not been registered yet. If secons -S is run while a daemon is still running, the message below will occur.

# secons -S

CA ControlMinder secons v12.63.0.144 - Console utility

Copyright (c) 2010 CA. All rights reserved.

serevu is not registered.