Good day,
My main note was that the file does NOT actually appear in the spec file
(nowhere that I see, anyway) and as such doesn't actually get installed
anywhere.
It doesn't really matter to me where it goes; just as long as it goes
someplace and it works. =)
============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
> -----Original Message-----
> From: Subhendu Ghosh [mailto:sghosh@sghosh.org]
> Sent: Wednesday, May 15, 2002 8:24 AM
> To: nagios-devel@lists.sourceforge.net
> Subject: Re: [Nagios-devel] Nagios bugs
>
>
> On Tue, 14 May 2002, Ethan Galstad wrote:
>
> > >
> > > $ grep -r p1.pl *
> > > common/locations.h.in:#define P1LOC
> > > "@bindir@/p1.pl"
> > > common/locations.h:#define P1LOC
> > > "/usr/local/nagios/bin/p1.pl"
> > >
> > > When nagios starts up, it looks for it in /usr/sbin , for
> some reason.
> > >
> > > # /etc/init.d/nagios start
> > > Starting network monitor: nagios
> > > Can't open perl script "/usr/sbin/p1.pl": No such file or
> directory
> > >
> > > The former location seems to be proper.
> >
> > I think its trying /usr/sbin because that where the spec
> file want to
> > put the nagios binary. Perhaps this file should be placed in the
> > same directory as the plugins (%{_prefix}/lib/nagios/plugins)?
> >
>
> p1.pl is expected by ePN to be in the same directory. Since
> ePN is part
> of Nagios and Nagios is running out of /usr/sbin - it should
> go there..
>
> -sg
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download
> mirrors. We supply
> the hardware. You get the recognition. Email Us:
> bandwidth@sourceforge.net
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: Darren.Gamble@sjrb.ca