geostar123
geostar123
thanks to @darold. I use geoadmin as user,not postgres.I have already open all access (rwx) for folder /var/lib/pgcluu/data.You maybe take a look at web error: can't write to /var/lib/pgcluu/data/2022/08/30/pidstat_cp u_stat.bin,...
@darold.could you provide a cgi example for me like web http://pgcluu.darold.net/example/ showing html ?
thanks again.You are right.I mannualy run command "pgcluu --cache /var/lib/pgcluu/data",then it did generated some .bin files,but no pidstat*.bin ,pls see the following: 
In order to generate pidstat*.bin files,I tried running command " /usr/local/bin/pgcluu -i /var/log/sa/sa30 --from-sa-file --cache /var/lib/pgcluu/data".Unfortunately,web page (http://addr1.addr2.addr3.addr4:80/cgi-bin/pgcluu.cgi could not show any graph.
 Now there are pidstat*.bin files in /var/lib/pgcluu/data subfolder,but these bin files' length is less than 100 bytes. The cgi page show nothing as below: 
Running command "/usr/local/bin/pgcluu --cache /var/lib/pgcluu/data" will not generate any pidstat*.bin file. I tried pgcluu with two methods(rpm installation and source code compilation),but got the same result.-:) According to your explanation,why...
By the way,my pgcluu version is 3.3.0(both rpm and source code).
Well,thanks for your patience.As I described above:If running pgcluu command without -i and --from-sa-file parameters,there will be no pidstat*.bin files generated.If there is no pidstat*.bin file in folder,apache httpd server...
ok.let me try.please keep your attention to this issue.thanks again.
ok.let me try.please keep your attention to this issue.I will not close this issue until it get fixed. thanks again.