FreeBSD Port: nagios-3.0.6
Hi there, I'm not sure if this is a bug, or it's intended. However, if I install nagios from ports under a umask of 0027 it fails to run and ktrace shows permission denied on the config files. I removed and installed again under umask 0022 and it works ok. Is there a reason why the config files need world read permissions on them for nagios to work? Kind regards, Steve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port: nagios-3.0.6
Stephen Allen wrote: Hi there, I'm not sure if this is a bug, or it's intended. However, if I install nagios from ports under a umask of 0027 it fails to run and ktrace shows permission denied on the config files. I removed and installed again under umask 0022 and it works ok. Is there a reason why the config files need world read permissions on them for nagios to work? My guess is that your config files were owned by a user other than the user nagios was running under. -- Russell A. Jackson r...@csub.edu Network Analyst California State University, Bakersfield Consequences, Schmonsequences, as long as I'm rich. -- Ali Baba Bunny [1957, Chuck Jones] signature.asc Description: OpenPGP digital signature
FreeBSD Port: nagios-3.0.6
Hello Jarrod, Notice that Nagios 3.1.0 is available, any idea when the ports tree will be updated? -=-=-=-=-=-=-=-=-=-= Peter Sprokkelenburg Pause-IT pe...@pause.ca Cell : 416-616-1632 Office : 905-542-8110 x 34 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port: nagios-3.0.6
Peter Sprokkelenburg wrote: Hello Jarrod, Notice that Nagios 3.1.0 is available, any idea when the ports tree will be updated? -=-=-=-=-=-=-=-=-=-= Peter Sprokkelenburg Pause-IT pe...@pause.ca Cell : 416-616-1632 Office : 905-542-8110 x 34 Per the release notes, this is an unstable/testing/devel version: Date: Sun, 25 Jan 2009 09:49:00 -0600 From: Ethan Galstad egals...@nagios.org To: nagios-annou...@lists.sourceforge.net Subject: [Nagios-announce] Nagios 3.1.0 Available From here on out, ODD minor versions of Nagios releases (e.g. 3.1.x, 3.3,x) will be considered experimental/testing, while EVEN minor versions (e.g. 3.2.x, 3.4.x) will be considered stable. So when it does make it in, it needs to go in nagios-devel (which is still on 3.0.3...) I've attached a preliminary patch, which should by no means be used by anyone for anything other than a starting point for a proper patch. This built and installed for me a few weeks ago, but at the very least, CSS was broken. This could be an issue with the patch or my config in the lab - I didn't have any more time to spend on it. -- Sean McAfee System Engineer IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. diff -ruN nagios-devel.old/Makefile nagios-devel/Makefile --- nagios-devel.old/Makefile 2008-09-03 15:07:23.0 -0400 +++ nagios-devel/Makefile 2009-01-26 15:39:56.0 -0500 @@ -6,7 +6,7 @@ # PORTNAME= nagios -DISTVERSION= 3.0.3 +DISTVERSION= 3.1.0 CATEGORIES=net-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=nagios diff -ruN nagios-devel.old/distinfo nagios-devel/distinfo --- nagios-devel.old/distinfo 2008-07-05 15:06:40.0 -0400 +++ nagios-devel/distinfo 2009-01-26 15:41:19.0 -0500 @@ -1,3 +1,3 @@ -MD5 (nagios-3.0.3.tar.gz) = 151df7bf19b696f7498410fb76fb7caf -SHA256 (nagios-3.0.3.tar.gz) = 65e96d7da182b40d4f9a8c63da1ef861fdfb9502be36a983f8a2e803f711d53c -SIZE (nagios-3.0.3.tar.gz) = 2759396 +MD5 (nagios-3.1.0.tar.gz) = 02d3b0e13f772481d0ac9e00bdc3e979 +SHA256 (nagios-3.1.0.tar.gz) = 30b81eb7943805b129d1db18bb67386feb998f9e6464cb2efbea0756499b2651 +SIZE (nagios-3.1.0.tar.gz) = 2724545 diff -ruN nagios-devel.old/files/patch-html__Makefile.in nagios-devel/files/patch-html__Makefile.in --- nagios-devel.old/files/patch-html__Makefile.in 2008-06-07 12:30:33.0 -0400 +++ nagios-devel/files/patch-html__Makefile.in 1969-12-31 19:00:00.0 -0500 @@ -1,64 +0,0 @@ html/Makefile.in.orig 2008-01-10 04:21:25.0 +1030 -+++ html/Makefile.in 2008-01-30 23:02:38.0 +1030 -@@ -33,39 +33,39 @@ - devclean: distclean - - install: -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR) -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/media -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/stylesheets -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/contexthelp -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs/images -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images/logos -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/ssi -- $(INSTALL) -m 664 $(INSTALL_OPTS) robots.txt $(DESTDIR)$(HTMLDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) docs/robots.txt $(DESTDIR)$(HTMLDIR)/docs -+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR) -+ $(INSTALL) -m 755
Re: FreeBSD Port: nagios-3.0.6
I think that it was a worthwhile line of exploration. I gave it a try, and but with no success. I sent Jarrod the output from ktrace/kdump I'll rebuild nagios this weekend with debugging symbols again and run it through gdb to get the exact error message that I saw earlier. --karl Guido Falsi wrote: Philip M. Gollucci wrote: PERL_64BITINT option? i386. I disabled it, it used to be enabled, which is the default. Now it is enabled and I also rebuild nagios, I'm not sure if simply reenabling it solved the problem. Yeah, you definitely can _not_ mix apps / CPANS particularly anthing in XS or C with perls that used different options here. As I said I inadvertedly disabled that option. As soon as I noticed I understood that was the problem. I reported it here because I thought it could be of some help to the original poster. Sometimes one just does not notice this kind of little changes. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port: nagios-3.0.6
Jarrod Sayers wrote: On Sat, 24 Jan 2009, Karl Friesen wrote: snip If you are able to reproduce the error, the kdump.out file generated below would be helpful though mail it off-list as it will contain copies of your Nagios configuration files, at a minimum. ktrace -dit+ /usr/local/bin/nagios /usr/local/etc/nagios/nagios.cfg kdump kdump.out Same problem here - 7.1-RELEASE i386, Nagios 3.0.6, upgraded Perl to 5.8.9, rebuilt all ports depending on Perl. Will try to get a trace tonight. -- per ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port: nagios-3.0.6
Jarrod Sayers wrote: On Sat, 24 Jan 2009, Karl Friesen wrote: Hello, Hi Karl, I just to report that nagios-3.0.6 when build with the EMBEDDED_PERL option dies with a segmentation fault when perl-5.8.9 is installed. It runs fine when run from the command line with the -v or -s options (to check the configs), but dies when one attempts to run for real in the foreground or as a daemon. Hmm, that is interesting, what process did you use to upgrade perl-5.8.8 on the machine? The production boxes I have done thus far are running FreeBSD 7.1 i386 and had perl-5.8.8 upgraded to perl-5.8.9 via portupgrade. To mass-fix the file locations, perl-after-upgrade was run and then nagios-3.0.6 rebuilt as per its warning. I built a version with debugging symbols and ran it under gdb and it said that there nagios received a segmentation fault from perl. There was something in there about the perl taint check as well. It would be interesting to know how far into the startup process it is getting before it barfs, sounds like one of the plugins is throwing the fault - not Nagios itself. Does nagios.log give any indication to this? Unfortunately, I didn't save the exact message that I saw. The software is in use on a production machine. If you really need the exact message, I can take the machine out of service to reproduce the error, but I don't want to if I don't have to. If you are able to reproduce the error, the kdump.out file generated below would be helpful though mail it off-list as it will contain copies of your Nagios configuration files, at a minimum. ktrace -dit+ /usr/local/bin/nagios /usr/local/etc/nagios/nagios.cfg kdump kdump.out I saw one other report of this problem on the net http://article.gmane.org/gmane.network.nagios.user/59163 Sorry for the sketchy report, Any other details you can provide me would be helpful, FreeBSD version, architecture, list of installed ports. To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org Here is what nagios.log tells me: [1232880371] Local time is Sun Jan 25 11:46:11 CET 2009 [1232880371] LOG VERSION: 2.0 [1232880371] Error: p1.pl file required for embedded Perl interpreter is missing! [1232880371] Bailing out due to errors encountered while initializing the embedded Perl interpreter. (PID=59302) [1232880958] Caught SIGTERM, shutting down... [1232880958] Successfully shutdown... (PID=7489) Perhaps it's built but not installed properly? -- per ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port: nagios-3.0.6
It ended up being a problem with 64 bit ints in perl. I changed the setting inadvertedly. Anyway I had to rebuild both perl and the ports segfaulting. AFAIK, PERL_64BITINT Use 64 bit integers (on i386) on \ That port KNOB doesn't affect amd64 or any 64bit arch, only i386. It translates directly to a CONFIGURE_ARGS+=-Duse64bitint -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 Consultant - P6M7G8 Inc.http://p6m7g8.net Senior Sys Admin- RideCharge, Inc. http://ridecharge.com Contractor - PositiveEnergyUSA http://positiveenergyusa.com ASF Member - Apache Software Foundation http://apache.org FreeBSD Committer - FreeBSD Foundation http://freebsd.org Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port: nagios-3.0.6
On Sun, 25 Jan 2009, Guido Falsi wrote: I had a similar problem, with nagios segfaulting and dumping core after perl upgrade. It ended up being a problem with 64 bit ints in perl. I changed the setting inadvertedly. Anyway I had to rebuild both perl and the ports segfaulting. Interesting, what architecture was that machine, i386 or amd64? Also, do you recall whether you inadvertently enabled or disabled the PERL_64BITINT option? Jarrod. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port: nagios-3.0.6
Jarrod Sayers wrote: On Sun, 25 Jan 2009, Guido Falsi wrote: I had a similar problem, with nagios segfaulting and dumping core after perl upgrade. It ended up being a problem with 64 bit ints in perl. I changed the setting inadvertedly. Anyway I had to rebuild both perl and the ports segfaulting. Interesting, what architecture was that machine, i386 or amd64? Also, do you recall whether you inadvertently enabled or disabled the PERL_64BITINT option? i386. I disabled it, it used to be enabled, which is the default. Now it is enabled and I also rebuild nagios, I'm not sure if simply reenabling it solved the problem. -- Guido Falsi m...@madpilot.net ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port: nagios-3.0.6
PERL_64BITINT option? i386. I disabled it, it used to be enabled, which is the default. Now it is enabled and I also rebuild nagios, I'm not sure if simply reenabling it solved the problem. Yeah, you definitely can _not_ mix apps / CPANS particularly anthing in XS or C with perls that used different options here. -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 Consultant - P6M7G8 Inc.http://p6m7g8.net Senior Sys Admin- RideCharge, Inc. http://ridecharge.com Contractor - PositiveEnergyUSA http://positiveenergyusa.com ASF Member - Apache Software Foundation http://apache.org FreeBSD Committer - FreeBSD Foundation http://freebsd.org Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port: nagios-3.0.6
Philip M. Gollucci wrote: PERL_64BITINT option? i386. I disabled it, it used to be enabled, which is the default. Now it is enabled and I also rebuild nagios, I'm not sure if simply reenabling it solved the problem. Yeah, you definitely can _not_ mix apps / CPANS particularly anthing in XS or C with perls that used different options here. As I said I inadvertedly disabled that option. As soon as I noticed I understood that was the problem. I reported it here because I thought it could be of some help to the original poster. Sometimes one just does not notice this kind of little changes. -- Guido Falsi m...@madpilot.net ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org