Hi,

On 2019-09-07 6:36 a.m., J van Wyk wrote:
> I can't get smokeping to run

> pi@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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
smokeping-users mailing list
smokeping-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to