Hi friends,
I was trying to install Openser and Mediaproxy. but when i am starting media proxy using
/etc/init.d/mediaproxy star
I am getting some error in syslog.
Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: warning: accounting is enabled but the
accounting module is missing. accounting is not available!
Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: Listening for commands on local socket
`/var/run/mediaproxy.sock'
Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: Listening for remote commands on
`212.XXXXXXXXXXXXXx:25060'
Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: Remote commands are allowed from:
212.XXXXXXXXXXXXXXXXXX, 127.0.0.1
Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: Using IP address `XXXXXXXXXXXXX' for
the RTP/RTCP proxy
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: Traceback (most recent call last):
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: File
"/usr/local/mediaproxy/proxydispatcher.py", line 65, in <module>
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: import dispatcher
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: File
"/usr/local/mediaproxy/modules/dispatcher.py", line 39, in <module>
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: from accounting import accounting,
StopRecordSerializer, UnserializeError
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: File
"/usr/local/mediaproxy/modules/accounting.py", line 17, in <module>
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: from radius import *
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: File
"/usr/local/mediaproxy/modules/radius.py", line 10, in <module>
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: import pyrad.client
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: ImportError
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: :
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: No module named pyrad.client
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: exiting.
this is our Mediaproxy.ini file i am not using any kind of accounting or radius in INI
file
but i don't kow why it is shwoing accounting is enable
[Dispatcher]
start = yes
socket = /var/run/proxydispatcher.sock
group = openser
defaultProxy = /var/run/mediaproxy.sock
[MediaProxy]
start = yes
socket = /var/run/mediaproxy.sock
group = openser
listen = XXXXXXXXXXXXXx
allow = XXXXXXXXXXXXXXXXXXXXXXXXxx
proxyIP = XXXXXXXXXXXXXXXXXXXXXX
portRange = 20000:65000
TOS = 0xb8
idleTimeout = 60
holdTimeout = 3600
forceClose = 0
accounting = none
[Accounting]
accounting = none
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.