Re: [squid-users] Errors when Starting Squid
Folks, When I start squid, i get the following errors: helperOpenServers: Starting 10 'sqred.plx' processes 2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec format error snip many duplicates I have noticed that it is due to this command in the .conf file url_rewrite_program c:/sqred/sqred.plx When this line is commented, the proxy works fine. Does anyone have an idea as to what the Exec Format error is? Thanks Alan This is squid attempting to start its child processes. As it does so Windows returns the Exec format error error and causes squid to abandon the startup procedure. The Windows Server Documentation indicates this error is given out by windows when a binary file cannot be executed. Usually on corrupt binaries. Check that the c:/sqred/sqred.plx file is actually an executable format in win32 acceptable format. The windows command line should be able to execute it or give you a better description of the problem. Amos
RE: [squid-users] Errors when Starting Squid
Hi Amos, I gave up on the windows port, I installed again on FC5 and then run again. Once I had setup permissions on the scripts, modified squid.conf to suit the script name etc... Squid started and is now running perfectly with a basic re-write script so all it does is put STDIN to STDOUT. Now I need to understand what coming in from STDIN and manipulate it :-) If I get some time I will try to work out why the windows port wont run the .plx file. If I open cmd line in windows, and type the script name, it runs perfectly, so I am not entirely sure why its not running when called by squid Thanks Alan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 March 2007 14:54 To: WRIGHT Alan Cc: squid-users@squid-cache.org Subject: Re: [squid-users] Errors when Starting Squid Folks, When I start squid, i get the following errors: helperOpenServers: Starting 10 'sqred.plx' processes 2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec format error snip many duplicates I have noticed that it is due to this command in the .conf file url_rewrite_program c:/sqred/sqred.plx When this line is commented, the proxy works fine. Does anyone have an idea as to what the Exec Format error is? Thanks Alan This is squid attempting to start its child processes. As it does so Windows returns the Exec format error error and causes squid to abandon the startup procedure. The Windows Server Documentation indicates this error is given out by windows when a binary file cannot be executed. Usually on corrupt binaries. Check that the c:/sqred/sqred.plx file is actually an executable format in win32 acceptable format. The windows command line should be able to execute it or give you a better description of the problem. Amos
Re: [squid-users] Errors when Starting Squid
Hi, At 22.52 01/03/2007, WRIGHT Alan wrote: Folks, When I start squid, i get the following errors: helperOpenServers: Starting 10 'sqred.plx' processes 2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec format error You should read the Windows Compatibility Notes in the release notes of Squid 2.6: On Windows you must also specify the command interpreter needed for the execution of scripts. 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] Errors when Starting Squid
Alan, A couple of possibilities here. First, when you open the command line do you just type the script name? If so and it works, are there any other sqred.plx files on the disk (somewhere in the path)? Is the folder sqred in the path? Have you tried changing / to \ in the squid.conf command? Dave -Original Message- From: WRIGHT Alan [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 11:14 AM To: [EMAIL PROTECTED] Cc: squid-users@squid-cache.org Subject: RE: [squid-users] Errors when Starting Squid Hi Amos, I gave up on the windows port, I installed again on FC5 and then run again. Once I had setup permissions on the scripts, modified squid.conf to suit the script name etc... Squid started and is now running perfectly with a basic re-write script so all it does is put STDIN to STDOUT. Now I need to understand what coming in from STDIN and manipulate it :-) If I get some time I will try to work out why the windows port wont run the .plx file. If I open cmd line in windows, and type the script name, it runs perfectly, so I am not entirely sure why its not running when called by squid Thanks Alan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 March 2007 14:54 To: WRIGHT Alan Cc: squid-users@squid-cache.org Subject: Re: [squid-users] Errors when Starting Squid Folks, When I start squid, i get the following errors: helperOpenServers: Starting 10 'sqred.plx' processes 2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec format error snip many duplicates I have noticed that it is due to this command in the .conf file url_rewrite_program c:/sqred/sqred.plx When this line is commented, the proxy works fine. Does anyone have an idea as to what the Exec Format error is? Thanks Alan This is squid attempting to start its child processes. As it does so Windows returns the Exec format error error and causes squid to abandon the startup procedure. The Windows Server Documentation indicates this error is given out by windows when a binary file cannot be executed. Usually on corrupt binaries. Check that the c:/sqred/sqred.plx file is actually an executable format in win32 acceptable format. The windows command line should be able to execute it or give you a better description of the problem. Amos
RE: [squid-users] Errors when Starting Squid
Yes Guido, your right, I missed that on the rel notes :-O Thanks for the pointer Regards Alan -Original Message- From: Guido Serassio [mailto:[EMAIL PROTECTED] Sent: 02 March 2007 16:27 To: WRIGHT Alan; squid-users@squid-cache.org Subject: Re: [squid-users] Errors when Starting Squid Hi, At 22.52 01/03/2007, WRIGHT Alan wrote: Folks, When I start squid, i get the following errors: helperOpenServers: Starting 10 'sqred.plx' processes 2007/03/01 21:45:50| ipcCreate: CHILD: c:/sqred/sqred.plx: (8) Exec format error You should read the Windows Compatibility Notes in the release notes of Squid 2.6: On Windows you must also specify the command interpreter needed for the execution of scripts. 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/