On Thursday 28 May 2009, Jeff Pyle wrote:
> Dan,
>
> With your patch Mediaproxy 2.3.2 built packages without any problems. On an
> x86 CentOS install I run 2.3.2 with the older version of python-application.
> But, installing the package, I get:
>
> Starting MediaProxy relay: media-relayCannot start MediaProxy Relay. A Linux
> host is required for operation.
> already running.
Hmm. Apparently there is a similar test in the media-relay itself which I
overlooked in the previous patch. Use the attached patch as well to fix it.
> What do you think the best course of action is from here?
I would recommend to follow the installation guide for mediaproxy and add the
AG Projects debian repository to your apt's sources list. We have version
1.1.1 for python-application there and if its dependencies are satisfied with
debian 5.0, you can install it directly. Otherwise you can always take its
source (apt-get source python-application) and built it yourself like with
mediaproxy.
Then I suggest you take the mediaproxy-2.3.4 source and build it after you
apply the 2 patches I gave you. 2.3.4 has fixed some serious issues in the
previous versions, so I suggest you use that.
--
Dan
diff -rN -u old-mediaproxy/media-relay new-mediaproxy/media-relay
--- old-mediaproxy/media-relay 2009-05-29 03:15:27.000000000 +0300
+++ new-mediaproxy/media-relay 2009-05-29 03:15:27.000000000 +0300
@@ -25,7 +25,7 @@
parser.add_option("--pid", dest="pid_file", default=default_pid, help="pid file (%s)" % default_pid, metavar="File")
(options, args) = parser.parse_args()
- if sys.platform != 'linux2':
+ if not sys.platform.startswith('linux2'):
log.fatal("Cannot start %s. A Linux host is required for operation." % fullname)
sys.exit(1)
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users