• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Another question - not build related - SystemStarter related
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Another question - not build related - SystemStarter related
      • From: Art Isbell <email@hidden>
  • Prev by Date: TCPMonitor - only for D2WebServices?
  • Next by Date: Re: Another question - not build related - SystemStarter related
  • Previous by thread: RE: WO books
  • Next by thread: Re: Another question - not build related - SystemStarter related
  • Index(es):
    • Date
    • Thread