[smokeping-users] Raspberry
Gabriel Filion
gabster at lelutin.ca
Sat Sep 7 23:08:56 CEST 2019
Hi,
On 2019-09-07 6:36 a.m., J van Wyk wrote:
> I can't get smokeping to run
> pi at raspberrypi:~ $ smokeping --check
>
> Resetting LC_NUMERIC failed probably because your international setup of the
> LC_ ALL to "en_ZA.UTF-8" is overridding
> LC_NUMERIC. Setting LC_ALL is not compatibl
> e with smokeping... at /usr/share/perl5/Smokeping.pm line 48.
>
> Compilation failed in require at /usr/sbin/smokeping line 9.
>
> BEGIN failed--compilation aborted at /usr/sbin/smokeping line 9.
smokeping doesn't like to be compiled with your language set in LC_* so
you might want to unset LC_ALL at compile time.
> If I look at the web
>
> ERROR: /etc/smokeping/config.d/pathnames, line 5: Directory
> '/var/run/smokeping' does not exist
this means you probably need to run "mkdir /var/run/smokeping"
if you're installing smokeping manually from the upstream tarball, what
you can do to simplify starting up the service is to copy the start
script from a package (of course you might need to change them to point
to directories that fit how you installed the software).
the debian package has both a systemd unit and an init script that you
can use for inspiration:
https://codesearch.debian.net/show?file=smokeping_2.7.3-2%2Fdebian%2Finit.d&line=1
https://codesearch.debian.net/show?file=smokeping_2.7.3-2%2Fdebian%2Fsmokeping.service&line=1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20190907/2ab65fc6/attachment.pgp>
More information about the smokeping-users
mailing list