BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {bb} Permission denied killing bb processes
The runbb.sh script should be doing essentially the same job
as pkill, but in a less platform dependent manner. The required
PID(s) are identified using ps and grep each time it's run,
rather than being saved on start-up. It shouldn't be too
difficult to do a re-write which uses pkill instead, if that's
going to be more reliable.
My guess would be that the runbb.sh method is identifying the
wrong PID somehow. It should be fairly simple to test it manually
by following the same sequence that the script uses. Of course,
with 1000 machines to look after, there's always going to be
something more important to do :)
Cheers, Phil
On Thu, 2005-07-07 at 23:58, Kimberly McKinnis wrote:
> Brute force method :)
>
> for i in `seq -w 01 61` ; do ssh dev-l$i "pkill bb; su - bb -c 'cd
> /usr/local/bb/bbc1.9e-btf/;./runbb.sh restart'" ; done
>
> I found if you don't pkill it and end up with 2 bb clients running, the
> service you just disabled will be in battle with clear and red :)
>
> I'm still curious why it seems to lose track of its PIDs like this
> though. I've had to restart them all before and didn't see this. Is this
> a common quirk? Thanks.
--
In order to make an apple pie from scratch, you must first create the
universe. (Carl Sagan, Cosmos)
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index