When running the following commands, trapexploder does not provide status or stop:
./trapexploder status
./trapexploder stop
Release: Trap Exploder running on Solaris 10
Component:
This is due to running trapexploder on a local Solaris 10 zone. The trapexploder script greps for a zonename so that when it is run at the global zone level, the script functions properly. When trapexploder is run on a local zone, the script fails.
Edit the trapexploder application in the /ect/init.d folder and change the following entry from:
if [ "$SOLARIS10" = "1" ];then
# stop only the agent running on this zone
PID=`$PS -ef -Z | grep "\`zonename\`" | grep $TRAPXDIR/bin/trapexploder | grep -v grep | awk '{print $3}'`
To:
if [ "$SOLARIS10" = "1" ];then
# stop only the agent running on this zone
PID=`$PS -ef -Z | grep $TRAPXDIR/bin/trapexploder | grep -v grep | awk '{print $3}'`