LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 04-17-2007, 02:52 AM   #1
ghabsh
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Rep: Reputation: 15
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
 
Old 04-17-2007, 10:21 PM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
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
 
Old 04-19-2007, 02:09 AM   #3
ghabsh
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
Old 04-19-2007, 02:43 AM   #4
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
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
 
Old 04-19-2007, 02:48 AM   #5
ajt74
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
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.
 
Old 04-21-2007, 06:39 AM   #6
ghabsh
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
Old 04-22-2007, 04:06 AM   #7
ghabsh
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
Old 04-23-2007, 04:02 AM   #8
ghabsh
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
is any body help me?
 
Old 04-25-2007, 11:52 AM   #9
ghabsh
LQ Newbie
 
Registered: Mar 2007
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
a problem with squid alnmostafa Linux - Software 8 12-27-2006 12:35 AM
squid problem jocast Linux - Software 2 03-07-2006 10:50 AM
squid problem hariiyer Linux - Networking 6 02-14-2005 07:27 AM
Squid problem dbraghi Suse/Novell 3 12-28-2004 02:41 PM
squid problem bally Linux - Newbie 10 03-13-2003 10:31 AM


All times are GMT -5. The time now is 08:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration