Sarg Not Showing Reports
-
There were warnings from ESF people about using these manual hacks and how they could potentially cause problems down the line. Perhaps this is one of those instances.
-
Just ran into this exact problem once again… But this time, it was on a completely clean 2.2.2 install (except for restoring Captive Portal settings from a backup).
The only thing I can think of that I did non-standard, was installing Sarg via the CLI (using "pfSsh.php playback installpkg Sarg"). After running into the problem and immediately recognizing it, I uninstalled it and re-installed it through the gui... Still had to use the manual workaround.
EDIT 05/25/15: Just ran into the issue again, when restoring the config and letting pfSense automatically re-install the packages, so doesn't look like it's related to the package install method.
-
Had the same issue today on a fresh install of 2.2.3 running Sarg 0.6.4. Fix above corrected this problem.
-
@KOM:
Are you running 2.1.x or 2.2? Sarg under 2.1.x had an issue with a quick fix:
rm -r /usr/local/sarg-reports ln -s /usr/pbi/sarg-amd64/local/sarg-reports /usr/local/sarg-reports
Substitute sarg-i386 for sarg-amd64 if you have the 32-bit build.
If you're running 2.2 then I don't know.
Had problems running Sarg 0.6.4 on 2.2.3-RELEASE (amd64). Workaround above worked a treat.
-
Hello all,
I have implemented the link and Sarg can see almost everything. But, when I get to the final level (the actual reports) I get the same message about not finding the index file.
In the 'month' directory I have a heap of directories with names like 30-31.1 30-31.2 all the way to 30-31.24.
It looks to me like I have a directory for each hour or so for every day. So when Sarg looks for a directory for the day (30-31), it can't find it.
Have I set something wrong with the limit settings? Or logging in Squid? ::)
To put it another way, if I use my browser to look in the 30-31.1 directory, I get reports. So it is working fine. It is just that I go to Status>Sarg Reports>ViewReport>year 2015>month August and I get 24 buttons each for 2015 August 30-31 and they all point to x.x.x.x/sarg_frame.php?prevent=179902248&file=/2015/08/30-31/index.html
It should be file=/2015/08/30-31.1/index.html or I should have less directories for day 30-31.
Forgot to say. I am running 2.2.4-release(i386) and Sarg 0.6.4
-
My only guess is if you're seeing decimalized / incremental daily folders it's probably due to an hourly schedule?
Maybe if you have at least 1 hourly schedule you must also have a daily schedule for any schedules based on higher timeframes to function so it also has whole-number day folders to work with.
Or just don't use hourly schedules ever and avoid the issue.
Just guessing.
-
Hi,
I'm new using pfSense and i want to get reports, so I installed Sarg but I have troubles.
I can't get any report, neither with schedule or realtime.
When I try to force the report on schedule tab I get this warning message. Warning: symlink(): No such file or directory in /usr/local/pkg/sarg.inc on line 97Then I checked the files on the console. In /usr/local/ there are bin, captiveportal, etc, include, info, lib, libdata, libexec, man, openssi, phg, sbin, share, tests and www, in pkg there isn't any file from sarg. Also I checked /usr/pbi/ and I got .hashdir, share, squidguard-squid3-i386, ect, and squid-i386, in etc there isn't anything from sarg.
I need help to get the reports please.
Sarg: 2.3.6_2 pkg v0.6.9
squid: 2.7.9 pkg v.4.3.4 -
"Warning: symlink(): No such file or directory in /usr/local/pkg/sarg.inc on line 97 "
Your symlink is pointing to the wrong location. Delete it and remake it.
-
When I installed SARG a few weeks ago I had a problem with the reports that didn`t show up.
The following provided instructions of KOM:
rm -r /usr/local/sarg-reports
ln -s /usr/pbi/sarg-amd64/local/sarg-reports /usr/local/sarg-reportshelped and everything was working as expected afterwards.
Unfortunately a couple of days ago a new package update of SARG was available and I reinstalled the package with the update.
Since then the problem with the SARG reports is back and it says:"Error: Could not find report index file. Check and save Sarg settings and try to force Sarg schedule."
I checked the file structure and the link "/usr/pbi/sarg-amd64/local/sarg-reports /usr/local/sarg-reports" still exists.
Is there a solution without deleting existing reports in the folder??
-
Doktornotor may have fixed that package to remove the need for the manual symlink. I would completely uninstall the package, remove the symlink and then install it again. You may have to manually clean up old traces of Sarg.