RE: [squid-users] Errors when Starting Squid

From: Dave Rhodes <DaveRhodes@dont-contact.us>
Date: Fri, 2 Mar 2007 11:50:10 -0500

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:alan.wright@volubill.com]
Sent: Friday, March 02, 2007 11:14 AM
To: squid3@treenet.co.nz
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: squid3@treenet.co.nz [mailto:squid3@treenet.co.nz]
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
Received on Fri Mar 02 2007 - 09:52:18 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:01 MDT