On 21-6-2012 18:22, Scott Schappell wrote: > Suggestions inline (I'm a freebsd user) > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On > Behalf Of Ton Muller > Sent: Thursday, June 21, 2012 6:49 AM > To: [email protected] > 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. > added > smokeping_enable="yes" > smokeping_logfile="/var/log/smokeping.log" > 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 !!! > > 3th.. > 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... > > thnxs.. > > _______________________________________________ > smokeping-users mailing list > [email protected] > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
