BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: {bb} Permission denied killing bb processes



A clarification (AKA correction) is in order. I wasn't looking
carefully enough :(  The runbb.sh script will use the PID value
that is stored from a previous start (if available) and then
move on to try and kill any other BB processes. This part
specifically excludes the standard processes and looks as if
it's intended to kill off extension scripts. It was this part
that was causing the error in your original post.

If some of your clients are running extension scripts, maybe
they change UID. Otherwise, it looks like runbb.sh is
misidentifying another process as belonging to BB and trying
to kill it.

Anyway, excessive caffine intake is no longer cutting it. I'm
going to play with this some more tomorrow.

Cheers, Phil.



On Fri, 2005-07-08 at 02:04, Philip Clark wrote:
> 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


-- 
I've never wished a man to meet his maker before his time. But, there
are a
few obituaries that I've read with approval. (Leslie Nielsen)

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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