[smokeping-users] Smokeping stop generate graph on Debian Stretch - Fping exited unexpectedly with status 256
ITheodoridis at bankofgreece.gr
ITheodoridis at bankofgreece.gr
Wed Jul 12 15:45:42 CEST 2017
Hello.
I don't have any experience with Debian but in OpenSuSE and Ubuntu, also in Rasbian (Rasberry PI deviant of Debian) fping needs to be setuid root, or you get the same behavior (no data).
Try and get a listing for fping with a similar command to this (depending on fping's location):
ls -al /usr/bin/fping
if you get something like this (not the s after the w) it should be fine:
-rwsr-xr-x 1 root root 30460 Aug 13 2014 /usr/bin/fping
If not, the you need to do the following:
chown root:root /usr/bin/fping
chmod u+s /usr/bin/fping
Btw the solution to this is not mine. Someone using FreeBSD had a similar problem and Tobi (the well know Tobi) answered him so I have kept that answer in my notes.
Here it is in full:
> Hello,
>
> I just tried upgrading fping on a FreeBSD host I have smokeping
> 2.6.7 running on and (to fping 3.4) and I noticed the graphs
> broke. I dug a little deeper and found that fping won't run as
> requested due to the smokeping process being run under an
> unprivileged user. If I run the fping command as smokeping
> attempts as root, it will succeed. Otherwise I get a can't create
> raw socket error.
>
> Is there a quick fix for this (other than obviously running
> smokeping as root)? Can I give my smokeping user access to raw
> sockets somehow or have smokeping spawn the fping process with
> higher privileges?
I guess you have to install fping setuid root:
chown root:root /usr/sbin/fping
chmod u+s /usr/sbin/fping
cheers
tobi
So there you go, I hope it helps.
Good luck!
Yannis.
-----------------------------------------------------
Ioannis Theodoridis
Network & Systems Engineer
Network & Telecommunications Support
Informatics
Bank of Greece
-----------------------------------------------------
-----Original Message-----
From: Marek Królikowski [mailto:admin at wset.edu.pl]
Sent: Wednesday, July 12, 2017 11:26 AM
To: smokeping-users at lists.oetiker.ch
Subject: [smokeping-users] Smokeping stop generate graph on Debian Stretch - Fping exited unexpectedly with status 256
Hello
I just install fresh version of Debian 9 and install Smokeping.
Today i saw graph stop generate at 10:07 and in logs got it:
Jul 12 10:07:57 smokeping smokeping[96150]: Alert bigloss is active for HOME.HOME Jul 12 10:07:57 smokeping smokeping[96150]: Wide character in syswrite at /usr/share/perl/5.24/Net/Cmd.pm line 212.
Jul 12 10:07:57 smokeping smokeping[96149]: Child process 96150 (probe
FPing) exited unexpectedly with status 256.
I use Smokeping 2.6.11-3 from Debian Stretch Portage.
The most funny Smokeping process working but no smokeping [FPing] process :-( root at smokeping:~# ps aux |grep smokeping
smokepi+ 96149 0.0 0.9 230844 37600 ? Ss 09:48 0:00
/usr/bin/perl /usr/sbin/smokeping --config=/etc/smokeping/config
Best Regards
TaKeN
-------------- next part --------------
============================================================================================================== ?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???. ?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????. ??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????. Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG. The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law. If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved. =================================================================================
More information about the smokeping-users
mailing list