Xymon Mailing List Archive search

Debugging issues with bb-histlog.sh on 4.3.0

list Alan Sparks
Thu, 25 Jun 2009 10:56:07 -0600
Message-Id: <user-e404ed884d9d@xymon.invalid>

T.J. Yang wrote:
But did you cd to $BBTMP as well as redefining it?? The only reason I mentioned it was that Alan reported that "cd /tmp" made it work. I just thought it would be better to cd into a place the Xymon owns.
    
1. following change still generate Premature errors.

BBTMP=/var/opt/hobbitserver42/tmp
cd ${BBTMP}
. /etc/opt/hobbitserver42/hobbitcgi.cfg
exec /opt/hobbitserver42/bin/hobbitsvc.cgi $CGI_SVC_OPTS
2. Tracing the src code now
http://hobbitmon.svn.sourceforge.net/viewvc/hobbitmon/branches/4.2.0/web/Makefile?view=markup
HOBBITSVCOBJS   = hobbitsvc.o hobbitsvc-info.o hobbitsvc-trends.o
hobbitsvc.cgi is from hobbitsvc.c hobbitsvc-info.c hobbitsvc-trends.c.

tj

  
Ralph Mitchell
    
Well, guess you're mileage varied... Using BBTMP without setting it
wasn't an option, since it'd expand to blank.  Do know it helped me,
with no good reason why.
Unfortunately, as of today, I'm no longer in a position to continue
debugging it.
-Alan