BB Unix Network Monitor - Message

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

RE: {bb} more problems running bb on fedora core 4 system



On Thu, 2006-02-09 at 23:44, Gene Beaird wrote:
> Daniel,
> 
> Thanks for the reply.  I have cooled down a bit from this afternoon, so I
> can reply now.  While you may be right on the client and server part, I know
> I was at least trying to start the server part ($BBHOME/runbb.sh start).
> When I previously tried to start the app, it kept complaining about not
> being able to find some scripts, namely bb, bb-cpu.sh, bb-disk.sh,
> bb-msgs.sh, bb-procs.sh, and another, which I forget.  All of these it was
> looking for in $BBHOME/bin.  They weren't there.  I _did_, however, find
> these scripts in the client /bin directory after compiling and running make
> install on the client part.  Not having any other recourse, I simply copied
> those scripts from the client/bin directory to $BBHOME/bin directory and
> tried to restart the server app.  That is when I got the CAN'T CONNECT TO...
> error.  So yeah, I was probably trying to start the server with the client
> scripts, but there weren't any server scripts to use.

What might be tripping you up is that $BBHOME needs to be different
for client and server. For example, in the server side runbb.sh:

  BBHOME="/usr/local/bb/bb1.9g-btf"

and in the client version of runbb.sh:

  BBHOME="/usr/local/bb/bbc1.9g-btf"


> There is something definitely wrong with the install.  I don't know if it is
> the system, a new Fedora Core 4 system running on a new HP DL320, patched as
> of last Thursday, or bb itself.
> 
> I have since ripped everything out and started over again.  When I got to
> the 'make install' of the server app, I got the following errors:
> 
> bbd.c:1115:warning: pointer targets in passing argument 3 of 'accept' differ
> in signedness
> bbd.c:1154:8:warning: extra tokens at end of # endif directive
> bbd.c:1186:8:warning: extra tokens at end of # endif directive
> 
> Note that line 1154 and 1186 both have something to do with Zombies.

Again, those are only warnings and can be ignored. They should not
prevent you from actually compiling. The ZOMBIE tags on those two
#endif preprocessor directives have no meaning for the compiler.
They are just tags to make the code easier to read and most C
compilers will ignore them silently. The latest (some would say
"bleeding-edge") version of GCC, however, is stricter in this
regard.

> After unsuccessfully searching for a solution to the last two errors, I
> packed my stuff and went home for the day.
> 
> Thanks for the comments.  I have a friend who installed an earlier version
> without the client and server parts and he said it just worked. Don't know
> where my problem is here.

Some operating systems are easier than others. Redhat (and hence
Fedora) have a history of doing "non-standard" things which caused
problems. OTOH, the installation process quickly becomes almost
automatic and it's easy to forget that it once required more
effort.

Cheers, Phil.



-- 
Man is the best computer we can put aboard a spacecraft and the
only one that can be mass produced with unskilled labor.
(Wernher von Braun)

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