Tuesday 7 April 2015

IPC KILL

IPC KILL


If you get below error while bringing down the services.Then do IPC cleanup.



tmshutdown: internal error: CMDTUX_CAT:764: ERROR: can't attach to BB
==============ERROR!================
Shutdown attempt encountered errors! Check the TUXEDO log for details.
==============ERROR!================



server name.-<PS_HOME>>cd app*

server name.--<PS_HOME>/appserv>ls -la

total 808

-rwxr-xr-x   1 XXXX      xxxx         2393 Nov  9  2007 ipcrmall.sh
-rwxr-xr-x   1 XXXXX   xxxxx           450 Apr 16 00:27 killipc.sh
 



You always need to run IPCRMALL script first
Server name-<PS_HOME>/appserv>ipcrmall.sh XXXX xxxx

Examine killipc.sh and then use it to kill resources




You may examine the resulting file
Server name-<PS_HOME>/appserv>more killipc.sh
#!/bin/ksh
#       
# Run this to remove ipc resources for user XXXXand group xxx
#       
# WARNING:             
#   Removing ipcs resources is not the normal way to shut down a domain.
#   This will not cause data integrity problems, although in rare cases
#   the TUXEDO domain may need to be reconfigured before you can boot it.
#       
ipcrm -q 703046400
ipcrm -q 887041
ipcrm -q 1030443
ipcrm -q 1209647
ipcrm -q 412208
ipcrm -q 394289
ipcrm -q 376370
ipcrm -q 448051
ipcrm -q 564532
ipcrm -q 349493
ipcrm -q 394294
ipcrm -q 349495
ipcrm -q 465976
ipcrm -q 394297
ipcrm -q 349498
ipcrm -q 403259
ipcrm -q 367420
ipcrm -q 349501
ipcrm -q 349502
ipcrm -q 358463
ipcrm -q 349504
ipcrm -q 349505
ipcrm -q 349506
ipcrm -q 349507
ipcrm -q 349508
ipcrm -q 349509
ipcrm -q 349510
ipcrm -q 349511


Then you must run the resulting “KILLIPC” file
Server name-<PS_HOME>/appserv>killipc.sh
ipcrm: msqid(448051): not found
ipcrm: msqid(564532): not found
 






1 comment:

  1. Hi there,

    This post was very helpful to me. Thanks much for posting !!

    ReplyDelete

The purge process did not run because the Oprid configured to start the Process Scheduler did not have the required permissions to run the purge process.

  Purge process - Required permissions The PeopleSoft Oprid used to start the Process Scheduler, as defined in the Scheduler's psprcs.cf...