[squid-users] Error while accessing FTP Squid 2.6 STABLE 16
Hi, While trying to access FTP through Squid 2.6 STABLE 16, I get an error. This is the first time that while trying to go to FTP site I got this error. If I bypass Squid I do not get any error. With best regards I append the error that I get is as follows, ERROR The requested URL could not be retrieved An FTP protocol error occurred while trying to retrieve the URL: ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/windows/ The following FTP command was sent: PASS and then thhe following reply was received. Your cache administrator is webmaster. Generated Thu, 21 Feb 2008 13:03:52 GMT by Dishs (squid/2.6.STABLE16)
Re: [squid-users] Squid 2. Squid 2.6.STABLE16 delay (pools) problem
Sirs, My fault that I bungled the sequence of delay_parameters in the mail expressing my delay pools problem. But in squid.conf it is as advised by you. Further, after reading your reply, I tested the download again and I have found that this speed disobedience is caused in Mozilla Firefox browser only. In Internet Explorer, the speed hovers around 6000 (which is the pool/bucket) as specified in the delay pool for the Heavy files (STRINGS_SLOW) but it does not go to the lower limit of 4000 (which is allowed speed) even in Internet Explorer. Best Regards On 19/11/2007, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On sön, 2007-11-18 at 11:29 +0530, Santosh Rani wrote: > > > delay_access 1 allow THIS_SIDE > > delay_access 4 allow OTHER_SIDE > > delay_access 2 allow LOCALUSERS > > delay_access 3 allow STRINGS_SLOW > > When Squid is trying to determine which delaypool to use it starts with > the first one in numeric order, and stops with the first one where the > request is allowed. So the above is best read as > > delay_access 1 allow THIS_SIDE > delay_access 2 allow LOCALUSERS > delay_access 3 allow STRINGS_SLOW > delay_access 4 allow OTHER_SIDE > > which means > THIS_SIDE gets pool 1 > LOCALUSERS gets pool 2 > if not in the above and matching STRINGS_SLOW then pool 3 > if not in the above and matching OTHER_SIDE then pool 4 > else no delay pool at all > > Another note, you may want to make that regex case-insensitive (-i > option) > > Regards > Henrik > >
[squid-users] Squid 2. Squid 2.6.STABLE16 delay (pools) problem
Hello Sirs, Operating System : WindowsXP with SP2 Intel 3.0 GHz I have some problem with delay pools partially working in Squid 2.6.STABLE16. I have an acl named STRINGS_SLOW that is meant to slow down access to certain file types which are generally large in size but Squid does not obey the delay parameters as specified by me. This acl has been assigned delay parameter 3 but is taking the download speed of delay parameter 1. All files with extension as listed in STRINGS_SLOW should download at speed of 4000 whereas it downloads at 1. This was not a problem with Squid 2.6.STABLE13 or 14. Am I wrong somewhere in defining the delay pools? acl STRINGS_SLOW urlpath_regex \.jpeg$ \.jpg$ \.sis$ \.axf$ \.bmp$ \.xls$ \.exe$ \.swf$ \.axf$ \.avi$ \.tar.gz$ \.dat$ \.gz$ \.vbs$ \.iso$ \.mov$ \mp3$ \.mp3$ \.mp4$ \.avi$ \.mpe$ \.mpg$ \.mpeg$ \.asf$ \.wav$ \.ogg$ \.rar$ \.arj$ \.ram$ \.raw$ \.rpm$\.rm$ \.mov$ \.zip$ \.vqf$ \.tar$ \.qt$ \.wav$ acl THIS_SIDE src 192.168.x.x 192.168.x.x 192.168.x.x 192.168.x.x 192.168.x.x acl OTHER_SIDE src 192.168.x.x 192.168.x.x 192.168.x.x 192.168.x.x 192.168.x.x My delay pools: delay_pools 4 delay_class 1 3 echo # pool 1 is a class 2 pool delay_class 2 1 echo # No bandwidth restrictions (acl LOCALUSERS ;local traffic) delay_class 3 3 echo # pool 3 is a class 2 pool of low bandwidth delay_class 4 3 echo # pool 3 is a class 2 pool of low bandwidth delay_access 1 allow THIS_SIDE delay_access 4 allow OTHER_SIDE delay_access 2 allow LOCALUSERS delay_access 3 allow STRINGS_SLOW delay_parameters 1 4/4 3/3 1/2 delay_parameters 2 -1/-1 -1/-1 delay_parameters 3 3/3 15000/15000 4000/1 delay_parameters 4 4/4 3/3 1/1 Best Regards
Re: [squid-users] Setting a cron job at system startup
Sir, (Sendmail is not installed) When I pass the 'make' command to anacron, I get the following error; /bin/sh -ec "cc -MM -DSPOOLDIR=\"/var/spool/anacron\" -DRELEASE=\"2.3\" -DANACRONTAB=\"/etc/anacrontab\" runjob.c \ | sed '1s/^\(.*\)\.o[ :]*/\1.d &/1' > runjob.d" /bin/sh -ec "cc -MM -DSPOOLDIR=\"/var/spool/anacron\" -DRELEASE=\"2.3\" -DANACRONTAB=\"/etc/anacrontab\" readtab.c \ | sed '1s/^\(.*\)\.o[ :]*/\1.d &/1' > readtab.d" /bin/sh -ec "cc -MM -DSPOOLDIR=\"/var/spool/anacron\" -DRELEASE=\"2.3\" -DANACRONTAB=\"/etc/anacrontab\" matchrx.c \ | sed '1s/^\(.*\)\.o[ :]*/\1.d &/1' > matchrx.d" /bin/sh -ec "cc -MM -DSPOOLDIR=\"/var/spool/anacron\" -DRELEASE=\"2.3\" -DANACRONTAB=\"/etc/anacrontab\" main.c \ | sed '1s/^\(.*\)\.o[ :]*/\1.d &/1' > main.d" /bin/sh -ec "cc -MM -DSPOOLDIR=\"/var/spool/anacron\" -DRELEASE=\"2.3\" -DANACRONTAB=\"/etc/anacrontab\" log.c \ | sed '1s/^\(.*\)\.o[ :]*/\1.d &/1' > log.d" /bin/sh -ec "cc -MM -DSPOOLDIR=\"/var/spool/anacron\" -DRELEASE=\"2.3\" -DANACRONTAB=\"/etc/anacrontab\" lock.c \ | sed '1s/^\(.*\)\.o[ :]*/\1.d &/1' > lock.d" /bin/sh -ec "cc -MM -DSPOOLDIR=\"/var/spool/anacron\" -DRELEASE=\"2.3\" -DANACRONTAB=\"/etc/anacrontab\" gregor.c \ | sed '1s/^\(.*\)\.o[ :]*/\1.d &/1' > gregor.d" cc -c -DSPOOLDIR=\"/var/spool/anacron\" -DRELEASE=\"2.3\" -DANACRONTAB=\"/etc/anacrontab\" gregor.c -o gregor.o Regards On 07/08/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On tor, 2007-08-02 at 21:07 +0530, Santosh Rani wrote: > > I have setup cron under Cygwin to update my malware list on the Squid > > that is running on Windows. > > I want to setup a cron job which rotates the Squid log files when the > > system is started up in the morning for the first time. > > For running daily/weekly tasks on machines which is turned off from time > to time anacron is a good choice. It's like cron but doesn't assume the > machine is always on and will start the jobs which should have run while > the machine was off when it starts. > > The setup consists of three parts: > > a) anacron, with it's anacrontab describing the tasks to run > b) cron or another scheduler, with a crontab entry running anacron once > per day at a suitable time. > c) A boot action running anacron once at boot. > > Note: The scheduler in Windows is a usable substitute for cron, and also > allows you to set up boot actions. Not sure it also deals with jobs > which should have been run while the machine was off. > > Regards > Henrik > >
Re: [squid-users] Firewall rule for dnsserver process on SquidNT-2.6 STABLE 13 on Windows
Thanks for reply, Sir. Best Regards On 06/08/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On tor, 2007-08-02 at 10:00 +0530, Santosh Rani wrote: > > Sir, > > > > The problem is resolved with the help of Firewall Support. > > > > One question here, what if I want to have a separate dnsserver.exe > > like in the case of Squid 2.5 STABLE3-NT. There just by allowing the > > dnsserver.exe in Firewall, Squid has no problems. > > Then you need to rebuild Squid with the --disable-internal-dns configure > option. And keep in mind that this won't perform well under load. > > Regards > Henrik > >
Re: [squid-users] Re: Setting a cron job at system startup
Thanks for the pointer, Sir. Regards Santosh Rani On 03/08/07, RW <[EMAIL PROTECTED]> wrote: > On Thu, 2 Aug 2007 21:07:35 +0530 > "Santosh Rani" <[EMAIL PROTECTED]> wrote: > > > I have setup cron under Cygwin to update my malware list on the Squid > > that is running on Windows. > > I want to setup a cron job which rotates the Squid log files when the > > system is started up in the morning for the first time. > > > > Is there a way out? > > > > > You can start something with cron using @reboot > > see crontab(5) > > > >
[squid-users] Setting a cron job at system startup
I have setup cron under Cygwin to update my malware list on the Squid that is running on Windows. I want to setup a cron job which rotates the Squid log files when the system is started up in the morning for the first time. Is there a way out? Regards Santosh Rani
Re: [squid-users] Firewall rule for dnsserver process on SquidNT-2.6 STABLE 13 on Windows
Sir, The problem is resolved with the help of Firewall Support. One question here, what if I want to have a separate dnsserver.exe like in the case of Squid 2.5 STABLE3-NT. There just by allowing the dnsserver.exe in Firewall, Squid has no problems. Regards Santosh Rani > > On 8/1/07, Santosh Rani <[EMAIL PROTECTED]> wrote: > > I am in touch with the Outpost team, Sir. > > Regards > > > > On 31/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > > > On tis, 2007-07-31 at 11:06 +0530, Santosh Rani wrote: > > > > Here is what I see in 'Alerts Tracker' in my Outpost Firewall Logs, > > > > > > > > 7/29/2007 6:28:20 PMAttempt to modify Outpost Firewall Pro files > > > > is prevented.Application: squid, Path: D:\xz\sbin\squid.exe > > > > 7/29/2007 10:25:35 AMAttempt to modify Outpost Firewall Pro files > > > > is prevented.Application: squid, Path: D:\xz\sbin\squid.exe > > > > 7/28/2007 1:03:47 PMAttempt to modify Outpost Firewall Pro files > > > > is prevented.Application: squid, Path: D:\xz\sbin\squid.exe > > > > > > > > Outpost thinks that Squid.exe is trying to modify it. > > > > > > And it's not.. > > > > > > I guess this is a question for the firewall support... > > > > > > Regards > > > Henrik > > > > > > > > >
Re: [squid-users] Firewall rule for dnsserver process on SquidNT-2.6 STABLE 13 on Windows
I am in touch with the Outpost team, Sir. Regards On 31/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On tis, 2007-07-31 at 11:06 +0530, Santosh Rani wrote: > > Here is what I see in 'Alerts Tracker' in my Outpost Firewall Logs, > > > > 7/29/2007 6:28:20 PMAttempt to modify Outpost Firewall Pro files > > is prevented.Application: squid, Path: D:\xz\sbin\squid.exe > > 7/29/2007 10:25:35 AMAttempt to modify Outpost Firewall Pro files > > is prevented.Application: squid, Path: D:\xz\sbin\squid.exe > > 7/28/2007 1:03:47 PMAttempt to modify Outpost Firewall Pro files > > is prevented.Application: squid, Path: D:\xz\sbin\squid.exe > > > > Outpost thinks that Squid.exe is trying to modify it. > > And it's not.. > > I guess this is a question for the firewall support... > > Regards > Henrik > >
Re: [squid-users] Firewall rule for dnsserver process on SquidNT-2.6 STABLE 13 on Windows
Here is what I see in 'Alerts Tracker' in my Outpost Firewall Logs, 7/29/2007 6:28:20 PMAttempt to modify Outpost Firewall Pro files is prevented.Application: squid, Path: D:\xz\sbin\squid.exe 7/29/2007 10:25:35 AMAttempt to modify Outpost Firewall Pro files is prevented.Application: squid, Path: D:\xz\sbin\squid.exe 7/28/2007 1:03:47 PMAttempt to modify Outpost Firewall Pro files is prevented.Application: squid, Path: D:\xz\sbin\squid.exe Outpost thinks that Squid.exe is trying to modify it. Regards On 30/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On sön, 2007-07-29 at 16:13 +0530, Santosh Rani wrote: > > Thought the hint was valuable, it has not helped. Agnitum's Outpost > > does not allow Squid to start. > > > > Further help is needed please. > > UDP & TCP outgoing port 53 to your DNS servers is all Squid needs for > DNS. > > Enable logging in your firewall and try to figure out what it's reacting > on. > > Regards > Henrik > >
Re: [squid-users] Firewall rule for dnsserver process on SquidNT-2.6 STABLE 13 on Windows
Though the hint was valuable, but still Agnitum Outpost Firewall does not allow Squid to start. Best Regards On 29/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On lör, 2007-07-28 at 20:48 +0530, Santosh Rani wrote: > > > How do I allow inbuilt dnsserver process of Squid to access my ISP's > > dns servers? > > By allowing the Squid process access to port 53 (UDP and TCP) on the > ISPs dnsservers. > > Regards > Henrik > >
[squid-users] Firewall rule for dnsserver process on SquidNT-2.6 STABLE 13 on Windows
The most knowledged revered Sirs/ Madams, With your kind guidance I have succeeded in running two instances of Squid. My Firewall does not allow SquidNT-2.6.STABLE13 to start on. If I want to start/ reconfigure/ restart/ rotate Squid,I have to quit my firewall so that Squid can start. How do I allow inbuilt dnsserver process of Squid to access my ISP's dns servers? In Squid 2.4 there was a dnsserver.exe which was allowed access in Firewall rules and everything was fine. I have presently configured my firewall to Squid.exe outbound access to port TCP 8080, 3128 and 80-83, SOCKS, https and UDP ports 1026 and 53. Please suggest a solution so that I do not have to stop my firewall every time I have to restart Squid. Regards Santosh Rani
[squid-users] Re: Squid Multiple instances;Second one does not start; crashes: But it does work on P-III
Twin Squids successful on P-III machine. But the requirement to run it on P-IV. Regards On 25/07/07, Santosh Rani <[EMAIL PROTECTED]> wrote: > I have installed SquidNT port of on my G: drive apart from the one > running already. > Both the Squids have different Service names under Services Applet of Windows. > I have already created swap directories. (squid -z). > Visible_hosname have been declared. > Both are running on same machine. > Both have been assigned different NIC. > Both have been assigned different ports. > Freshly installed Squid has been allowed access in the firewall rules. > Now when I do " G:/squid/sbin/squid -f g:/xy/etc/squid.conf" > > I am getting following error in my cache.log : > > 2007/07/24 16:16:26| Starting Squid Cache version 2.6.STABLE13 for > i686-pc-winnt... > 2007/07/24 16:16:26| Running on Windows XP > 2007/07/24 16:16:26| Process ID 2852 > 2007/07/24 16:16:26| With 2048 file descriptors available > 2007/07/24 16:16:26| With 512 CRT stdio descriptors available > 2007/07/24 16:16:26| Windows sockets initialized > 2007/07/24 16:16:26| Using select for the IO loop > 2007/07/24 16:16:26| Performing DNS Tests... > 2007/07/24 16:16:26| Successful DNS name lookup tests... > 2007/07/24 16:16:26| DNS Socket created at 0.0.0.0, port 4199, FD 4 > 2007/07/24 16:16:26| Adding nameserver xxx.xxx.xxx.xxx from Registry > 2007/07/24 16:16:26| Adding nameserver xxx.xxx.xxx.xxx from Registry > 2007/07/24 16:16:26| Adding nameserver 218.248.255.177 from Registry > 2007/07/24 16:16:26| User-Agent logging is disabled. > 2007/07/24 16:16:26| Referer logging is disabled. > 2007/07/24 16:16:26| ipcCreate: CHILD: g:/squid/libexec/unlinkd.exe: > (2) No such file or directory > 2007/07/24 16:16:26| ipcCreate: PARENT: OK read test failed > 2007/07/24 16:16:26| --> read returned 4 > 2007/07/24 16:16:26| --> got 'ERR%0a' > FATAL: Failed to create unlinkd subprocess > Squid Cache (Version 2.6.STABLE13): Terminated abnormally. > > My observation: > 1. There is no squid.pid file present in G:/squid/var/logs > 2. unlinkd.exe exists at g:/squid/libexec/unlinkd.exe > 3. If I restart the system, Squid 2.6.STABLE13 starts successfully as > seen in the services applet. But if I restart it, it again terminates > with the error shown above. > > Please help why I am getting this error. > > Regards >
[squid-users] Squid Multiple instances ; Second one does not start; crashes
I have installed SquidNT port of on my G: drive apart from the one running already. Both the Squids have different Service names under Services Applet of Windows. I have already created swap directories. (squid -z). Visible_hosname have been declared. Both are running on same machine. Both have been assigned different NIC. Both have been assigned different ports. Freshly installed Squid has been allowed access in the firewall rules. Now when I do " G:/squid/sbin/squid -f g:/xy/etc/squid.conf" I am getting following error in my cache.log : 2007/07/24 16:16:26| Starting Squid Cache version 2.6.STABLE13 for i686-pc-winnt... 2007/07/24 16:16:26| Running on Windows XP 2007/07/24 16:16:26| Process ID 2852 2007/07/24 16:16:26| With 2048 file descriptors available 2007/07/24 16:16:26| With 512 CRT stdio descriptors available 2007/07/24 16:16:26| Windows sockets initialized 2007/07/24 16:16:26| Using select for the IO loop 2007/07/24 16:16:26| Performing DNS Tests... 2007/07/24 16:16:26| Successful DNS name lookup tests... 2007/07/24 16:16:26| DNS Socket created at 0.0.0.0, port 4199, FD 4 2007/07/24 16:16:26| Adding nameserver xxx.xxx.xxx.xxx from Registry 2007/07/24 16:16:26| Adding nameserver xxx.xxx.xxx.xxx from Registry 2007/07/24 16:16:26| Adding nameserver 218.248.255.177 from Registry 2007/07/24 16:16:26| User-Agent logging is disabled. 2007/07/24 16:16:26| Referer logging is disabled. 2007/07/24 16:16:26| ipcCreate: CHILD: g:/squid/libexec/unlinkd.exe: (2) No such file or directory 2007/07/24 16:16:26| ipcCreate: PARENT: OK read test failed 2007/07/24 16:16:26| --> read returned 4 2007/07/24 16:16:26| --> got 'ERR%0a' FATAL: Failed to create unlinkd subprocess Squid Cache (Version 2.6.STABLE13): Terminated abnormally. My observation: 1. There is no squid.pid file present in G:/squid/var/logs 2. unlinkd.exe exists at g:/squid/libexec/unlinkd.exe 3. If I restart the system, Squid 2.6.STABLE13 starts successfully as seen in the services applet. But if I restart it, it again terminates with the error shown above. Please help why I am getting this error. Regards
Re: [squid-users] Re: Squid 2.5 STABLE7 failing under Cygwin Windows XP
Fine. I have installed SquidNT port of on my G: drive apart from the one running already. Both the Squids have different Service names under Services Applet of Windows. I have already created swap directories. (squid -z). Visible_hosname have been declared. Both are running on same machine. Both have been assigned different NIC. Both have been assigned different ports. Freshly installed Squid has been allowed access in the firewall rules. Now when I do " G:/squid/sbin/squid -f g:/xy/etc/squid.conf" I am getting following error in my cache.log : 2007/07/24 16:16:26| Starting Squid Cache version 2.6.STABLE13 for i686-pc-winnt... 2007/07/24 16:16:26| Running on Windows XP 2007/07/24 16:16:26| Process ID 2852 2007/07/24 16:16:26| With 2048 file descriptors available 2007/07/24 16:16:26| With 512 CRT stdio descriptors available 2007/07/24 16:16:26| Windows sockets initialized 2007/07/24 16:16:26| Using select for the IO loop 2007/07/24 16:16:26| Performing DNS Tests... 2007/07/24 16:16:26| Successful DNS name lookup tests... 2007/07/24 16:16:26| DNS Socket created at 0.0.0.0, port 4199, FD 4 2007/07/24 16:16:26| Adding nameserver xxx.xxx.xxx.xxx from Registry 2007/07/24 16:16:26| Adding nameserver xxx.xxx.xxx.xxx from Registry 2007/07/24 16:16:26| Adding nameserver 218.248.255.177 from Registry 2007/07/24 16:16:26| User-Agent logging is disabled. 2007/07/24 16:16:26| Referer logging is disabled. 2007/07/24 16:16:26| ipcCreate: CHILD: g:/squid/libexec/unlinkd.exe: (2) No such file or directory 2007/07/24 16:16:26| ipcCreate: PARENT: OK read test failed 2007/07/24 16:16:26| --> read returned 4 2007/07/24 16:16:26| --> got 'ERR%0a' FATAL: Failed to create unlinkd subprocess Squid Cache (Version 2.6.STABLE13): Terminated abnormally. My observation: 1. There is no squid.pid file present in G:/squid/var/logs 2. unlinkd.exe exists at g:/squid/libexec/unlinkd.exe Please help why I am getting this error. Regards On 24/07/07, Guido Serassio <[EMAIL PROTECTED]> wrote: Hi, At 06.47 24/07/2007, Santosh Rani wrote: > > Why you are not using the native Windows binary kits ? >I have tried using binaries for SquidNT. But it gave me error in my cache.log; > >2007/07/14 21:18:42| ipcCreate: CHILD: G:/Proxy1/libexec/unlinkd.exe: >(2) No such file or directory > >I have seen that the directory as well as the file 'unlinkd.exe' exists there. > >I would rather be happier to use the binaries since it is easier to >install it as a windows service and also that it would start >automatically upon bootup. >But because of above mentioned error I left it. It is my mistake >though that I did not report the problem (pardon me please). Argh !!!, this is a very important detail :-( >When I am already running Bofi's Squid 2.5 Stable3 on this machine, >can I runt another Squid instance under Windows with a different >service name? Yes, you can, but with the correct config. General guide lines for multiple instances: http://wiki.squid-cache.org/MultipleInstances On the Windows side, you must use two different Squid services with different service name and different command line. See -O and -n options. something like: squid -i -n squid1 -O "-f c:/squid1/etc/squid.conf" squid -i -n squid2 -O "-f c:/squid2/etc/squid.conf" Regards Guido >On 24/07/07, Santosh Rani <[EMAIL PROTECTED]> wrote: > > My try to build Squid with --enable-win32-service failed under Cygwin > > with the error; It does not recognise this directive. > > > > Regards > > > > On 23/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > > > On mån, 2007-07-23 at 16:05 +0530, Santosh Rani wrote: > > > > > > > Further, I wish I could automate this so that Squid under Cygwin > > > > starts on bootup. > > > > > > I think the following should work: > > > > > > Built Squid with --enable-win32-service > > > > > > Then install it as a service by using > > > > > >/path/to/sbin/squid -i > > > > > > > > > Another option is to use the service wrapper from the Windows resource > > > kit.. used that for various non-windows daemons many years ago (NT4 > > > era). > > > > > > Regards > > > Henrik > > > > > > > > - Guido Serassio Acme Consulting S.r.l. - Microsoft Certified Partner Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY Tel. : +39.011.9530135 Fax. : +39.011.9781115 Email: [EMAIL PROTECTED] WWW: http://www.acmeconsulting.it/
Re: [squid-users] Errors in Cache log of Squid-2.6.STABLE13 Parent-Child on Cygwin
Resolved. I rechecked my firewall. Found that Squid.exe under Cygwin was allowed access. I further allowd access to Squid.client. Then reconfiguring the Squid gave me following error: 2007/07/24 09:17:46| commBind: Cannot bind socket FD 8 to 192.168.1.10:8080: (112) Address already in use This triggered me to believe that I should have two NICs in my machine for both the Squids. Installing another NIC and then binding both Squid instances to two different NICs solved the issue. Now there is no error. Works fine as desired. Sir, In a similar fashion can I use two different instances of Squid under Windows with two different NICs with different Service name from SquidNT Binaries? I wish to achieve this because under Cygwin I have to restart Squid everytime the computer boots. Many many thanks for your kind help, Sir. Regards On 23/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: On mån, 2007-07-23 at 19:27 +0530, Santosh Rani wrote: > Squid 'A' (2.6.STABLE13 On Cygwin) > Squid 'B' (SquidNT 2.5.STABLE3-NT-CVS WWW Proxy Server (Bofi's) ) > Both are running on same machine. P-IV 3.0 GHz. > Squid 'B' is parent to Squid 'A' > > 2007/07/23 18:48:21| TCP connection to 192.168.1.10/3128 failed > 2007/07/23 18:48:22| TCP connection to 192.168.1.10/3128 failed > 2007/07/23 18:48:26| TCP connection to 192.168.1.10/3128 failed > > And cache log of Squid 'B' is showing that it is accepting connections > at the desired port. > Here is the cacne.log of Squid 'B'; > 2007/07/23 18:48:27| Accepting HTTP connections at 192.168.1.10, port > 3128, FD 13. > > What am I supposed to should I do? Check your firewalling, and also verify that the IP address is configured and activated. Regards Henrik
Re: [squid-users] Re: Squid 2.5 STABLE7 failing under Cygwin Windows XP
Why you are not using the native Windows binary kits ? I have tried using binaries for SquidNT. But it gave me error in my cache.log; 2007/07/14 21:18:42| ipcCreate: CHILD: G:/Proxy1/libexec/unlinkd.exe: (2) No such file or directory I have seen that the directory as well as the file 'unlinkd.exe' exists there. I would rather be happier to use the binaries since it is easier to install it as a windows service and also that it would start automatically upon bootup. But because of above mentioned error I left it. It is my mistake though that I did not report the problem (pardon me please). When I am already running Bofi's Squid 2.5 Stable3 on this machine, can I runt another Squid instance under Windows with a different service name? On 24/07/07, Santosh Rani <[EMAIL PROTECTED]> wrote: My try to build Squid with --enable-win32-service failed under Cygwin with the error; It does not recognise this directive. Regards On 23/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On mån, 2007-07-23 at 16:05 +0530, Santosh Rani wrote: > > > Further, I wish I could automate this so that Squid under Cygwin > > starts on bootup. > > I think the following should work: > > Built Squid with --enable-win32-service > > Then install it as a service by using > >/path/to/sbin/squid -i > > > Another option is to use the service wrapper from the Windows resource > kit.. used that for various non-windows daemons many years ago (NT4 > era). > > Regards > Henrik > >
Re: [squid-users] Re: Squid 2.5 STABLE7 failing under Cygwin Windows XP
My try to build Squid with --enable-win32-service failed under Cygwin with the error; It does not recognise this directive. Regards On 23/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: On mån, 2007-07-23 at 16:05 +0530, Santosh Rani wrote: > Further, I wish I could automate this so that Squid under Cygwin > starts on bootup. I think the following should work: Built Squid with --enable-win32-service Then install it as a service by using /path/to/sbin/squid -i Another option is to use the service wrapper from the Windows resource kit.. used that for various non-windows daemons many years ago (NT4 era). Regards Henrik
[squid-users] Errors in Cache log of Squid-2.6.STABLE13 Parent-Child on Cygwin
Squid 'A' (2.6.STABLE13 On Cygwin) Squid 'B' (SquidNT 2.5.STABLE3-NT-CVS WWW Proxy Server (Bofi's) ) Both are running on same machine. P-IV 3.0 GHz. Squid 'B' is parent to Squid 'A' Everything is working fine, access.log of both the Squids is showing the requests being served, but there is an error in my cache.log on Squid 'A' running under Cygwin. 2007/07/23 17:34:31| parseHttpRequest: Unsupported method 'ENQ SOH CONNECT' 2007/07/23 17:34:31| clientReadRequest: FD 36 (192.168.1.12:1027) Invalid Request 2007/07/23 17:43:07| parseHttpRequest: Unsupported method 'ENQ SOH CONNECT' 2007/07/23 17:43:07| clientReadRequest: FD 15 (192.168.1.12:1105) Invalid Request 2007/07/23 18:32:14| TCP connection to 192.168.1.10/3128 failed 2007/07/23 18:32:15| TCP connection to 192.168.1.10/3128 failed 2007/07/23 18:32:16| TCP connection to 192.168.1.10/3128 failed 2007/07/23 18:42:17| Reconfiguring Squid Cache (version 2.6.STABLE13)... 2007/07/23 18:42:17| FD 11 Closing HTTP connection 2007/07/23 18:42:17| FD 12 Closing ICP connection 2007/07/23 18:42:17| DNS Socket created at 0.0.0.0, port 3065, FD 7 2007/07/23 18:42:17| Adding nameserver xxx.xxx.xxx.xxx from /etc/resolv.conf 2007/07/23 18:42:17| Adding nameserver xxx.xxx.xxx.xxx from /etc/resolv.conf 2007/07/23 18:42:17| Accepting proxy HTTP connections at 192.168.1.10, port 8080, FD 8. 2007/07/23 18:42:17| commSetNoLinger: FD 10: (109) Protocol not available 2007/07/23 18:42:17| Accepting ICP messages at 0.0.0.0, port 3130, FD 10. 2007/07/23 18:42:17| Configuring Parent 192.168.1.10/3128/3130 2007/07/23 18:42:17| Loaded Icons. 2007/07/23 18:42:17| Ready to serve requests. 2007/07/23 18:48:21| TCP connection to 192.168.1.10/3128 failed 2007/07/23 18:48:22| TCP connection to 192.168.1.10/3128 failed 2007/07/23 18:48:26| TCP connection to 192.168.1.10/3128 failed And cache log of Squid 'B' is showing that it is accepting connections at the desired port. Here is the cacne.log of Squid 'B'; 2007/07/23 18:48:27| Accepting HTTP connections at 192.168.1.10, port 3128, FD 13. 2007/07/23 18:48:27| Accepting HTTP connections at 0.0.0.0, port 8080, FD 14. 2007/07/23 18:48:27| Accepting ICP messages at 0.0.0.0, port 3130, FD 15. 2007/07/23 18:48:27| Accepting HTCP messages on port 4827, FD 16. 2007/07/23 18:48:27| Accepting SNMP messages on port 3401, FD 17. 2007/07/23 18:48:27| Ready to serve requests. 2007/07/23 18:48:27| Store rebuilding is 1.5% complete 2007/07/23 18:48:32| Done reading G:\Proxy/cache swaplog (273740 entries) 2007/07/23 18:48:32| Finished rebuilding storage from disk. 2007/07/23 18:48:32|273740 Entries scanned 2007/07/23 18:48:32| 0 Invalid entries. 2007/07/23 18:48:32| 0 With invalid flags. 2007/07/23 18:48:32|273739 Objects loaded. 2007/07/23 18:48:32| 0 Objects expired. 2007/07/23 18:48:32| 0 Objects cancelled. 2007/07/23 18:48:32| 0 Duplicate URLs purged. 2007/07/23 18:48:32| 1 Swapfile clashes avoided. 2007/07/23 18:48:32| Took 6.1 seconds (45037.7 objects/sec). 2007/07/23 18:48:32| Beginning Validation Procedure 2007/07/23 18:48:33|262144 Entries Validated so far. 2007/07/23 18:48:33| Completed Validation Procedure 2007/07/23 18:48:33| Validated 273739 Entries 2007/07/23 18:48:33| store_swap_size = 2764792k 2007/07/23 18:48:34| storeLateRelease: released 0 objects What am I supposed to should I do? Regards.
Re: [squid-users] Re: Squid 2.5 STABLE7 failing under Cygwin Windows XP
Sir, My firewall was blocking it. Further, I wish I could automate this so that Squid under Cygwin starts on bootup. Kind hints please. Regards On 22/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: On sön, 2007-07-22 at 17:32 +0530, Santosh Rani wrote: > Could someone please suggest why can't my Squid under Cygwin succeed > direct connection to the Internet? No idea. Should work. > Why it tries to find a Parent Cache > when it is not configured to do so? It doesn't. Perhaps it's not using the squid.conf you thing it's using. Or maybe you have a local firewall which denies that Squid from making outgoing connections? Regards Henrik
[squid-users] Re: Squid 2.5 STABLE7 failing under Cygwin Windows XP
I have finally got the Squid-2.6.STABLE7 working under Cygwin. While sieving through the previous posts in my mails. While doing so it struck my mind that Squid on Cygwin might be requesting the Bofi's Squid (Running on this SAME machine) (I go the Hint from the line : "*connection to Failed " in the error message that my browser gave). So, I configured Squid running under Cygwin to use the Bofi's Squid as Parent Cache as follows; # Set the relationship to a parent, and don't bother with ICP queries cache_peer 192.168.x.x parent 8080 3130 proxy-only no-query # Make sure ALL requests pass through parent never_direct allow all My requirement was to use two Squids in Parent-Child relationship on the same machine. This is achieved. But, I am surprised by this behaviour of Squid. Because on another machine on which a WindowsNT port of Acme Consulting and Cygwin port of Squid was running, both could work independently, and is still working (It is a P-III) machine. Could someone please suggest why can't my Squid under Cygwin succeed direct connection to the Internet? Why it tries to find a Parent Cache when it is not configured to do so? Regards On 22/07/07, Santosh Rani <[EMAIL PROTECTED]> wrote: I am running a copy of Squid on WindowsXP SP2. I am trying to run another copy of Squid under Cygwin on the same machine. Under Cygwin with squid-2.6.STABLE7, I am getting the following error in my cache.log; commSetNoLinger: FD 10: (109) Protocol not available In the browser, the error is: The following error was encountered: * Connection to Failed The system returned: (111) Connection refused The remote host or network may be down. Please try the request again. Do I need to apply some patch? Please help. Regards
[squid-users] Squid 2.5 STABLE7 failing under Cygwin Windows XP
I am running a copy of Squid on WindowsXP SP2. I am trying to run another copy of Squid under Cygwin on the same machine. Under Cygwin with squid-2.6.STABLE7, I am getting the following error in my cache.log; commSetNoLinger: FD 10: (109) Protocol not available In the browser, the error is: The following error was encountered: * Connection to Failed The system returned: (111) Connection refused The remote host or network may be down. Please try the request again. Do I need to apply some patch? Please help. Regards
Re: [squid-users] Can not remove conftest.exe Permission denied
Thanks for the reply Sir, I have submitted the Bug report along with config.log Regards On 21/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: On lör, 2007-07-21 at 17:05 +0200, Henrik Nordstrom wrote: > On lör, 2007-07-21 at 13:31 +0530, Santosh Rani wrote: > > Upon checking the config.log, the following test seems to be failing: > > > > configure:2775: gcc -c -g -O2 conftest.c >&5 > > conftest.c:2: error: parse error before "me" > > configure:2781: $? = 1 > > configure: failed program was: > > | #ifndef __cplusplus > > | choke me > > | #endif > > that one should be failing.. > > > Secondly, I have tried the hint given by you and it works. > > Ok. So that test needs to be improved a bit.. Forgot... please file a bug report on this so we don't forget.. http://www.squid-cache.org/bugs/ Regards Henrik
Re: [squid-users] Can not remove conftest.exe Permission denied
The error received in browser is: ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://www.sify.com/ The following error was encountered: * Connection to Failed The system returned: (111) Connection refused The remote host or network may be down. Please try the request again. Your cache administrator is webmaster. Generated Sat, 21 Jul 2007 14:16:45 GMT by mavelika (squid/2.6.STABLE13 On 21/07/07, Santosh Rani <[EMAIL PROTECTED]> wrote: Though Squid has been compiled and it is running, but it does not serve. cache.log has following entry: 2007/07/21 16:49:06| Starting Squid Cache version 2.6.STABLE13 for i686-pc-cygwin... 2007/07/21 16:49:06| Running on Windows XP 2007/07/21 16:49:06| Process ID 3440 2007/07/21 16:49:06| With 8192 file descriptors available 2007/07/21 16:49:06| Using poll for the IO loop 2007/07/21 16:49:06| Performing DNS Tests... 2007/07/21 16:49:06| Successful DNS name lookup tests... 2007/07/21 16:49:06| DNS Socket created at 0.0.0.0, port 2106, FD 4 2007/07/21 16:49:06| /etc/resolv.conf: (2) No such file or directory 2007/07/21 16:49:06| Adding nameserver xxx.xxx.xxx.xxx from Registry 2007/07/21 16:49:06| Adding nameserver xxx.xxx.xxx.xxx from Registry 2007/07/21 16:49:06| Adding nameserver xxx.xx.xxx.xxx from Registry 2007/07/21 16:49:06| Adding nameserver xxx.xx.xxx.xxx from Registry 2007/07/21 16:49:06| Adding nameserver xx..x.xx.xx from Registry 2007/07/21 16:49:06| Adding nameserver xx.x.xx.xx from Registry 2007/07/21 16:49:06| Referer logging is disabled. 2007/07/21 16:49:06| Unlinkd pipe opened on FD 9 2007/07/21 16:49:06| Swap maxSize 102400 KB, estimated 7876 objects 2007/07/21 16:49:06| Target number of buckets: 393 2007/07/21 16:49:06| Using 8192 Store buckets 2007/07/21 16:49:06| Max Mem size: 8192 KB 2007/07/21 16:49:06| Max Swap size: 102400 KB 2007/07/21 16:49:06| Rebuilding storage in /usr/local/squid/var/cache (DIRTY) 2007/07/21 16:49:06| Using Least Load store dir selection 2007/07/21 16:49:06| Set Current Directory to /usr/local/squid/var/cache 2007/07/21 16:49:06| Loaded Icons. 2007/07/21 16:49:07| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 10. 2007/07/21 16:49:07| commSetNoLinger: FD 11: (109) Protocol not available 2007/07/21 16:49:07| Accepting ICP messages at 0.0.0.0, port 3130, FD 11. 2007/07/21 16:49:07| commSetNoLinger: FD 12: (109) Protocol not available 2007/07/21 16:49:07| Accepting HTCP messages on port 4827, FD 12. 2007/07/21 16:49:07| commSetNoLinger: FD 13: (109) Protocol not available 2007/07/21 16:49:07| Accepting SNMP messages on port 3401, FD 13. Regards On 21/07/07, Santosh Rani <[EMAIL PROTECTED]> wrote: > Upon checking the config.log, the following test seems to be failing: > > configure:2775: gcc -c -g -O2 conftest.c >&5 > conftest.c:2: error: parse error before "me" > configure:2781: $? = 1 > configure: failed program was: > | #ifndef __cplusplus > | choke me > | #endif > > Secondly, I have tried the hint given by you and it works. The > question on my mind is what I have done by that > ac_cv_af_unix_large_dgram=no. What I will lose, if at all I do? > Finally is it all documented somewhere? > > Regards > > On 21/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > > On fre, 2007-07-20 at 20:48 +0530, Santosh Rani wrote: > > > During compiling squid-2.6.STABLE13 on a i686 machine (P-4) under > > > Cygwin environment, I am getting the following error:- > > > > > > Can not remove conftest.exe Permission denied > > > > > > I have successfully achieved compiling same squid-2.6.STABLE13 on a > > > P-III machine . > > > > > > Any clues please. > > > > Which configure test is it failing at? > > (see config.log) > > > > I would guess one of the tests gets stuck in the background somehow. An > > educated guess is the "if AF_UNIX dgram sockets support large packets" > > test as this is the only test forking a child process.. > > > > if that's the case then you can try > > > > ./configure ... ac_cv_af_unix_large_dgram=no > > > > Regards > > Henrik > > > > > > > > >
Re: [squid-users] Can not remove conftest.exe Permission denied
Though Squid has been compiled and it is running, but it does not serve. cache.log has following entry: 2007/07/21 16:49:06| Starting Squid Cache version 2.6.STABLE13 for i686-pc-cygwin... 2007/07/21 16:49:06| Running on Windows XP 2007/07/21 16:49:06| Process ID 3440 2007/07/21 16:49:06| With 8192 file descriptors available 2007/07/21 16:49:06| Using poll for the IO loop 2007/07/21 16:49:06| Performing DNS Tests... 2007/07/21 16:49:06| Successful DNS name lookup tests... 2007/07/21 16:49:06| DNS Socket created at 0.0.0.0, port 2106, FD 4 2007/07/21 16:49:06| /etc/resolv.conf: (2) No such file or directory 2007/07/21 16:49:06| Adding nameserver xxx.xxx.xxx.xxx from Registry 2007/07/21 16:49:06| Adding nameserver xxx.xxx.xxx.xxx from Registry 2007/07/21 16:49:06| Adding nameserver xxx.xx.xxx.xxx from Registry 2007/07/21 16:49:06| Adding nameserver xxx.xx.xxx.xxx from Registry 2007/07/21 16:49:06| Adding nameserver xx..x.xx.xx from Registry 2007/07/21 16:49:06| Adding nameserver xx.x.xx.xx from Registry 2007/07/21 16:49:06| Referer logging is disabled. 2007/07/21 16:49:06| Unlinkd pipe opened on FD 9 2007/07/21 16:49:06| Swap maxSize 102400 KB, estimated 7876 objects 2007/07/21 16:49:06| Target number of buckets: 393 2007/07/21 16:49:06| Using 8192 Store buckets 2007/07/21 16:49:06| Max Mem size: 8192 KB 2007/07/21 16:49:06| Max Swap size: 102400 KB 2007/07/21 16:49:06| Rebuilding storage in /usr/local/squid/var/cache (DIRTY) 2007/07/21 16:49:06| Using Least Load store dir selection 2007/07/21 16:49:06| Set Current Directory to /usr/local/squid/var/cache 2007/07/21 16:49:06| Loaded Icons. 2007/07/21 16:49:07| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 10. 2007/07/21 16:49:07| commSetNoLinger: FD 11: (109) Protocol not available 2007/07/21 16:49:07| Accepting ICP messages at 0.0.0.0, port 3130, FD 11. 2007/07/21 16:49:07| commSetNoLinger: FD 12: (109) Protocol not available 2007/07/21 16:49:07| Accepting HTCP messages on port 4827, FD 12. 2007/07/21 16:49:07| commSetNoLinger: FD 13: (109) Protocol not available 2007/07/21 16:49:07| Accepting SNMP messages on port 3401, FD 13. Regards On 21/07/07, Santosh Rani <[EMAIL PROTECTED]> wrote: Upon checking the config.log, the following test seems to be failing: configure:2775: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2781: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif Secondly, I have tried the hint given by you and it works. The question on my mind is what I have done by that ac_cv_af_unix_large_dgram=no. What I will lose, if at all I do? Finally is it all documented somewhere? Regards On 21/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On fre, 2007-07-20 at 20:48 +0530, Santosh Rani wrote: > > During compiling squid-2.6.STABLE13 on a i686 machine (P-4) under > > Cygwin environment, I am getting the following error:- > > > > Can not remove conftest.exe Permission denied > > > > I have successfully achieved compiling same squid-2.6.STABLE13 on a > > P-III machine . > > > > Any clues please. > > Which configure test is it failing at? > (see config.log) > > I would guess one of the tests gets stuck in the background somehow. An > educated guess is the "if AF_UNIX dgram sockets support large packets" > test as this is the only test forking a child process.. > > if that's the case then you can try > > ./configure ... ac_cv_af_unix_large_dgram=no > > Regards > Henrik > > > >
Re: [squid-users] Can not remove conftest.exe Permission denied
Upon checking the config.log, the following test seems to be failing: configure:2775: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2781: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif Secondly, I have tried the hint given by you and it works. The question on my mind is what I have done by that ac_cv_af_unix_large_dgram=no. What I will lose, if at all I do? Finally is it all documented somewhere? Regards On 21/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: On fre, 2007-07-20 at 20:48 +0530, Santosh Rani wrote: > During compiling squid-2.6.STABLE13 on a i686 machine (P-4) under > Cygwin environment, I am getting the following error:- > > Can not remove conftest.exe Permission denied > > I have successfully achieved compiling same squid-2.6.STABLE13 on a > P-III machine . > > Any clues please. Which configure test is it failing at? (see config.log) I would guess one of the tests gets stuck in the background somehow. An educated guess is the "if AF_UNIX dgram sockets support large packets" test as this is the only test forking a child process.. if that's the case then you can try ./configure ... ac_cv_af_unix_large_dgram=no Regards Henrik
[squid-users] Can not remove conftest.exe Permission denied
During compiling squid-2.6.STABLE13 on a i686 machine (P-4) under Cygwin environment, I am getting the following error:- Can not remove conftest.exe Permission denied I have successfully achieved compiling same squid-2.6.STABLE13 on a P-III machine . Any clues please. Regards
Re: [squid-users] Malaware acl trouble
Very kind of you Sir for quick reply. I will look into it deeper. It works with you, it must work with me. I am sure that this is due to this malaware acl because when I put a # sign in the beginning of this acl it allows me the denied page. Regards On 14/07/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: lör 2007-07-14 klockan 14:57 +0530 skrev Dharam Paul: > I am using Malaware Block List (regular) from http://www.malware.com.br > > The problem is that this acl is blocking access to a link in the > website "http://www.babafariduniv.com/"; . > > I get the following error in my Squid access log; > > "1184403129.828 63 192.168.1.10 TCP_DENIED/403 0 GET > http://www.babafariduniv.com/pmet07/nriinfo.htm - NONE/- text/html Works fine for me with that block list... (not blocked). Are you sure it's the malware blocklist which blocks the access? http://wiki.squid-cache.org/SquidFaq/SquidAcl#head-57ab8844e9060937c4a654e1aa7568f87cb25aef Regards Henrik
[squid-users] No squid_redirect option SQUID 2.6.STABLE3 ?
Hello Sirs/Madams, I am running SQUID 2.6.STABLE3 on FreeBSD 6.2. I can not find any string like "redirect_program" here in squid.conf as it is there in Squid 2.5. Has it been removed in SQUID 2.6.STABLE3 or I have committed some mistake in compiling Squid. Best Regards
Re: [squid-users] storeUfsCreate: Failed to create I:\Proxy/cache/00/00/00000000 ((13) Permission denied)
I am sorry to send the message only to 'Juan C. Crespo R'. I have to be more cautious so that the message is sent to the 'squid-users@squid-cache.org'. The file system is NTFS. Squid is behaving normal now without me requiring to do anything. There seems to be some other issue which I need to probe. Experienced hands could guide me please as to what else could be the reason for this behaviour. On 01/03/07, Santosh Rani <[EMAIL PROTECTED]> wrote: The file system is NTFS. Squid is behaving normal now without me requiring to do anything. There seems to be some other issue which I need to probe. Experienced hands could guide me please as to what else could be the reason for this behaviour. Regards On 01/03/07, Santosh Rani <[EMAIL PROTECTED]> wrote: > Thanks for the replies. > > Squid is behaving normal now without me requiring to do anything. > There seems to be another issue which I need to probe. > Experienced hands could guide me. > > Regards > > On 28/02/07, Juan C. Crespo R. <[EMAIL PROTECTED]> wrote: > > Are you using NTFS or Fat32 in the I: logical drive? If its NTFS check > > the security folder and look for the user running squid. > > > > Santosh Rani escribió: > > Hi, > > > > I am getting the following error: > > > > 2007/02/28 21:16:51| storeUfsCreate: Failed to create > > I:\Proxy/cache/00/00/ ((13) Permission denied) > > > > Squid gets too slow. > > > > This is my store.log > > > > 2007/02/28 21:11:01| Starting Squid Cache version 2.5.STABLE7-NT for > > i686-pc-winnt... > > 2007/02/28 21:11:01| Running as Squid_Proxy Windows System Service on > > Windows XP > > 2007/02/28 21:11:01| Service command line is: > > 2007/02/28 21:11:01| Process ID 3380 > > 2007/02/28 21:11:01| With 2048 file descriptors available > > 2007/02/28 21:11:01| With 2048 CRT stdio descriptors available > > 2007/02/28 21:11:01| Windows sockets initialized > > 2007/02/28 21:11:01| Performing DNS Tests... > > FATAL: ipcache_init: DNS name lookup tests failed. > > Squid Cache (Version 2.5.STABLE7-NT): Terminated abnormally. > > 2007/02/28 21:11:04| Starting Squid Cache version 2.5.STABLE7-NT for > > i686-pc-winnt... > > 2007/02/28 21:11:04| Running as Squid_Proxy Windows System Service on > > Windows XP > > 2007/02/28 21:11:04| Service command line is: > > 2007/02/28 21:11:04| Process ID 3488 > > 2007/02/28 21:11:04| With 2048 file descriptors available > > 2007/02/28 21:11:04| With 2048 CRT stdio descriptors available > > 2007/02/28 21:11:04| Windows sockets initialized > > 2007/02/28 21:11:04| Performing DNS Tests... > > 2007/02/28 21:11:04| Successful DNS name lookup tests... > > 2007/02/28 21:11:04| DNS Socket created at 0.0.0.0, port 2442, FD 4 > > 2007/02/28 21:11:04| Adding nameserver xx.xx.xx.xx from squid.conf > > 2007/02/28 21:11:04| Adding nameserver xx.xx.xx.xx from squid.conf > > 2007/02/28 21:11:04| User-Agent logging is disabled. > > 2007/02/28 21:11:04| Referer logging is disabled. > > 2007/02/28 21:11:04| Unlinkd pipe opened on FD 7 > > 2007/02/28 21:11:04| Swap maxSize 3072000 KB, estimated 236307 objects > > 2007/02/28 21:11:04| Target number of buckets: 11815 > > 2007/02/28 21:11:04| Using 16384 Store buckets > > 2007/02/28 21:11:04| Max Mem size: 266240 KB > > 2007/02/28 21:11:04| Max Swap size: 3072000 KB > > 2007/02/28 21:11:04| Rebuilding storage in I:\Proxy/cache (CLEAN) > > 2007/02/28 21:11:04| Using Least Load store dir selection > > 2007/02/28 21:11:04| Set Current Directory to I:\Proxy/cache > > 2007/02/28 21:11:04| Loaded Icons. > > 2007/02/28 21:11:05| Accepting HTTP connections at 0.0.0.0, port 8080, FD > > 13. > > 2007/02/28 21:11:05| Accepting HTTP connections at 0.0.0.0, port 8080, FD > > 14. > > 2007/02/28 21:11:05| Accepting ICP messages at 0.0.0.0, port 3130, FD 15. > > 2007/02/28 21:11:05| Accepting HTCP messages on port 4827, FD 16. > > 2007/02/28 21:11:05| Accepting SNMP messages on port 3401, FD 17. > > 2007/02/28 21:11:05| Ready to serve requests. > > 2007/02/28 21:11:05| Store rebuilding is 5.3% complete > > 2007/02/28 21:11:07| Done reading I:\Proxy/cache swaplog (77471 entries) > > 2007/02/28 21:11:07| Finished rebuilding storage from disk. > > 2007/02/28 21:11:07| 77471 Entries scanned > > 2007/02/28 21:11:07| 0 Invalid entries. > > 2007/02/28 21:11:07| 0 With invalid flags. > > 2007/02/28 21:11:07| 77471 Objects loaded. > > 2007/02/28 21:11:07| 0 Objects expired. > > 2007/02/28 21:11:07| 0 Objects cancelled. > > 2007/02/28 21:11:07|
Re: [squid-users] storeUfsCreate: Failed to create I:\Proxy/cache/00/00/00000000 ((13) Permission denied)
Thanks for the replies. Squid is behaving normal now without me requiring to do anything. There seems to be another issue which I need to probe. Experienced hands could guide me. Regards On 28/02/07, Juan C. Crespo R. <[EMAIL PROTECTED]> wrote: Are you using NTFS or Fat32 in the I: logical drive? If its NTFS check the security folder and look for the user running squid. Santosh Rani escribió: Hi, I am getting the following error: 2007/02/28 21:16:51| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/ ((13) Permission denied) Squid gets too slow. This is my store.log 2007/02/28 21:11:01| Starting Squid Cache version 2.5.STABLE7-NT for i686-pc-winnt... 2007/02/28 21:11:01| Running as Squid_Proxy Windows System Service on Windows XP 2007/02/28 21:11:01| Service command line is: 2007/02/28 21:11:01| Process ID 3380 2007/02/28 21:11:01| With 2048 file descriptors available 2007/02/28 21:11:01| With 2048 CRT stdio descriptors available 2007/02/28 21:11:01| Windows sockets initialized 2007/02/28 21:11:01| Performing DNS Tests... FATAL: ipcache_init: DNS name lookup tests failed. Squid Cache (Version 2.5.STABLE7-NT): Terminated abnormally. 2007/02/28 21:11:04| Starting Squid Cache version 2.5.STABLE7-NT for i686-pc-winnt... 2007/02/28 21:11:04| Running as Squid_Proxy Windows System Service on Windows XP 2007/02/28 21:11:04| Service command line is: 2007/02/28 21:11:04| Process ID 3488 2007/02/28 21:11:04| With 2048 file descriptors available 2007/02/28 21:11:04| With 2048 CRT stdio descriptors available 2007/02/28 21:11:04| Windows sockets initialized 2007/02/28 21:11:04| Performing DNS Tests... 2007/02/28 21:11:04| Successful DNS name lookup tests... 2007/02/28 21:11:04| DNS Socket created at 0.0.0.0, port 2442, FD 4 2007/02/28 21:11:04| Adding nameserver xx.xx.xx.xx from squid.conf 2007/02/28 21:11:04| Adding nameserver xx.xx.xx.xx from squid.conf 2007/02/28 21:11:04| User-Agent logging is disabled. 2007/02/28 21:11:04| Referer logging is disabled. 2007/02/28 21:11:04| Unlinkd pipe opened on FD 7 2007/02/28 21:11:04| Swap maxSize 3072000 KB, estimated 236307 objects 2007/02/28 21:11:04| Target number of buckets: 11815 2007/02/28 21:11:04| Using 16384 Store buckets 2007/02/28 21:11:04| Max Mem size: 266240 KB 2007/02/28 21:11:04| Max Swap size: 3072000 KB 2007/02/28 21:11:04| Rebuilding storage in I:\Proxy/cache (CLEAN) 2007/02/28 21:11:04| Using Least Load store dir selection 2007/02/28 21:11:04| Set Current Directory to I:\Proxy/cache 2007/02/28 21:11:04| Loaded Icons. 2007/02/28 21:11:05| Accepting HTTP connections at 0.0.0.0, port 8080, FD 13. 2007/02/28 21:11:05| Accepting HTTP connections at 0.0.0.0, port 8080, FD 14. 2007/02/28 21:11:05| Accepting ICP messages at 0.0.0.0, port 3130, FD 15. 2007/02/28 21:11:05| Accepting HTCP messages on port 4827, FD 16. 2007/02/28 21:11:05| Accepting SNMP messages on port 3401, FD 17. 2007/02/28 21:11:05| Ready to serve requests. 2007/02/28 21:11:05| Store rebuilding is 5.3% complete 2007/02/28 21:11:07| Done reading I:\Proxy/cache swaplog (77471 entries) 2007/02/28 21:11:07| Finished rebuilding storage from disk. 2007/02/28 21:11:07| 77471 Entries scanned 2007/02/28 21:11:07| 0 Invalid entries. 2007/02/28 21:11:07| 0 With invalid flags. 2007/02/28 21:11:07| 77471 Objects loaded. 2007/02/28 21:11:07| 0 Objects expired. 2007/02/28 21:11:07| 0 Objects cancelled. 2007/02/28 21:11:07| 0 Duplicate URLs purged. 2007/02/28 21:11:07| 0 Swapfile clashes avoided. 2007/02/28 21:11:07| Took 2.7 seconds (28993.6 objects/sec). 2007/02/28 21:11:07| Beginning Validation Procedure 2007/02/28 21:11:07| Completed Validation Procedure 2007/02/28 21:11:07| Validated 77471 Entries 2007/02/28 21:11:07| store_swap_size = 837072k 2007/02/28 21:11:08| storeLateRelease: released 0 objects 2007/02/28 21:16:51| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/ ((13) Permission denied) 2007/02/28 21:16:51| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0001 ((13) Permission denied) 2007/02/28 21:16:58| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0002 ((13) Permission denied) 2007/02/28 21:16:58| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0003 ((13) Permission denied) 2007/02/28 21:17:00| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0004 ((13) Permission denied) 2007/02/28 21:17:00| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0005 ((13) Permission denied) 2007/02/28 21:17:01| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0006 ((13) Permission denied) 2007/02/28 21:17:03| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0007 ((13) Permission denied) 2007/02/28 21:17:04| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0008 ((13) Permission denied) 2007/02/28 21:17:05| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0009 ((13) Permission denied) 2007/02/28 21:17:06| storeUfsCreate: Fai
[squid-users] storeUfsCreate: Failed to create I:\Proxy/cache/00/00/00000000 ((13) Permission denied)
Hi, I am getting the following error: 2007/02/28 21:16:51| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/ ((13) Permission denied) Squid gets too slow. This is my store.log 2007/02/28 21:11:01| Starting Squid Cache version 2.5.STABLE7-NT for i686-pc-winnt... 2007/02/28 21:11:01| Running as Squid_Proxy Windows System Service on Windows XP 2007/02/28 21:11:01| Service command line is: 2007/02/28 21:11:01| Process ID 3380 2007/02/28 21:11:01| With 2048 file descriptors available 2007/02/28 21:11:01| With 2048 CRT stdio descriptors available 2007/02/28 21:11:01| Windows sockets initialized 2007/02/28 21:11:01| Performing DNS Tests... FATAL: ipcache_init: DNS name lookup tests failed. Squid Cache (Version 2.5.STABLE7-NT): Terminated abnormally. 2007/02/28 21:11:04| Starting Squid Cache version 2.5.STABLE7-NT for i686-pc-winnt... 2007/02/28 21:11:04| Running as Squid_Proxy Windows System Service on Windows XP 2007/02/28 21:11:04| Service command line is: 2007/02/28 21:11:04| Process ID 3488 2007/02/28 21:11:04| With 2048 file descriptors available 2007/02/28 21:11:04| With 2048 CRT stdio descriptors available 2007/02/28 21:11:04| Windows sockets initialized 2007/02/28 21:11:04| Performing DNS Tests... 2007/02/28 21:11:04| Successful DNS name lookup tests... 2007/02/28 21:11:04| DNS Socket created at 0.0.0.0, port 2442, FD 4 2007/02/28 21:11:04| Adding nameserver xx.xx.xx.xx from squid.conf 2007/02/28 21:11:04| Adding nameserver xx.xx.xx.xx from squid.conf 2007/02/28 21:11:04| User-Agent logging is disabled. 2007/02/28 21:11:04| Referer logging is disabled. 2007/02/28 21:11:04| Unlinkd pipe opened on FD 7 2007/02/28 21:11:04| Swap maxSize 3072000 KB, estimated 236307 objects 2007/02/28 21:11:04| Target number of buckets: 11815 2007/02/28 21:11:04| Using 16384 Store buckets 2007/02/28 21:11:04| Max Mem size: 266240 KB 2007/02/28 21:11:04| Max Swap size: 3072000 KB 2007/02/28 21:11:04| Rebuilding storage in I:\Proxy/cache (CLEAN) 2007/02/28 21:11:04| Using Least Load store dir selection 2007/02/28 21:11:04| Set Current Directory to I:\Proxy/cache 2007/02/28 21:11:04| Loaded Icons. 2007/02/28 21:11:05| Accepting HTTP connections at 0.0.0.0, port 8080, FD 13. 2007/02/28 21:11:05| Accepting HTTP connections at 0.0.0.0, port 8080, FD 14. 2007/02/28 21:11:05| Accepting ICP messages at 0.0.0.0, port 3130, FD 15. 2007/02/28 21:11:05| Accepting HTCP messages on port 4827, FD 16. 2007/02/28 21:11:05| Accepting SNMP messages on port 3401, FD 17. 2007/02/28 21:11:05| Ready to serve requests. 2007/02/28 21:11:05| Store rebuilding is 5.3% complete 2007/02/28 21:11:07| Done reading I:\Proxy/cache swaplog (77471 entries) 2007/02/28 21:11:07| Finished rebuilding storage from disk. 2007/02/28 21:11:07| 77471 Entries scanned 2007/02/28 21:11:07| 0 Invalid entries. 2007/02/28 21:11:07| 0 With invalid flags. 2007/02/28 21:11:07| 77471 Objects loaded. 2007/02/28 21:11:07| 0 Objects expired. 2007/02/28 21:11:07| 0 Objects cancelled. 2007/02/28 21:11:07| 0 Duplicate URLs purged. 2007/02/28 21:11:07| 0 Swapfile clashes avoided. 2007/02/28 21:11:07| Took 2.7 seconds (28993.6 objects/sec). 2007/02/28 21:11:07| Beginning Validation Procedure 2007/02/28 21:11:07| Completed Validation Procedure 2007/02/28 21:11:07| Validated 77471 Entries 2007/02/28 21:11:07| store_swap_size = 837072k 2007/02/28 21:11:08| storeLateRelease: released 0 objects 2007/02/28 21:16:51| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/ ((13) Permission denied) 2007/02/28 21:16:51| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0001 ((13) Permission denied) 2007/02/28 21:16:58| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0002 ((13) Permission denied) 2007/02/28 21:16:58| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0003 ((13) Permission denied) 2007/02/28 21:17:00| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0004 ((13) Permission denied) 2007/02/28 21:17:00| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0005 ((13) Permission denied) 2007/02/28 21:17:01| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0006 ((13) Permission denied) 2007/02/28 21:17:03| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0007 ((13) Permission denied) 2007/02/28 21:17:04| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0008 ((13) Permission denied) 2007/02/28 21:17:05| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/0009 ((13) Permission denied) 2007/02/28 21:17:06| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/000A ((13) Permission denied) 2007/02/28 21:17:07| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/000B ((13) Permission denied) 2007/02/28 21:17:09| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/000C ((13) Permission denied) 2007/02/28 21:17:10| storeUfsCreate: Failed to create I:\Proxy/cache/00/00/000D ((13) Permission denied) 2007/02/28 21:17:12
[squid-users] Can not shutdown squid
Processor : Intel P4 3.06 Intel motherboard SATA Hard Disk SQUID VERSION: squid 2.6.3 My trouble is that I can not stop squid. I passed the following command, # /usr/local/etc/rc.d/squid stop The shutdown_life time option is; shutdown_lifetime 5 seconds Result of this command is: Stopping squid. squid: ERROR: Could not send signal 15 to process 1014: (3) No such process Waiting for PIDS: 755 776 1826 1830 1867 2086 2092 2113 2123 2139 2167 2180 2196 2224 2234 2250 2278 2288 2317 2345 2355 2371 2399 2409 2425 2453 2463 2479 2507 2517 2533 2561 2571 2587 2615 2625 2641 2670 2680 2696 2724 2734 2750 2778 2791 2807 2835 2845 2862 2890 2900 2916 2944 2954 2970 2998 3029 3047 3620 3630 3652 3680 3690 3707 3735 3747 3764 3795 3806 3823 3851 3861 3877 3905 3915 3931 3959 3969 3988 4017 4027 4043 4071 4081 4097 6858 9541 14524 14956 15007 15152 15408 15628 15862 19001 19011 19027 19055 19065 19081 19095 19123 19135 19139 19141 19147 19157 19171 19177, 755 776 1826 1830 1867 2086 2092 2113 2123 2139 2167 2180 2196 2224 2234 2250 2278 2288 2317 2345 2355 2371 2399 2409 2425 2453 2463 2479 2507 2517 2533 2561 2571 2587 2615 2625 2641 2670 2680 2696 2724 2734 2750 2778 2791 2807 2835 2845 2862 2890 2900 2916 2944 2954 2970 2998 3029 3047 3620 3630 3652 3680 3690 3707 3735 3747 3764 3795 3806 3823 3851 3861 3877 3905 3915 3931 3959 3969 3988 4017 4027 4043 4071 4081 4097 6858 9541 14524 14956 15007 15152 15408 15628 15862 19001 19011 19027 19055 19065 19081 19095 19123 19139 19141 19147 19157 19171 19177, 755 776 1826 1830 1867 2086 2092 2113 2123 2139 2167 2180 2196 2224 2234 2250 2278 2288 2317 2345 2355 2371 2399 2409 2425 2453 2463 2479 2507 2517 2533 2561 2571 2587 2615 2625 2641 2670 2680 2696 2724 2734 2750 2778 2791 2807 2835 2845 2862 2890 2900 2916 2944 2954 2970 2998 3029 3047 3620 3630 3652 3680 3690 3707 3735 3747 3764 3795 3806 3823 3851 3861 3877 3905 3915 3931 3959 3969 3988 4017 4027 4043 4071 4081 4097 6858 9541 14524 14956 15007 15152 15408 15628 15862 19001 19011 19027 19055 19065 19081 19095 19123 19139 19141 19147 19157 19171 19177, 755 776 1826 1830 1867 2086 2092 2113 2123 2139 2167 2180 2196 2224 2234 2250 2278 2288 2317 2345 2355 2371 2399 2409 2425 2453 2463 2479 2507 2517 2533 2561 2571 2587 2615 2625 2641 2670 2680 2696 2724 2734 2750 2778 2791 2807 2835 2845 2862 2890 2900 2916 2944 2954 2970 2998 3029 3047 3620 3630 3652 3680 3690 3707 3735 3747 3764 3795 3806 3823 3851 3861 3877 3905 3915 3931 3959 3969 3988 4017 4027 4043 4071 4081 4097 6858 9541 14524 14956 15007 15152 15408 15628 15862 19001 19011 19027 19055 19065 19081 19095 19123 19139 19141 19147 19157 19171 19177, 755 776 1826 1830 1867 2086 2092 2113 2123 2139 2167 2180 2196 2224 2234 2250 2278 2288 2317 2345 2355 2371 2399 2409 2425 2453 2463 2479 2507 2517 2533 2561 2571 2587 2615 2625 2641 2670 2680 2696 2724 2734 2750 2778 2791 2807 2835 2845 2862 2890 2900 2916 2944 2954 2970 2998 3029 3047 3620 3630 3652 3680 3690 3707 3735 3747 3764 3795 3806 3823 3851 3861 3877 3905 3915 3931 3959 3969 3988 4017 4027 4043 4071 4081 4097 6858 9541 14524 14956 15007 15152 15408 15628 15862 19001 19011 19027 19055 19065 19081 19095 19123 19139 19141 19157 19171, 755 776 1826 1830 1867 2086 2092 2113 2123 2139 2167 2180 2196 2224 2234 2250 2278 2288 2317 2345 2355 2371 2399 2409 2425 2453 2463 2479 2507 2517 2533 2561 2571 2587 2615 2625 2641 2670 2680 2696 2724 2734 2750 2778 2791 2807 2835 2845 2862 2890 2900 2916 2944 2954 2970 2998 3029 3047 3620 3630 3652 3680 3690 3707 3735 3747 3764 3795 3806 3823 3851 3861 3877 3905 3915 3931 3959 3969 3988 4017 4027 4043 4071 4081 4097 6858 9541 14524 14956 15007 15152 15408 15628 15862 19001 19011 19027 19055 19065 19081 19095 19123 19139 19141 19157 19171, 755 776 1826 1830 1867 2086 2092 2113 2123 2139 2167 2180 2196 2224 2234 2250 2278 2288 2317 2345 2355 2371 2399 2409 2425 2453 2463 2479 2507 2517 2533 2561 2571 2587 2615 2625 2641 2670 2680 2696 2724 2734 2750 2778 2791 2807 2835 2845 2862 2890 2900 2916 2944 2954 2970 2998 3029 3047 3620 3630 3652 3680 3690 3707 3735 3747 3764 3795 3806 3823 3851 3861 3877 3905 3915 3931 3959 3969 3988 4017 4027 4043 4071 4081 4097 6858 9541 14524 14956 15007 15152 15408 15628 15862 19001 19011 19027 19055 19065 19081 19095 19123 19139 19141 19157 19171, 755 776 1826 1830 1867 2086 2092 2113 2123 2139 2167 2180 2196 2224 2234 2250 2278 2288 2317 2345 2355 2371 2399 2409 2425 2453 2463 2479 2507 2517 2533 2561 2571 2587 2615 2625 2641 2670 2680 2696 2724 2734 2750 2778 2791 2807 2835 2845 2862 2890 2900 2916 2944 2954 2970 2998 3029 3047 3620 3630 3652 3680 3690 3707 3735 3747 3764 3795 3806 3823 3851 3861 3877 3905 3915 3931 3959 3969 3988 4017 4027 4043 4071 4081 4097 6858 9541 14524 14956 15007 15152 15408 15628 15862 19001 19011 19027 19055 19065 19081 19095 19123 19139 19141 19157 19171, 755 776 1826 1830 1867 2086 2092 2113 2123 2139 2167 2180 2196 2224 2234 2250 2278 2288 2317 2345 2355 2371 2399 2409 2425 2453 2463 2479 2507 2517 2533 2561 2571
Re: [squid-users] Any Slackers running on current version with squid current ver
Thanks Sir. I am going throgh the informaion given on this site. Regards On 06/10/06, Marco Berizzi <[EMAIL PROTECTED]> wrote: Santosh Rani wrote: >it does not give any error when I pass the command: >/usr/local/squid/sbin/squid see /var/log/messages or /var/log/syslog >Even 'cache' direcotory was to be created manually. You should read the squid manual (http://www.deckle.co.za/squid-users-guide/Main_Page) cache directory is done by 'squid -z'. Of course you also have to adjust the squid.conf PS: Please keep the message on the list
[squid-users] Squid wont start on slackware
I think I have to redo the whole exercise. But before that I must know my new compilation method. Please help. Regards
Re: [squid-users] Squid wont start on slackware
Thanks for your inputs , Sirs. I have added user 'squid' and group 'squid'. Changed the ownership of /usr/local/squid to user 'squid' and group 'squid' I have changed cache_effective_user as: cache_effective_user squid cache_effective_group squid I have also created 'store.log' and 'access.log' files in '/usr/local/squid/var/logs' and ownership is set to user 'squid' and group 'squid' 'Squid' has all the permissions (read, write, execute) on directory '/usr/local/squid' Still it doesn not start nor it gives any error. /usr/local/squid/sbin/squid -k parse does not report any error. Regards On 04/10/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: ons 2006-10-04 klockan 11:52 +0530 skrev Santosh Rani: > I have set the ownership on 'cache' directory' for root since other > folder i.e. in the 'var' directory was also owned by root with the > permission 733 The Squid cache and log directories needs to be owned (or at least writable) by your cache_effective_user. Regards Henrik
Re: [squid-users] Squid wont start on slackware
I am feeling extremely bad to have posted without any details of how it all happened and to have wasted every reader's time. Here are all the details : Operating System: Slackware 10.2 Machine: PIII, 667 MHz Compile options: CFLAGS="-O2" ./configure --enable-delay-pools --enable-removal-policies="lru" --enable-useragent-log --disable-wccp --disable-wccpv2 --enable-ssl --enable-storeio=diskd,ufs --enable-snmp --disable-ident-lookups --enable-http-violations --enable-http-violations i686-slackware-linux make all It compiled without errors #make install With this command squid was installed without any error. In the squid.conf file, I changed the following: http_port 8080 visible_hostname cathy.alfa.net To check the sanity of my configuration of squid.conf, #/usr/local/squid/sbin/squid -k parse I got no Error. Now I gave the follwing command to start squid : #/usr/local/squid/sbin/squid It gave me error that 'cache' directory does not exist: So I created the 'cache' directory /usr/local/squid/var/cache I set the permissions on directory 'cache' as follows: chown root:root cache ( while I was at Directory "/usr/local/squid/var") I have set the ownership on 'cache' directory' for root since other folder i.e. in the 'var' directory was also owned by root with the permission 733 After this I gave the following command to create 'cache' #/usr/local/squid/sbin/squid -z The cache directories are created without any error. Now I retry to start Squid: #/usr/local/squid/sbin/squid This time I got no error meaning that Squid should have started. Now when I want to access Internet through this Machine on which Squid has been installed. I do not get anything, not even any warning like "Access Denied" since I have not configured Squid to allow access to any machine. What I have Tried? I tried the following command: #/usr/local/squid/sbin/squid -k restart Error: No running copy, I have checked that there is no startup script in /etc/rc.d More than this I After this I have googling since then to find a solution and when I did not any in a foolish manner I posted the message to squid users. I have earlier successfully run Squid on FreeBSD. Fedora Core. But I have never got such problem. Please help. On 04/10/06, Chris Robertson <[EMAIL PROTECTED]> wrote: Santosh Rani wrote: > I have installed Slackware on one of my P-III machines to serve 12 > machines. > I am not able to start it. > How to start ir? Pointers please. > > Regards http://www.reedmedia.net/misc/mail/using-mailing-list.html#asking-questions Specifically: * What, exactly, fails? * What steps did you attempt to resolve it? * What do your log files show? * Post details of what went wrong. * What error(s) did you get? * What steps are you taking to test? * Show us exactly what happened. * If applicable, what does the software's debugging show? * Don't say "it didn't work". Show how it didn't work. * Don't make the readers guess. Chris
[squid-users] Squid wont start on slackware
I have installed Slackware on one of my P-III machines to serve 12 machines. I am not able to start it. How to start ir? Pointers please. Regards
Re: [squid-users] squid error 1067
Dear Sir, The problem has been solved. Thanks for the pointers given by you. It was a problem permissions on 'cache.state' file in the 'cache' directory. I am unable to follow as to how the persmisiosns on this file was changed to 'readonly'. It works like charm now. Though reinstallation had solved the problem. But the reason why it failed to start was to be known. Best Regards On 12/09/06, Santosh Rani <[EMAIL PROTECTED]> wrote: Yes, the problem is reflected in cache log. Out of many lines I am submitting only the lines reflecting problem. It reads as under: FATAL: storeUfsDirOpenSwapLog: Failed to open swap log. Squid Cache (Version 2.5.STABLE7-NT): Terminated abnormally. Cache_dir configuration is as under: echo # TAG: cache_dir >> %CONFFILE% echo # Usage: >> %CONFFILE% echo # >> %CONFFILE% echo # cache_dir Type Directory-Name Fs-specific-data [options] >> %CONFFILE% echo # >> %CONFFILE% echo # cache_dir diskd Maxobjsize Directory-Name MB L1 L2 Q1 Q2 >> %CONFFILE% echo # >> %CONFFILE% echo # You can specify multiple cache_dir lines to spread the >> %CONFFILE% echo # cache among different disk partitions. >> %CONFFILE% echo # >> %CONFFILE% echo # Type specifies the kind of storage system to use. Only "ufs" >> %CONFFILE% echo # is built by default. To eanble any of the other storage systems >> %CONFFILE% echo # see the --enable-storeio configure option. >> %CONFFILE% echo # >> %CONFFILE% echo # 'Directory' is a top-level directory where cache swap >> %CONFFILE% echo # files will be stored. If you want to use an entire disk >> %CONFFILE% echo # for caching, then this can be the mount-point directory. >> %CONFFILE% echo # The directory must exist and be writable by the Squid >> %CONFFILE% echo # process. Squid will NOT create this directory for you. >> %CONFFILE% echo # >> %CONFFILE% echo # The ufs store type: >> %CONFFILE% echo # >> %CONFFILE% echo # "ufs" is the old well-known Squid storage format that has always >> %CONFFILE% echo # been there. >> %CONFFILE% echo # >> %CONFFILE% echo # cache_dir ufs Directory-Name Mbytes L1 L2 [options] >> %CONFFILE% echo # >> %CONFFILE% echo # 'Mbytes' is the amount of disk space MB to use under this >> %CONFFILE% echo # directory. The default is 100 MB. Change this to suit your >> %CONFFILE% echo # configuration. Do NOT put the size of your disk drive here. >> %CONFFILE% echo # Instead, if you want Squid to use the entire disk drive, >> %CONFFILE% echo # subtract 20 Percent and use that value. >> %CONFFILE% echo # >> %CONFFILE% echo # 'Level-1' is the number of first-level subdirectories which >> %CONFFILE% echo # will be created under the 'Directory'. The default is 16. >> %CONFFILE% echo # >> %CONFFILE% echo # 'Level-2' is the number of second-level subdirectories which >> %CONFFILE% echo # will be created under each first-level directory. The default >> %CONFFILE% echo # is 256. >> %CONFFILE% echo # >> %CONFFILE% echo # The aufs store type: >> %CONFFILE% echo # >> %CONFFILE% echo # "aufs" uses the same storage format as "ufs", utilizing >> %CONFFILE% echo # POSIX-threads to avoid blocking the main Squid process on >> %CONFFILE% echo # disk-I/O. This was formerly known in Squid as async-io. >> %CONFFILE% echo # >> %CONFFILE% echo # cache_dir aufs Directory-Name Mbytes L1 L2 [options] >> %CONFFILE% echo # >> %CONFFILE% echo # see argument descriptions under ufs above >> %CONFFILE% echo # >> %CONFFILE% echo # The awin32 store type: >> %CONFFILE% echo # >> %CONFFILE% echo # "awin32" uses the same storage format as "ufs", utilizing >> %CONFFILE% echo # WIN32-threads to avoid blocking the main Squid process on >> %CONFFILE% echo # disk-I/O. This was formerly known in Squid as async-io. >> %CONFFILE% echo # >> %CONFFILE% echo # cache_dir awin32 Directory-Name Mbytes L1 L2 [options] >> %CONFFILE% echo # >> %CONFFILE% echo # see argument descriptions under ufs above >> %CONFFILE% echo # >> %CONFFILE% echo # The diskd store type: >> %CONFFILE% echo # >> %CONFFILE% echo # "diskd" uses the same storage format as "ufs", utilizing a >> %CONFFILE% echo # separate process to avoid blocking the main Squid process on >> %CONFFILE% echo # disk-I/O. >> %CONFFILE% echo # >> %CONFFILE% echo # cache_dir diskd Directory-Name Mbytes L1 L2 [options] [Q1=n] [Q2=n] >> %CONFFILE% echo # >> %CONFFILE% echo # see argument descriptions under
Re: [squid-users] squid error 1067
LE% echo # Squid blocks until it recevies some replies. Default is 72 >> %CONFFILE% echo # >> %CONFFILE% echo # Common options: >> %CONFFILE% echo # >> %CONFFILE% echo # read-only, this cache_dir is read only. >> %CONFFILE% echo # >> %CONFFILE% echo # max-size=n, refers to the max object size this storedir supports. >> %CONFFILE% echo # It is used to initially choose the storedir to dump the object. >> %CONFFILE% echo # Note: To make optimal use of the max-size limits you should order >> %CONFFILE% echo # the cache_dir lines with the smallest max-size value first and the >> %CONFFILE% echo # ones with no max-size specification last. >> %CONFFILE% echo # >> %CONFFILE% echo # Default: >> %CONFFILE% echo # cache_dir ufs c:/squid/var/cache 100 16 256 >> %CONFFILE% echo cache_dir ufs %APPDIR%/cache 5000 16 256 >> %CONFFILE% echo # TAG: cache_access_log >> %CONFFILE% echo # Logs the client request activity. Contains an entry for >> %CONFFILE% echo # every HTTP and ICP queries received. To disable, enter "none". %CONFFILE% echo # >> %CONFFILE% echo # Default: >> %CONFFILE% echo # cache_access_log c:/squid/var/logs/access.log >> %CONFFILE% echo cache_access_log %APPDIR%/log/access.log >> %CONFFILE% Best Regards On 11/09/06, Guido Serassio <[EMAIL PROTECTED]> wrote: Hi, At 14.33 11/09/2006, Santosh Rani wrote: >Normally, Squid would start when Computer is switched ON. But today it >refused to start. Squid is listed in services in " Control Panel > >Computer Administration > Services " From where if I try to start it >manually it gives error 1067. Reinstalling squid solves the problem. >But if I copy the same previous 'cache' directory to the new >installation folder of Squid , it again starts giving same problem. >I have tried using the same configuration file that I used with my >previous installation of Squid, it works with new installation. >My cache size as specified in squid.conf is 500 MB. The cache size has >grown to 4500 MB. Could the error be related to this cache size? > >Regards So here we are speaking about the Windows port, correct ? If yes, please let we to know: - Windows version - Squid version Nothing in cache.log file ? And send your cache_dir configuration. Regards Guido - Guido Serassio Acme Consulting S.r.l. - Microsoft Certified Partner Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY Tel. : +39.011.9530135 Fax. : +39.011.9781115 Email: [EMAIL PROTECTED] WWW: http://www.acmeconsulting.it/
Re: [squid-users] Re: FreeBSD 6.x server with Squid/diskd
Sorry, my last message was inadvertently sent to the wrong messages thread. Best Regards On 11/09/06, Santosh Rani <[EMAIL PROTECTED]> wrote: Normally, Squid would start when Computer is switched ON. But today (11 Sep 2006) it refused to start. Squid is listed in services in " Control Panel > Computer Administration > Services " From where if I try to start it manually it gives error 1067. Reinstalling squid solves the problem. But if I copy the same previous 'cache' directory to the new installation folder of Squid , it again starts giving same problem. I have tried using the same configuration file that I used with my previous installation of Squid, it works with new installation. My cache size as specified in squid.conf is 500 MB. The cache size has grown to 4500 MB. Could the error be related to this cache size? Regards On 11/09/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > mån 2006-09-11 klockan 12:39 +0530 skrev Santosh Rani: > > Squid version : squid2.5 stable3 > > Allocated cache_mem: 240 MB > > Cache size: 5000 MB > > HDD Type: SATA > > I am not able to start squid I am getting error 1067. What could be > > the proble. What is the meaning of this error? > > Good question. It's not a Squid error code as far as I know.. > > Why is showing the error, where? > > Regards > Henrik > > > On 07/09/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > mån 2006-09-04 klockan 11:17 -0600 skrev Brett Glass: > > Henrik: > > > > In what version of Squid was this instability introduced? Does it > > only show up in certain versions of the operating system? We have > > caches running FreeBSD 4.9 and Squid 2.5.STABLE5 (see the output of > > "squid -v" below) which are absolutely rock solid under heavy > > loads; they work so well that we have not upgraded them. > > It's always been there actually, for as long as diskd has existed. But > it only occurs when diskd is being pushed to the limits, which > indirectly means the faster Squid is the likelier the problem is seen.. > > Regards > Henrik > > >
Re: [squid-users] squid error 1067
Normally, Squid would start when Computer is switched ON. But today it refused to start. Squid is listed in services in " Control Panel > Computer Administration > Services " From where if I try to start it manually it gives error 1067. Reinstalling squid solves the problem. But if I copy the same previous 'cache' directory to the new installation folder of Squid , it again starts giving same problem. I have tried using the same configuration file that I used with my previous installation of Squid, it works with new installation. My cache size as specified in squid.conf is 500 MB. The cache size has grown to 4500 MB. Could the error be related to this cache size? Regards On 11/09/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: mån 2006-09-11 klockan 12:39 +0530 skrev Santosh Rani: > Squid version : squid2.5 stable3 > Allocated cache_mem: 240 MB > Cache size: 5000 MB > HDD Type: SATA > I am not able to start squid I am getting error 1067. What could be > the proble. What is the meaning of this error? Good question. It's not a Squid error code as far as I know.. Why is showing the error, where? Regards Henrik
Re: [squid-users] Re: FreeBSD 6.x server with Squid/diskd
Normally, Squid would start when Computer is switched ON. But today (11 Sep 2006) it refused to start. Squid is listed in services in " Control Panel > Computer Administration > Services " From where if I try to start it manually it gives error 1067. Reinstalling squid solves the problem. But if I copy the same previous 'cache' directory to the new installation folder of Squid , it again starts giving same problem. I have tried using the same configuration file that I used with my previous installation of Squid, it works with new installation. My cache size as specified in squid.conf is 500 MB. The cache size has grown to 4500 MB. Could the error be related to this cache size? Regards On 11/09/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: mån 2006-09-11 klockan 12:39 +0530 skrev Santosh Rani: > Squid version : squid2.5 stable3 > Allocated cache_mem: 240 MB > Cache size: 5000 MB > HDD Type: SATA > I am not able to start squid I am getting error 1067. What could be > the proble. What is the meaning of this error? Good question. It's not a Squid error code as far as I know.. Why is showing the error, where? Regards Henrik On 07/09/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: mån 2006-09-04 klockan 11:17 -0600 skrev Brett Glass: > Henrik: > > In what version of Squid was this instability introduced? Does it > only show up in certain versions of the operating system? We have > caches running FreeBSD 4.9 and Squid 2.5.STABLE5 (see the output of > "squid -v" below) which are absolutely rock solid under heavy > loads; they work so well that we have not upgraded them. It's always been there actually, for as long as diskd has existed. But it only occurs when diskd is being pushed to the limits, which indirectly means the faster Squid is the likelier the problem is seen.. Regards Henrik
[squid-users] squid error 1067
Squid version : squid2.5 stable3 Allocated cache_mem: 240 MB Cache size: 5000 MB HDD Type: SATA I am not able to start squid I am getting error 1067. What could be the proble. What is the meaning of this error? Best Regards
Re: [squid-users] Heavy mail attachments hotmail
But my (reply_body_max_size) already reads as under reply_body_max_size 2097152 allow all In my case the user has first opened the file in browser window and then saved the file. The file saved in this way is converted to BMP even though it was a JPG image as an attachment. Further help is required please. Regards On 24/07/06, Christoph Haas <[EMAIL PROTECTED]> wrote: On Monday 24 July 2006 15:34, Santosh Rani wrote: > How to tame heavy mail attachments through hotmail please. Today one > user downloaded six BMP images equal to 218 MB. Squid has no notion of "hotmail email attachments". You can limit the size of downloads (reply_body_max_size) for the domain hotmail.com if that helps you. Regards Christoph -- ~ ~ ".signature" [Modified] 1 line --100%--1,48 All
[squid-users] Heavy mail attachments hotmail
How to tame heavy mail attachments through hotmail please. Today one user downloaded six BMP images equal to 218 MB. Somebody please advise. Regards
[squid-users] delaying attatchements from mails
How do I delay the speed of the 'zip' files, and images that are attached with the emails? Is it possible? Best Regards
[squid-users] Can not access " hindustanpetroleum.org "
Sirs/ Madams, I am experiencing problem in accessing the website " hindustanpetroleum.org " through Squid. Internet Explorer keeps displaying : - "DETECTING FLASH 6 ... " Please help. Best Regards
Re: [squid-users] delay access to cached objects
Sir, Thanks for showing me another useful website. I did not know about this website till now. Best Regards On 29/06/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: tor 2006-06-29 klockan 15:48 +0530 skrev Santosh Rani: > Sir, > > I have achieved the target with your help. > The setup is like this > Machine 'A' (squid proxy) >> Machine 'B' (squid proxy) >> Internet > Your two lines worked like magic. And is in the FAQ under "How do I configure Squid forward all requests to another proxy?"... http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#head-c050a0a0382c01fbfb9da7e9c18d58bafd4eb027> Regards Henrik -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEo+0OB5pTNio2V7IRAh2mAJ4tB+k8fSellwzu9ehHowv1NV1liwCfSNYZ UtstrmdIr8wihespginCTgU= =aSIz -END PGP SIGNATURE-
Re: [squid-users] delay access to cached objects
Sir, I have achieved the target with your help. The setup is like this Machine 'A' (squid proxy) >> Machine 'B' (squid proxy) >> Internet Your two lines worked like magic. Best Regards On 28/06/06, Chris Robertson <[EMAIL PROTECTED]> wrote: Santosh Rani wrote: > Sirs/ Madams > I wonder how should I tell squid not to cache any thing! I am trying > to chain two squid proxies. Both squids are installed on different > machines. (I may sound foolish here! pardon me). I am telling one > machine (machine 'A') to fetch data from other squid machine (machine > 'B'). In machine 'A' , I have this line under TAG 'cache_peer' > > cache_peer 192.168.x.x sibling 8080 3130 proxy-only # Set the relationship to a parent, and don't bother with ICP queries cache_peer 192.168.x.x parent 8080 3130 proxy-only no-query # Make sure ALL requests pass through parent never_direct allow all > > I am not able to get data from cache of machine 'A' by this directive > (It is fetching data from internet) . Do I have to pass some directive > in squid's configuration file on machine 'A' too? > > Best Regards > Chris
Re: [squid-users] delay access to cached objects
Sirs/ Madams I wonder how should I tell squid not to cache any thing! I am trying to chain two squid proxies. Both squids are installed on different machines. (I may sound foolish here! pardon me). I am telling one machine (machine 'A') to fetch data from other squid machine (machine 'B'). In machine 'A' , I have this line under TAG 'cache_peer' cache_peer 192.168.x.x sibling 8080 3130 proxy-only I am not able to get data from cache of machine 'A' by this directive (It is fetching data from internet) . Do I have to pass some directive in squid's configuration file on machine 'A' too? Best Regards On 26/06/06, Santosh Rani <[EMAIL PROTECTED]> wrote: Thanks Mehdi, I shall try the path you have shown. Regards > On 25/06/06, Mehdi Sarmadi <[EMAIL PROTECTED]> wrote: > > I guess, it could be possible running two squids one cache-only and > > the other delay_pool-only(with caching disabled) chained > > > > On 6/25/06, Santosh Rani <[EMAIL PROTECTED]> wrote: > > > Hello, > > > Is it possible? I want that the objects from the cache should not be > > > served instantly. > > > Your help is needed please. > > > Regards > > > > > > > > > -- > > Mehdi Sarmadi > > >
Re: [squid-users] delay access to cached objects
Thanks Mehdi, I shall try the path you have shown. Regards On 25/06/06, Mehdi Sarmadi <[EMAIL PROTECTED]> wrote: > I guess, it could be possible running two squids one cache-only and > the other delay_pool-only(with caching disabled) chained > > On 6/25/06, Santosh Rani <[EMAIL PROTECTED]> wrote: > > Hello, > > Is it possible? I want that the objects from the cache should not be > > served instantly. > > Your help is needed please. > > Regards > > > > > -- > Mehdi Sarmadi >
[squid-users] delay access to cached objects
Hello, Is it possible? I want that the objects from the cache should not be served instantly. Your help is needed please. Regards
[squid-users] Re:Thanks for the response please; proxy.pac
Thanks for the replies. Regards On 19/04/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: tis 2006-04-18 klockan 20:42 +0200 skrev Joost de Heer: > I think it uses the cached proxy.pac. Yes, but it is almost trivial to make the cached proxy.pac instruct the browser to go direct when not connected to the office network. Regards Henrik -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBERhNn516QwDnMM9sRAgTyAJ9WKocWbbl+LTQVVzxwqgTcDD1MBgCfQNcJ ob68kxtm794WRJItZe+mH10= =xCPb -END PGP SIGNATURE-