Re: {bb} big brother monitoring a df that it shouldn't be

Robert-Andre Croteau <[email protected]> Tue, 11 Mar 2008 18:23:10 -0400
Newsgroups gmane.network.bb4.general
Message-ID <[email protected]>
Scott Mohnkern wrote:
> Well, I think I figured it out.

BB will use the values in bbsys.local if they exist there to override 
bbsys.sh.

As you replied previously, bbsys.local have

DF="/bin/df -kP"
DFSORT="-k4n"

or at least, that's what it should be (I think :))

As you mention you get the erros below which tell me that it's not like 
that...

bye

> 
> Somewhere big brother is doing a:
> 
> sort +4 <filename>
> 
> and I need it to do a:
> 
> sort -k 4 <filename>
> 
> $BBHOME/etc/bbsys.sh has a
> 
> DFSORT="4"
> 
> But changing this to "-k 4"  generates:
> 
> /bin/sort: open failed: +-k 4: No such file or directory
> 
> So the question is, what do I need to change so instead of doing a sort 
> +4 <filename> it does a sort -k 4 <filename>
> 
> Scott
> 
> Scott Mohnkern wrote:
> 
>> Actually, I may have found the problem, I took a look at $BBHOME/BBOUT 
>> and there are lots of these:
>>
>> /bin/sort: open failed: +4: No such file or directory
>>
>>
>> Of course that's not helpful, as I'm not sure what file it's not able 
>> to find.
>>
>> Scott
>>
>>
>> Philip Clark wrote:
>>
>>>On Mon, 2008-03-10 at 13:27 -0400, Scott Mohnkern wrote:
>>>  
>>>
>>>>I'm having a problem with bb a 1.6e1 client reporting on a partition 
>>>>that it shouldn't be.
>>>>
>>>>It's acting like the tmp directory for the client (in this case 
>>>>/usr/local/bb16e1/tmp) is a partition, and reporting it full (and its 
>>>>not a partition at all, just a directory).
>>>>
>>>>adding the following to bb-dftab doesn't seem to help:
>>>>
>>>>localhost:/usr/local/bb16e1/tmp:101:101
>>>>
>>>>For the life of me, I can't figure out where it's deciding that 
>>>>/usr/local/bb16e1/tmp is a partition, and that it needs to be monitored.
>>>>
>>>>Any suggestions?
>>>>    
>>>>
>>>
>>>Erm, 1.6e1? This would be archaeology then. I'll just fetch my trowel :)
>>>
>>>These "tmp filesystem full" messages are not generally the result of
>>>examining the disks. A more complete translation would be, "I tried to
>>>save some data to my tmp directory and all I got was an empty file."
>>>
>>>Two well know candidates are the Solaris "tail" bug and the altered
>>>"sort" options:
>>>
>>>  http://support.bb4.com/archive/200405/msg00222.html
>>>
>>>  http://support.bb4.com/archive/200603/msg00170.html
>>>
>>>If neither of those looks likely, check through the client scripts
>>>until you find the part that is generating the error message. If it
>>>appears more than once, append an identifier to the message to isolate
>>>it. Then you can try running the commands that precede it manually
>>>to get a better idea of why they are failing.
>>>
>>>If you still can't locate the problem, let the list know. Unfortunately,
>>>you would need to actually send me the client tarball (off list) as I
>>>don't have anything nearly as old as that.
>>>
>>>Cheers, Phil.
>>>
>>>
>>>
>>>--
>>>Real Programmers don't play tennis, or any other sport that
>>>requires you to change clothes. Mountain climbing is OK, and real
>>>programmers wear their climbing boots to work in case a mountain
>>>should suddenly spring up in the middle of the machine room.
>>>
>>>
>>>--
>>>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
>>>To unsubscribe from this list, or to subscribe to the bb-digest list
>>>send e-mail to mailto:[email protected] with unsubscribe bb -and/or-
>>>subscribe bb-digest in the BODY of the message.
>>>  
>>>
> 
> ------------------------------------------------------------------------
> 
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 7.5.518 / Virus Database: 269.21.7/1325 - Release Date: 3/11/2008 1:41 PM


-- 
Robert-Andre Croteau    BSD,MOTU
Quest Software, Inc.            Big Brother, Product Architect
http://www.quest.com/                          http://bb4.com/
+1 (514) 238-9374
         Si le bonheur ne s'achete pas alors louez le.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:[email protected] with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.