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 more I look at this, the more I think that the four (or five
if you count the commented one) lines like:
$PS | $GREP $BBHOME | $GREP -v grep | $GREP -v bb-display >>
$BBTMP/runbb.sh.$$
starting at line 122, were not intended to have the "-v" flag on
the final grep. Maybe it's a cut 'n' paste bug-let, but it only
makes sense to me if those lines are matching the normal BB
processes rather than excluding them.
If runbb.sh is modified, that part of the script will still
manage to stop BB even if the BBPID file is missing. The next
step would be to try and work out why the BBPID file disappears
or gets out of sync. My first guess would be that the ramdisk
might not be available quickly enough after a reboot. Otherwise,
you could always write a quick BB ext script to watch it :)
Cheers, Phil.
On Fri, 2005-07-08 at 04:07, Philip Clark wrote:
> 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.
--
A bachelor is a selfish, undeserving guy who has cheated some woman out
of a
divorce. (Don Quinn)
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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