BB Unix Network Monitor - Message

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

Re: {bb} BB and fedora core 5 disk full reports?



On Thu, 2006-03-30 at 04:04, LDAP wrote:
> I was watching BBOUT and saw this
> 
> Wed Mar 29 19:01:40 2006 bb-local.sh /bin/sort: open failed: +4: No
> such file or directory
> 
> 
> but I'm confused since: 
> 
> [bb@csumb2 bb]$ which sort
> /bin/sort

You should also check the binaries defined as DFCMD and EGREP in
etc/bbsys.sh. Make sure that the BB user can actually run those
commands. You can then test manually by doing something like:

  cd  /usr/local/bb/bbc1.9i-btf
  export BBHOME=/usr/local/bb/bbc1.9i-btf
  . etc/bbdef.sh
  eval "$DFCMD | $EGREP \"$DFUSE\" | $EGREP -v \"$DFEXCLUDE\" |
$SORT \"+${DFSORT}\""

If that fails, youy could try an alternative:

  eval "$DFCMD | $EGREP \"$DFUSE\" | $EGREP -v \"$DFEXCLUDE\" |
$SORT --key=${DFSORT} -"

What I think is going on here is that the client is using a command
of the form 'sort "+4"' to get the 5th column of input. It appears
that your version of sort interprets the "+4" as an input file.

If the alternative works, there are two lines in bin/bb-disk.sh
which you should modify.

Cheers, Phil.



-- 
An engineer is someone who does list processing in Fortran.

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