Re: [Nagios-users] Problem starting Nagios
On Tue, Nov 10, 2009 at 06:53:02PM +0100, Flyinvap wrote: > Le Mon, 9 Nov 2009 13:41:19 -0800, > John Oliver a écrit : > > > [joli...@mda-services4 ~]$ sudo /usr/bin/nagios -v > > /etc/nagios/nagios.cfg > > Could you try, to run nagios -v as nagios user with : > > sudo -u nagios /usr/bin/nagios -v /etc/nagios/nagios.cfg Thanks for all of the responses! This turned out to be an SELinux problem. Remember - Always Blame SELinux! -- *** * John Oliver http://www.john-oliver.net/ * * * *** -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Problem starting Nagios
Le Mon, 9 Nov 2009 13:41:19 -0800, John Oliver a écrit : > [joli...@mda-services4 ~]$ sudo /usr/bin/nagios -v > /etc/nagios/nagios.cfg Could you try, to run nagios -v as nagios user with : sudo -u nagios /usr/bin/nagios -v /etc/nagios/nagios.cfg -- Flyinvap -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Problem starting Nagios
Hi! On 2009/11/09, at 22:25, Morris, Patrick wrote: > Hi John! > > On Mon, 09 Nov 2009, John Oliver wrote: > >> I installed Nagios from Dag Wieers' RPMForge site >> >>[joli...@mda-services4 ~]$ rpm -q nagios >>nagios-3.2.0-1.el5.rf >> >> >> >> When I try to start it: >> >>[joli...@mda-services4 ~]$ sudo /etc/init.d/nagios start >>Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios >> configuration. >> >> >> >> But: >> >>[joli...@mda-services4 ~]$ ls -la /var/log/nagios/ >>total 24 >>drwxr-xr-x 3 nagios nagios 4096 Nov 9 12:49 . >>drwxr-xr-x 12 root root 4096 Nov 9 12:49 .. >>drwxr-xr-x 2 nagios nagios 4096 Aug 27 06:35 archives >> >> >> >> And: >> >>[joli...@mda-services4 ~]$ sudo /usr/bin/nagios -v >> /etc/nagios/nagios.cfg >> > [snip] >>Total Warnings: 0 >>Total Errors: 0 >> >>Things look okay - No serious problems were detected during the >> pre-flight check >> >> >> >> So, how do I find what it's unhappy about, with no logs and a manual >> check that indicates no problems? > > It seems likely to me that either: > > a) The config you're checking and the one the init script is telling > Nagios to load are not the same thing, > > or > > b) The Nagios you're running, and the one the init script is running, > are not the same thing. indeed. Have you tried to strace it? HTH, Marco Ramos > > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > Nagios-users mailing list > Nagios-users@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 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Problem starting Nagios
Hi John! On Mon, 09 Nov 2009, John Oliver wrote: > I installed Nagios from Dag Wieers' RPMForge site > > [joli...@mda-services4 ~]$ rpm -q nagios > nagios-3.2.0-1.el5.rf > > > > When I try to start it: > > [joli...@mda-services4 ~]$ sudo /etc/init.d/nagios start > Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios > configuration. > > > > But: > > [joli...@mda-services4 ~]$ ls -la /var/log/nagios/ > total 24 > drwxr-xr-x 3 nagios nagios 4096 Nov 9 12:49 . > drwxr-xr-x 12 root root 4096 Nov 9 12:49 .. > drwxr-xr-x 2 nagios nagios 4096 Aug 27 06:35 archives > > > > And: > > [joli...@mda-services4 ~]$ sudo /usr/bin/nagios -v > /etc/nagios/nagios.cfg > [snip] > Total Warnings: 0 > Total Errors: 0 > > Things look okay - No serious problems were detected during the > pre-flight check > > > > So, how do I find what it's unhappy about, with no logs and a manual > check that indicates no problems? It seems likely to me that either: a) The config you're checking and the one the init script is telling Nagios to load are not the same thing, or b) The Nagios you're running, and the one the init script is running, are not the same thing. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Nagios-users mailing list Nagios-users@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
[Nagios-users] Problem starting Nagios
I installed Nagios from Dag Wieers' RPMForge site [joli...@mda-services4 ~]$ rpm -q nagios nagios-3.2.0-1.el5.rf When I try to start it: [joli...@mda-services4 ~]$ sudo /etc/init.d/nagios start Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration. But: [joli...@mda-services4 ~]$ ls -la /var/log/nagios/ total 24 drwxr-xr-x 3 nagios nagios 4096 Nov 9 12:49 . drwxr-xr-x 12 root root 4096 Nov 9 12:49 .. drwxr-xr-x 2 nagios nagios 4096 Aug 27 06:35 archives And: [joli...@mda-services4 ~]$ sudo /usr/bin/nagios -v /etc/nagios/nagios.cfg Nagios Core 3.2.0 Copyright (c) 2009 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 08-12-2009 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config file '/etc/nagios/objects/commands.cfg'... Processing object config file '/etc/nagios/objects/contacts.cfg'... Processing object config file '/etc/nagios/objects/timeperiods.cfg'... Processing object config file '/etc/nagios/objects/templates.cfg'... Processing object config file '/etc/nagios/objects/localhost.cfg'... Processing object config file '/etc/nagios/objects/windows.cfg'... Read object config files okay... Running pre-flight check on configuration data... Checking services... Checked 15 services. Checking hosts... Checked 2 hosts. Checking host groups... Checked 2 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 24 commands. Checking time periods... Checked 5 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check So, how do I find what it's unhappy about, with no logs and a manual check that indicates no problems? -- *** * John Oliver http://www.john-oliver.net/ * * * *** -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] problem starting nagios
Hi Anirudh, When replying to digest e-mails, please trim all the extra stuff that you're _not_ responding to. Now all that stuff is going to be re-sent in the next digest and it's pointless. More below... On Mar 19, 2009, at 9:05 AM, Anirudh Srinivasan wrote: > [Thu Mar 19 09:51:19 2009] [error] [client 127.0.0.1] (13)Permission > denied: exec of '/usr/local/nagios/sbin/status.cgi' failed, referer: > http://localhost/na > gios/side.html What steps have you taken so far to configure your web server? If you've followed the installation docs then the apache configuration is likely correct (you could post that to be sure). Do you have SELinux enabled? Have you granted permission for apache to execute CGI's located in /usr/local/nagios/sbin/? -- Marc -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] problem starting nagios
Hi Anirudh, On Mar 18, 2009, at 12:13 PM, Anirudh Srinivasan wrote: > This is what i see when i run this .and to tell you i dint create > time period which i think is no way related to this problem: > > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > > Nagios 3.0.6 starting... (PID=31661) > Local time is Wed Mar 18 12:59:33 EDT 2009 > Error: Template 'generic-host' specified in host definition could > not be not found (config file '/usr/local/nagios/etc/objects/ > localhost.cfg', starting on line 20) > Error: Template 'generic-service' specified in service definition > could not be not found (config file '/usr/local/nagios/etc/objects/ > localhost.cfg', starting on line 64) > > Error: Could not create external command file '/usr/local/nagios/var/ > rw/nagios.cmd' as named pipe: (2) -> No such file or directory. If > this file already exists and you are sure that another copy of > Nagios is not running, you should delete this file. > Bailing out due to errors encountered while trying to initialize the > external command file... (PID=31661) Any Error's will prevent nagios from starting. That's a pretty common convention for daemons. You must fix the three configuration errors above before nagios will start. For the first two errors, you have host{} and service{} definitions that reference other definitions named 'generic-host' and 'generic- service'. They do not exist in a cfg file that you've told nagios to load. Use grep to find which file they exist in and make sure it's listed as a cfg_file in nagios.cfg. For the last error, nagios has been told to listen for external commands but is unable to create the 'file' needed to do that under / usr/local/nagios/var/rw. Does that directory exist and is it owned and readable/writable by the nagios user? If you installed from source, I believe the make command to do that is 'make install-commandmode' from within the nagios source tree, or you can just create the rw directory (but not the nagios.cmd file) and give it nagios ownership and rwx permissions. -- Marc -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] problem starting nagios
On Mar 16, 2009, at 1:24 PM, Anirudh Srinivasan wrote: > Folks, > > I did a fresh nagios 3.0.6 installation on a linux server. > > Things look okay - No serious problems were detected during the pre- > flight check > [r...@dell8b81y11 sbin]# service nagios restart > Running configuration check...done. > Stopping nagios: /etc/init.d/nagios: line 67: kill: (24483) - No > such process > done. > Starting nagios: done. > [r...@dell8b81y11 sbin]# service nagios status > nagios is not running > [r...@dell8b81y11 sbin]# > > Why am i getting like this. What does nagios.log have to say? Do you see the process running in the ps list? Can you run nagios in the foreground as root (/usr/local/nagios/bin/ nagios /usr/local/nagios/etc/nagios.cfg)? As the nagios user? In daemon mode as the nagios user (/usr/local/nagios/bin/nagios -d / usr/local/nagios/etc/nagios.cfg)? Is there anything special about the mount point that nagios lives under? > At the webinterface when i type http://localhost/nagios/ i get to > see the webinterface but when i click host detail i see this : > > > > 500 Internal Server Error What do your web server error logs show? -- Marc -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@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
[Nagios-users] problem starting nagios
Folks, I did a fresh nagios 3.0.6 installation on a linux server. Things look okay - No serious problems were detected during the pre-flight check [r...@dell8b81y11 sbin]# service nagios restart Running configuration check...done. Stopping nagios: /etc/init.d/nagios: line 67: kill: (24483) - No such process done. Starting nagios: done. [r...@dell8b81y11 sbin]# service nagios status nagios is not running [r...@dell8b81y11 sbin]# Why am i getting like this. I have a nagios.conf file in /etc/httpd/conf/nagios.conf and the content is ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Allow from all Order allow,deny Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all At the webinterface when i type http://localhost/nagios/ i get to see the webinterface but when i click host detail i see this : 500 Internal Server Error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, r...@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.2.3 (Red Hat) Server at 10.21.14.212 Port 80 Any help would be appreciated. Thanks-- Anirudh Srinivasan -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Problem Starting Nagios 2.5
The entire nagios/var directory needs to be writeable by the user and group 'nagios' I believe. eg. chown -R nagios:nagios /usr/local/nagios/var Kaplan, Andrew H. wrote: > > Hi there – > > I just completed installing Nagios 2.5 and I am having problems > starting the application as either nagios or root users. > > The messages file in the /var/log directory has the following entry: > > I checked the permissions for the nagios.lock file, and they are as > follows: > > What changes do I need to make to correct this? Thanks. > > !DSPAM:37,45784cc040415044320820! > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,45784cc040415044320820! > > > > ___ > Nagios-users mailing list > Nagios-users@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 > > !DSPAM:37,45784cc040415044320820! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Nagios-users mailing list Nagios-users@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
RE: [Nagios-users] Problem starting nagios
Thanks Marc. Turns out it was because I had a cfg_dir=/etc/nagios directive in nagios.cfg Thanks again! Demian -Original Message- From: Marc Powell [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 1:26 PM To: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Problem starting nagios Do not list cgi.cfg as a cfg_file (or at all actually) in nagios.cfg. The daemon doesn't need to know about it and the CGI's automagically know about it. -- Marc > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Ginther, Demian M > Sent: Monday, January 16, 2006 1:27 PM > To: nagios-users@lists.sourceforge.net > Subject: FW: [Nagios-users] Problem starting nagios > > > Here is the error: > > kiki-2:/Users/administrator root# /usr/local/nagios2/bin/nagios > -v/etc/nagios/nagios.cfg > > Nagios 2.0rc2 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 01-10-2006 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file > '/etc/nagios/cgi.cfg' on line 16. > > ***> One or more problems was encountered while processing the > configfiles... > > The permissions on the /etc/nagios folder are: > > > drwxr-xr-x 11 root www 374 12 Jan 15:54 nagios > > The /etc/nagios/cgi.cfg looks like: > > > # > # > # CGI.CFG - Sample CGI Configuration File for Nagios > # > # Last Modified: 05-05-2005 > # > > # > > > # MAIN CONFIGURATION FILE > # This tells the CGIs where to find your main configuration > file. > # The CGIs will read the main and host config files for any > other > # data they might need. > > > main_config_file=/etc/nagios/nagios.cfg > > with that last line being line 16. > > Thanks for your help. > > Demian > > > > -Original Message- > From: Andreas Brandino [mailto:[EMAIL PROTECTED] > Sent: Monday, January 16, 2006 5:37 AM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Problem starting nagios > > Hi Ginther, > > > > the permissions of /etc/nagios are correct? > > can u send the exact error? > > > > - Andreas Brandino > > --- > > This thread is located in the archive at this URL: > > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p > i > 1[showUid]=14291 > > > > > --- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick > ___ > Nagios-users mailing list > Nagios-users@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: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick > ___ > Nagios-users mailing list > Nagios-users@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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting an
RE: [Nagios-users] Problem starting nagios
Do not list cgi.cfg as a cfg_file (or at all actually) in nagios.cfg. The daemon doesn't need to know about it and the CGI's automagically know about it. -- Marc > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Ginther, Demian M > Sent: Monday, January 16, 2006 1:27 PM > To: nagios-users@lists.sourceforge.net > Subject: FW: [Nagios-users] Problem starting nagios > > > Here is the error: > > kiki-2:/Users/administrator root# /usr/local/nagios2/bin/nagios > -v/etc/nagios/nagios.cfg > > Nagios 2.0rc2 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 01-10-2006 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file > '/etc/nagios/cgi.cfg' on line 16. > > ***> One or more problems was encountered while processing the > configfiles... > > The permissions on the /etc/nagios folder are: > > > drwxr-xr-x 11 root www 374 12 Jan 15:54 nagios > > The /etc/nagios/cgi.cfg looks like: > > > # > # > # CGI.CFG - Sample CGI Configuration File for Nagios > # > # Last Modified: 05-05-2005 > # > > # > > > # MAIN CONFIGURATION FILE > # This tells the CGIs where to find your main configuration > file. > # The CGIs will read the main and host config files for any > other > # data they might need. > > > main_config_file=/etc/nagios/nagios.cfg > > with that last line being line 16. > > Thanks for your help. > > Demian > > > > -Original Message- > From: Andreas Brandino [mailto:[EMAIL PROTECTED] > Sent: Monday, January 16, 2006 5:37 AM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Problem starting nagios > > Hi Ginther, > > > > the permissions of /etc/nagios are correct? > > can u send the exact error? > > > > - Andreas Brandino > > --- > > This thread is located in the archive at this URL: > > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p > i > 1[showUid]=14291 > > > > > --- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick > ___ > Nagios-users mailing list > Nagios-users@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: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick > ___ > Nagios-users mailing list > Nagios-users@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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ Nagios-users mailing list Nagios-users@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
FW: [Nagios-users] Problem starting nagios
Here is the error: kiki-2:/Users/administrator root# /usr/local/nagios2/bin/nagios -v /etc/nagios/nagios.cfg Nagios 2.0rc2 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 01-10-2006 License: GPL Reading configuration data... Error: Unexpected token or statement in file '/etc/nagios/cgi.cfg' online 16. ***> One or more problems was encountered while processing the config files... The permissions on the /etc/nagios folder are: drwxr-xr-x 11 root www 374 12 Jan 15:54 nagios The /etc/nagios/cgi.cfg looks like: # # # CGI.CFG - Sample CGI Configuration File for Nagios # # Last Modified: 05-05-2005 # # # MAIN CONFIGURATION FILE # This tells the CGIs where to find your main configuration file. # The CGIs will read the main and host config files for any other # data they might need. main_config_file=/etc/nagios/nagios.cfg with that last line being line 16. Thanks for your help. Demian -Original Message- From: Andreas Brandino [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 5:37 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem starting nagios Hi Ginther, the permissions of /etc/nagios are correct? can u send the exact error? - Andreas Brandino --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i 1[showUid]=14291 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick ___ Nagios-users mailing list Nagios-users@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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Problem starting nagios
Hi Ginther, the permissions of /etc/nagios are correct? can u send the exact error? - Andreas Brandino --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=14291 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ Nagios-users mailing list Nagios-users@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
[Nagios-users] Problem starting nagios
I am trying to get nagios 2.0rc2 set up, and I am using NagiosQL to do my configuration management. I have edited the config files to move all the configuration files into /etc/nagios like nagiosQL wants, but when I do a configuration check it tells me something is wrong with line 15 of my cgi.cfg, which is the line that states: main_config_file=/etc/nagios/nagios.cfg Anyone have any ideas?