Iβll try asap and report here.
[UPDATED]
Hi @bananamangodog no luck.
I downloaded the rrd_ds_fix
I tried to launch the script
sudo -i
cd /srv/smokeping/data
systemctl stop smokeping
./fix_ds_quantity.sh -i -d .
But the script complains that there are not xml dump files.
So I created a script to generate xml files containing
#!/bin/bash
echo "REMOVING OLD XML..."
rm -v ./*/*.xml
echo "GENERATING XML..."
for f in ./*/*.rrd;
do
echo ${f};
F1=${f::-4};
echo ${F1};
rrdtool dump ${F1}.rrd > ${F1}.xml;
done
Launched the script and the smokeping directories now contains the couples .rrd .xml
[mostro data]# pwd
/srv/smokeping/data
[mostro data]# tree
.
βββ addSource.pl
βββ fix_ds_quantity.sh
βββ Home_Network
β βββ bianco500.rrd
β βββ bianco500.xml
β βββ Cloudflare_DNS.rrd
β βββ Cloudflare_DNS.xml
β βββ Google_DNS.rrd
β βββ Google_DNS.xml
β βββ Kit-Studio.rrd
β βββ Kit-Studio.xml
β βββ MOSTRO.rrd
β βββ MOSTRO.xml
β βββ NEXXT.rrd
β βββ NEXXT.xml
β βββ P9_principale.rrd
β βββ P9_principale.xml
β βββ P9_tinello.rrd
β βββ P9_tinello.xml
βββ Home_Network_multi
βββ Local
β βββ LocalMachine.rrd
β βββ LocalMachine.xml
βββ rrd_ds_fix.zip
βββ rrd-dump
βββ __sortercache
βββ data.FPing.storable
5 directories, 23 files
[mostro data]#
Then I launched again the script; but the script seems doing nothing
[mostro data]# ./fix_ds_quantity.sh -i -d .
This script will add datasources to RRDs. It may require
up to 3x the current disk space used by the rrds that need
updated. Please make sure you have enough free space to
run this script.
This makes changes to your RRDs, so DOUBLE CHECK that you
have made a recent backup of the RRDs.
This script can take a long time to run (1h+), so it may
be best to run it during maintenance.
Are you sure? (y/n) y
Batch job confirmed by user.
Batch process started at dom 31 mag 2026, 20:19:19, CEST
Populating list of RRDs from the dircetory: .
Batch job finished at dom 31 mag 2026, 20:19:19, CEST.
A total of 0 file(s) were updated with a total of 0 datasource(s).
Changes logged to the file /tmp/fix_rrd_ds.log
[mostro data]#
Looking at the script seems that the βsourcesβ in the xml files and in the rrd files are the same
function compare_rrd() {
local rrd_file="$1"
if $(echo "$rrd_file" | grep -q ".pnp-internal");then
dialog "Ignoring pnp-internal RRD: $rrd_file.rrd"
return 1
fi
if [ ! -f "$rrd_file.rrd" ]; then
dialog "RRD File: $rrd_file.rrd not found!"
return 1
fi
if [ ! -f "$rrd_file.xml" ]; then
dialog "XML File: $rrd_file.xml not found!"
return 1
fi
local rrd_ds=$($RRDTOOL info "$rrd_file.rrd" | grep type | wc -l)
local xml_ds=$(grep "<DS>" "$rrd_file.xml" | wc -l)
if [ $rrd_ds -lt $xml_ds ];then
add_ds_to_rrd "$rrd_file" "$rrd_ds" "$xml_ds"
fix_perms "$rrd_file"
return 0
else
return 1
fi
}
What Iβm doing wrong?
UPDATE
Tried to remove all rrd files.
Smokeping starts recreating the rrd files
Launched again the fix_ds_quantity.sh with the same results.
Strangely also with the empty recreated rrd files smokeping giles the error
An error occurred while reading CGI reply (no response received)
But the smokeping status donβt show any error
[mostro data]# systemctl status smokeping
β smokeping.service - SmokePing Daemon
Loaded: loaded (/usr/lib/systemd/system/smokeping.service; enabled; preset: disabled)
Active: active (running) since Sun 2026-05-31 20:48:18 CEST; 26min ago
Invocation: b7894c0857534180b46b77dad21de4c4
Main PID: 136911 (/usr/bin/smokep)
Tasks: 1 (limit: 154400)
Memory: 26.8M (peak: 30M)
CPU: 565ms
CGroup: /system.slice/smokeping.service
ββ136911 "/usr/bin/smokeping [FPing]"
mag 31 20:48:18 mostro systemd[1]: Started SmokePing Daemon.
mag 31 20:48:18 mostro smokeping[136911]: Smokeping version 2.009000 successfully launched.
mag 31 20:48:18 mostro smokeping[136911]: Not entering multiprocess mode for just a single probe.
mag 31 20:48:18 mostro smokeping[136911]: FPing: probing 9 targets with step 60 s and offset 29 s.
[mostro data]#
Mod edit: Consecutive posts merged.
Hi @bananamangodog i found an error.
The fcgiwrap.socket status is normal; but the fcgiwrap status shows a core dump
[mostro data]# systemctl status fcgiwrap.socket
β fcgiwrap.socket - fcgiwrap Socket
Loaded: loaded (/usr/lib/systemd/system/fcgiwrap.socket; enabled; preset: disabled)
Active: active (running) since Thu 2026-05-28 19:48:25 CEST; 3 days ago
Invocation: 61b2592b04024b0f8fc08625b16e6853
Triggers: β fcgiwrap.service
Listen: /run/fcgiwrap.sock (Stream)
mag 28 19:48:25 mostro systemd[1]: Listening on fcgiwrap Socket.
[mostro data]# systemctl status fcgiwrap
β fcgiwrap.service - Simple CGI Server
Loaded: loaded (/usr/lib/systemd/system/fcgiwrap.service; indirect; preset: disabled)
Active: active (running) since Sat 2026-05-30 17:49:23 CEST; 1 day 3h ago
Invocation: aeb21712113c47b6a01697a478b65fdf
TriggeredBy: β fcgiwrap.socket
Main PID: 53373 (fcgiwrap)
Tasks: 1 (limit: 154400)
Memory: 1.3M (peak: 32M)
CPU: 17.408s
CGroup: /system.slice/fcgiwrap.service
ββ53373 /usr/sbin/fcgiwrap
mag 31 21:15:53 mostro fcgiwrap[53373]: *** buffer overflow detected ***: terminated
mag 31 21:15:54 mostro systemd-coredump[138310]: [π‘] Process 138307 (smokeping_cgi) of user 33 dumped core.
Stack trace of thread 138307:
#0 0x00007f1b2dc9a29c n/a (libc.so.6 + 0x9a29c)
#1 0x00007f1b2dc3e7d0 raise (libc.so.6 + 0x3e7d0)
#2 0x00007f1b2dc25681 abort (libc.so.6 + 0x25681)
#3 0x00007f1b2dc26700 n/a (libc.so.6 + 0x26700)
#4 0x00007f1b2dd28c10 __fortify_fail (libc.so.6 + 0x128c10)
#5 0x00007f1b2dd28594 __chk_fail (libc.so.6 + 0x128594)
#6 0x00007f1b2dd2a0bb __strcat_chk (libc.so.6 + 0x12a0bb)
#7 0x00007f1b2df41ceb n/a (librrd.so.8 + 0x23ceb)
#8 0x00007f1b2df3482d rrd_graph_v (librrd.so.8 + 0x1682d)
#9 0x00007f1b2df390dc rrd_graph (librrd.so.8 + 0x1b0dc)
#10 0x00007f1b2e3cee6e XS_RRDs_graph (RRDs.so + 0x3e6e)
#11 0x00007f1b2e0f2e63 Perl_rpp_invoke_xs (libperl.so + 0xf2e63)
#12 0x00007f1b2e180b66 Perl_runops_standard (libperl.so + 0x180b66)
#13 0x00007f1b2e042a7c S_run_body (libperl.so + 0x42a7c)
#14 0x00005622de17a185 main (/usr/bin/perl + 0x1185)
#15 0x00007f1b2dc27741 n/a (libc.so.6 + 0x27741)
#16 0x00007f1b2dc27879 __libc_start_main (libc.so.6 + 0x27879)
#17 0x00005622de17a1c5 _start (/usr/bin/perl + 0x11c5)
Stack trace of thread 138308:
#0 0x00007f1b2cd63a24 n/a (libexpat.so.1 + 0x14a24)
#1 0x00007f1b2cd570b9 XML_ParseBuffer (libexpat.so.1 + 0x80b9)
#2 0x00007f1b2dba5a03 n/a (libfontconfig.so.1 + 0x31a03)
#3 0x00007f1b2dba66f3 n/a (libfontconfig.so.1 + 0x326f3)
#4 0x00007f1b2dba6773 n/a (libfontconfig.so.1 + 0x32773)
#5 0x00007f1b2dba225d n/a (libfontconfig.so.1 + 0x2e25d)
#6 0x00007f1b2cd5b05a n/a (libexpat.so.1 + 0xc05a)
#7 0x00007f1b2cd5c065 n/a (libexpat.so.1 + 0xd065)
#8 0x00007f1b2cd5cfc1 n/a (libexpat.so.1 + 0xdfc1)
#9 0x00007f1b2cd5f6bf n/a (libexpat.so.1 + 0x106bf)
#10 0x00007f1b2cd516bf n/a (libexpat.so.1 + 0x26bf)
#11 0x00007f1b2cd57060 XML_ParseBuffer (libexpat.so.1 + 0x8060)
#12 0x00007f1b2dba5a03 n/a (libfontconfig.so.1 + 0x31a03)
#13 0x00007f1b2dba66f3 n/a (libfontconfig.so.1 + 0x326f3)
#14 0x00007f1b2db92f24 n/a (libfontconfig.so.1 + 0x1ef24)
#15 0x00007f1b2db80971 n/a (libfontconfig.so.1 + 0xc971)
#16 0x00007f1b2db93229 FcInit (libfontconfig.so.1 + 0x1f229)
#17 0x00007f1b2cd886a0 n/a (libpangoft2-1.0.so.0 + 0xc6a0)
#18 0x00007f1b2d5faad4 n/a (libglib-2.0.so.0 + 0x9aad4)
#19 0x00007f1b2dc981b9 n/a (libc.so.6 + 0x981b9)
#20 0x00007f1b2dd1d21c n/a (libc.so.6 + 0x11d21c)
ELF object binary architecture: AMD x86-64
mag 31 21:15:57 mostro fcgiwrap[53373]: *** buffer overflow detected ***: terminated
mag 31 21:15:57 mostro systemd-coredump[138323]: [π‘] Process 138320 (smokeping_cgi) of user 33 dumped core.
...
Iβm investigating. Any hint?
Mod edit:- Please avoid consecutive posts. If there are no responses after your last post, edit that post instead to add more content. Consecutive posts remedied β it appears for the second time β No charge. 