<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
There's already something listening on port 25061, most likely another
instance of proxydispatcher.<br>
g-)<br>
<br>
Rakhmadhany Primananda wrote:
<blockquote
 cite="mid:56f73d330909040323w1e4bf085m7ee3b6432eb9e305@mail.gmail.com"
 type="cite">hi everybody,,<br>
  <br>
I'm using mediaproxy 1.7.2 and ser-0.9.6,,<br>
  <br>
this is my output from syslog after I installed mediaproxy and running
the process :<br>
  <br>
  <blockquote
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"
 class="gmail_quote">root@serbuntu:/# cat /var/log/syslog | grep proxy<br>
  </blockquote>
Sep&nbsp; 3 13:38:12 serbuntu mediaproxy[2214]: Listening for commands on
local socket `/var/run/mediaproxy.sock'<br>
Sep&nbsp; 3 13:38:12 serbuntu mediaproxy[2214]: Listening for remote
commands on `<a moz-do-not-send="true" href="http://10.100.0.45:25060/"
 target="_blank">10.100.0.45:25060</a>'<br>
Sep&nbsp; 3 13:38:12 serbuntu mediaproxy[2214]: Remote commands are allowed
from: 10.100.0.45, 127.0.0.1<br>
Sep&nbsp; 3 13:38:12 serbuntu mediaproxy[2214]: Using <span
 style="border-bottom: 1px dashed rgb(0, 102, 204);">IP address</span>
`10.100.0.45' for the RTP/RTCP proxy<br>
Sep&nbsp; 3 13:38:12 serbuntu proxydispatcher[2217]: Listening for commands
on local socket `/var/run/proxydispatcher.
  <div>sock'<br>
Sep&nbsp; 3 13:38:12 serbuntu proxydispatcher[2217]: Listening for
mediaproxy media timeout requests on <a moz-do-not-send="true"
 href="http://0.0.0.0:25061/" target="_blank">0.0.0.0:25061</a><br>
Sep&nbsp; 3 13:38:12 serbuntu proxydispatcher[2217]: Default mediaproxy
server is on `/var/run/mediaproxy.sock'<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]: Traceback (most recent
call last):<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]:&nbsp;&nbsp; <span>File</span>
"/usr/local/mediaproxy/proxydispatcher.py", line 87, in &lt;module&gt;<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]:<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]: dispatcher.start()<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]:&nbsp;&nbsp; File
"/usr/local/mediaproxy/modules/dispatcher.py", line 114, in start<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]:<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]: mp =
MediaproxyCommandHandler()<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]:&nbsp;&nbsp; File
"/usr/local/mediaproxy/modules/dispatcher.py", line 232, in __init__<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]:<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]: raise RuntimeError,
"couldn't create server (%s)" % why[1]<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]: RuntimeError<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]: :<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]: couldn't create server
(Address already in use)<br>
Sep&nbsp; 3 13:38:13 serbuntu proxydispatcher[2217]: exiting.<br>
Sep&nbsp; 3 14:08:01 serbuntu mediaproxy[2214]: received signal 15<br>
Sep&nbsp; 3 14:09:09 serbuntu mediaproxy[4987]: Listening for commands on
local socket `/var/run/mediaproxy.sock'<br>
Sep&nbsp; 3 14:09:09 serbuntu mediaproxy[4987]: Listening for remote
commands on `<a moz-do-not-send="true" href="http://10.100.0.45:25060/"
 target="_blank">10.100.0.45:25060</a>'<br>
Sep&nbsp; 3 14:09:09 serbuntu mediaproxy[4987]: Remote commands are allowed
from: 10.100.0.45, 127.0.0.1<br>
Sep&nbsp; 3 14:09:09 serbuntu mediaproxy[4987]: Using IP address
`10.100.0.45' for the RTP/RTCP proxy<br>
Sep&nbsp; 3 14:09:10 serbuntu proxydispatcher[4990]: Listening for commands
on local socket `/var/run/proxydispatcher.sock'<br>
Sep&nbsp; 3 14:09:10 serbuntu proxydispatcher[4990]: Listening for
mediaproxy media timeout requests on <a moz-do-not-send="true"
 href="http://0.0.0.0:25061/" target="_blank">0.0.0.0:25061</a><br>
Sep&nbsp; 3 14:09:10 serbuntu proxydispatcher[4990]: Default mediaproxy
server is on `/var/run/mediaproxy.sock'<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]: Listening for commands
on local socket `/var/run/proxydispatcher.sock'<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]: Listening for
mediaproxy media timeout requests on <a moz-do-not-send="true"
 href="http://0.0.0.0:25061/" target="_blank">0.0.0.0:25061</a><br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]: Default mediaproxy
server is on `/var/run/mediaproxy.sock'<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]: Traceback (most recent
call last):<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]:&nbsp;&nbsp; File
"/usr/local/mediaproxy/proxydispatcher.py", line 87, in &lt;module&gt;<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]:<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]: dispatcher.start()<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]:&nbsp;&nbsp; File
"/usr/local/mediaproxy/modules/dispatcher.py", line 114, in start<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]:<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]: mp =
MediaproxyCommandHandler()<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]:&nbsp;&nbsp; File
"/usr/local/mediaproxy/modules/dispatcher.py", line 232, in __init__<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]:<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]: raise RuntimeError,
"couldn't create server (%s)" % why[1]<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]: RuntimeError<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]: :<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]: couldn't create server
(Address already in use)<br>
Sep&nbsp; 3 21:01:19 serbuntu proxydispatcher[7498]: exiting.<br>
  <br>
my question:<br>
what's the meaning of serbuntu
proxydispatcher[7498]: raise RuntimeError, "couldn't create server
(%s)" % why[1] and serbuntu proxydispatcher[7498]: couldn't create
server (Address already in use) ? is it a bug or error?<br>
  <br>
and this is my mediaproxy.ini configuration (mediaproxy and SER running
in one machine) :<br>
  <br>
  <blockquote
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"
 class="gmail_quote">&nbsp;root@serbuntu:/# cat
/usr/local/mediaproxy/mediaproxy.ini<br>
  </blockquote>
  <div>;<br>
; Configuration file for MediaProxy<br>
;<br>
  <br>
[Dispatcher]<br>
  <br>
start = yes
  <div><br>
socket = /var/run/proxydispatcher.sock<br>
  </div>
group = ser<br>
defaultProxy = /var/run/mediaproxy.sock<br>
  <br>
[MediaProxy]<br>
  <br>
start = yes
  <div><br>
socket = /var/run/mediaproxy.sock<br>
  </div>
group = ser<br>
listen = 10.100.0.45<br>
allow = 10.100.0.45<br>
proxyIP = 10.100.0.45<br>
portRange = 60000:65000<br>
;TOS = 0xb8<br>
;idleTimeout = 60<br>
;holdTimeout = 3600<br>
;forceClose = 0<br>
  <br>
[Accounting]<br>
dbaccounting = off<br>
  <br>
[Database]<br>
user = dbuser<br>
password = dbpass<br>
host = dbhost<br>
database = radius<br>
table = radacct</div>
  <br>
thankq,,<br>
regards,,<br>
  <br>
dhany
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>