Problem When Loading auth_radius

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem When Loading auth_radius

ASHWINI NAIDU
hi all,

When i try to load the module auth_radius and start openser i am getting the following errors


Jan 13 23:35:32 localhost openser: INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected)
Jan 13 23:35:32 localhost /sbin/openser[18155]: NOTICE:core:main: version: openser 1.3.4-notls (i386/linux)
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:core:main: using 128 Mb shared memory
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:core:main: using 1 Mb private memory per process
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:sl:mod_init: Initializing StateLess engine
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:tm:mod_init: TM - initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:maxfwd:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:usrloc:ul_init_locks: locks array size 512
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:registrar:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:textops:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: WARNING:permissions:parse_config_file: file not found: //etc/openser/permissions.allow
Jan 13 23:35:32 localhost /sbin/openser[18155]: WARNING:permissions:mod_init: default allow file (//etc/openser/permissions.allow) not found => empty rule set
Jan 13 23:35:32 localhost /sbin/openser[18155]: WARNING:permissions:parse_config_file: file not found: //etc/openser/permissions.deny
Jan 13 23:35:32 localhost /sbin/openser[18155]: WARNING:permissions:mod_init: default deny file (//etc/openser/permissions.deny) not found => empty rule set
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:permissions:init_trusted: db_url parameter of permissions module not set, disabling allow_trusted
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:permissions:init_addresses: db_url parameter of permissions module not set, disabling allow_addr
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:avpops:avpops_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:xlog:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:acc:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:auth:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:auth_db:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:auth_radius:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: ERROR:auth_radius:mod_init: auth_radius: can't get code for the Digest-Response attribute
Jan 13 23:35:32 localhost /sbin/openser[18155]: ERROR:core:init_mod: failed to initialize module auth_radius
Jan 13 23:35:32 localhost /sbin/openser[18155]: ERROR:core:main: error while initializing modules

What does it mean by "can't get code for the Digest-Response attribute"

how can i make it available for it.

--
Thankin You,
Ashwini BR Naidu

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Problem When Loading auth_radius

Norman Brandinger
The attribute you're looking for can be found in radiusclient-ng.

Regards,
Norm

ASHWINI NAIDU wrote:

> hi all,
>
> When i try to load the module auth_radius and start openser i am
> getting the following errors
>
>
> Jan 13 23:35:32 localhost openser: INFO:core:init_tcp: using epoll_lt
> as the TCP io watch method (auto detected)
> Jan 13 23:35:32 localhost /sbin/openser[18155]: NOTICE:core:main:
> version: openser 1.3.4-notls (i386/linux)
> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:core:main: using
> 128 Mb shared memory
> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:core:main: using
> 1 Mb private memory per process
> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:sl:mod_init:
> Initializing StateLess engine
> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:tm:mod_init: TM -
> initializing...
> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:maxfwd:mod_init:
> initializing...
> Jan 13 23:35:32 localhost /sbin/openser[18155]:
> INFO:usrloc:ul_init_locks: locks array size 512
> Jan 13 23:35:32 localhost /sbin/openser[18155]:
> INFO:registrar:mod_init: initializing...
> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:textops:mod_init:
> initializing...
> Jan 13 23:35:32 localhost /sbin/openser[18155]:
> WARNING:permissions:parse_config_file: file not found:
> //etc/openser/permissions.allow
> Jan 13 23:35:32 localhost /sbin/openser[18155]:
> WARNING:permissions:mod_init: default allow file
> (//etc/openser/permissions.allow) not found => empty rule set
> Jan 13 23:35:32 localhost /sbin/openser[18155]:
> WARNING:permissions:parse_config_file: file not found:
> //etc/openser/permissions.deny
> Jan 13 23:35:32 localhost /sbin/openser[18155]:
> WARNING:permissions:mod_init: default deny file
> (//etc/openser/permissions.deny) not found => empty rule set
> Jan 13 23:35:32 localhost /sbin/openser[18155]:
> INFO:permissions:init_trusted: db_url parameter of permissions module
> not set, disabling allow_trusted
> Jan 13 23:35:32 localhost /sbin/openser[18155]:
> INFO:permissions:init_addresses: db_url parameter of permissions
> module not set, disabling allow_addr
> Jan 13 23:35:32 localhost /sbin/openser[18155]:
> INFO:avpops:avpops_init: initializing...
> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:xlog:mod_init:
> initializing...
> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:acc:mod_init:
> initializing...
> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:auth:mod_init:
> initializing...
> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:auth_db:mod_init:
> initializing...
> Jan 13 23:35:32 localhost /sbin/openser[18155]:
> INFO:auth_radius:mod_init: initializing...
> *Jan 13 23:35:32 localhost /sbin/openser[18155]:
> ERROR:auth_radius:mod_init: auth_radius: can't get code for the
> Digest-Response attribute
> Jan 13 23:35:32 localhost /sbin/openser[18155]: ERROR:core:init_mod:
> failed to initialize module auth_radius
> Jan 13 23:35:32 localhost /sbin/openser[18155]: ERROR:core:main: error
> while initializing modules
> *
> What does it mean by "*can't get code for the Digest-Response attribute"
>
> how can i make it available for it.
> *
> --
> Thankin You,
> Ashwini BR Naidu
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Problem When Loading auth_radius

ASHWINI NAIDU
But i have made radiusclient.conf file available to it. what else has to be added to remove this error.

On Tue, Jan 13, 2009 at 6:14 PM, Norman Brandinger <[hidden email]> wrote:
The attribute you're looking for can be found in radiusclient-ng.

Regards,
Norm

ASHWINI NAIDU wrote:
hi all,

When i try to load the module auth_radius and start openser i am getting the following errors


Jan 13 23:35:32 localhost openser: INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected)
Jan 13 23:35:32 localhost /sbin/openser[18155]: NOTICE:core:main: version: openser 1.3.4-notls (i386/linux)
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:core:main: using 128 Mb shared memory
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:core:main: using 1 Mb private memory per process
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:sl:mod_init: Initializing StateLess engine
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:tm:mod_init: TM - initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:maxfwd:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:usrloc:ul_init_locks: locks array size 512
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:registrar:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:textops:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: WARNING:permissions:parse_config_file: file not found: //etc/openser/permissions.allow
Jan 13 23:35:32 localhost /sbin/openser[18155]: WARNING:permissions:mod_init: default allow file (//etc/openser/permissions.allow) not found => empty rule set
Jan 13 23:35:32 localhost /sbin/openser[18155]: WARNING:permissions:parse_config_file: file not found: //etc/openser/permissions.deny
Jan 13 23:35:32 localhost /sbin/openser[18155]: WARNING:permissions:mod_init: default deny file (//etc/openser/permissions.deny) not found => empty rule set
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:permissions:init_trusted: db_url parameter of permissions module not set, disabling allow_trusted
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:permissions:init_addresses: db_url parameter of permissions module not set, disabling allow_addr
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:avpops:avpops_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:xlog:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:acc:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:auth:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:auth_db:mod_init: initializing...
Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:auth_radius:mod_init: initializing...
*Jan 13 23:35:32 localhost /sbin/openser[18155]: ERROR:auth_radius:mod_init: auth_radius: can't get code for the Digest-Response attribute
Jan 13 23:35:32 localhost /sbin/openser[18155]: ERROR:core:init_mod: failed to initialize module auth_radius
Jan 13 23:35:32 localhost /sbin/openser[18155]: ERROR:core:main: error while initializing modules
*
What does it mean by "*can't get code for the Digest-Response attribute"

how can i make it available for it.
*
--
Thankin You,
Ashwini BR Naidu
------------------------------------------------------------------------

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 




--
Thankin You,
Ashwini BR Naidu

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Problem When Loading auth_radius

Norman Brandinger
Hi,

radiusclient.conf should have an entry that points to a dictionary. It's
this dictionary that should be able to locate the attribute in question
(either directly or though another included dictionary).

Regards,
Norm

ASHWINI NAIDU wrote:

> But i have made radiusclient.conf file available to it. what else has
> to be added to remove this error.
>
> On Tue, Jan 13, 2009 at 6:14 PM, Norman Brandinger <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     The attribute you're looking for can be found in radiusclient-ng.
>
>     Regards,
>     Norm
>
>     ASHWINI NAIDU wrote:
>
>         hi all,
>
>         When i try to load the module auth_radius and start openser i
>         am getting the following errors
>
>
>         Jan 13 23:35:32 localhost openser: INFO:core:init_tcp: using
>         epoll_lt as the TCP io watch method (auto detected)
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         NOTICE:core:main: version: openser 1.3.4-notls (i386/linux)
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:core:main: using 128 Mb shared memory
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:core:main: using 1 Mb private memory per process
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:sl:mod_init: Initializing StateLess engine
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:tm:mod_init: TM - initializing...
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:maxfwd:mod_init: initializing...
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:usrloc:ul_init_locks: locks array size 512
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:registrar:mod_init: initializing...
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:textops:mod_init: initializing...
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         WARNING:permissions:parse_config_file: file not found:
>         //etc/openser/permissions.allow
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         WARNING:permissions:mod_init: default allow file
>         (//etc/openser/permissions.allow) not found => empty rule set
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         WARNING:permissions:parse_config_file: file not found:
>         //etc/openser/permissions.deny
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         WARNING:permissions:mod_init: default deny file
>         (//etc/openser/permissions.deny) not found => empty rule set
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:permissions:init_trusted: db_url parameter of permissions
>         module not set, disabling allow_trusted
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:permissions:init_addresses: db_url parameter of
>         permissions module not set, disabling allow_addr
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:avpops:avpops_init: initializing...
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:xlog:mod_init: initializing...
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:acc:mod_init: initializing...
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:auth:mod_init: initializing...
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:auth_db:mod_init: initializing...
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         INFO:auth_radius:mod_init: initializing...
>         *Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         ERROR:auth_radius:mod_init: auth_radius: can't get code for
>         the Digest-Response attribute
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         ERROR:core:init_mod: failed to initialize module auth_radius
>         Jan 13 23:35:32 localhost /sbin/openser[18155]:
>         ERROR:core:main: error while initializing modules
>         *
>         What does it mean by "*can't get code for the Digest-Response
>         attribute"
>
>         how can i make it available for it.
>         *
>         --
>         Thankin You,
>         Ashwini BR Naidu
>         ------------------------------------------------------------------------
>
>         _______________________________________________
>         Users mailing list
>         [hidden email] <mailto:[hidden email]>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>          
>
>
>
>
>
> --
> Thankin You,
> Ashwini BR Naidu


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Problem When Loading auth_radius

bergedorfer
In reply to this post by Norman Brandinger
Norman Brandinger schrieb:

> The attribute you're looking for can be found in radiusclient-ng.
>
> Regards,
> Norm
>
> ASHWINI NAIDU wrote:
>  
>> hi all,
>>
>> When i try to load the module auth_radius and start openser i am
>> getting the following errors
>>
>>
>> Jan 13 23:35:32 localhost openser: INFO:core:init_tcp: using epoll_lt
>> as the TCP io watch method (auto detected)
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: NOTICE:core:main:
>> version: openser 1.3.4-notls (i386/linux)
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:core:main: using
>> 128 Mb shared memory
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:core:main: using
>> 1 Mb private memory per process
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:sl:mod_init:
>> Initializing StateLess engine
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:tm:mod_init: TM -
>> initializing...
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:maxfwd:mod_init:
>> initializing...
>> Jan 13 23:35:32 localhost /sbin/openser[18155]:
>> INFO:usrloc:ul_init_locks: locks array size 512
>> Jan 13 23:35:32 localhost /sbin/openser[18155]:
>> INFO:registrar:mod_init: initializing...
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:textops:mod_init:
>> initializing...
>> Jan 13 23:35:32 localhost /sbin/openser[18155]:
>> WARNING:permissions:parse_config_file: file not found:
>> //etc/openser/permissions.allow
>> Jan 13 23:35:32 localhost /sbin/openser[18155]:
>> WARNING:permissions:mod_init: default allow file
>> (//etc/openser/permissions.allow) not found => empty rule set
>> Jan 13 23:35:32 localhost /sbin/openser[18155]:
>> WARNING:permissions:parse_config_file: file not found:
>> //etc/openser/permissions.deny
>> Jan 13 23:35:32 localhost /sbin/openser[18155]:
>> WARNING:permissions:mod_init: default deny file
>> (//etc/openser/permissions.deny) not found => empty rule set
>> Jan 13 23:35:32 localhost /sbin/openser[18155]:
>> INFO:permissions:init_trusted: db_url parameter of permissions module
>> not set, disabling allow_trusted
>> Jan 13 23:35:32 localhost /sbin/openser[18155]:
>> INFO:permissions:init_addresses: db_url parameter of permissions
>> module not set, disabling allow_addr
>> Jan 13 23:35:32 localhost /sbin/openser[18155]:
>> INFO:avpops:avpops_init: initializing...
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:xlog:mod_init:
>> initializing...
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:acc:mod_init:
>> initializing...
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:auth:mod_init:
>> initializing...
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: INFO:auth_db:mod_init:
>> initializing...
>> Jan 13 23:35:32 localhost /sbin/openser[18155]:
>> INFO:auth_radius:mod_init: initializing...
>> *Jan 13 23:35:32 localhost /sbin/openser[18155]:
>> ERROR:auth_radius:mod_init: auth_radius: can't get code for the
>> Digest-Response attribute
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: ERROR:core:init_mod:
>> failed to initialize module auth_radius
>> Jan 13 23:35:32 localhost /sbin/openser[18155]: ERROR:core:main: error
>> while initializing modules
>> *
>> What does it mean by "*can't get code for the Digest-Response attribute"
>>
>> how can i make it available for it.
>> *
>> --
>> Thankin You,
>> Ashwini BR Naidu
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>  
>>    
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>  
Hello Ashwini,

to get the attribute available you must include dictionary.sip in  the
main dictionary file. Just add the follwoing line to the head of the
dictionary file

$INCLUDE        dictionary.sip

Regards Michael

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users