LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   squid problem (https://www.linuxquestions.org/questions/linux-server-73/squid-problem-546668/)

ghabsh 04-17-2007 01:52 AM

squid problem
 
Hi.i have a squid as proxy server that authenticate with radius server.sometimes accur a problem when a user sets a wrong account in browser,proxy permits and load the website.i kill squid and run again but doesnt solve.but it solves by reboot system.
pls help me

carl0ski 04-17-2007 09:21 PM

when you say kill squid i know you do the correct thing and run

/etc/init.d/squid restart


P.S if you dont then this will resolve it without reboot

ghabsh 04-19-2007 01:09 AM

thanks.but i cant underestand your reply properly.
i kill squid: killall squid
and run it: /usr/local/squid/sbin/squid
it doesnt solve my problem

carl0ski 04-19-2007 01:43 AM

Quote:

Originally Posted by ghabsh
thanks.but i cant underestand your reply properly.
i kill squid: killall squid
and run it: /usr/local/squid/sbin/squid
it doesnt solve my problem

You are killing a program.

It leaves chunks in the ram and doesnt clear its locks.
you need to shutdown squid correctly.

/etc/init.d/squid restart

is a command you type into a konsole or commandline

it will safely close squid clear its logs and restart completely
This is exactly what squid does if you were to reboot the entire computer

ajt74 04-19-2007 01:48 AM

Squid does not need to restart again and again. It reduces its performance. Which version of squid you are using and on which linux flavor?
Also while posting question you should clearly mention your scenario of the problem.

ghabsh 04-21-2007 05:39 AM

my squid: squid/2.5.STABLE14
radius: squid_radius_auth-1.08
my problem is:
i have a proxy server via squid.sometimes squid permits url requests when users enter wrong user and password(any user or password)that arent authorized in my account server.but it gets error when i test wrong user and password in text environment(not browser) with command.
pls help me

ghabsh 04-22-2007 03:06 AM

when i enter:

[root@server ~]# /usr/local/squid/libexec/squid_radius_auth -f /usr/local/squid/etc/squid_radius_auth.conf
myuser mypass
ok
qwsa wsefwef
err
it means my radius athentication works properly,but when i enter this wrong user and password in browser authentication window,the home page loads

ghabsh 04-23-2007 03:02 AM

is any body help me?

ghabsh 04-25-2007 10:52 AM

i find this warning in cache.log
Warning: Received invalid reply digest from server
when this problem occurs.
i think it is related to shared secret about radius.
it problem often occurs when network traffic is crowded and load on squid is much.
pls help me


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