Search squid archive

RE: Errors when Starting Squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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@xxxxxxxxxxxxx [mailto:squid3@xxxxxxxxxxxxx] 
Sent: 02 March 2007 14:54
To: WRIGHT Alan
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  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





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux