BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} Bb-ack.sh not working
On Fri, 2005-10-21 at 15:45, Lemaire, David W. wrote:
>
> Hey all.
> I recently upgraded to bb19h & bbgen 3.6 on RH8.
>
> All is well except bb-ack.sh is not working. I have run from the command
> line and from cgi-bin with no success.
> It is not writing to $BBVAR/acks and I am having a hard time tracking down
> it's failing point.
> Any thoughts or recommendations on where to look ?
I sent this to the list yesterday, but it failed to appear.
Apologies to all if it ends up appearing twice.
This may not be the cause of your problem, but there is a small
bug-let which can prevent the script from running from the
command line. The number of arguments is being trampled on
before being tested.
If you add the line:
ARGC="$#"
near the start of the script and then (around line 165) change:
if [ "$#" -lt 2 -o "$#" -gt 3 ]
to
if [ "$ARGC" -lt 2 -o "$ARGC" -gt 3 ]
that should get it working again.
Then you can use "set -x" to try and debug your real problem.
It may be better to add it after the ". $BBHOME/etc/bbdef.sh"
line to reduce the "noise" caused by setting all those
variables.
Cheers, Phil.
--
The herd instinct among economists makes sheep look like
independent thinkers.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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