getting errors in start/stop script

Bill Hoffman dzt52r at yahoo.com
Tue Apr 11 18:03:28 CEST 2006


Hi,
   
  When issuing a stop to nagios I receive the following errors.
   
  Stopping network monitor: nagios
  -n Waiting for nagios to exit .
/usr/local/nagios/var/nagios.lock: No such file or directory
ps: option requires an argument -- p
usage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ]
        [ -u userlist ] [ -U userlist ] [ -G grouplist ]
        [ -p proclist ] [ -g pgrplist ] [ -s sidlist ]
  'format' is one or more of:
        user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid
        pri opri pcpu pmem vsz rss osz nice class time etime stime
        f s c lwp nlwp psr tty addr wchan fname comm args projid project pset
 done.

  The problem appears to be that the stop calls the status function multiple times.
   
  This is happening while testing version 2.1 on Solaris.
   
  thanx,
   
  bh
   

		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060411/744c29ed/attachment.html>


More information about the Users mailing list