[RADIATOR] Radwho.pl page failed to open: specified CGI application misbehaved by not returning a complete set of HTTP headers. on Windows2003/IIS
scottshaw at 163.com
scottshaw at 163.com
Sun Aug 17 05:45:52 CDT 2008
Hello Hugh
Any update regarding how to handle the error I mentioned last time? The
reason I test radwho is I want to have the feature to terminate some users
from GUI for some reasons. I think the delete session feature of radwho may
work. I change the DBI: ODBC:Radmin setting in the radwho.pl file and user
command line tested it, and works well. and I can delete session from
CLI.But it gives me that error again when I use IE to open the url
http://localhost.... /scripts/radmin/private/radwho.pl
Can you advise a bit where I can check? And I didn't find any feature like
this in radmin...
Thanks!
Regards
Scott
----- Original Message -----
From: "Hugh Irvine" <hugh at open.com.au>
To: <scottshaw at 163.com>
Cc: "Radiator" <radiator at open.com.au>
Sent: Thursday, July 10, 2008 5:06 PM
Subject: Re: [RADIATOR] Radwho.pl page failed to open: specified CGI
application misbehaved by not returning a complete set of HTTP headers. on
Windows2003/IIS
>
> Hello Scott -
>
> Radmin already contains this functionality - why do you want to use
> radwho?
>
> regards
>
> Hugh
>
>
> On 10 Jul 2008, at 18:46, <scottshaw at 163.com> wrote:
>
>> Hello
>> I am trying the radwho feature to manage the sessions, but got the error
>> to open this page. The environment is:
>> windows 2003 server, IIS web server, Radiator 4.2, Radmin
>> 1.10,ActivePerl-5.8.8.822-MSWin32-x86-280952.msi, MS SQL 2003 enterprise
>> version. All configured well and works. Radmin works with MS SQL too. I
>> follow the ref instruction to copy the radwho.pl into
>> c:\inetpub\scripts\radmin\priviate\ director ,same as listusers.pl as
>> those pages work well.I configured IIS to ask for access control to this
>> directory which works well too.But when I try to launch the radwho.pl
>> page with IE7, it give me the error below. I tried to copied a few lines
>> from listusers.pl into this file and it still doesn't work. The lines
>> are:
>>
>> #!C:\Perl\bin\perl.exe
>> # -*- mode: Perl -*-
>> # radwho.pl
>> #
>> # CGI script to show current sessions
>> #
>> # Author: Mike
>> # Copyright (C) 1997 Open System Consultants
>> # $Id: radwho.pl,v 1.4 2002/06/12 05:41:11 mikem Exp $
>>
>> BEGIN
>> {
>> # Not all web servers start us off in the directory where
>> # this executable is. Lets be consistent.
>> chdir('Radmin/private') if $^O eq 'MSWin32';
>> }
>> Other portion I changed is I added this below:
>>
>> $DBSource = 'dbi:ODBC:radmin';
>> $DBUsername = 'radmin';
>> $DBAuth = 'radminpw';
>>
>>
>>
>> I tested on CLI with this this result which looks correct:
>> C:\Inetpub\Scripts\Radmin\private>perl radwho.pl
>> Current Sessions by User-Name at Thu Jul 10 16:43:00 2008
>> User-Name NAS-Identifier NAS-Port Acct-Session-Id
>> Timestamp
>> Time On Framed-IP-Address NAS-Port-Type Service-Type
>> test1 203.63.154.1 1234 999001 Wed May 14 00:30:01 2008
>> 57 16:12
>> :59 Async Framed-User
>>
>> C:\Inetpub\Scripts\Radmin\private>
>>
>> Does it need to run Make install.pl to install it again?
>> Just don't understand why the page cannot show . Any advice? Thanks !
>>
>> best regards
>> Scott
>>
>> _______________________________________________
>> radiator mailing list
>> radiator at open.com.au
>> http://www.open.com.au/mailman/listinfo/radiator
>
>
>
> NB:
>
> Have you read the reference manual ("doc/ref.html")?
> Have you searched the mailing list archive (www.open.com.au/archives/
> radiator)?
> Have you had a quick look on Google (www.google.com)?
> Have you included a copy of your configuration file (no secrets),
> together with a trace 4 debug showing what is happening?
> Have you checked the RadiusExpert wiki:
> http://www.open.com.au/wiki/index.php/Main_Page
>
> --
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. Available on *NIX, *BSD, Windows, MacOS X.
> Includes support for reliable RADIUS transport (RadSec),
> and DIAMETER translation agent.
> -
> Nets: internetwork inventory and management - graphical, extensible,
> flexible with hardware, software, platform and database independence.
> -
> CATool: Private Certificate Authority for Unix and Unix-like systems.
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG. Version: 7.5.524 / Virus Database: 270.4.7/1542 - Release
> Date: 7/9/2008 6:50 AM
>
>
More information about the radiator
mailing list