4.2-alpha : hobbitreports.sh crashes

Morris, Chris (Shared Services) CHRIS.MORRIS at RWEnpower.com
Thu Apr 6 17:11:02 CEST 2006


I am still having the same problem with the pre-generated reports (daily,
weekly, monthly) on AIX 5.2 >

/usr/local/hobbit2/server/bin/bbcmd
--env=/usr/local/hobbit2/server/etc/hobbitserver.cfg hobbitreports.sh daily
+ '[' daily == '-?' -o daily == --help -o 1 -eq 0 ']'
+ '[' /usr/local/hobbit2/server = '' ']'
+ REPORTTOPDIR=/usr/local/hobbit2/server/www/periodic
+ REPORTTOPURL=/hobbit2/periodic
+ REPTYPE=daily
+ '[' daily == '' ']'
+ TODAY=
+ '[' '' == '' ']'
+ TODAY=today
+ '[' daily == daily ']'
++ /usr/linux/bin/date '--date=today -1 day' +%Y/%m/%d
+ REPDIR=daily/2006/04/05
++ /usr/linux/bin/date '--date=today -1 day' '+%d %b %Y'
+ set 05 Apr 2006
+ SDAY=05
+ SMON=Apr
+ SYEAR=2006
++ /usr/linux/bin/date '--date=today -1 day' '+%d %b %Y'
+ set 05 Apr 2006
+ EDAY=05
+ EMON=Apr
+ EYEAR=2006
++ /usr/linux/bin/date +%s --date '05 Apr 2006 00:00:00'
+ STIME=1144191600
++ /usr/linux/bin/date +%s --date '05 Apr 2006 23:59:59'
+ ETIME=1144277999
+ mkdir -p /usr/local/hobbit2/server/www/periodic/daily/2006/04/05
+ BBWEB=/hobbit2/periodic/daily/2006/04/05
+ /usr/local/hobbit2/server/bin/bbgen
--reportopts=1144191600:1144277999:0:nongr --recentgifs --subpagecolumns=2
/usr/local/hobbit2/server/www/periodic/daily/2006/04/05
/usr/local/hobbit2/server/bin/hobbitreports.sh: line 78: 22090 IOT/Abort
trap          (core dumped) BBWEB=$REPORTTOPURL/$REPDIR $BBHOME/bin/bbgen
--reportopts=$STIME:$ETIME:0:nongr $BBGENREPOPTS $REPORTTOPDIR/$REPDIR
+ exit 0

gdb ../bin/bbgen core
GNU gdb 6.0
Copyright 2003 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 "powerpc-ibm-aix5.1.0.0"...
(no debugging symbols found)...
Core was generated by `bbgen'.
Program terminated with signal 6, Aborted.
#0  0xd01ecf40 in raise () from /usr/lib/libc.a(shr.o)
(gdb) bt
#0  0xd01ecf40 in raise () from /usr/lib/libc.a(shr.o)
#1  0xd020d2c8 in abort () from /usr/lib/libc.a(shr.o)
#2  0x10026040 in sigsegv_handler ()
#3  <signal handler called>
#4  0x1000fedc in strncpy ()
#5  0x10014754 in parse_histlogfile ()
#6  0x100150fc in parse_historyfile ()
#7  0x100106a8 in init_state ()
#8  0x1001136c in load_state ()
#9  0x2000e5f8 in ?? ()

Any chance this can be fixed?

Thanks

Chris


****************************************************************************
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.

If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
*****************************************************************************




More information about the Xymon mailing list