Hi,

just verified your minimal configuration with a clean Radiator-4.11 plus 
patches installation:

   [root@test-centos64 Radiator-4.11]# cat /tmp/radius.cfg
   Foreground
   LogStdout
   LogDir  .
   DbDir   .
   Trace   4

   <AuthBy INTERNAL>
          Identifier myinternal
          AuthResult REJECT
   </AuthBy>

   <Client DEFAULT>
          Secret  mysecret
   </Client>

   <Handler>
          AuthBy myinternal
   </Handler>
   [root@test-centos64 Radiator-4.11]# radiusd -config_file /tmp/radius.cfg 
-trace 5
   Fri Jul  5 23:07:02 2013: DEBUG: Finished reading configuration file 
'/tmp/radius.cfg'
   Fri Jul  5 23:07:02 2013: DEBUG: Reading dictionary file './dictionary'
   Fri Jul  5 23:07:02 2013: DEBUG: Creating authentication port 0.0.0.0:1645
   Fri Jul  5 23:07:02 2013: DEBUG: Creating accounting port 0.0.0.0:1646
   Fri Jul  5 23:07:02 2013: NOTICE: Server started: Radiator 4.11 on 
test-centos64.cksoft.de

there must be something wrong in your installation or even your config.

># radiusd -c -log_stdout -trace 5 -config_file /tmp/radiator-config
> Fri Jul  5 18:30:30 2013: WARNING: Could not find AuthBy clause with 
> Identifier myinternal
> Fri Jul  5 18:30:30 2013: DEBUG: Finished reading configuration file 
> '/tmp/radiator-config'

You might want to reverify the minimal configuration.

I typoed Identifier myself a couple of days ago.

Is above also the error message you get from your full configuration ?

Greetings
Christian





On Fri, 5 Jul 2013, Karl Gaissmaier wrote:

> Hi Christian, RADIATOR team and listeners,
>
> Am 05.07.2013 18:57, schrieb Christian Kratzer:
> ...
>
>> just saw that you start with:
>>
>>      <Realm DEFAULT>
>>
>> and close with:
>>
>>      </Handler>
>
> uups, sorry but in my original cfg there isn't such a typo
> and if I correct this stupid error it's the same problem
> as before.
>
>> sounds fishy.   How did you perform the update ?
>
> It's solaris, I use an own perl installation only for RADIATOR in order
> not to depend on the system /usr/bin/perl with the needed CPAN
> modules for RADIATOR.
>
> The perl installation is the same for Radiator-4.9 and 4.11.
> I install it via:
>
> untar thew 4.11 tgz to /radiator/build-4.11
> cd /radiator/build-4.11
> untar the 4.11 patches
>
> # /special/perl-path/bin/perl Makefile.PL PREFIX=/radiator/install-4.11
> # make
> # make test
> # make install
> # make clean
>
> and then to test the new installation with this special perl and
> with this special INCLUDE path:
>
>> /special/perl-path/bin/perl -I /radiator/install-4.11/lib/site_perl/ 
>> /radiator/install-4.11/bin/radiusd -c -log_stdout -trace 5 -config_file 
>> /tmp/radiator-config
>
> Did it again, checked the files and rights and still the same error.
> BTW, it's not the first time that I update it in this way.
>
> Sounds really fishy, just wondering if someone else sees the same problem.
>
>>
>> Above configuration should most certainly work.
>>
>> Could be you have a strange mix of old, new and partially installed Radius 
>> modules
>> and perhaps multiple versions of radiusd on your system.
>>
>> What does following show:
>>
>>     find / -name Radius.pm
>>     find / -name AuthINTERNAL.pm
>>     find / -name radiusd
>
> foobar# find /radiator/ -name Radius.pm
> /radiator/build/Radiator-4.9/Radius/Radius.pm
> /radiator/build/Radiator-4.11/Radius/Radius.pm
> /radiator/install-4.9/lib/site_perl/5.12.4/Radius/Radius.pm
> /radiator/install-4.11/lib/site_perl/5.12.4/Radius/Radius.pm
>
> foobar# find /radiator/ -name radiusd
> /radiator/build/Radiator-4.9/radiusd
> /radiator/build/Radiator-4.11/radiusd
> /radiator/install-4.9/bin/radiusd
> /radiator/install-4.11/bin/radiusd
>
> foobar# find /radiator/ -name AuthINTERNAL.pm
> /radiator/build/Radiator-4.9/Radius/AuthINTERNAL.pm
> /radiator/build/Radiator-4.11/Radius/AuthINTERNAL.pm
> /radiator/install-4.9/lib/site_perl/5.12.4/Radius/AuthINTERNAL.pm
> /radiator/install-4.11/lib/site_perl/5.12.4/Radius/AuthINTERNAL.pm
>
> Everything as expected and often done during the last 10++ years
>
> Thanks for your help and hints so far
>    Charly
> _______________________________________________
> radiator mailing list
> radiator@open.com.au
> http://www.open.com.au/mailman/listinfo/radiator
>

-- 
Christian Kratzer                      CK Software GmbH
Email:   c...@cksoft.de                  Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0          D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9          HRB 245288, Amtsgericht Stuttgart
Web:     http://www.cksoft.de/         Geschaeftsfuehrer: Christian Kratzer
_______________________________________________
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator

Reply via email to