[smokeping-users] three stupid problems.....log file isue, and what to do for restart ? and pid file
spatieman at online.nl
Sat Jun 23 12:01:24 CEST 2012
On 21-6-2012 18:22, Scott Schappell wrote:
> Suggestions inline (I'm a freebsd user)
> -----Original Message-----
> From: smokeping-users-bounces+archon=silvertree.org at lists.oetiker.ch
> [mailto:smokeping-users-bounces+archon=silvertree.org at lists.oetiker.ch] On
> Behalf Of Ton Muller
> Sent: Thursday, June 21, 2012 6:49 AM
> To: smokeping-users at lists.oetiker.ch
> Subject: [smokeping-users] three stupid problems.....log file isue, and what
> to do for restart ? and pid file
> Ok, long time ago that i posted.
> after i messed up upgrading my openBSD box, it was smarter to do a
> complete install again.
> installed smokeping 2.3 (ports arnt that fast in updating, hehe)
> downside, i forgot to make latest backups from my smokeping stuff (#$&^#@@)
> my problem, i am still not able to get logfiles for smokeping.
> in rc.conf
> started smokeping.
> nothing happends.
> how to fix this ?
>> touch /var/log/smokeping.log ; chown smokeping /var/log/smokeping.log ;
> chmod 755 /var/log/smokeping.log
NO errors, but.. no data written also to it......
> 2nd, smokeping is saying this when i start it.
> ERROR: Can not read pid from /var/pid/smokeping/smokeping.pid:
> Permission denied
> smokeping directory has 666 glags, and +smokeping as owner and group.
> how to fix this ?
>> Owner needs +x to be able to change into the /var/pid/smokeping directory.
> chmod u=rwx,g=u-w,o=g /var/pid/smokeping (or chmod 755 /var/pid/smokeping)
FIXED!, works !!!
> the most stupid one i guess..
> why is smokeping --reload not working after adding new stuff?
> i need to do a smokeping --restart each time.
>> This one I can't answer.
wel, i wrote a litle controll script now, it nicely kills smokeping, and
starts it again...
tempory fix i guess...
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
More information about the smokeping-users