The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-15-2007
Registered User
 

Join Date: Apr 2007
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 11-18-2007
Smiling Dragon's Avatar
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 569
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101