[hobbit] Some info columns not working

Henrik Stoerner henrik at hswn.dk
Tue Aug 22 07:49:24 CEST 2006


On Fri, Aug 18, 2006 at 03:34:23PM -0400, Epp, Matthew Contractor PEO EIS AKO wrote:
> Some of my info pages aren't coming up. Just get Internal Server Error and
> Apache logs a "Premature end of script headers: bb-hostsvc.sh" when I try to
> access them. At first I thought maybe it was just the systems relayed
> through bbproxy, but I've found some tested locally from the main display
> server that also don't work, and there are relayed systems that DO have
> info. Checked all the hobbit logs and don't see any problems reported. Any
> troubleshooting tips?

Not sure it's the full solution, but this patch definitely appears to be needed.


Regards,
Henrik

-------------- next part --------------
--- web/hobbitsvc-info.c	2006/08/14 20:46:24	1.109
+++ web/hobbitsvc-info.c	2006/08/22 05:35:08
@@ -544,7 +544,7 @@
 	if (strcmp(val, "0.0.0.0") == 0) {
 		struct in_addr addr;
 		struct hostent *hent;
-		static char hostip[IP_ADDR_STRLEN];
+		static char hostip[IP_ADDR_STRLEN + 20];
 
 		hent = gethostbyname(hostname);
 		if (hent) {


More information about the Xymon mailing list