RE: [squid-users] Error 1067 when starting service in Windows 2003 Server
Could not start the Squid service on local computer. Error 1067: the process terminated unexpectedly. In case you didn't install squid in c:\squid: Did you run 'squid -O -f d:\path\to\config -n Servicename' to tell the service where the config is? And in addition to Guido's checks: - Check the eventlog. A short (and translated) version of the HOWTO for windows that I use at work: - Download - Install in d:\apps\squid\VERSION - Config (we have a template that sets up basic access) - Install service: sbin\squid -f etc\squid.conf -n SquidVERSION (-- Servicename may NOT contain spaces!) - Install cache dirs: sbin\squid -z -f etc\squid.conf -n SquidVERSION - Configure service: sbin\squid -O -f d:\apps\squid\VERSION\etc\squid.conf -n SquidVERSION - Start service Joost
[squid-users] R: [squid-users] Error 1067 when starting service in Windows 2003 Server
Hi, The problem is IIS: it will bind to ANY () IP addresses of the machine, even if there is no website using it http://support.microsoft.com/kb/813368/ Regards Guido Serassio Acme Consulting S.r.l. - Microsoft Certified Partner Via Lucia Savarino, 110098 - Rivoli (TO) - ITALY Tel. : +39.011.9530135 Fax. : +39.011.9781115 Email: i...@acmeconsulting.it WWW: http://www.acmeconsulting.it/ -Messaggio originale- Da: Philip de Souza [mailto:pdeso...@itstrategists.com] Inviato: mercoledì 15 aprile 2009 18.49 A: Guido Serassio; squid-users@squid-cache.org Oggetto: RE: [squid-users] Error 1067 when starting service in Windows 2003 Server Hi Guido, Thank you for your reply. The cache log states the following at the very end: 2009/04/15 11:11:11| Loaded Icons. 2009/04/15 11:11:11| commBind: Cannot bind socket FD 12 to xx.xx.xxx.xxx:80: (10013) WSAEACCES, Permission denied. FATAL: Cannot open HTTP Port Squid Cache (Version 2.7.STABLE5): Terminated abnormally. Our server has 3 IP addresses linked onto the one NIC, could it have something to do with this do you think? The other two IPs are being used by two websites already, but the IP we are using is free... Many thanks, Philip -Original Message- From: Guido Serassio [mailto:guido.seras...@acmeconsulting.it] Sent: Wednesday, April 15, 2009 4:06 AM To: Philip de Souza; squid-users@squid-cache.org Subject: Re: [squid-users] Error 1067 when starting service in Windows 2003 Server Hi, At 22.11 14/04/2009, Philip de Souza wrote: Wow this is frustrating! Sorry, but I need help again. I had everything working on our testbed Windows 2003 platform (for reverse proxy accelerator services), and so when I go and deploy Squid in the same fashion on the live proxy server, I get the following when trying to start the SQUID service: Could not start the Squid service on local computer. Error 1067: the process terminated unexpectedly. I actually received this error when trying to start it on the test server as well, but was able to resolve it by upgrading the server to SP2. The live server already has SP2 installed but I installed all outstanding patches on it anyway, just in case - no deal. On both machines I ran the squid -z command to establish the log directory first. I'm really floored by why this is happening though and would GREATLY appreciate anybody's help. We're supposed to be going live with this now and this recurring issue is really raining on the parade! Many thanks as ever. Look the following: - cache.log messages - squid.exe.log in the sbin folder - Try to start squid from command line and see what happens 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: guido.seras...@acmeconsulting.it WWW: http://www.acmeconsulting.it/
RE: [squid-users] Error 1067 when starting service in Windows 2003 Server
2009/04/15 11:11:11| Loaded Icons. 2009/04/15 11:11:11| commBind: Cannot bind socket FD 12 to xx.xx.xxx.xxx:80: (10013) WSAEACCES, Permission denied. IIS automatically binds to *:80, even if the websites are all bound to a single IP address. Solution: disable socket pooling in IIS: http://support.microsoft.com/kb/238131 Joost
Re: [squid-users] Error 1067 when starting service in Windows 2003 Server
Hi, At 22.11 14/04/2009, Philip de Souza wrote: Wow this is frustrating! Sorry, but I need help again. I had everything working on our testbed Windows 2003 platform (for reverse proxy accelerator services), and so when I go and deploy Squid in the same fashion on the live proxy server, I get the following when trying to start the SQUID service: Could not start the Squid service on local computer. Error 1067: the process terminated unexpectedly. I actually received this error when trying to start it on the test server as well, but was able to resolve it by upgrading the server to SP2. The live server already has SP2 installed but I installed all outstanding patches on it anyway, just in case - no deal. On both machines I ran the squid -z command to establish the log directory first. I'm really floored by why this is happening though and would GREATLY appreciate anybody's help. We're supposed to be going live with this now and this recurring issue is really raining on the parade! Many thanks as ever. Look the following: - cache.log messages - squid.exe.log in the sbin folder - Try to start squid from command line and see what happens 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: guido.seras...@acmeconsulting.it WWW: http://www.acmeconsulting.it/
RE: [squid-users] Error 1067 when starting service in Windows 2003 Server
Hi Guido, Thank you for your reply. The cache log states the following at the very end: 2009/04/15 11:11:11| Loaded Icons. 2009/04/15 11:11:11| commBind: Cannot bind socket FD 12 to xx.xx.xxx.xxx:80: (10013) WSAEACCES, Permission denied. FATAL: Cannot open HTTP Port Squid Cache (Version 2.7.STABLE5): Terminated abnormally. Our server has 3 IP addresses linked onto the one NIC, could it have something to do with this do you think? The other two IPs are being used by two websites already, but the IP we are using is free... Many thanks, Philip -Original Message- From: Guido Serassio [mailto:guido.seras...@acmeconsulting.it] Sent: Wednesday, April 15, 2009 4:06 AM To: Philip de Souza; squid-users@squid-cache.org Subject: Re: [squid-users] Error 1067 when starting service in Windows 2003 Server Hi, At 22.11 14/04/2009, Philip de Souza wrote: Wow this is frustrating! Sorry, but I need help again. I had everything working on our testbed Windows 2003 platform (for reverse proxy accelerator services), and so when I go and deploy Squid in the same fashion on the live proxy server, I get the following when trying to start the SQUID service: Could not start the Squid service on local computer. Error 1067: the process terminated unexpectedly. I actually received this error when trying to start it on the test server as well, but was able to resolve it by upgrading the server to SP2. The live server already has SP2 installed but I installed all outstanding patches on it anyway, just in case - no deal. On both machines I ran the squid -z command to establish the log directory first. I'm really floored by why this is happening though and would GREATLY appreciate anybody's help. We're supposed to be going live with this now and this recurring issue is really raining on the parade! Many thanks as ever. Look the following: - cache.log messages - squid.exe.log in the sbin folder - Try to start squid from command line and see what happens 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: guido.seras...@acmeconsulting.it WWW: http://www.acmeconsulting.it/
[squid-users] Error 1067 when starting service in Windows 2003 Server
Wow this is frustrating! Sorry, but I need help again. I had everything working on our testbed Windows 2003 platform (for reverse proxy accelerator services), and so when I go and deploy Squid in the same fashion on the live proxy server, I get the following when trying to start the SQUID service: Could not start the Squid service on local computer. Error 1067: the process terminated unexpectedly. I actually received this error when trying to start it on the test server as well, but was able to resolve it by upgrading the server to SP2. The live server already has SP2 installed but I installed all outstanding patches on it anyway, just in case - no deal. On both machines I ran the squid -z command to establish the log directory first. I'm really floored by why this is happening though and would GREATLY appreciate anybody's help. We're supposed to be going live with this now and this recurring issue is really raining on the parade! Many thanks as ever. Philip de Souza 2001 S. Barrington Ave., Suite 100 Los Angeles, CA 90025 Tel: (310) 231-0488 pdeso...@itstrategists.com