BB Unix Network Monitor - Message

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

{bb} bb client on 'QNX' ???



I've been searching the archives and trying to install a bbc1.9i-btf client on a legacy QNX (4.25) machine. I was lucky enough to find a qnx post in the archives:  http://support.bb4.com/archive/199804/msg00127.html that looked hopeful... but the post is from 1998. (*Argh*).   I'm 'just' guessing as I try the things below. Perhaps someone can help  ... and/or I was hoping someone would have  QNX client tar bundle I might get ??

so what I've done is to try to get my qnx client to compile:

1).  edit etc/bbinc.sh  changing MACHINE=`uname -n` --> machine='/usr/ucb/hostname'
2).  created a install/bbsys.qnx
# Modified 10/16/2006
UNAME="/usr/ucb/hostname"
MACHINE=`$UNAME`
UPOUTPUT="QNX"

PS="/bin/ps axww"                      
DF="/bin/df"
MSGFILE="/var/log/messages"
PING="/usr/ucb/ping"
SED="/bin/sed"
MAIL="/usr/bin/mail -s"
GREP="/bin/grep"
EGREP="/bin/egrep"
AWK="/bin/awk"
PINGPAR1="-s"
PINGPAR1=" 56"

TOUCH="/bin/touch"
SORT="/bin/sort"
EXPR="/bin/expr"
TAIL="/usr/ucb/tail"
WC="/bin/wc -l"
WHO="/usr/bin/who"
LS="/bin/ls"
CAT="/bin/cat"
DATE="/bin/date"
NSLOOKUP="/usr/bin/nslookup"
FIND="/bin/find"
TAIL="/bin/tail"
HEAD="/bin/head"

3).  edit bbconfig to add qnx as an OS  --> OS="qnx bsdi bsdi4 sco3 ..."
4).  run ./bbconfig qnx
./bbconfig qnx
tput: not found
tput: not found
---> We'll configure for qnx...

        Big Brother needs it's own user id.  If your BB user doesn't exist,
        you'll have to create it then re-run bbconfig.

What will be the user ID for BB [bb]: bbuser
---> BB will only run from user 'bbuser'
        Making sure BBHOME <//24/home/bbuser/bbc1.9i-btf> is writable...
---> OK, //24/home/bbuser/bbc1.9i-btf is fine...

        When you set up your machines, you should use Fully Qualified
        Domain names, this means you use the whole name, like www.bb4.com,
        instead of just 'www'.  This is recommended.

Use FQDN (y/n): [y] n
---> OK... if you must...
--------------------------------------------------------
--> UPDATING runbb.sh
--> UPDATING bbsys.local
--> CHECKING COMMAND PATHNAMES
*** Verifying pathnames to necessary commands...
DIG is unavailable, the directive "dig" cannot be used in bb-hosts
MSGFILE=/var/log/messages is incorrectly defined, fix in bbsys.local
*** The following changes need to be made...
        --> /usr/bin/find changed to /bin/find
        --> /usr/ucb/tail changed to /bin/tail
        --> /usr/bin/uptime changed to unknown
        --> /usr/bin/head changed to /bin/head
        --> /usr/bin/dig changed to unknown
*** Making changes...

*** We've noticed that we've set some of the pathnames wrong
*** by default here.  May we mail a summary of the paths we
*** missed back to info@bb4.com so we can update our installs?
[y/n]
n
*** Done.
--> UPDATING bbdef.sh
--------------------------------------------------------

--------------------------------------------------------
--> Done.  Now do
                chown -R bbuser //24/home/bbuser/bbc1.9i-btf

Now compile Big Brother

                cd //24/home/bbuser/bbc1.9i-btf/src
                make
                make install
--------------------------------------------------------

well, a few things to worry about  .. like no tput... So I trudge on ... (*hopeful*..)
$ chown -R bbuser //24/home/bbuser/bbc1.9i-btf
$ cd //24/home/bbuser/bbc1.9i-btf/src
$ make
mkdir: ../bin.CDPATH=:bbuser:/usr: No such file or directory
mkdir: DISPLAY=ssaylerlx.sec.noaa.gov:0.0: File exists
mkdir: HOME=//24/home/bbuser: No such file or directory
mkdir: HZ=1000: File exists
mkdir: IFS=: File exists
mkdir: INCLUDE=/usr/include:/sec/include: No such file or directory
mkdir: KSH_VERSION=QNX: File exists
mkdir: 4.20: File exists
mkdir: LIBQNX=/usr/lib:/sec/lib: No such file or directory
mkdir: LOGNAME=bbuser: File exists
mkdir: MACHINE=qnx: File exists
mkdir: MAILCHECK=600: File exists
mkdir: MAKEFLAGS=: File exists
mkdir: MAKELEVEL=1: File exists
mkdir: MFLAGS=: File exists
mkdir: NODE=24: File exists
mkdir: OPTIND=1: File exists
mkdir: OSLEVEL=TRUE: File exists
mkdir: PATH=/bin:/etc:/usr/bin:/usr/ucb:/sec/bin:: No such file or directory
mkdir: PS1=$: File exists
mkdir: PS2=>: File exists
mkdir: PWD=//24/home/bbuser/bbc1.9i-btf/src: No such file or directory
mkdir: SECONDS=0: File exists
mkdir: SHELL=/bin/sh: No such file or directory
mkdir: SHLEVEL=1: File exists
mkdir: TERM=xterm: File exists
mkdir: TMPDIR=/tmp: No such file or directory
mkdir: TZ=utc00: File exists
mkdir: UNAME=QNX: File exists
mkdir: 24: File exists
mkdir: H: File exists
mkdir: 425: File exists
mkdir: PCI: File exists
mkdir: 32: File exists
mkdir: WATCOM=/usr/lib: No such file or directory
mkdir: _=set: File exists
mkdir: qnxQNX.24: File exists
make: *** [all] Error 1

These look like ALL of bbuser's environment variables...   *Argh*...
$ env
_=/usr/bin/env
PATH=/bin:/etc:/usr/bin:/usr/ucb:/sec/bin:
SHELL=/bin/sh
TMPDIR=/tmp
DISPLAY=ssaylerlx.sec.noaa.gov:0.0
HOME=//24/home/bbuser
CDPATH=:bbuser:/usr
INCLUDE=/usr/include:/sec/include
TERM=xterm
TZ=utc00
HZ=1000
WATCOM=/usr/lib
LIBQNX=/usr/lib:/sec/lib
LOGNAME=bbuser


Can anyone help???

thanks in advance,
steve
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-= 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