LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

Rep: Reputation: 0
Accessing Squid logs


Hi,
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,
John.
 
Old 01-14-2008, 08:25 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
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:
Code:
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, 08:33 AM   #3
xyrer
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.
 
  


Reply

Tags
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 02:28 PM
dansguardian makes squid logs useless sunethj Linux - Networking 4 02-19-2007 05:32 AM
Monitoring and Reporting of Squid Logs debloxie Linux - Networking 1 08-09-2006 03:59 AM
Squid is running but my logs are not being written Dagman Linux - Software 5 07-13-2004 08:12 AM
Squid and rotating logs using crond 80s Linux - Software 0 02-21-2003 03:53 AM


All times are GMT -5. The time now is 05:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration