Re: [Freeswitch-users] problem using mod_managed under linux
Yea I have been meaning to get around to it. I'll put it on my todo and see if I can figure it out. Sorry for the inconvenience. "covici@ccs.covici.com" <covici@ccs.covici.com> wrote: Any chance of you fixing the bug? I think you must be right because in the server stack trace I see a lot of things involving serialization. Michael Giagnocavo <mgg@giagnocavo.net> wrote:
It's probably more related to some cross-appdomain/serialization stuff that's specific to Mono. I wrote mod_managed against Mono 2.4 or so, and I think last time I ran it was 2.6, and only on CentOS 5. Probably something changed and is triggering a bug in mod_managed in the newer builds.
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tim McQueen Sent: Wednesday, August 31, 2011 9:08 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] problem using mod_managed under linux
I'm having the same problem. (http://pastebin.freeswitch.org/17216)
Have you tried the Demo.csx to see if it will even run? In my case it won't. It is my opinon that it's because the FreeSwitch.Managed.dll is dependent specifically on C# 4.0, since the same code will run correctly on Windows.
I sent a message out to the freeswitch-devs group but I don't think it was approved by the moderator, because I haven't seen it come back through the list. Someone on IRC said that mod_managed isn't maintained anymore, but I see activity in FishEye from last week. On Tue, Aug 30, 2011 at 5:39 AM, <covici@ccs.covici.com<mailto:covici@ccs.covici.com>> wrote: Hi. I am trying to use mod_managed on my linux box -- gentoo distribution -- and its driving me ...
I wrote a very simple program for a test. The program just sets a dtmf callback and then streams a file and writes a log entry when it sees the dtmf.
Under Windows 7 net framework 4, it works just fine. Under Linux, using mono versions 2.8.2 qand 2.10.4, I get the following exception which I will put in a pastebin.
http://pastebin.freeswitch.org/17232
And the app is in this one
http://pastebin.freeswitch.org/17233
I have tried using gmcs and dmcs thinking it may be a .net framework issue, and if I do it wrong, I can bring down fs itself, but the best I can get under Linux is the exception shown above.
Thanks in advance for anything you can come up with on this.
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com<mailto:covici@ccs.covici.com>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
---------------------------------------------------- Alternatives:
----------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks so much for working on this. Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Yea I have been meaning to get around to it. I'll put it on my todo and see if I can figure it out. Sorry for the inconvenience.
"covici@ccs.covici.com" <covici@ccs.covici.com> wrote:
Any chance of you fixing the bug? I think you must be right because in the server stack trace I see a lot of things involving serialization.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
It's probably more related to some cross-appdomain/serialization stuff that's specific to Mono. I wrote mod_managed against Mono 2.4 or so, and I think last time I ran it was 2.6, and only on CentOS 5. Probably something changed and is triggering a bug in mod_managed in the newer builds.
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tim McQueen Sent: Wednesday, August 31, 2011 9:08 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] problem using mod_managed under linux
I'm having the same problem. (http://pastebin.freeswitch.org/17216)
Have you tried the Demo.csx to see if it will even run? In my case it won't. It is my opinon that it's because the FreeSwitch.Managed.dll is dependent specifically on C# 4.0, since the same code will run correctly on Windows.
I sent a message out to the freeswitch-devs group but I don't think it was approved by the moderator, because I haven't seen it come back through the list. Someone on IRC said that mod_managed isn't maintained anymore, but I see activity in FishEye from last week. On Tue, Aug 30, 2011 at 5:39 AM, <covici@ccs.covici.com<mailto:covici@ccs.covici.com>> wrote: Hi. I am trying to use mod_managed on my linux box -- gentoo distribution -- and its driving me ...
I wrote a very simple program for a test. The program just sets a dtmf callback and then streams a file and writes a log entry when it sees the dtmf.
Under Windows 7 net framework 4, it works just fine. Under Linux, using mono versions 2.8.2 qand 2.10.4, I get the following exception which I will put in a pastebin.
http://pastebin.freeswitch.org/17232
And the app is in this one
http://pastebin.freeswitch.org/17233
I have tried using gmcs and dmcs thinking it may be a .net framework issue, and if I do it wrong, I can bring down fs itself, but the best I can get under Linux is the exception shown above.
Thanks in advance for anything you can come up with on this.
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com<mailto:covici@ccs.covici.com>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
---------------------------------------------------- Alternatives:
----------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Hey Guys, I just noticed this thread in the email queue so this may be coming too late. I have the same problem and sent an email about it to this group with the subject line: *Mod_Managed Mono is not following the system LD Path.* * * That said, I have mod_managed working but it is a bit of a hack to do so. I simply CD into the mod directory and then start the server from there. EG. cd /usr/local/freeswitch/mod ../bin/freeswitch This makes that particular problem go away. I have tried changing the LD Path, configured mono per the instructions on the wiki, etc… None of that has worked for me but cd'ing into the mod directory and then starting the server at least gets me running. This might be useful to everyone while we wait for this to be resolved. I have yet to add this as a bug in Jira. I was attempting to get some response here before doing so. Ryan On Wed, Aug 31, 2011 at 3:16 PM, <covici@ccs.covici.com> wrote:
Thanks so much for working on this.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Yea I have been meaning to get around to it. I'll put it on my todo and see if I can figure it out. Sorry for the inconvenience.
"covici@ccs.covici.com" <covici@ccs.covici.com> wrote:
Any chance of you fixing the bug? I think you must be right because in the server stack trace I see a lot of things involving serialization.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
It's probably more related to some cross-appdomain/serialization stuff that's specific to Mono. I wrote mod_managed against Mono 2.4 or so, and I think last time I ran it was 2.6, and only on CentOS 5. Probably something changed and is triggering a bug in mod_managed in the newer builds.
Well, that made it work -- after a make reswig and a reinstall. I have run into a problem where the fact that I have the libc.so link in my /lib64, causes some programs which have nothing to do with freeswitch not to compile and the only solution is to remove the link before compiling them. Thanks. R H <buscom123+fs@gmail.com> wrote:
Hey Guys,
I just noticed this thread in the email queue so this may be coming too late. I have the same problem and sent an email about it to this group with the subject line: *Mod_Managed Mono is not following the system LD Path.* * * That said, I have mod_managed working but it is a bit of a hack to do so. I simply CD into the mod directory and then start the server from there.
EG.
cd /usr/local/freeswitch/mod ../bin/freeswitch
This makes that particular problem go away. I have tried changing the LD Path, configured mono per the instructions on the wiki, etc… None of that has worked for me but cd'ing into the mod directory and then starting the server at least gets me running.
This might be useful to everyone while we wait for this to be resolved. I have yet to add this as a bug in Jira. I was attempting to get some response here before doing so.
Ryan
On Wed, Aug 31, 2011 at 3:16 PM, <covici@ccs.covici.com> wrote:
Thanks so much for working on this.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Yea I have been meaning to get around to it. I'll put it on my todo and see if I can figure it out. Sorry for the inconvenience.
"covici@ccs.covici.com" <covici@ccs.covici.com> wrote:
Any chance of you fixing the bug? I think you must be right because in the server stack trace I see a lot of things involving serialization.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
It's probably more related to some cross-appdomain/serialization stuff that's specific to Mono. I wrote mod_managed against Mono 2.4 or so, and I think last time I ran it was 2.6, and only on CentOS 5. Probably something changed and is triggering a bug in mod_managed in the newer builds.
---------------------------------------------------- Alternatives:
----------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Well, I spoke too soon. It works, but if I make a change and try to reload the .dll, it kills fs altogether -- makes it not too usable. R H <buscom123+fs@gmail.com> wrote:
Hey Guys,
I just noticed this thread in the email queue so this may be coming too late. I have the same problem and sent an email about it to this group with the subject line: *Mod_Managed Mono is not following the system LD Path.* * * That said, I have mod_managed working but it is a bit of a hack to do so. I simply CD into the mod directory and then start the server from there.
EG.
cd /usr/local/freeswitch/mod ../bin/freeswitch
This makes that particular problem go away. I have tried changing the LD Path, configured mono per the instructions on the wiki, etc… None of that has worked for me but cd'ing into the mod directory and then starting the server at least gets me running.
This might be useful to everyone while we wait for this to be resolved. I have yet to add this as a bug in Jira. I was attempting to get some response here before doing so.
Ryan
On Wed, Aug 31, 2011 at 3:16 PM, <covici@ccs.covici.com> wrote:
Thanks so much for working on this.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Yea I have been meaning to get around to it. I'll put it on my todo and see if I can figure it out. Sorry for the inconvenience.
"covici@ccs.covici.com" <covici@ccs.covici.com> wrote:
Any chance of you fixing the bug? I think you must be right because in the server stack trace I see a lot of things involving serialization.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
It's probably more related to some cross-appdomain/serialization stuff that's specific to Mono. I wrote mod_managed against Mono 2.4 or so, and I think last time I ran it was 2.6, and only on CentOS 5. Probably something changed and is triggering a bug in mod_managed in the newer builds.
---------------------------------------------------- Alternatives:
----------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Hey Covici, I currently have a DLL that uses 3 IAppPlugin interfaces, 2 IApiPlugin interfaces, and 2 ILoadNotificationPlugin interfaces. I build the dll on a separate machine but using this system I am able to deploy the dll to a running FreeSwitch and have it unload/reload the dll on the fly without any problems.Its been working great for a week or two. A few things you may want to keep in mind: 1) DLL's deployed in the managed directory are not exactly going to work well if they have dependencies on each-other as you never know which one will get loaded first. (Well, if you only drop them in 1 at a time it would probably work) 2) Any crash in FreeSwitch I have seen is because of the above issue, or because of some uncaught exception thrown from my code. If you look at your FreeSwitch logs or start FreeSwitch by hand and watch the cli you should see the exception that killed it. When I run FreeSwitch as a service even my script in /etc/init.d/ has to cd into the mod directory and then start the server. Hope this helps! Ryan On Mon, Sep 12, 2011 at 8:01 PM, <covici@ccs.covici.com> wrote:
Well, I spoke too soon. It works, but if I make a change and try to reload the .dll, it kills fs altogether -- makes it not too usable.
R H <buscom123+fs@gmail.com> wrote:
Hey Guys,
I just noticed this thread in the email queue so this may be coming too late. I have the same problem and sent an email about it to this group with the subject line: *Mod_Managed Mono is not following the system LD Path.* * * That said, I have mod_managed working but it is a bit of a hack to do so. I simply CD into the mod directory and then start the server from there.
EG.
cd /usr/local/freeswitch/mod ../bin/freeswitch
This makes that particular problem go away. I have tried changing the LD Path, configured mono per the instructions on the wiki, etc… None of that has worked for me but cd'ing into the mod directory and then starting the server at least gets me running.
This might be useful to everyone while we wait for this to be resolved. I have yet to add this as a bug in Jira. I was attempting to get some response here before doing so.
Ryan
On Wed, Aug 31, 2011 at 3:16 PM, <covici@ccs.covici.com> wrote:
Thanks so much for working on this.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Yea I have been meaning to get around to it. I'll put it on my todo and see if I can figure it out. Sorry for the inconvenience.
"covici@ccs.covici.com" <covici@ccs.covici.com> wrote:
Any chance of you fixing the bug? I think you must be right because in the server stack trace I see a lot of things involving serialization.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
It's probably more related to some cross-appdomain/serialization stuff that's specific to Mono. I wrote mod_managed against Mono 2.4 or so, and I think last time I ran it was 2.6, and only on CentOS 5. Probably something changed and is triggering a bug in mod_managed in the newer builds.
---------------------------------------------------- Alternatives:
----------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
OK, it was actually in mono that the error occurred, but last couple of times, it did work, but I didn't change very much. I hope it get fixed soon. The end of the stack was libc.so which has always been suspect for me. Thanks again for your response. R H <buscom123+fs@gmail.com> wrote:
Hey Covici,
I currently have a DLL that uses 3 IAppPlugin interfaces, 2 IApiPlugin interfaces, and 2 ILoadNotificationPlugin interfaces. I build the dll on a separate machine but using this system I am able to deploy the dll to a running FreeSwitch and have it unload/reload the dll on the fly without any problems.Its been working great for a week or two. A few things you may want to keep in mind:
1) DLL's deployed in the managed directory are not exactly going to work well if they have dependencies on each-other as you never know which one will get loaded first. (Well, if you only drop them in 1 at a time it would probably work)
2) Any crash in FreeSwitch I have seen is because of the above issue, or because of some uncaught exception thrown from my code. If you look at your FreeSwitch logs or start FreeSwitch by hand and watch the cli you should see the exception that killed it.
When I run FreeSwitch as a service even my script in /etc/init.d/ has to cd into the mod directory and then start the server. Hope this helps!
Ryan
On Mon, Sep 12, 2011 at 8:01 PM, <covici@ccs.covici.com> wrote:
Well, I spoke too soon. It works, but if I make a change and try to reload the .dll, it kills fs altogether -- makes it not too usable.
R H <buscom123+fs@gmail.com> wrote:
Hey Guys,
I just noticed this thread in the email queue so this may be coming too late. I have the same problem and sent an email about it to this group with the subject line: *Mod_Managed Mono is not following the system LD Path.* * * That said, I have mod_managed working but it is a bit of a hack to do so. I simply CD into the mod directory and then start the server from there.
EG.
cd /usr/local/freeswitch/mod ../bin/freeswitch
This makes that particular problem go away. I have tried changing the LD Path, configured mono per the instructions on the wiki, etc… None of that has worked for me but cd'ing into the mod directory and then starting the server at least gets me running.
This might be useful to everyone while we wait for this to be resolved. I have yet to add this as a bug in Jira. I was attempting to get some response here before doing so.
Ryan
On Wed, Aug 31, 2011 at 3:16 PM, <covici@ccs.covici.com> wrote:
Thanks so much for working on this.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Yea I have been meaning to get around to it. I'll put it on my todo and see if I can figure it out. Sorry for the inconvenience.
"covici@ccs.covici.com" <covici@ccs.covici.com> wrote:
Any chance of you fixing the bug? I think you must be right because in the server stack trace I see a lot of things involving serialization.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
It's probably more related to some cross-appdomain/serialization stuff that's specific to Mono. I wrote mod_managed against Mono 2.4 or so, and I think last time I ran it was 2.6, and only on CentOS 5. Probably something changed and is triggering a bug in mod_managed in the newer builds.
---------------------------------------------------- Alternatives:
----------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
---------------------------------------------------- Alternatives:
----------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Hey there, If anyone has problems with mod_managed, please email me directly. I'm finally maintaining it again. I just uploaded a patch: http://jira.freeswitch.org/secure/attachment/14903/mono_update.patch This integrates the 2.8 mono patch as well as fixes a configuration issue when starting mono. This should solve the issue of having to use the mod directory for the current directory, or having it not find libc, etc. I've tried it on Ubuntu 11 and SL 6.1 with Mono 2.10. I'm installing Ubuntu 10 LTS to try it out there. Thanks, Michael -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Tuesday, September 13, 2011 2:16 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] problem using mod_managed under linux OK, it was actually in mono that the error occurred, but last couple of times, it did work, but I didn't change very much. I hope it get fixed soon. The end of the stack was libc.so which has always been suspect for me. Thanks again for your response. R H <buscom123+fs@gmail.com> wrote:
Hey Covici,
I currently have a DLL that uses 3 IAppPlugin interfaces, 2 IApiPlugin interfaces, and 2 ILoadNotificationPlugin interfaces. I build the dll on a separate machine but using this system I am able to deploy the dll to a running FreeSwitch and have it unload/reload the dll on the fly without any problems.Its been working great for a week or two. A few things you may want to keep in mind:
1) DLL's deployed in the managed directory are not exactly going to work well if they have dependencies on each-other as you never know which one will get loaded first. (Well, if you only drop them in 1 at a time it would probably work)
2) Any crash in FreeSwitch I have seen is because of the above issue, or because of some uncaught exception thrown from my code. If you look at your FreeSwitch logs or start FreeSwitch by hand and watch the cli you should see the exception that killed it.
When I run FreeSwitch as a service even my script in /etc/init.d/ has to cd into the mod directory and then start the server. Hope this helps!
Ryan
On Mon, Sep 12, 2011 at 8:01 PM, <covici@ccs.covici.com> wrote:
Well, I spoke too soon. It works, but if I make a change and try to reload the .dll, it kills fs altogether -- makes it not too usable.
R H <buscom123+fs@gmail.com> wrote:
Hey Guys,
I just noticed this thread in the email queue so this may be coming too late. I have the same problem and sent an email about it to this group with the subject line: *Mod_Managed Mono is not following the system LD Path.* * * That said, I have mod_managed working but it is a bit of a hack to do so. I simply CD into the mod directory and then start the server from there.
EG.
cd /usr/local/freeswitch/mod ../bin/freeswitch
This makes that particular problem go away. I have tried changing the LD Path, configured mono per the instructions on the wiki, etc… None of that has worked for me but cd'ing into the mod directory and then starting the server at least gets me running.
This might be useful to everyone while we wait for this to be resolved. I have yet to add this as a bug in Jira. I was attempting to get some response here before doing so.
Ryan
On Wed, Aug 31, 2011 at 3:16 PM, <covici@ccs.covici.com> wrote:
Thanks so much for working on this.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Yea I have been meaning to get around to it. I'll put it on my todo and see if I can figure it out. Sorry for the inconvenience.
"covici@ccs.covici.com" <covici@ccs.covici.com> wrote:
Any chance of you fixing the bug? I think you must be right because in the server stack trace I see a lot of things involving serialization.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
It's probably more related to some cross-appdomain/serialization stuff that's specific to Mono. I wrote mod_managed against Mono 2.4 or so, and I think last time I ran it was 2.6, and only on CentOS 5. Probably something changed and is triggering a bug in mod_managed in the newer builds.
---------------------------------------------------- Alternatives:
----------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch -users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-u sers http://www.freeswitch.org
---------------------------------------------------- Alternatives:
----------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I guess I should also mention that I am running the following: - 2 FreeSwitch Servers (1 Production, 1 Development). - Both run Suse 11.4 64bit, Mono 2.8.2, FreeSwitch at HEAD. - I also have to keep a softlink at /lib64/libc.so (although these boxes are dedicated FreeSwitch only) - I had to run the 2.8patch on the mod_managed library before build to make all this work Aside from this issue mod_managed seems to run fairly well, but I have not tested it under load. All-in-all it has done well for me so far. Ryan On Mon, Sep 12, 2011 at 8:01 PM, <covici@ccs.covici.com> wrote:
Well, I spoke too soon. It works, but if I make a change and try to reload the .dll, it kills fs altogether -- makes it not too usable.
R H <buscom123+fs@gmail.com> wrote:
Hey Guys,
I just noticed this thread in the email queue so this may be coming too late. I have the same problem and sent an email about it to this group with the subject line: *Mod_Managed Mono is not following the system LD Path.* * * That said, I have mod_managed working but it is a bit of a hack to do so. I simply CD into the mod directory and then start the server from there.
EG.
cd /usr/local/freeswitch/mod ../bin/freeswitch
This makes that particular problem go away. I have tried changing the LD Path, configured mono per the instructions on the wiki, etc… None of that has worked for me but cd'ing into the mod directory and then starting the server at least gets me running.
This might be useful to everyone while we wait for this to be resolved. I have yet to add this as a bug in Jira. I was attempting to get some response here before doing so.
Ryan
On Wed, Aug 31, 2011 at 3:16 PM, <covici@ccs.covici.com> wrote:
Thanks so much for working on this.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Yea I have been meaning to get around to it. I'll put it on my todo and see if I can figure it out. Sorry for the inconvenience.
"covici@ccs.covici.com" <covici@ccs.covici.com> wrote:
Any chance of you fixing the bug? I think you must be right because in the server stack trace I see a lot of things involving serialization.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
It's probably more related to some cross-appdomain/serialization stuff that's specific to Mono. I wrote mod_managed against Mono 2.4 or so, and I think last time I ran it was 2.6, and only on CentOS 5. Probably something changed and is triggering a bug in mod_managed in the newer builds.
---------------------------------------------------- Alternatives:
----------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I am using gentoo, so the mono version is 2.10.4. Also, the glibc library is 2.13.4 which may make some difference. R H <buscom123+fs@gmail.com> wrote:
I guess I should also mention that I am running the following:
- 2 FreeSwitch Servers (1 Production, 1 Development). - Both run Suse 11.4 64bit, Mono 2.8.2, FreeSwitch at HEAD. - I also have to keep a softlink at /lib64/libc.so (although these boxes are dedicated FreeSwitch only) - I had to run the 2.8patch on the mod_managed library before build to make all this work
Aside from this issue mod_managed seems to run fairly well, but I have not tested it under load. All-in-all it has done well for me so far.
Ryan
On Mon, Sep 12, 2011 at 8:01 PM, <covici@ccs.covici.com> wrote:
Well, I spoke too soon. It works, but if I make a change and try to reload the .dll, it kills fs altogether -- makes it not too usable.
R H <buscom123+fs@gmail.com> wrote:
Hey Guys,
I just noticed this thread in the email queue so this may be coming too late. I have the same problem and sent an email about it to this group with the subject line: *Mod_Managed Mono is not following the system LD Path.* * * That said, I have mod_managed working but it is a bit of a hack to do so. I simply CD into the mod directory and then start the server from there.
EG.
cd /usr/local/freeswitch/mod ../bin/freeswitch
This makes that particular problem go away. I have tried changing the LD Path, configured mono per the instructions on the wiki, etc… None of that has worked for me but cd'ing into the mod directory and then starting the server at least gets me running.
This might be useful to everyone while we wait for this to be resolved. I have yet to add this as a bug in Jira. I was attempting to get some response here before doing so.
Ryan
On Wed, Aug 31, 2011 at 3:16 PM, <covici@ccs.covici.com> wrote:
Thanks so much for working on this.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Yea I have been meaning to get around to it. I'll put it on my todo and see if I can figure it out. Sorry for the inconvenience.
"covici@ccs.covici.com" <covici@ccs.covici.com> wrote:
Any chance of you fixing the bug? I think you must be right because in the server stack trace I see a lot of things involving serialization.
Michael Giagnocavo <mgg@giagnocavo.net> wrote:
It's probably more related to some cross-appdomain/serialization stuff that's specific to Mono. I wrote mod_managed against Mono 2.4 or so, and I think last time I ran it was 2.6, and only on CentOS 5. Probably something changed and is triggering a bug in mod_managed in the newer builds.
---------------------------------------------------- Alternatives:
----------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
---------------------------------------------------- Alternatives:
----------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
participants (3)
-
covici@ccs.covici.com
-
Michael Giagnocavo
-
R H