LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-25-2007, 06:27 AM   #1
expatCM
Member
 
Registered: Apr 2006
Location: Chiang Mai, Thailand
Distribution: Ubuntu 14.04 64 bit
Posts: 104

Rep: Reputation: 15
No output from Calamaris


I am running Calamaris (with Webmin) to look at the Squid stats. Squid is working and apparently so is Calamaris.

However... when I run Calamaris I can see that a report is generated, there is a message to say so but there is no report / content.

Any idea why that would be? Is this another one of the permission problems in that all is working but Calamaris does not have the permission to access the logs?
 
Old 12-26-2007, 04:32 PM   #2
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
I far as I can remember Calamaris does not write to a log file, unless you redirect the output. Could you post you command line for running Calamaris?
 
Old 12-26-2007, 08:18 PM   #3
expatCM
Member
 
Registered: Apr 2006
Location: Chiang Mai, Thailand
Distribution: Ubuntu 14.04 64 bit
Posts: 104

Original Poster
Rep: Reputation: 15
The way it works with Webmin is that you have a gui and simply click an icon. This should access some log file and then show the output formatted on screen.

I guess that Calamaris is working since I am not seeing any errors and I do see a confirmation that the report is generated. But I do not know how to work back .... for example, if Calamaris is accessing log files but those files have not been generated by say Squid then that would explain it but I do not know how to work that .....
 
Old 12-26-2007, 08:49 PM   #4
expatCM
Member
 
Registered: Apr 2006
Location: Chiang Mai, Thailand
Distribution: Ubuntu 14.04 64 bit
Posts: 104

Original Poster
Rep: Reputation: 15
I have just had a look at /var/log/squid/access.log and the log file is there, 2MB, and if I look I can see the sites accessed and the IP of the users.
 
Old 12-27-2007, 03:50 PM   #5
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
Just checking you've got the right log. The calamaris log should show:

Top 10 accessed sites
Top 10 accessed by domain suffix
Top 10 surfer i.e. which clients are accessing what and who's doing it the most
Accumulated stats for type of downloaded i.e. images/video
Cache hits
and a few more I cannot remember........

Is that what you see in your log?
 
Old 12-27-2007, 10:02 PM   #6
expatCM
Member
 
Registered: Apr 2006
Location: Chiang Mai, Thailand
Distribution: Ubuntu 14.04 64 bit
Posts: 104

Original Poster
Rep: Reputation: 15
yes that is what I read in the log.

I have also now solved the problem.

I was looking round trying to make things simple on the grounds that the more simple it is the less there is to go wrong. As part of this I changed the text output from html to txt. I find that the log file is then displayed by Calamaris.

Since the log is viewed through a browser on a client machine I do not understand why html should not be displayed but ... it is not.

But since I can now read the log in a nice easy way then .... problem solved
 
Old 12-27-2007, 10:03 PM   #7
expatCM
Member
 
Registered: Apr 2006
Location: Chiang Mai, Thailand
Distribution: Ubuntu 14.04 64 bit
Posts: 104

Original Poster
Rep: Reputation: 15
oh ... and thanks for your comments Harry.
 
Old 09-11-2009, 07:56 AM   #8
sanketsharma
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Could you please tell me how u are you calamaris with webmin

Thanks & Regards
Sanket Sharma
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
calamaris howto varun_saa Mandriva 3 02-17-2005 08:40 AM
calamaris howto varun_saa Fedora 1 02-17-2005 08:40 AM
calamaris howto varun_saa Fedora 2 02-16-2005 11:04 PM
the sound gives output when using mic but no output when run a music file medo Debian 0 04-19-2004 07:17 PM
squid access.log analyzer (not calamaris!) saavik Linux - Networking 2 09-09-2002 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration