View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-14-2008, 09:10 PM   #1
LQ Newbie
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
Accessing Squid logs

I am trying to access my squid logs on ubuntu 7.10 desktop but aparently I dont have permission to access. The owner of the folder in var/log/squid is called proxy and the group is also called proxy. However i can not find any trace of a proxy group in the 'users and group' management part of ubuntu. Am i going about all this wrong or is there a special way to access the log??
Any suggestions would be great.
Many Thanks,
Old 01-14-2008, 09:25 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,124

Rep: Reputation: 164Reputation: 164
Although you can add yourself to the proxy group in /etc/group, you don't have to. You can use sudo instead (substitute whatever text editor you prefer if you don't use vi or its derivatives:
sudo vim /var/log/squid/access.log
PS I don't remember the ubuntu graphical sudo tool's name - but I'm pretty sure it exists and you could use it instead of sudo in a terminal window.
Old 01-16-2008, 09:33 AM   #3
LQ Newbie
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
You can use gksudo gedit /var/squid/log/squid.log

The problem comes with sarg, many users most of the time produces a *stack smashing detected* but reading the logs as they are is no problem.


folder, permissions, squid, ubuntu

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid logs not working with SARG symesd Linux - Software 0 11-13-2007 03:28 PM
dansguardian makes squid logs useless sunethj Linux - Networking 4 02-19-2007 06:32 AM
Monitoring and Reporting of Squid Logs debloxie Linux - Networking 1 08-09-2006 04:59 AM
Squid is running but my logs are not being written Dagman Linux - Software 5 07-13-2004 09:12 AM
Squid and rotating logs using crond 80s Linux - Software 0 02-21-2003 04:53 AM

All times are GMT -5. The time now is 03:24 PM.

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