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

Reply via email to