Re: [squid-users] "squid -z" hangs and does not work

2012-12-24 Thread Jackie Zhang
Thanks a lot, Michael! I installed squid in my home directory. So the user and group should be ok. Yes, I cleaned the directories according to your suggestion. But squid still hangs at the log "kid1| Creating Swap Directories". And it seems that nothing happened after I press enter. Best regards

Re: [squid-users] "squid -z" hangs and does not work

2012-12-24 Thread Tianyin Xu
Jackie, it's not a hang but an exit(). I think that nothing is created because you didn't configure cache_dir. Look at the code in src/store_dir.cc: 907 void 908 StoreHashIndex::create() 909 { 910 for (int i = 0; i < Config.cacheSwap.n_configured; ++i) { 911 if (dir(i).active())

[squid-users] Custom Errors - Prevent Encoding

2012-12-24 Thread Wolfgang Grim
Hi all, i am having a problem which requires that the deny_info codes are not encoded into HTML (for example & should NOT be encoded into &) --> http://wiki.squid-cache.org/Features/CustomErrors how can I achieve that? Best regards and merry xmas! Wolfgang

[squid-users] Auth Kerberos and AD Group

2012-12-24 Thread Noc Phibee Telecom
Hi If i want change my authentication process from NTLM/Samba to Kerberos, what is the process for add a group check ? Actually i use wbinfo_group.pl, but in kerberos, i can't start winbind process. what is the solution ? best regards jerome

Re: [squid-users] "squid -z" hangs and does not work

2012-12-24 Thread Eliezer Croitoru
I think it worth to have a more accurate log such as: no cache_dir or any other more informative msg. But the basics of squid is that it wont create if none exists in settings and will show some data when trying to access one. Eliezer On 12/24/2012 11:54 AM, Tianyin Xu wrote: Jackie, it's not

Re: [squid-users] "squid -z" hangs and does not work

2012-12-24 Thread Tianyin Xu
sounds good, Eliezer! I did one: --- /home/tianyin/source/squid-3.2.5/src/main.cc2012-12-10 01:53:26.0 -0800 +++ ./src/main.cc 2012-12-24 00:13:38.591134863 -0800 @@ -1429,7 +1429,13 @@ } setEffectiveUser(); -debugs(0, 0, "Creating Swap Directories

Re: [squid-users] "squid -z" hangs and does not work

2012-12-24 Thread Eliezer Croitoru
Hey Tianyin, These patches are better to be sent the squid-dev. I would choose to not remove this specific debug section and to change it to something else and in the loop notify the name of cache dir. Eliezer On 12/24/2012 10:36 PM, Tianyin Xu wrote: sounds good, Eliezer! I did one: --- /

Re: [squid-users] "squid -z" hangs and does not work

2012-12-24 Thread Tianyin Xu
Hi, Eliezer, I didn't remove the debug section. The debug message keeps unchanged if the swap directories are configured. But if nothing is configured but the user run "squid -z", it will notify users to configure the directory instead of saying "creating swap directory" without doing anything. T

Re: [squid-users] "squid -z" hangs and does not work

2012-12-24 Thread Eliezer Croitoru
Sorry, Miss seen something. Eliezer On 12/24/2012 11:11 PM, Tianyin Xu wrote: Hi, Eliezer, I didn't remove the debug section. The debug message keeps unchanged if the swap directories are configured. But if nothing is configured but the user run "squid -z", it will notify users to configure t

[squid-users] RE: Memory leak in 3.2.5

2012-12-24 Thread Mike Mitchell
I just posted a revised patch to squid-dev. The ident leak of Connection structures has been fixed. Mike Mitchell From: Mike Mitchell Sent: Sunday, December 23, 2012 8:25 AM To: squid-users@squid-cache.org Subject: RE: Memory leak in 3.2.5 I posted a patc