Another question - not build related - SystemStarter related
Another question - not build related - SystemStarter related
- Subject: Another question - not build related - SystemStarter related
- From: "Robert A. Decker" <email@hidden>
- Date: Fri, 15 Aug 2003 18:35:01 -0700 (PDT)
There was a typo in the WebObjects system starter file that stopped it
from being used to stop the WebObjects services from the command line. I
got past that problem, but hit another that I can't solver. I'm now
getting the error:
Stopping WebObjects services
/usr/bin/awk: syntax error at source line 2
context is
NF>3 {if ( $3 ==11282 >>>
<<<
/usr/bin/awk: illegal statement at source line 2
StopPID:kill:2: illegal pid: 11282\n11283
Which appears to be happening in this stretch of code:
for parent in $WOSERVICEPIDS
{
WOSERVICECHILDPIDS=`eval $PSCOMMAND | $AWK 'NF>3 {if ( $3
=='"$parent"' ) print $2}'`
StopPID $parent
for child in $WOSERVICECHILDPIDS
{
StopPID $child
}
}
Anyone get past this problem?
thanks,
Robert A. Decker
http://www.robdecker.com/
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.