[OpenSIPS-Users] Mediaproxy Dispatcher failed to start when radius acc is enabled

leo uzcudunl at yahoo.it
Thu Apr 11 01:16:12 CEST 2013


Thanks Laszlo!!!!

Yes, i've 127.0.0.1 - Changed it to localhost and now it is working.
Thanks again,

Leo.

________________________________
 Da: Laszlo [via OpenSIPS (Open SIP Server)] <ml-node+s1449251n7585796h54 at n2.nabble.com>
A: leo <uzcudunl at yahoo.it> 
Inviato: Giovedì 11 Aprile 2013 0:54
Oggetto: Re: Mediaproxy Dispatcher failed to start when radius acc is enabled
 


looks like it's unable to parse the password for 'localhost' in the servers file.
(radiusclient-ng/servers is the file).

 what host you have in that file? localhost or 127.0.0.1?

if 127.0.0.1, change it to localhost and try again.


-Laszlo





2013/4/11 leo <[hidden email]>

Hello:
>
>If i enable radius accounting in the mediaproxy dispatcher configuration and
>i start the service i get the following syslog output:
>
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]: Starting MediaProxy
>Dispatcher 2.5.2
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]: using set_wakeup_fd
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]: Twisted is using
>epollreactor
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]: warning: radius
>configuration file: '/etc/opensips/radius/client.conf'
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]: fatal error: cannot read the
>RADIUS configuration file
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]: fatal error: failed to
>create MediaProxy Dispatcher: 'localhost'
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]: Traceback (most recent call
>last):
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]:   File
>"/usr/bin/media-dispatcher", line 62, in <module>
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]:     dispatcher =
>Dispatcher()
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]:   File
>"/usr/lib/python2.6/dist-packages/mediaproxy/dispatcher.py", line 526, in
>__init__
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]:     self.accounting =
>[__import__("mediaproxy.interfaces.accounting.%s" % mod.lower(), globals(),
>locals(), [""]).Accounting() for mod in set(Config.accounting)]
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]:   File
>"/usr/lib/python2.6/dist-packages/mediaproxy/interfaces/accounting/radius.py",
>line 59, in __init__
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]:     self.handler =
>RadiusAccounting()
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]:   File
>"/usr/lib/python2.6/dist-packages/mediaproxy/interfaces/accounting/radius.py",
>line 88, in __init__
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]:     secret = secrets[server]
>Apr 11 00:15:24 sip-dev media-dispatcher[8822]: KeyError: 'localhost'
>
>Of course the radius config file exists. If i disable radius accounting,
>Opensips dialogs with the radius and the mediaproxy.
>My OS is a debian 6.0.7 - 2.6.32-5-686
>Opensips: 1.9.0
>python-pyrad: 1.2
>
>Thanks.
>
>Leo.
>
>
>
>
>
>
>
>--
>View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Mediaproxy-Dispatcher-failed-to-start-when-radius-acc-is-enabled-tp7585795.html
>Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
>_______________________________________________
>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


________________________________
 
If you reply to this email, your message will be added to the discussion below:http://opensips-open-sip-server.1449251.n2.nabble.com/Mediaproxy-Dispatcher-failed-to-start-when-radius-acc-is-enabled-tp7585795p7585796.html 
To unsubscribe from Mediaproxy Dispatcher failed to start when radius acc is enabled, click here.
NAML



--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Mediaproxy-Dispatcher-failed-to-start-when-radius-acc-is-enabled-tp7585795p7585797.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130410/78b6dbbc/attachment.htm>


More information about the Users mailing list