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

Re: [hobbit] Problems with 4.0beta4



On Thu, Jan 13, 2005 at 01:47:33PM +0000, Emmanuel Dreyfus wrote:
> My pages only show a info column. I can't have columns for all the
> service I asked monitoring.
> 
> Something that might be related, ~/data/logs quickly receive a 
> bb-laardcolumn.core
> 
> Here is the post mortem diagnosis, thanks to gdb:
> 
> #0  generate_larrd (rrddirname=0x807e040 "/usr/pkg/hobbit/data/rrd", 
>     larrdcolumn=0x807f030 "trends", larrd043=1, hobbitd=1)
>     at bb-larrdcolumn.c:337

There's something seriously wrong here. The core dump you get is
because of a required environment variables (LARRDS or GRAPHS) that is
undefined. But this is defined in the default hobbitserver.cfg file.

So since you are also not seeing any other columns, I suspect some
sort of installation problem.

I'm downloading a copy of NetBSD 2.0 now - I haven't tried building
Hobbit on NetBSD yet - and will see if there's anything that seems
spooky out of the box.


> Then, less serious problems I ran into when packaging because of the 
> interactive configure script. My goal is to have it automatically
> building.

Since you're doing a pre-packaged setup, why not simply include the
top-level Makefile in your package and drop running the "configure"
tool ? The only thing the tool does it setting up the top-level
Makefile.


> I also have a build/Makefile.NetBSD:

Thanks, will add it to the collection.


> And finnally, a minor problem in docs/Makefile: on my system, true is in
> /usr/bin and not /bin. I gues just "true" (with no path) is  a good
> fix.

true. (pun intended). Actually, I recently changed it to
      @echo ""
which should work as well.


Regards,
Henrik