Gilles Darold
Gilles Darold
Thanks for the additional explanation, commit 76ada65 now verify that the pidstat* binary file exists before. The CGI doesn't generate reports because the binary files are empty.
You can not use a dedicated sar binary file to generate the reports, pgcluu_collectd has already called sar to generate the system statistics. The pgcluu command should be `/usr/local/bin/pgcluu --cache...
As I explain to you above, the CGI mode can only be run on a data directory generated by pgcluu_collectd. When you use `pgcluu -i /var/log/sa/sa30 --from-sa-file --cache /var/lib/pgcluu/data` you...
Use latest development code from github, I have fixed the error in the commit mentioned above or apply these changes to your current installation.
The error message still reports "can't write to ..." and in new code after the patches: ``` $ grep "can't write to" cgi-bin/pgcluu.cgi | wc -l 0 ``` I guess...
Ok, please do the following: ``` wget https://github.com/darold/pgcluu/archive/refs/heads/master.zip unzip master.zip cd pgcluu-master/ perl Makefile.PL make sudo make install cp -f cgi-bin/pgcluu.cgi /var/www/cgi-bin/ ``` that should override your installion of pgcluu...
Thanks for the report, commit 79d2daf might solve this issue. You can just proceed as previously when installing latest development code.
When I export your example I have the following output with latest release v23.2: ``` CREATE TABLE func_check ( id bigserial, first_name varchar(50), last_name varchar(50), email varchar(50), gender varchar(50), ip_address...
Well screenshot are not very helpful, can you copy/past here some log lines to be able to reproduce.
A simple script: ``` #!/usr/bin/perl use Storable qw(retrieve); retrieve(shift); ``` can reproduce your issue: ``` $ perl test.pl 2021-08-31-481.bin Corrupted storable file (binary v2.11) at /usr/lib/x86_64-linux-gnu/perl/5.30/Storable.pm line 421, at test.pl...