AW: [squid-users] [Squid-Users] Problems with cachemgr.cgi

From: Altrock, Jens <Jens.Altrock@dont-contact.us>
Date: Tue, 16 Mar 2004 08:28:15 +0100

I was sure until you mentioned that ;)
No, just kidding, I am not at all sure now. But strange is that there comes
a user/password/domain
dialog box after renaming the file to .exe and trying to access the cachemgr
via browser.. anyway
I have full permissions on that file on IIS 5...

Strange is also the error message I get when executing the .cgi on IIS 5. It
says:

%1 is no Win32-application.

So I think there could be an error within the sources... I'll check that;
thanks for the help

Regards,

Jens Altrock

-----Ursprüngliche Nachricht-----
Von: Serassio Guido [mailto:guido.serassio@acmeconsulting.it]
Gesendet: Montag, 15. März 2004 21:16
An: Henrik Nordstrom; Altrock, Jens
Cc: squid-users@squid-cache.org
Betreff: Re: [squid-users] [Squid-Users] Problems with cachemgr.cgi

Hi,

At 14.52 15/03/2004, Henrik Nordstrom wrote:

>Rename cachemgr.cgi to cachemgr.exe

Not sure that this is the problem:

I'm running cachemgr.cgi without any problems on IIS 5.0 and Apache for
Windows.
No special configuration is needed.

Are You sure that your binaries are not corrupted ?

Regards

Guido

>Regards
>Henrik
>
>On Mon, 15 Mar 2004, Altrock, Jens wrote:
>
> > Hi Folks,
> >
> > Again it's me. Got a little problem using cachemgr.cgi on an XAMPP
> > installation running under Win2000, also script doesn't work on IIS 5.0
> > using Squid 2.5STABLE5.
> >
> > I first tried using IIS 5.0 on Windows 2000; after making the necessary
> > settings and trying to run the script IIS says that %1 is no Win32
> > application.
> > So I tried using XAMPP, and got a HTTP error 500 (internal server
error).
> > The log file says the following:
> >
> > [Mon Mar 15 07:42:14 2004] [error] [client xxx]
> > D:/xampp/cgi-bin/cachemgr.cgi is not executable; ensure interpreted
scripts
> > have "#!" first line
> > [Mon Mar 15 07:42:14 2004] [error] [client xxx] (9)Bad file descriptor:
> > don't know how to spawn child process: D:/xampp/cgi-bin/cachemgr.cgi
> > [Mon Mar 15 07:46:29 2004] [error] [client xxx]
> > D:/xampp/cgi-bin/cachemgr.cgi is not executable; ensure interpreted
scripts
> > have "#!" first line
> > [Mon Mar 15 07:46:29 2004] [error] [client xxx] (9)Bad file descriptor:
> > don't know how to spawn child process: D:/xampp/cgi-bin/cachemgr.cgi
> > [Mon Mar 15 07:53:37 2004] [error] [client xxx]
> > D:/xampp/cgi-bin/cachemgr.cgi is not executable; ensure interpreted
scripts
> > have "#!" first line
> > [Mon Mar 15 07:53:37 2004] [error] [client xxx] (9)Bad file descriptor:
> > don't know how to spawn child process: D:/xampp/cgi-bin/cachemgr.cgi
> > [Mon Mar 15 07:54:55 2004] [error] [client xxx]
> > D:/xampp/cgi-bin/cachemgr.cgi is not executable; ensure interpreted
scripts
> > have "#!" first line
> > [Mon Mar 15 07:54:55 2004] [error] [client xxx] (9)Bad file descriptor:
> > don't know how to spawn child process: D:/xampp/cgi-bin/cachemgr.cgi
> >
> > So apache config is all right though... I deleted and recompiled the
> > cachemgr.cgi too, but that didn't help too... any ideas?
> >
> > Regards,
> >
> > Jens Altrock
> > ###########################################
> > Diese Nachricht wurde von F-Secure Anti-Virus gescannt.
> >
> > This message has been scanned by F-Secure Anti-Virus.
> >

-
========================================================
Guido Serassio
Acme Consulting S.r.l.
Via Gorizia, 69 10136 - Torino - ITALY
Tel. : +39.011.3249426 Fax. : +39.011.3293665
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
###########################################
Diese Nachricht wurde von F-Secure Anti-Virus gescannt.

This message has been scanned by F-Secure Anti-Virus.
Received on Tue Mar 16 2004 - 00:28:29 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:02 MST