I've got currently 4 slaves sending data to a single master. On this master, data is stored in /var/lib/smokeping. A /var/lib/smokeping/ __sortercache subdir exists with one file per probe
I added a slave changing a line from "slaves=foo" to "slaves=foo bar" in /etc/smokeping/config.d/Targets and then changing ownership of files in /var/lib/smokeping. Now files for new bar slave have the same properties than its sibling foo slave files. I also removed each *.storable file in /var/lib/smokeping/ __sortercache Still, smokeping refuses to start on my Raspi slave with the same old : Magic number checking on storable file failed at /usr/lib/arm-linux-gnueabihf/perl/5.20/Storable.pm line 381, at /usr/share/perl5/Smokeping/Slave.pm line 70. My master and slave do not have the same architecture (one is x86_64, the other is armv7l). Could it be a root cause ? 2015-12-28 21:06 GMT+01:00 Fligor, Debbie <[email protected]>: > I’m pretty sure I hit this a couple of month ago working on getting a > smokeping slave running on Pidora, but google isn’t letting me find the > answer that helped me when I search with your error message. If I am > recalling correctly, I had to remove an existing data_FPing.cache file in > the /opt/smokeping/data directory (your path will probaby be different), > and then it worked again. I only have FPing probes, so this may not be the > exact file you need to remove. > > Other threads on that error show Storable.pm having issues with 0-length > files. > > Hopefully this helps you narrow down the problem. > > -debbie > > > > On Dec 28, 2015, at 8:00, Olivier <[email protected]> wrote: > > > > Hello, > > > > I'm configuring my first Master-Slave setup. > > > > I've got one Beaglebone Black and one Raspberry Pi actings as slaves. > > My master is a remote Debian Jessie box with an Apache 2.4 server > > > > If I'm not mistaken, both slaves are configured the same way. > > Beaglebone Black(Debian Jessie) is working OK. > > Raspberry Pi smokeping daemon is failing to start with: > > Magic number checking on storable file failed at > /usr/lib/arm-linux-gnueabihf/perl/5.20/Storable.pm line 381, at > /usr/share/perl5/Smokeping/Slave.pm line 70. > > > > > > How can I solve this ? > > > > Best regards > > -- > -debbie > Debbie Fligor, n9dn Lead Network Engineer @ Univ. of Il > email: [email protected] > "I have lived most of my life surrounded by my enemies. I would be > grateful to die surrounded by my friends.” Gamora > > > > >
_______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
