Squid proxy not generating reports for all dates :(
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Squid proxy not generating reports for all dates :(
Hello,
I am having squid proxy server running on OpenSuSe 10.2
I noticed when I generate report it just shows me last date log file.
Although /var/log/squid contains logs of all previous dates.
I really cant remember which file to modify so that I can see all dates reports in html when I use following command
I am having squid proxy server running on OpenSuSe 10.2
I noticed when I generate report it just shows me last date log file.
Although /var/log/squid contains logs of all previous dates.
I really cant remember which file to modify so that I can see all dates reports in html when I use following command
Any help?
So instead of looking up the answer in the Squint documentation (and on their website, in the FAQ), we should look it up for you??
@ TBone > I also did google and found above web-page. But the out put = zero.
Those typical documented solutions doesnt work most of the time to be frank. Have you ever did set up of squid BTW? If yes can give any hint what could be the problem? You seems to be well versed with above web-site
@ TBone > I also did google and found above web-page. But the out put = zero.
Those typical documented solutions doesnt work most of the time to be frank. Have you ever did set up of squid BTW? If yes can give any hint what could be the problem? You seems to be well versed with above web-site
Yes, I have seven in a HA cluster, and the "typical documented solutions" have always worked. And the reason I'm "well versed with web site", is that I read the instructions. But you're not talking about Squid...you're talking about Squint.
And did you read the README file that comes with Squint?? About how running the command you stated generates a one off report?? About how if you want to CRON it to keep up with what's going on, you've got to do something different???
Yes, I have seven in a HA cluster, and the "typical documented solutions" have always worked. And the reason I'm "well versed with web site", is that I read the instructions. But you're not talking about Squid...you're talking about Squint.
And did you read the README file that comes with Squint?? About how running the command you stated generates a one off report?? About how if you want to CRON it to keep up with what's going on, you've got to do something different???
-I dont want to set up cron job due to some limitations.
-2ndly I mentioned squid because I am using squint for squid proxy application.
-And lastly I can say yes in your case those documented solutions would work because you are on hi fi HA mode probabbly in standard comptible hardware + software module with US certified stuff. [ I noted that as you are from *US* / Althought south US but I guess same standardization as in north US ]
-In Asia things differs.
& last but not least I strongly beleive LQ has many genius who can give hint in a single line rather than writting about * heaps of documented stuff * . I hope you got my point. Everything you say is right but you see what I was trying to know?
-I dont want to set up cron job due to some limitations.
Probably should have said that to begin with. In that case, AGAIN, read the documentation. Blow away the one-time report directory, and re-run it.
Quote:
-2ndly I mentioned squid because I am using squint for squid proxy application.
Your problem was with Squint, NOT Squid
Quote:
-And lastly I can say yes in your case those documented solutions would work because you are on hi fi HA mode probabbly in standard comptible hardware + software module with US certified stuff. [ I noted that as you are from *US* / Althought south US but I guess same standardization as in north US ]
-In Asia things differs.
Squid is the same, no matter the language, as is Squint.
Quote:
& last but not least I strongly beleive LQ has many genius who can give hint in a single line rather than writting about * heaps of documented stuff * . I hope you got my point. Everything you say is right but you see what I was trying to know?
Nope...you didn't want to look up the answer, but wanted it to be handed to you. I gave you the 'hint' in the single line, but you didn't read the FAQ, READMES, or anything else.
I figured out I neeed a small code to add in squint.pl which will instruct actual order to search for all dates logs and generate report.
But exisitng squint.pl is enough confusing. Not being a hard core developer dont no where to add code.
If you want to generate one-off reports, by the method you're using, you just have to remove the OLD report, move it somewhere else, rename it, whatever. Then re-reun the command.
If you want to run reports regularly, that's what cron is for. If you want to modify the source code, then you'll either have to do it yourself, or hire someone.
If you want to generate one-off reports, by the method you're using, you just have to remove the OLD report, move it somewhere else, rename it, whatever. Then re-reun the command.
If you want to run reports regularly, that's what cron is for. If you want to modify the source code, then you'll either have to do it yourself, or hire someone.
We have many developers in our office. I have assigned this task to 1 of them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.