Comments (21)
I was having a lot of trouble configuring the cache: squid -z returned errors in the cache log. No matter how much I follow the steps to the letter, the squid -z was reluctant to initialize the cache folders.
Then I read about the %PATH%: So I added "C:\Squid\bin" to the %PATH% (please, for the love of Kthulu do not REPLACE the existing PATH value, just add the new string).
And then I attempted squid -z IN the cache folder and voilà! it worked!!!
So I would consider %PATH% > add > "C:\Squid\bin" to be the answer I was looking for.
from squid-windows.
Hi ray73864,
did you precisely follow the steps described here?
http://docs.diladele.com/faq/squid/cache_squid_windows.html
Thank you!
-e
from squid-windows.
I did, yes. Followed it exactly several times and not once did it work for
me. This is on Windows Server 2012 R2.
On Saturday, June 20, 2015, ea-at-diladele-com [email protected]
wrote:
Hi ray73864,
did you precisely follow the steps described here?
http://docs.diladele.com/faq/squid/cache_squid_windows.htmlThank you!
-e—
Reply to this email directly or view it on GitHub
#40 (comment)
.
from squid-windows.
Stop the service.
Write in your conf:
cache_dir aufs c:/squidcachedir/cache 3000 16 256
Then in the squid terminal: squid -z
Restart the service.
This works for me on Win2008R2
from squid-windows.
That's basically what I have on my Win2k12R2 server, but it isn't working
as it continously tells me in the logfile that I need to run 'squid -z'
even though I have several times, and when I look in my squid cachedir,
there isn't any directories in there that should have been created, such as
00, 01, etc...
On 26 June 2015 at 17:49, RostorX [email protected] wrote:
cache_dir aufs c:/squidcachedir/cache 3000 16 256
This works on Win2008R2
—
Reply to this email directly or view it on GitHub
#40 (comment)
.
from squid-windows.
Did you give EVERYONE rights to cachedir folder ?
from squid-windows.
I would have to check.
If that is what the issue is then I would respectfully ask that the wiki be
updated to reflect that. I made the assumption (possibly a faulty one at
that) that because I was logged in as the administrator and running 'squid
-z' as the administrator when I open up the command prompt (yes, I am doing
'Command Prompt (Admin)' when I right click on the start button) that it
would use the administrator privs to set up the cachedir.
On 26 June 2015 at 18:06, RostorX [email protected] wrote:
Did you give EVERYONE rights to cachedir folder ?
—
Reply to this email directly or view it on GitHub
#40 (comment)
.
from squid-windows.
Hi ray,
Did you have a chance to check RostorX's suggestion? Did it solve you problem?
Thanks!
-e
from squid-windows.
I won't be able to try it until later on today when I can get to the
primary school I work at to try it out.
Will come back with a yay or nay then.
On 27 June 2015 at 06:46, ea-at-diladele-com [email protected]
wrote:
Hi ray,
Did you have a chance to check RostorX's suggestion? Did it solve you
problem?
Thanks!
-e—
Reply to this email directly or view it on GitHub
#40 (comment)
.
from squid-windows.
did it work? thank you!
from squid-windows.
3.5.6 is on site - squid.diladele.com
from squid-windows.
The symptoms are you are not running the "squid -z" from the squid terminal (should be on the desktop after installation), but a simple cmd.exe
If that is the case , please make sure C:\Squid\bin is in the %PATH% variable
from squid-windows.
I would appreciate if you could confirm. Thank you!
from squid-windows.
That appears to have worked on my test machine, though I won't be able to test it on site for a couple of weeks as the site (in this case a primary school) is locked up due to school holidays.
from squid-windows.
Thank you! I will close this issue for now, if you still bump into any troubles drop an email at support @ diladele.com or open a new issue.
from squid-windows.
Iam also facing same problem.
squid conf -- cache_dir ufs c:/squid/var/cache/squid/cache 100 16 256
when i run squid -z getting error "assertion failed: Kid.cc:45: "cpid > 0" in cache.log
hence its not creating swap folders in cache directory
gave full rights for everyone on cache folder
from squid-windows.
Please make sure you precisely follow the steps described here
http://docs.diladele.com/faq/squid/cache_squid_windows.html
You have to perform "squid -z" in the Squid Terminal window that the squid installer creates on your desktop.
from squid-windows.
YES, Its working now.
Thanks.
from squid-windows.
Ok clear. Thanks a lot for your research!
from squid-windows.
@ra-at-diladele-com Hopefully, the part where Squid\bin
needs to be in %PATH%
should be documented! I usually don't use the shortcuts created, and just cd
into the squid bin
dir. The assertion failed: Kid.cc:45: "cpid > 0"
gave me a headache, where it just needed to be in path.
tl;dr
cd C:\Squid\bin
path %cd%;%path%
squid.exe -z
That's it :)
from squid-windows.
Also: please note that you must install squid onto an unencrypted drive/partition. Mine had Bitlocker activated and it took me hours to realise. Uninstall, re-install on a different drive with the same conf - fixed
from squid-windows.
Related Issues (20)
- Not work in win10 21H2
- Squid 4.14 for Windows runs into stackdumpfile HOT 12
- squid ignores default DNS servers HOT 4
- Squid 3.5.27 for windows - Squid close proxy port with errors
- Enable X-Forward-For HOT 1
- Thank you for the great product!
- How to Install Squid 3.5.28 | Squid 4.14 for Windows not working on Windows Server
- SSL Bumping may cause an Unreachable Network and/or certificate issues HOT 1
- Under Windows fail to setup cache dir HOT 1
- Download Squid for Windows 3.5.28? HOT 1
- THIS PROJECT IS DEAD AND IT DOESN'T WORK ON WINDOWS HOT 6
- Squid 4.14 and helpers use 100% of CPU HOT 4
- ssl_crtd.exe is missing from Windows installer? HOT 2
- Linux Lite Version (squid-openssl) Does Not Require Certificate For Client - Request, Can We have that on your builds for windows? HOT 1
- You have too many 'http_port' , The limit is 128 HTTP ports HOT 3
- Squid for Windows 4.14 not working on Windows Server 2019 HOT 10
- [Question] Possible to use network interface name instead of IP address?
- Install without Administrator rights
- Squid 4.14 installed on Windows 10 from MSI is missing cygcrypt-2.dll HOT 18
- Is it possible run squid-windows service on 'Network Service' Logon ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squid-windows.