RE: [squid-users] Errors when Starting Squid

From: WRIGHT Alan <alan.wright@dont-contact.us>
Date: Fri, 2 Mar 2007 17:14:27 +0100

 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:15:31 MST

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