Running hobbit on HP-UX 11.11 I get this:
$ gdb /home/hobbit/server/bin/hobbitsvc.cgi ./core
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "hppa2.0n-hp-hpux11.00"...
Core was generated by `hobbitsvc.cgi'.
Program terminated with signal 11, Segmentation fault.
warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.
Reading symbols from /usr/local/lib/libpcre.sl...done.
Reading symbols from /usr/lib/libnsl.1...done.
Reading symbols from /usr/lib/libxti.2...done.
Reading symbols from /usr/lib/libc.2...done.
Reading symbols from /usr/lib/libdld.2...done.
#0 0x00012198 in criteriamatch (alert=0x7f7e66d8, crit=0x400070f8,
rulecrit=0x0, anymatch=0x0, nexttime=0x0) at loadalerts.c:798
798 if (crit && alert->groups && (*(alert->groups)) && (crit->groups
pec || crit->exgroupspec)) {
(gdb) bt
#0 0x00012198 in criteriamatch (alert=0x7f7e66d8, crit=0x400070f8,
rulecrit=0x0, anymatch=0x0, nexttime=0x0) at loadalerts.c:798
#1 0x0001272c in next_recipient (alert=0x7f7e66d8, first=0x7f7e6b98,
anymatch=0x0, nexttime=0x0) at loadalerts.c:964
#2 0x000128b0 in have_recipient (alert=0x25d80, anymatch=0x40008bf8)
at loadalerts.c:1012
#3 0x00005938 in generate_hobbit_alertinfo (
hostname=0x40000b10 <Address 0x40000b10 out of bounds>, buf=0x40007000)
at hobbitsvc-info.c:197
#4 0x0000745c in generate_info (hostname=0x40006b50 "leopg9")
at hobbitsvc-info.c:760
#5 0x000042c0 in do_request () at hobbitsvc.c:183
#6 0x00005008 in main (argc=4, argv=0x7f7e05f0) at hobbitsvc.c:467
(gdb)
Regards Lars Ebeling
http://leopg9.no-ip.org Hobbithobbyist
"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." -- Mark Twain
On Tue, May 23, 2006 at 06:08:04AM +0200, lars ebeling wrote:
#0 0x00012198 in criteriamatch (alert=0x7f7e66d8, crit=0x400070f8,
rulecrit=0x0, anymatch=0x0, nexttime=0x0) at loadalerts.c:798
798 if (crit && alert->groups && (*(alert->groups)) && (crit->groups
Oops... Try this, I'm sure it fixes it.
Regards, Henrik
It works
Lars ----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Tuesday, May 23, 2006 7:42 AM Subject: Re: [hobbit] Todays snapshot (23/5) infocolumn still does not work
On Tue, May 23, 2006 at 06:08:04AM +0200, lars ebeling wrote:
#0 0x00012198 in criteriamatch (alert=0x7f7e66d8, crit=0x400070f8, rulecrit=0x0, anymatch=0x0, nexttime=0x0) at loadalerts.c:798 798 if (crit && alert->groups && (*(alert->groups)) && (crit->groups
Oops... Try this, I'm sure it fixes it.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi all,
find this error in clientdata.log (Red Hat Enterprise Linux ES release 3)
more clientdata.log 2006-05-24 10:17:02 Unknown token 'e' ignored at line 1 2006-05-24 10:17:02 pcre compile '*.log' failed (offset 0): nothing to repeat
Marco
On Wed, May 24, 2006 at 10:19:34AM +0200, Marco Avvisano wrote:
find this error in clientdata.log (Red Hat Enterprise Linux ES release 3)
more clientdata.log 2006-05-24 10:17:02 Unknown token 'e' ignored at line 1 2006-05-24 10:17:02 pcre compile '*.log' failed (offset 0): nothing to repeat
This comes from your hobbit-clients.cfg configuration. You have something listed as "*.log" which is not a valid regular expression.
Regards, Henrik
On Wed, May 24, 2006 at 10:19:34AM +0200, Marco Avvisano wrote:
find this error in clientdata.log (Red Hat Enterprise Linux ES release 3)
more clientdata.log 2006-05-24 10:17:02 Unknown token 'e' ignored at line 1 2006-05-24 10:17:02 pcre compile '*.log' failed (offset 0): nothing to repeat
This comes from your hobbit-clients.cfg configuration. You have something listed as "*.log" which is not a valid regular expression.
It's correct this entry in hobbit-clients?
FILE "%.log" yellow SIZE<1024 MTIME<600 TRACK
M.
Marco Avvisano wrote:
On Wed, May 24, 2006 at 10:19:34AM +0200, Marco Avvisano wrote:
find this error in clientdata.log (Red Hat Enterprise Linux ES release 3)
more clientdata.log 2006-05-24 10:17:02 Unknown token 'e' ignored at line 1 2006-05-24 10:17:02 pcre compile '*.log' failed (offset 0): nothing to repeat
This comes from your hobbit-clients.cfg configuration. You have something listed as "*.log" which is not a valid regular expression.
It's correct this entry in hobbit-clients?
FILE "%.log" yellow SIZE<1024 MTIME<600 TRACK
Not unless you are looking for a file that is 4 characters long, any character '.' followed by the string log? You probably meant:
FILE "%.*log" yellow SIZE<1024 MTIME<600 TRACK # notice the '.*' after %
You want any number of characters or filename that ends with the string 'log'?
Assuming you have setup entries in client-local.cfg on the server to extract filenames that will end in 'log'?
M.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (4)
-
David.Gore@verizonbusiness.com
-
henrik@hswn.dk
-
lars.ebeling@leopg9.no-ip.org
-
marco.avvisano@regione.toscana.it