Re: [squid-users] Too many logon when auto redirect script
ons 2010-05-26 klockan 11:38 +0700 skrev Niti Lohwithee: When the user set directly to proxy.xxx.com at browser, squid asked for the user/password for only one timm of new session. However, if the user set at browser and point to auto redirect script, the brower aske to many pop up for entering user name and password for new session.For example, the squid ask to enter the password for google.com as 2 time, Another website is 3-4 time. In my experience this is not related to the usage of a PAC script, but which site is the first site you visit. If the HTML page of the initial page is cached but not some other objects like adverts, usage trackers etc then many browsers gets confused and pops up manly login requests, caused by the browser running several requests in parallell and seeing all of them being rejected bythe proxy with auth requirement. If the initial page you visit is not cached by the browser then this problem do not arise. Same if the page is cached but the browser revalidates it's cache before starting to render the page. Regards Henrik
[squid-users] Autostart services
Hi I want to autostart services squid ans samba , if someone can help me i will be thankful Many Thanks -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Autostart-services-tp2231256p2231256.html Sent from the Squid - Users mailing list archive at Nabble.com.
RE: [squid-users] FATAL: Received Segment Violation...dying.
Hey there was a permission problem with director where coredump was suppose to be created, but got that fixed following is the coredump, can some one highlight what is wrong ? squid-1# gdb /usr/local/squid/sbin/squid /usr/local/squid/var/cache/core GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu... (no debugging symbols found) warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libc.so.6... (no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_compat.so.2 Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_nis.so.2 Reading symbols from /lib/libnss_dns.so.2... (no debugging symbols found)...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libresolv.so.2 (no debugging symbols found) Core was generated by `(squid)'. Program terminated with signal 6, Aborted. [New process 4412] [New process 4424] [New process 4430] [New process 4431] [New process 4437] [New process 4428] [New process 4425] [New process 4427] [New process 4470] [New process 4475] [New process 4472] [New process 4463] [New process 4464] [New process 4474] [New process 4471] [New process 4436] [New process 4426] [New process 4434] [New process 4450] [New process 4447] [New process 4465] [New process 4429] [New process 4432] [New process 4446] [New process 4433] [New process 4449] [New process 4455] [New process 4458] [New process 4462] [New process 4442] [New process 4439] [New process 4448] [New process 4435] [New process 4456] [New process 4460] [New process ] [New process 4445] [New process 4440] [New process 4452] [New process 4438] [New process 4457] [New process 4468] [New process 4466] [New process 4454] [New process 4441] [New process 4453] [New process 4461] [New process 4467] [New process 4443] [New process 4459] [New process 4451] [New process 4469] [New process 4473] #0 0x7f5f94deaed5 in raise () from /lib/libc.so.6 (gdb) bt #0 0x7f5f94deaed5 in raise () from /lib/libc.so.6 #1 0x7f5f94dec3f3 in abort () from /lib/libc.so.6 #2 0x004824ad in ?? () #3 signal handler called #4 0x7f5f94e33a72 in strcmp () from /lib/libc.so.6 #5 0x004268f2 in ?? () #6 0x0047a1b4 in ?? () #7 0x0047a4cb in ?? () #8 0x0041d832 in ?? () #9 0x0041fbe3 in ?? () #10 0x00406ec5 in ?? () #11 0x00406ec5 in ?? () #12 0x0042183b in ?? () #13 0x0042bbfe in ?? () #14 0x00456380 in ?? () #15 0x7f5f94dd71a6 in __libc_start_main () from /lib/libc.so.6 #16 0x00404069 in ?? () #17 0x7fff5f665878 in ?? () #18 0x001c in ?? () #19 0x0001 in ?? () #20 0x7fff5f666e9e in ?? () #21 0x in ?? () My settup * Squid Cache: Version 2.7.STABLE6 configure options: '--enable-async-io' '--enable-icmp' '--enable-snmp' '--enable-cache-digests' '--enable-follow-x-forwarded-for' '--enable-storeio=aufs,ufs,null,diskd,coss' '--enable-removal-policies=heap,lru' '--with-maxfd=65535' '--disable-ident-lookups' '--enable-truncate' '--enable-linux-tproxy' '--enable-linux-netfilter' '--enable-large-cache-files' * Kernel 2.6.31.13 * Debain lenny 5.04 machine is setup in bridge mode with tproxy, with ip configured on br0 interface. any help will be much appreciated. thanks in advance Date: Tue, 25 May 2010 09:29:51 -0700 From: george.herb...@gmail.com To: khanza...@hotmail.com CC: squid-users@squid-cache.org Subject: Re: [squid-users] FATAL: Received Segment Violation...dying. You will have to set up the
Re: [squid-users] Autostart services
2010/5/26 squidACL zakariai...@gmail.com: Hi I want to autostart services squid ans samba , if someone can help me i will be thankful Could add the commands into system's startup file like the one of rc.local. -- Tech support agency in China http://duxieweb.com/
Re: [squid-users] Too many logon when auto redirect script
2010/5/26 Henrik Nordström hen...@henriknordstrom.net: ons 2010-05-26 klockan 11:38 +0700 skrev Niti Lohwithee: When the user set directly to proxy.xxx.com at browser, squid asked for the user/password for only one timm of new session. However, if the user set at browser and point to auto redirect script, the brower aske to many pop up for entering user name and password for new session. For example, the squid ask to enter the password for google.com as 2 time, Another website is 3-4 time. In my experience this is not related to the usage of a PAC script, but which site is the first site you visit. If the HTML page of the initial page is cached but not some other objects like adverts, usage trackers etc then many browsers gets confused and pops up manly login requests, caused by the browser running several requests in parallell and seeing all of them being rejected bythe proxy with auth requirement. If the initial page you visit is not cached by the browser then this problem do not arise. Same if the page is cached but the browser revalidates it's cache before starting to render the page. Regards Henrik Hi Henrik Thank you for your explanation. My questions is why I point to direct proxy , it alway ask the username/password only one time. But if I point it to the redirect script, it 's pop up to ask the user/password many time. For more information, I have never deleted the cached but when I tried to access the same website, it still ask user/password many time. How to solve this problem? Thanks Niti : ) -- ## Mr niti lowhithee email mr.n...@gmail.com ##
[squid-users] problem with a website
I'm getting an error when I attempt to view the website: http://cpanel.byethost.com/index.php ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://cpanel.byethost.com/index.php The following error was encountered: Access Denied. Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. Your cache administrator is webmaster. Generated Wed, 26 May 2010 09:12:53 GMT by localhost (squid/3.0.STABLE8) I've gone through the config, but I can't figure out what's wrong. This is the first and only website that I have problems. If I dodge the cache, then I don't have any problem with the website, and this page doesn't show up (ie: it _is_ the local cache). It's also interesting that this page doesn't show the address I have in the config (though the other pages have). authenticate_ip_ttl 2 hours acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 acl localnet src 10.42.43.0/255.255.255.0 # RFC1918 possible internal network acl debian_index urlpath_regex (Index|Packages\.gz|Packages\.bz2|Packages|Release|Release\.gpg|Sources\.gz|Sources\.bz2|Sources|Contents-.+\.gz|pkglist.*\.bz2|release|release\..*|srclist.*\.bz2|Translation-.+\.bz2)$ acl debian_package urlpath_regex (\.deb|\.rpm|\.dsc|\.tar\.gz|\.tar\.bz2|\.diff\.gz|\.udeb|index\.db-.+\.gz|\.jigdo|\.template)$ acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT acl PURGE method PURGE http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localhost PURGE http_access deny PURGE all http_access allow localnet http_access allow localhost http_access deny all http_reply_access allow localnet http_reply_access allow localhost http_reply_access deny all icp_access allow localnet icp_access allow localhost icp_access deny all htcp_access allow localnet htcp_access allow localhost htcp_access deny all htcp_clr_access allow localnet htcp_clr_access allow localhost htcp_clr_access deny all http_port 3128 transparent cache_peer localhost parent 3142 0 no-query proxy-only name=apt cache_peer_access apt allow debian_index cache_peer_access apt allow debian_package cache_peer_access apt deny all hierarchy_stoplist cgi-bin ? maximum_object_size_in_memory 16 KB memory_replacement_policy heap GDSF cache_replacement_policy heap LFUDA cache_dir ufs /var/spool/squid3 20 16 256 maximum_object_size 32768 KB access_log /var/log/squid3/access.log squid debug_options ALL,1 ftp_user ad...@amanikenya.com url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf url_rewrite_children 5 url_rewrite_access deny debian_index url_rewrite_access deny debian_package url_rewrite_access allow all refresh_pattern ^ftp: 144020% 10080 refresh_pattern ^gopher:14400% 1440 refresh_pattern (cgi-bin|\?)0 0% 0 refresh_pattern . 0 20% 4320 cache_mgr ad...@amanikenya.com mail_from nore...@amanikenya.com icp_port 3130 never_direct allow debian_index never_direct allow debian_package coredump_dir /var/spool/squid3 Error Page: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; HTMLHEADMETA HTTP-EQUIV=Content-Type CONTENT=text/html; charset=iso-8859-1 TITLEERROR: The requested URL could not be retrieved/TITLE STYLE type=text/css!--BODY{background-color:#ff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--/STYLE /HEADBODY H1ERROR/H1 H2The requested URL could not be retrieved/H2 HR noshade size=1px P While trying to retrieve the URL: A HREF=http://cpanel.byethost.com/index.php;http://cpanel.byethost.com/index.php/A P The following error was encountered: UL LI STRONG Access Denied. /STRONG P Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. /UL PYour cache administrator is A
[squid-users] Re: Autostart services
Thanks but in this file I have just: #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local I add in this file just : service smb start service squid start if you can please give me more detail i will be thankful Many Thanks -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Autostart-services-tp2231256p2231462.html Sent from the Squid - Users mailing list archive at Nabble.com.
Re: [squid-users] FATAL: Received Segment Violation...dying.
sameer khan wrote: Hey there was a permission problem with director where coredump was suppose to be created, but got that fixed following is the coredump, can some one highlight what is wrong ? squid-1# gdb /usr/local/squid/sbin/squid /usr/local/squid/var/cache/core GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu... (no debugging symbols found) warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libc.so.6... (no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_compat.so.2 Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_nis.so.2 Reading symbols from /lib/libnss_dns.so.2... (no debugging symbols found)...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libresolv.so.2 (no debugging symbols found) Core was generated by `(squid)'. Program terminated with signal 6, Aborted. [New process 4412] [New process 4424] [New process 4430] [New process 4431] [New process 4437] [New process 4428] [New process 4425] [New process 4427] [New process 4470] [New process 4475] [New process 4472] [New process 4463] [New process 4464] [New process 4474] [New process 4471] [New process 4436] [New process 4426] [New process 4434] [New process 4450] [New process 4447] [New process 4465] [New process 4429] [New process 4432] [New process 4446] [New process 4433] [New process 4449] [New process 4455] [New process 4458] [New process 4462] [New process 4442] [New process 4439] [New process 4448] [New process 4435] [New process 4456] [New process 4460] [New process ] [New process 4445] [New process 4440] [New process 4452] [New process 4438] [New process 4457] [New process 4468] [New process 4466] [New process 4454] [New process 4441] [New process 4453] [New process 4461] [New process 4467] [New process 4443] [New process 4459] [New process 4451] [New process 4469] [New process 4473] #0 0x7f5f94deaed5 in raise () from /lib/libc.so.6 (gdb) bt #0 0x7f5f94deaed5 in raise () from /lib/libc.so.6 #1 0x7f5f94dec3f3 in abort () from /lib/libc.so.6 #2 0x004824ad in ?? () #3 signal handler called #4 0x7f5f94e33a72 in strcmp () from /lib/libc.so.6 #5 0x004268f2 in ?? () Darn. The function name and other symbols have been stripped out of the squid binary. The app can;t generate any useful traces. You will need to try and replicate the problem in a squid built with debug symbols still inside. My settup * Squid Cache: Version 2.7.STABLE6 configure options: '--enable-async-io' '--enable-icmp' '--enable-snmp' '--enable-cache-digests' '--enable-follow-x-forwarded-for' '--enable-storeio=aufs,ufs,null,diskd,coss' '--enable-removal-policies=heap,lru' '--with-maxfd=65535' '--disable-ident-lookups' '--enable-truncate' '--enable-linux-tproxy' '--enable-linux-netfilter' '--enable-large-cache-files' * Kernel 2.6.31.13 FWIW: linux kernel 2.6.3* do not support TPROXY version 2 (which is the version in squid 2.7). For TPROXYv4 you will needed squid-3.1 or later. Amos -- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.3
Re: [squid-users] Re: Autostart services
From: squidACL zakariai...@gmail.com I add in this file just : service smb start service squid start If you ask operating system specific questions... 1. It would help to say which one... 2. they have dedicated mailing lists... What does the OS documentation say about services...? So, I will guess you use Distro X and you should check: man chkconfig man ntsysv JD
Re: [squid-users] problem with a website
Isaac Witmer wrote: I'm getting an error when I attempt to view the website: http://cpanel.byethost.com/index.php ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://cpanel.byethost.com/index.php The following error was encountered: Access Denied. Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. Your cache administrator is webmaster. Generated Wed, 26 May 2010 09:12:53 GMT by localhost (squid/3.0.STABLE8) I've gone through the config, but I can't figure out what's wrong. This is the first and only website that I have problems. If I dodge the cache, then I don't have any problem with the website, and this page doesn't show up (ie: it _is_ the local cache). It's also interesting that this page doesn't show the address I have in the config (though the other pages have). authenticate_ip_ttl 2 hours acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 acl localnet src 10.42.43.0/255.255.255.0 # RFC1918 possible internal network snip http_access allow localnet http_access allow localhost http_access deny all http_reply_access allow localnet http_reply_access allow localhost http_reply_access deny all snip http_port 3128 transparent snip ... ClientIP: 41.223.57.82 snip You are trying to access that proxy from a machine whose IP address is 41.223.57.82. This IP address is not listed as one of the local network IPs permitted to use the proxy. Amos -- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.3
Re: [squid-users] problem with a website
On Wed, May 26, 2010 at 3:24 PM, Amos Jeffries squ...@treenet.co.nz wrote: Isaac Witmer wrote: I'm getting an error when I attempt to view the website: http://cpanel.byethost.com/index.php ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://cpanel.byethost.com/index.php The following error was encountered: Access Denied. Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. Your cache administrator is webmaster. Generated Wed, 26 May 2010 09:12:53 GMT by localhost (squid/3.0.STABLE8) I've gone through the config, but I can't figure out what's wrong. This is the first and only website that I have problems. If I dodge the cache, then I don't have any problem with the website, and this page doesn't show up (ie: it _is_ the local cache). It's also interesting that this page doesn't show the address I have in the config (though the other pages have). authenticate_ip_ttl 2 hours acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 acl localnet src 10.42.43.0/255.255.255.0 # RFC1918 possible internal network snip http_access allow localnet http_access allow localhost http_access deny all http_reply_access allow localnet http_reply_access allow localhost http_reply_access deny all snip http_port 3128 transparent snip ... ClientIP: 41.223.57.82 snip You are trying to access that proxy from a machine whose IP address is 41.223.57.82. This IP address is not listed as one of the local network IPs permitted to use the proxy. Amos -- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.3 Do you have any idea why it would have that client IP address?: eth0 Link encap:Ethernet HWaddr 00:0d:87:cf:d1:2c inet addr:10.42.43.1 Bcast:10.42.43.255 Mask:255.255.255.0 inet6 addr: fe80::20d:87ff:fecf:d12c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:771476 errors:0 dropped:0 overruns:0 frame:0 TX packets:2541890 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:186752689 (186.7 MB) TX bytes:3438763685 (3.4 GB) Interrupt:18 Base address:0xe800 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:149195 errors:0 dropped:0 overruns:0 frame:0 TX packets:149195 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:158504638 (158.5 MB) TX bytes:158504638 (158.5 MB) ppp0 Link encap:Point-to-Point Protocol inet addr:172.20.85.215 P-t-P:10.64.64.64 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:9710 errors:0 dropped:0 overruns:0 frame:0 TX packets:11831 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:2895216 (2.8 MB) TX bytes:3073720 (3.0 MB) Even stranger is that when I try and ping, it fails: PING 41.223.57.82 (41.223.57.82) 56(84) bytes of data. From 172.16.15.2 icmp_seq=1 Time to live exceeded From 172.16.15.2 icmp_seq=2 Time to live exceeded From 172.16.15.2 icmp_seq=3 Time to live exceeded
RE: [squid-users] FATAL: Received Segment Violation...dying.
hey , thanks amo for reply, but how to i build with debug symbols, do u mean by --enable-stacktrace ?. thanks and best regards Date: Wed, 26 May 2010 23:49:24 +1200 From: squ...@treenet.co.nz To: squid-users@squid-cache.org Subject: Re: [squid-users] FATAL: Received Segment Violation...dying. sameer khan wrote: Hey there was a permission problem with director where coredump was suppose to be created, but got that fixed following is the coredump, can some one highlight what is wrong ? squid-1# gdb /usr/local/squid/sbin/squid /usr/local/squid/var/cache/core GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu... (no debugging symbols found) warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libc.so.6... (no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_compat.so.2 Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_nis.so.2 Reading symbols from /lib/libnss_dns.so.2... (no debugging symbols found)...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libresolv.so.2 (no debugging symbols found) Core was generated by `(squid)'. Program terminated with signal 6, Aborted. [New process 4412] [New process 4424] [New process 4430] [New process 4431] [New process 4437] [New process 4428] [New process 4425] [New process 4427] [New process 4470] [New process 4475] [New process 4472] [New process 4463] [New process 4464] [New process 4474] [New process 4471] [New process 4436] [New process 4426] [New process 4434] [New process 4450] [New process 4447] [New process 4465] [New process 4429] [New process 4432] [New process 4446] [New process 4433] [New process 4449] [New process 4455] [New process 4458] [New process 4462] [New process 4442] [New process 4439] [New process 4448] [New process 4435] [New process 4456] [New process 4460] [New process ] [New process 4445] [New process 4440] [New process 4452] [New process 4438] [New process 4457] [New process 4468] [New process 4466] [New process 4454] [New process 4441] [New process 4453] [New process 4461] [New process 4467] [New process 4443] [New process 4459] [New process 4451] [New process 4469] [New process 4473] #0 0x7f5f94deaed5 in raise () from /lib/libc.so.6 (gdb) bt #0 0x7f5f94deaed5 in raise () from /lib/libc.so.6 #1 0x7f5f94dec3f3 in abort () from /lib/libc.so.6 #2 0x004824ad in ?? () #3 #4 0x7f5f94e33a72 in strcmp () from /lib/libc.so.6 #5 0x004268f2 in ?? () Darn. The function name and other symbols have been stripped out of the squid binary. The app can;t generate any useful traces. You will need to try and replicate the problem in a squid built with debug symbols still inside. My settup * Squid Cache: Version 2.7.STABLE6 configure options: '--enable-async-io' '--enable-icmp' '--enable-snmp' '--enable-cache-digests' '--enable-follow-x-forwarded-for' '--enable-storeio=aufs,ufs,null,diskd,coss' '--enable-removal-policies=heap,lru' '--with-maxfd=65535' '--disable-ident-lookups' '--enable-truncate' '--enable-linux-tproxy' '--enable-linux-netfilter' '--enable-large-cache-files' * Kernel 2.6.31.13 FWIW: linux kernel 2.6.3* do not support TPROXY version 2 (which is the version in squid 2.7). For TPROXYv4 you will needed squid-3.1 or later. Amos -- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.3 _
[squid-users] Re: Autostart services
excuse me , but i have one Erreur message : The panel has encountered a problem loading:OAFIID:GNOME_System TrayApplet Would you like to delete the applet from your configuration? The panel has encountered a problem loading:OAFIID:GNOME_FastUserSwitchApplet Would you like to delete the applet from your configuration? The panel has encountered a problem loading:OAFIID:GNOME_MixerApplet Would you like to delete the applet from your configuration? please if you have any idea i will be thankful many Thanks -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Autostart-services-tp2231256p2232011.html Sent from the Squid - Users mailing list archive at Nabble.com.
Re: [squid-users] Autostart services
Peng, Jeff wrote: 2010/5/26 squidACL zakariai...@gmail.com: Hi I want to autostart services squid ans samba , if someone can help me i will be thankful Could add the commands into system's startup file like the one of rc.local. If you need to know howto start a server at boot time you need to read your operating system manual, for linux distros there are many ways, and also depends on how you installed squid, for example in redhat/centos and others rh based you can use chkconfig, in debian/ubuntu you can use update-rc.d or you can always go for the manual symlink way :). We need more information. -- Jorge Armando Medina Computación Gráfica de México Web: http://www.e-compugraf.com Tel: 55 51 40 72, Ext: 124 Email: jmed...@e-compugraf.com GPG Key: 1024D/28E40632 2007-07-26 GPG Fingerprint: 59E2 0C7C F128 B550 B3A6 D3AF C574 8422 28E4 0632 signature.asc Description: OpenPGP digital signature
RE: [squid-users] FATAL: Received Segment Violation...dying.
ons 2010-05-26 klockan 14:26 + skrev sameer khan: thanks amo for reply, but how to i build with debug symbols, do u mean by --enable-stacktrace ?. The default is to build with debug symbols unless you override CFLAGS or strip the binaries after install. Regards Henrik
Re: [squid-users] Too many logon when auto redirect script
ons 2010-05-26 klockan 16:49 +0700 skrev Niti Lohwithee: My questions is why I point to direct proxy , it alway ask the username/password only one time. But if I point it to the redirect script, it 's pop up to ask the user/password many time. For more information, I have never deleted the cached but when I tried to access the same website, it still ask user/password many time. I do not know why you get this difference. How to solve this problem? What does access.log say in the two cases? Regards Henrik
[squid-users] delay pool still slowing down with no-delay
Dear list, I am using delay pools to slow down download when all parents are down and the child has to fetch the content itself via backup line. When troubleshooting low download rates I figured that the delay pools are slowing down transfer rates even when no-delay is set in the parent definition. Disabled delay pools as a workaround - everything is fast and fine. Yes, the request is definitely going via parent. child OS is debian etch/lenny with squid installed from repository, parents are debian lenny dto. squid from debian repository. same effect on childs running lenny and etch. This setup worked fine for ages! Any ideas?
Re: [squid-users] delay pool still slowing down with no-delay
Hendrik Voigtlaender wrote: Dear list, I am using delay pools to slow down download when all parents are down and the child has to fetch the content itself via backup line. When troubleshooting low download rates I figured that the delay pools are slowing down transfer rates even when no-delay is set in the parent definition. Disabled delay pools as a workaround - everything is fast and fine. Yes, the request is definitely going via parent. child OS is debian etch/lenny with squid installed from repository, parents are debian lenny dto. squid from debian repository. same effect on childs running lenny and etch. This setup worked fine for ages! Any ideas? Does sound like a bug. We will need to know the actual release number of Squid you are using. Assuming you do have the latest package, that still leaves Etch as 3.0.PRE5 and Lenny as one of 3.0.STABLE8, 3.0.STABLE19 or 3.1.3-2 depending on the repository used. Amos -- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.3
[squid-users] Problem with Rapidshare
Dear All, My Squid box cannot connect to rapidshare server anymore; we always get the error of connection to [some ip] failed (110) Connection timed out. Did anyone ever encounter this before? Could it be that, they block/blacklist our Squidbox's IP? How can I resolve this? Also, I'm using WCCP on Cisco router to Squid; I could tell WCCP to not redirect Rapidshare traffic to Squid but I don't know all their IPs to put in the access-list. Thanks in advance for any comments. Regards, Khem
[squid-users] errors on some youtube videos
Hi there I'm using a squid proxy with a youtube rewrite module to cache the vids.It's working ~fine except for *some* vids that won't load. When trying to view the vids, youtube says : An error occurred, please try again later. This isn't really relevant, but in the store.log, here what I get : 1274876139.777 RELEASE -1 2171EABA7915771683088F05E4A343B1 204 1274875723 -1 41629446 text/html 0/0 GET http://www.youtube.com/player_204?el=detailpagefv=LNX%2010,1,53,22scoville=1ec=100fexp=902919plid=AASHfiKGfwfeoAfQrt=0.246event=streamingerrorv=dk6Yu2BRC6gfmt=34 1274876269.468 RELEASE -1 D0C3CF82B3C1E75EFFBBA2C475D7DEBE 204 1274875853 -1 41629446 text/html 0/0 GET http://www.youtube.com/player_204?el=detailpagefv=LNX%2010,1,53,22scoville=1ec=100fexp=902919plid=AASHfiKGfwfeoAfQrt=129.896event=streamingerrorv=dk6Yu2BRC6gfmt=34 When I remove the store_url_rewrite part into the squid.conf, it does works fine. Note this is only happening to *some* vids, the rest is woking fine and being cached properly. Here's my store_url_rewrite script : #!/usr/bin/perl$|=1;while () { �...@x = split; $x = $X[0]; $_ = $X[1]; # compatibility from old cached get_video?video_idif (m/^http:\/\/([0-9.]{4}|.*\.youtube\.com|.*\.googlevideo\.com|.*\.video\.google\.com).*?(videoplayback\?id=.*?|video_id=.*?)\(.*?)/) { $z = $2; $z =~ s/video_id=/get_video?video_id=/; print $x . http://video-srv.youtube.com.SQUIDINTERNAL/; . $z . \n; # youtube HD itag=22} elsif (m/^http:\/\/([0-9.]{4}|.*\.youtube\.com|.*\.googlevideo\.com|.*\.video\.google\.com).*?\(itag=22).*?\(id=[a-zA-Z0-9]*)/) { print $x . http://video-srv.youtube.com.SQUIDINTERNAL/; . $2 . . $3 . \n; # youtube Normal screen always HD itag 35, Normal screen never HD itag 34, itag=18 --normal?} elsif (m/^http:\/\/([0-9.]{4}|.*\.youtube\.com|.*\.googlevideo\.com|.*\.video\.google\.com).*?\(itag=[0-9]*).*?\(id=[a-zA-Z0-9]*)/) { print $x . http://video-srv.youtube.com.SQUIDINTERNAL/; . $3 . \n; } else { print $x . $_ . \n;}} I really don't know where to search at the moment, any suggestion will be more than welcome! :) Thanks in advance,Guillaume _ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969