squid cache issue !!
I installed squid from source. (.tar.gz) it's installed nicly.
also,it started without any error. [checked in /var/log/messages] under squid.conf file i have steup all the needed option for proxy settings. cache_dir ufs /usr/local/squid/var/cache 2048 32 512 cache_access_log /usr/local/squid/var/logs/access.log cache_log /usr/local/squid/var/logs/cache.log cache_store_log /usr/local/squid/var/logs/store.log Also, create cache directory. As under... [root@domain cache]# pwd /usr/local/squid/var/cache [root@domain cache]# [root@domain cache]# [root@domain cache]# ls 00 02 04 06 08 0A 0C 0E 10 12 14 16 18 1A 1C 1E 01 03 05 07 09 0B 0D 0F 11 13 15 17 19 1B 1D 1F [root@domain cache]# [root@domain logs]# ls -l total 0 -rw-r--r-- 1 root root 0 Jan 9 23:58 access.log -rw-r--r-- 1 root root 0 Jan 9 23:58 cache.log -rw-r--r-- 1 root root 0 Jan 9 23:58 store.log [root@domain logs]# But, it's not storing cache, access or store under log files. it showing [0] for all the files. am i doing some things wrong? please helpme... Thanx in Adva... -/Hitesh |
is ur squid sevrer working????
browse some pages and then see regards |
I checked under /var/log/messages file after starting squid with following command,
/usr/local/squid/bin/squid start It was started successfully. I can browser the net, but the page loading toooo slowly. if i check all the log files. it's showing [0] byts what could be the problem? again thanx for quick reply. -/Hitesh |
why are u using squid??
also do service syslogd restart and then check ur logs regards |
Quote:
Quote:
any other idea? Thanx for help. -/Hitesh |
if u want to share ur internet connection then go for ip forwarding
that is better than squid squid is usefull for large organization i have used both and i found squid not usefull for my home network of 4 Pcs i now use ip forwading and it is fine regards |
yes, i know that and i am learing how to setup proxy. i m trying to setup for my one linux box and wants to test whether i m getting fast pages or not.
As i told in my post it was wokring fine previosuly with both option 1) squid 2) ipforwarding/ masquerading. BUT, that time i had use defaulst squid, [which install by defaults] this time i uninstall default squid and complie squid through source (.tar.gz) and it's not working. -/Hitesh |
any specific reason for not using that rpm packages???
also regarding ur log files going empty maybe u would like to check out the permisions for these directories an files although u r root but squid might be writing to these files as user squid i think the same way apache does it regards |
I want to install and compile squid with source package. also, it has different file location if you install using source. [tar.gz]
Also, i know RPM base is easy to install. I have checked that permission. I don't think so it will cause the issue. bec'z at compile time it will set the permision for root and i using as root user. so NO issue with permission. as far as i know if you install any package by RPM or source any package [inculde squid] will work as root user. so there is no point to think about as user or as root. I haven't try with non root user. yes,if you configure services in such way then u have to check for it. like apache, but here issue with squid. any way, any other idea ? Thanx for an idea.. -/Hitesh |
Are you still having problems with Squid?
|
yes, still problem not sloved.
-/Hitesh |
What does your squid.conf look like?
|
Does '/usr/sbin/squid -z' help?
~bagira |
Are you sure your HTTP request is via Squid?
Config you browser and make it access Internet via your proxy server directly, and then see squid log. |
Thanx for helping me.....
yes, HTTP request is via Squid. i have also set internet via proxy server also but still not working. any other idea? -/Hitesh |
All times are GMT -5. The time now is 04:33 AM. |