[smokeping-users] probes tcpping : ERROR: TCPPing 'binary' does not point to an executable

Adrian Sevcenco adrian.sev at gmail.com
Thu Feb 21 11:52:43 CET 2019


On 2/21/19 7:09 AM, Gabriel Filion wrote:
> Hi!
Hi!

> On 2019-02-12 12:19 p.m., Adrian Sevcenco wrote:
>> On 2/12/19 7:05 PM, Gregory Sloop wrote:
>>> IIRC, TCPPing has to run as root, and usually need the SUID bit set.
>>> Is that perhaps the problem?
>> well, see below, it is suid :
>> Access: (4755/-rwsr-xr-x)
>>
>> BUT, the suid part should not matter as smokeping runs as root, and i
>> can use the command without problem
> 
> if you run smokeping in debug mode (e.g. add --debug to your command
> line for starting smokeping) you should get a bit more information about
> what's happening.
actually the problem is not with the smokeping daemon but with the web 
part .. the daemon do the probing and populate the rrd but the web page
no longer works with the message :
Software error:
ERROR: /etc/smokeping/config, line 64: ERROR: TCPPing 'binary' does not 
point to an executable

but
awk 'NR == 64 { print $0; exit;}' config
binary = /root/bin/tcpping

with
stat /root/bin/tcpping
   File: ‘/root/bin/tcpping’
   Size: 9738            Blocks: 24         IO Block: 4096   regular file
Device: fe01h/65025d    Inode: 2359891     Links: 1
Access: (4755/-rwsr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Context: unconfined_u:object_r:bin_t:s0
Access: 2019-02-12 14:39:34.714851627 +0200
Modify: 2019-02-12 14:39:34.714851627 +0200
Change: 2019-02-12 17:51:55.616507894 +0200
  Birth: -

So, why the daemon is ok but the web part goes to error?
Thank you!!
Adrian




More information about the smokeping-users mailing list