Hi,

The POLLERPID is defined in the /etc/default/shinken file if I'm not wrong.
It's defined in the installation with the setup.py. You can change it after
with this file. Where the PIDFILE value is pointing? I don't see it
initialized inte h init.d file.


Jean

On Tue, Dec 28, 2010 at 9:40 AM, Klapproth, Martin <
klapprot...@sportresult.com> wrote:

>  Found an error in the shinken-poller init.d script (shinken version 0.4)
>
>
>
> Line 102:
>
> - kill `cat $POLLERPID`
>
>
>
> must be replaced with
>
> - kill `cat $PIDFILE`
>
>
>
> $POLLERPID holds the default pid file path /var/lib/shinken/pollerd.pid
>
>
>
> That works great when you don’t change the pid file path. I’ve changed the
> path to /var/run/shinken/pollerd.pid and the init.d script is not working
> anymore:
>
>
>
> cat: /var/lib/shinken/pollerd.pid: No such file or directory
>
> kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or
> kill -l [sigspec]
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
>
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to