BB Unix Network Monitor - Message

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

RE: {bb} Permission denied killing bb processes



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. 

-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of Kimberly
McKinnis
Sent: Thursday, July 07, 2005 3:15 PM
To: bb@bb4.com
Subject: {bb} Permission denied killing bb processes

We run the bb client on about 1000 RH9 machines. They're netbooted and
things like BBOUT and BBPID live in the ramdisk at /tmp. I've recently
made a change to bbdef-client.sh and need to restart the BB client on
these machines. The admin server is keyed to the machines and normally I
just run a command similar to the following: for i in `seq -w 01 15` ;
do ssh dev-h$i "su - bb -c 'cd /usr/local/bb/bbc1.9e-btf/;./runbb.sh
restart'" ; done

Unfortunately, I am currently getting the following error message:
./runbb.sh: line 145: kill: (14558) - Operation not permitted

I am having to ssh in and login as root to each individual machine and
kill -9 the process. The bb user does in fact, own these processes,
according to a ps wgaux. This could be a weird machine problem and not
bb's fault, but I'm wondering if anyone has encountered this before.
Thanks in advance :)

~Kimberly



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



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