Looked, and Looked ,and a gallon of rum and i still don't know... ..

Alistair Hopkins alistair at berthengron.co.uk
Tue Sep 24 10:19:08 CEST 2002


is root in the nagiocmd group?

the test for existence in the nagios startup script for nagios.cmd is not
suid nagios, so root cannot remove, etc, the file if it is not in the group

al
  -----Original Message-----
  From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Bishop, Dean
  Sent: 23 September 2002 14:05
  To: 'Kaufman, Michael'; nagios-users at lists.sourceforge.net
  Subject: RE: [Nagios-users] Looked, and Looked ,and a gallon of rum and i
still don't know... ..


  Try:

  Stopping nagios if you managed to get it started (i'm guessing not);
  if it exists, rm nagios.cmd
  start nagios using /path-to-nagios/bin/nagios
/path-to-nagios/etc/nagios.cfg;
  stop nagios using favourite method;
  start nagios using /etc/rc.d/init.d/nagios start

  hth,
  dean

  p.s. there should be more in the archives.  i have seen this a couple
times over the last few months.
    -----Original Message-----
    From: Kaufman, Michael [mailto:Kaufmanm at gtc.edu]
    Sent: Monday, September 23, 2002 8:53 AM
    To: nagios-users at lists.sourceforge.net
    Subject: [Nagios-users] Looked, and Looked ,and a gallon of rum and i
still don't know... ..


    I am having a problem that I can not seem to fix.  The "old command file
problem".  I have looked back in the threads and only found one message from
todd.jones at weirslurry.com with any similar problem, but I did not see a
resolution.  Nagios works fine, no problem if I run it from a command line.
When I add it to init.d the external command file acts up.  I get command
file '/usr/local/nagios/var/rw/nagios.cmd' the external command file may be
missing.  The rights are:



    drwxrwsrwx    2 nagios    nagiocmd     4096  Sep 20  12:16 .

    drwxrwxr-x    6 nagios    nagiocmd     4096  Sep 23  07:21 ..

    prw-rw----    1 nagios    nagiocmd        0  Sep 20  12:16 nagios.cmd



    if anyone has any ideas please let me know... I can not afford much more
rum...



    mike








---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/2002
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020924/e5f5edb6/attachment.html>


More information about the Users mailing list