Error Starting Nagios 1.1 on RH 9

Marc Powell mpowell at ena.com
Wed Nov 19 18:17:09 CET 2003


It seems you've gotten your segfault issue cleared up, yes?

What's above line 39? Is there perhaps an open '{'? Also, what does
running /usr/local/nagios-1.1/bin/nagios -v
/usr/local/nagios-1.1/etc/nagios.cfg tell you?

If there's nothing interesting there, make sure your cfg_file directives
all point to valid, nagios user readable files.

--
Marc

> -----Original Message-----
> From: Rhugga [mailto:nagios at zulu420.com]
> Sent: Wednesday, November 19, 2003 10:52 AM
> To: Nagios Mailing List
> 
> 
> I went thru each config file and applied the settings for my
> environment, however, when I start nagios, I get this error:
> 
> [1069264239] Error in object configuration file
> '/usr/local/nagios-1.1/etc/checkcommands.cfg' - Line 39 (Could not
parse
> input)
> <snip>
> [1069264239] Nagios 1.1 starting... (PID=27451)
> [1069264239] Error: There are no services defined!
> [1069264239] Error: There are no hosts defined!
> [1069264239] Error: There are no host groups defined!
> [1069264239] Error: There are no contacts defined!
> [1069264239] Error: There are no contact groups defined!
> [1069264239] Bailing out due to errors encountered while running the
> pre-flight check.  Run Nagios from the command line with the -v option
> to verify your config before restarting. (PID=27451)
> 
> 
> Here is a section of checkcommands.cfg starting at line 39:
> 
> # 'check_tcp' command definition
> define command{
>          command_name    check_tcp
>          command_line    $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$
>          }
> 
> 
> # 'check_udp' command definition
> define command{
>          command_name    check_udp
>          command_line    $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$
>          }
> 
> $USER$ is defined to the correct path.
> 
> Anyone know what my problem is? I have defined at least 1 of
everything
> (host, contactgroup, etc....)
> 
> Thx,
> CC
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> 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


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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