Xymon Mailing List Archive search

post-RC3 patch problems

6 messages in this thread

list Al Jeffcoat · Thu, 24 Feb 2005 12:35:05 -0500 ·
Ok,

 
After applying post-RC3 patch, I'm still getting the following issues:

 
During the ./configure

--- snip ---

What userid will be running Hobbit [hobbit] ?

 
/configure[215]: getent:  not found.

Found passwd entry for user hobbit:*:203:201::/home/hobbit:/usr/bin/ksh

 
Make and make install go smoothly.

 
--- /snip ---

 
Firefox:

When clicking on bbtest or hobbitd_larrd icons, I can at least get to
the page, but get a warning that says "Program Crashed", fatal signal
caught, for those two icons.

No Apache errors are generated when Firefox is used.

 
Internet Explorer:

When I click on bbtest or hobbitd_larrd, I get an Internal server error.

Here's what I get in the Apache error log for an IE hit: 

[Thu Feb 24 12:30:49 2005] [error] [client 10.254.15.4] Premature end of
script headers: bb-hostsvc.sh, referer: http://hobbit/

 
From the larrd-status.log file:

2005-02-24 12:18:00 Worker process died with exit code 393350,
terminating.

The error repeats, the only difference is time and exit code.

 
From the hobbitlaunch.log file:

2005-02-24 12:17:09 Task bbretest started with PID 368672

2005-02-24 12:17:10 Task larrdstatus terminated, status 1

2005-02-24 12:17:10 Task larrdstatus started with PID 364782

2005-02-24 12:18:00 Task larrdstatus terminated, status 1

2005-02-24 12:18:05 Task bbnet started with PID 364784

2005-02-24 12:18:06 Task bbnet terminated by signal 6

 
Here's what I'm using:

AIX 5.3.0.1

Apache 2.0.53 (Built from Source)

Perl v5.8.2 (Installed with AIX)

 
I've tried to include all the relevant information.  Also, is there a
list archive for this list, where I can search for similar issues?  I
thought I had seen a few issues like mine (with possible resolutions),
but now cannot find them in my e-mail.

Al Jeffcoat
IBM Certified Support Specialist, AIX
Enterprise Storage Administrator
System Programmer II
(321)843-1051
user-b34a8ad6e24c@xymon.invalid

 
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
list Henrik Størner · Thu, 24 Feb 2005 22:26:53 +0100 ·
quoted from Al Jeffcoat
On Thu, Feb 24, 2005 at 12:35:05PM -0500, Jeffcoat, Al wrote:
After applying post-RC3 patch, I'm still getting the following issues:

During the ./configure

--- snip ---

What userid will be running Hobbit [hobbit] ?

/configure[215]: getent:  not found.

Found passwd entry for user hobbit:*:203:201::/home/hobbit:/usr/bin/ksh
This is harmless - if getent exists, it is used; if not, configure
will do a grep on /etc/passwd. I'll have it send the error to
/dev/null.
quoted from Al Jeffcoat

Firefox:

When clicking on bbtest or hobbitd_larrd icons, I can at least get to
the page, but get a warning that says "Program Crashed", fatal signal
caught, for those two icons.

No Apache errors are generated when Firefox is used.
The hobbitd_larrd icon normally does not exist - it's a symptom of the
problems in RC3 that caused hobbitd_larrd to crash. Remove the
hobbitd_larrd icon with 
   ~/server/bin/bb 127.0.0.1 "drop SERVERNAME hobbitd_larrd"

bbtest-net shouldn't crash. It could be affected by the same bug
that hobbitd_larrd had. If it continues to show this message (and the
timestamp changes), I'm interested in a copy of your bbtest-net 
binary and the core file it generates.
quoted from Al Jeffcoat
Internet Explorer:

When I click on bbtest or hobbitd_larrd, I get an Internal server error.

Here's what I get in the Apache error log for an IE hit: 

[Thu Feb 24 12:30:49 2005] [error] [client 10.254.15.4] Premature end of
script headers: bb-hostsvc.sh, referer: http://hobbit/
I have no idea why IE triggers this when Firefox doesn't.
quoted from Al Jeffcoat

2005-02-24 12:18:00 Worker process died with exit code 393350, terminating.
2005-02-24 12:17:10 Task larrdstatus terminated, status 1
2005-02-24 12:18:06 Task bbnet terminated by signal 6
These are after you installed the post-RC3 patch ? In that case, could
you try if adding the attached patch makes these go away ?
quoted from Al Jeffcoat

I've tried to include all the relevant information.  Also, is there a
list archive for this list, where I can search for similar issues?  I
thought I had seen a few issues like mine (with possible resolutions),
but now cannot find them in my e-mail.
http://www.hswn.dk/hobbiton/ has an archive. The monthly split does
not work, so if you click on February you get both the January and
February postings - I'll get that fixed once I have a bit more time:-)


Regards,
Henrik
-------------- next part --------------
--- lib/netservices.c	2005/02/22 13:59:58	1.3
+++ lib/netservices.c	2005/02/24 18:51:20
@@ -11,7 +11,7 @@
 /*                                                                            */
 /*----------------------------------------------------------------------------*/
 
-static char rcsid[] = "$Id: netservices.c,v 1.3 2005/02/22 13:59:58 henrik Exp $";
+static char rcsid[] = "$Id: netservices.c,v 1.4 2005/02/24 18:51:11 henrik Exp $";
 
 #include <ctype.h>
 #include <string.h>
@@ -121,7 +121,7 @@
 	svclist_t *head, *tail, *first, *walk;
 	char *searchstring;
 	int svcnamebytes = 0;
-	int svccount = 1;
+	int svccount = 0;
 	int i;
 
 	filename[0] = '\0';
@@ -251,8 +251,8 @@
 	if (fd) fclose(fd);
 
 	/* Copy from the svclist to svcinfo table */
-	svcinfo = (svcinfo_t *) malloc(svccount * sizeof(svcinfo_t));
-	for (walk=head, i=0; (walk); walk = walk->next, i++) {
+	svcinfo = (svcinfo_t *) malloc((svccount+1) * sizeof(svcinfo_t));
+	for (walk=head, i=0; (walk && (i < svccount)); walk = walk->next, i++) {
 		svcinfo[i].svcname = walk->rec->svcname;
 		svcinfo[i].sendtxt = walk->rec->sendtxt;
 		svcinfo[i].sendlen = walk->rec->sendlen;
@@ -262,6 +262,13 @@
 		svcinfo[i].flags   = walk->rec->flags;
 		svcinfo[i].port    = walk->rec->port;
 	}
+	memset(&svcinfo[svccount], 0, sizeof(svcinfo_t));
• +	/* This should not happen */
+	if (walk) {
+		errprintf("Whoa - didnt copy all services! svccount=%d, next service '%s'\n", 
+			svccount, walk->rec->svcname);
+	}
 
 	/* Free the temp. svclist list */
 	while (head) {
list Al Jeffcoat · Thu, 24 Feb 2005 17:03:54 -0500 ·
quoted from Henrik Størner
This is harmless - if getent exists, it is used; if not, configure
will do a grep on /etc/passwd. I'll have it send the error to
/dev/null.
I figured, just thought I'd let you know it.
quoted from Henrik Størner

These are after you installed the post-RC3 patch ? In that case, could
you try if adding the attached patch makes these go away ?
Yes, these are after the post-RC3 patch.  I'm assuming that I have to do
make clean, make, make install after applying that patch you sent?
quoted from Henrik Størner

http://www.hswn.dk/hobbiton/ has an archive. The monthly split does
not work, so if you click on February you get both the January and
February postings - I'll get that fixed once I have a bit more time:-)
:)  Free time?  What's that?

Seriously though, thanks...

Regards,
Henrik
quoted from Al Jeffcoat

This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
list Henrik Størner · Thu, 24 Feb 2005 23:06:54 +0100 ·
quoted from Al Jeffcoat
On Thu, Feb 24, 2005 at 05:03:54PM -0500, Jeffcoat, Al wrote:
These are after you installed the post-RC3 patch ? In that case, could
you try if adding the attached patch makes these go away ?
Yes, these are after the post-RC3 patch.  I'm assuming that I have to do
make clean, make, make install after applying that patch you sent?
It's a good idea, yes.


Henrik
list Al Jeffcoat · Thu, 24 Feb 2005 17:20:29 -0500 ·
That did the trick... Everything is green and collecting.  I'm getting
ready to remove the hobbitd_larrd.  

Thanks much.
signature

Al Jeffcoat
IBM Certified Support Specialist, AIX
Enterprise Storage Administrator
System Programmer II
(321)843-1051
user-b34a8ad6e24c@xymon.invalid


-----Original Message-----

quoted from Al Jeffcoat
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Thursday, February 24, 2005 5:07 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] post-RC3 patch problems

On Thu, Feb 24, 2005 at 05:03:54PM -0500, Jeffcoat, Al wrote:
These are after you installed the post-RC3 patch ? In that case,
could
you try if adding the attached patch makes these go away ?
Yes, these are after the post-RC3 patch.  I'm assuming that I have to
do
make clean, make, make install after applying that patch you sent?
It's a good idea, yes.


Henrik


This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
list Peter Jakobs · Fri, 25 Feb 2005 08:48:11 +0100 ·
Return Receipt
                                                                              Your       RE: [hobbit] post-RC3 patch problems                            document:                                                                                                                                             was        Peter Jakobs/MAIN/MC1                                           received                                                                   by:                                                                                                                                                   at:        02/25/2005 08:47:43