1.1 Install problems

Lewis Shobbrook lshobbrook at fasttrack.net.au
Thu Sep 11 09:13:04 CEST 2003


Hi Matt,

Thanks for the response!

> -----Original Message-----
> From: Matt Pounsett [mailto:matt.pounsett at cira.ca] 
> Sent: Thursday, 11 September 2003 00:29
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] 1.1 Install problems
> 
> 
> On Wed, 10 Sep 2003, Lewis Shobbrook wrote:
> 
> > Hi all,
> > I've recently installed nagios 1.1 on  a debian system running the 
> > latest unstable release.  I'm unable to start the seervice 
> from inet.d 
> > Starting network monitor: nagios
> > su: invalid option -- l
> 
> The default init script runs this command just before starting nagios:
> 
> su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav"
> 
> notice the -l as the first argument?  Your su apparently 
> doesn't want or need the -l to specify the login to su to.  
> According to the usage information su is giving you, it seems 
> you'd be okay simply changing that line to:
> 
> su $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav"

That did the trick!

> 
> HTH
> 
> -- 
> Matt Pounsett                 CIRA - Canadian Internet 
> Registration Authority
> Technical Support Programmer                    350 Sparks 
> Street, Suite 1110
> matt.pounsett at cira.ca                                 Ottawa, 
> Ontario, Canada
> 613.237.5335 ext. 231                                      
> http://www.cira.ca
> 

Cheers,

Lewis


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list