Error: Timeperiod 'none' has already been defined

Andreas Ericsson ae at op5.se
Fri Aug 27 09:15:36 CEST 2004


Raquel Real Lopez wrote:
> Hello!
> 
> - Nagios has been installed in a Mandrake 9.1 system. When I try to
> execute Nagios, the following error appear:
> 
> /etc/init.d/nagios start
> Starting network monitor: nagios
> No lock file found in /var/run/nagios.pid
> 
> 
> - If I test the nagios configuration file (nagios -v nagios.conf), the
> following error appear: 
> 
> Nagios 1.2
> Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org)
> Last Modified: 02-02-2004
> License: GPL
> 
> Reading configuration data...
> 
> Error: Timeperiod 'none' has already been defined
> 
> Error: Could not register timeperiod (config file
> '/etc/nagios/timeperiods.cfg', line 61)
> 

You're including the same cfg_file twice (possibly with a cfg_dir 
statement) from nagios.cfg. Remove one instance and everything should be ok.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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