BB Unix Network Monitor - Message

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

Re: {bb} bb: incorrect number of arguments debugging



"Grau, Michael" wrote:
> 
> Hello All
> 
> Can anyone tell me how to debug the following message in nohup.out?
> 
> bb: incorrect number of arguments
> Format: <IP-ADDR> <DATA>
> 
> It seems fairly random as it does not appear every cycle of bb-local.sh but
> every thrid or so cycle. The message is repeated a number of times for the
> cycle in which it appears. The bb-hosts file looks OK and bbchkcfg and
> bbchkhosts.sh give no errors.

OK.

in mkbb.sh there's a piece of code mentionned as beta
that shouldn't be there.  It's this code:

#
# SMM 1.09 - SOME MAY WANT TO PAGE ON PURPLE DISPLAYS...
# UNCOMMENT THIS IF BLOCK IF YOU DO ***BETA***
# UNDOCUMENTED CODE 411 - INFO...
        if test "$PAGER" != ""
        then
                OLDIFS=$IFS
                IFS='.'
                set $BBDISP >/dev/null 2>/dev/null
                IPADDR=${1}${2}${3}${4}
                $BB $BBPAGE "page 411${IPADDR} No report from $FNAME"
                IFS=$OLDIFS
        fi

It shouldn't be there, remove it. And don't think because it 
says 1.09 that's it going to be there, it's not.  It has given
us enough grief.

-- 
Robert-Andre Croteau	BSD,MOTU	robert@unix.sh
Systemes Informatiques RAC Enrg		robert@motu.ca
(514) 465-3057				rcroteau@videotron.ca
http://www.motu.ca/
	Si le bonheur ne s'achete pas alors louez le.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Please send mail for the mailing list to: bb@taex001.tamu.edu
  To [un]subscribe to this list, send e-mail to majordomo@taex001.tamu.edu
     with [un]subscribe bb in the BODY of the message.
  Please contact the mailing-list-owner as: bb-owner@taex001.tamu.edu


Home | Main Index | Thread Index