getting a ps error when trying to start

Marc Powell marc at ena.com
Fri Apr 22 06:33:27 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Brian W. Wathen
> Sent: Thursday, April 21, 2005 11:02 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] getting a ps error when trying to start
> 
> I'm working on a new install on Red Hat 9.0 . I'm getting the
following
> error:
> 
> [root at localhost etc]# /etc/init.d/nagios start
> Starting network monitor: nagios
> ps: error: List of process IDs must follow -p.
> usage: ps -[Unix98 options]
>        ps [BSD-style options]
>        ps --[GNU-style long options]
>        ps --help for a command summary
> 
> Does anyone know how to fix this?

Is nagios actually starting? This might be an indication of nagios not
starting properly, either due to a config error or a crash. Try running
'/path/to/nagios -v /path/to/nagios.etc' to verify your config then try
running it in daemon mode to see if it starts properly with
'/path/to/nagios -d /path/to/nagios.etc'

--
Marc


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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