All,
Does anybody know how to make bro produce whatever debugging messages when
it crashes (maybe even a core file)? In my case it always crashes after
2-7 days of running but I have no way of figuring out how to figure out
what killed it.
I tried to do exec tracing, but it doesn't seem to do what I needed.
Best,
--
Anton Chuvakin, Ph.D., GCIA
Senior Security Analyst
netForensics - http://www.netForensics.com
732-393-6071
Hi,
>You should try linking with "/usr/lib/libresolv.a" instead of "-lresolv"
--
>the latter uses the dynamic library, libresolv.so, unless you add the
>"-static" option. Just edit the Makefile accordingly.
~~~~~~~~~~~~~~~~~~~~~I could not find
-lresolv in Makefile. Would u tell me where should be corrected in
Makefile?
>
>Good luck,
>
>Olivier.
>
>
>On Wednesday 04 December 2002 07:02 am, you wrote:
> > Hi,
> >
> > I wonder anyone has experience in building Bro in linux and,
especially,
> > in resolving the following problem:
> >
> > nb_dns.o: In function `nb_dns_activity':
> > nb_dns.o(.text+0x678): undefined reference to `__ns_initparse'
> > nb_dns.o(.text+0x742): undefined reference to `_ns_flagdata'
> > nb_dns.o(.text+0x748): undefined reference to `_ns_flagdata'
> > nb_dns.o(.text+0x9bc): undefined reference to `__ns_parserr'
> > collect2: ld returned 1 exit status
> > make: *** [bro] Error 1
> >
> > I am using linux 2.4.18-3 (Redhat 7.3). I nm'ed libresolv.a and did
find
> > __ns_initparse in it:
> >
> > /usr/lib/libresolv.a:ns_parse.o:00000000 T __ns_initparse
Thanks at advance
Have a nice day!
Ciao
Cloud
_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
Hi,
>You should try linking with "/usr/lib/libresolv.a" instead of "-lresolv"
--
>the latter uses the dynamic library, libresolv.so, unless you add the
>"-static" option. Just edit the Makefile accordingly.
~~~~~~~~~~~~~~~~~~~~~I could not find
-lresolv in Makefile. Would u tell me where should be corrected in
Makefile?
>
>Good luck,
>
>Olivier.
>
>
>On Wednesday 04 December 2002 07:02 am, you wrote:
> > Hi,
> >
> > I wonder anyone has experience in building Bro in linux and,
especially,
> > in resolving the following problem:
> >
> > nb_dns.o: In function `nb_dns_activity':
> > nb_dns.o(.text+0x678): undefined reference to `__ns_initparse'
> > nb_dns.o(.text+0x742): undefined reference to `_ns_flagdata'
> > nb_dns.o(.text+0x748): undefined reference to `_ns_flagdata'
> > nb_dns.o(.text+0x9bc): undefined reference to `__ns_parserr'
> > collect2: ld returned 1 exit status
> > make: *** [bro] Error 1
> >
> > I am using linux 2.4.18-3 (Redhat 7.3). I nm'ed libresolv.a and did
find
> > __ns_initparse in it:
> >
> > /usr/lib/libresolv.a:ns_parse.o:00000000 T __ns_initparse
Thanks at advance
Have a nice day!
Ciao
Cloud
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn