The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Squid+DNS surfer24 Linux 7 12-25-2008 02:26 AM
USN-601-1: Squid vulnerability iBot Security Advisories (RSS) 0 04-14-2008 05:50 PM
Squid dns beardiebeardie UNIX for Dummies Questions & Answers 1 02-25-2008 03:19 AM
Squid Browsing problem teenasuresh Linux 0 12-31-2007 05:54 AM
Problem with SQUID chanfle Linux 1 05-03-2006 01:37 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-15-2007
madhusudankh madhusudankh is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 5
Unhappy squid logs problem

hi

i am having problem with proxy logs

the log file in /var/log/squid/access.log is having 0 size

i am using red hat linux enterprise edition

squid version->Version 2.5.STABLE6 with default conf file

and it is running but whatever i access from internet it is not recorded..

i even recreated the log file and given full permission.



can anyone help me out..!!??


thanks
  #2 (permalink)  
Old 11-18-2007
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline Forum Advisor  
Disorganised User
  
 

Join Date: Nov 2007
Location: New Zealand
Posts: 922
Try these:
  1. Remove full permissions on that file - it's very bad.
  2. Set the user that runs squid as the owner of the log file and set the permissions to 0640.
  3. Set the group that owns the log file to whoever you want to be able to read the file.
Then try these tests (stop when you find the problem, they get more fiddly as you go down the list)
  1. Double-check your config file.
  2. Switch user to the one running squid and try to write something into the file (echo "test" > /full/pah/to/config.file)
  3. use lsof to look for the filehandles the running process has open, find where it thinks it should be logging to.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0