Moving up to better PC - Multi-tenant died
HI, I have a nice working multi-tenant configuration working on my development box - P4 3.0Ghz 4GB RAM Raid 1 Centos 5.7 Freeswitch (make current). I built a nice clean Centos 5.7 install on a Dell Power Edge 2850 Dual Xeon 3.0 Ghs 4GB RAM and current Freeswitch. I saved the entire "/usr/local/freeswitch/conf" tree from new server. I copied the entire "/usr/local/freeswitch/conf" tree from devel box to new server. I shutdown development box. I set new server to same IP as old Devel boix. Rebooted. I have a couple of issues: 1. Freeswitch does not startup at boot. I tried to follow the wiki. I have a freeswitch file in /;etc/init.d but no startup! 2. Only my primary domain (tenant) users can login. All of my secondary domain phones have proxy=nnn@fs_mbri.bizfocused.com but the errors on FS_CLI say it can't find nnn@fs_bfis.bizfocused.com (MY PRIMARY DOMAIN). It is though freeswitch thinks these registrations are coming to the primary domain even though they are going to a secondry with the same IP address. So, how do I get FS to start on boot up in CENTOS 5.7? I swear I tried what's in the wiki. Or maybe I should say how do I tell wait is failing? What am I missing in the multi-tenant domain definition (that is not in the /conf folder)? Thanks in advance. Sean
On Tue, Jun 12, 2012 at 12:45:56AM -0400, Sean Devoy wrote:
I built a nice clean Centos 5.7 install on a Dell Power Edge 2850 Dual Xeon 3.0 Ghs 4GB RAM and current Freeswitch.
1. Freeswitch does not startup at boot. I tried to follow the wiki. I have a freeswitch file in /;etc/init.d but no startup!
Can you run: chkconfig --list freeswitch and check the output? You may need to do: chkconfig --add freeswitch (where 'freeswitch' is the name of your init-script in /etc/init.d). Regards,
Thanks for the reply Paul. Results: [root@FreeSwitch1 bin]# chkconfig --list freeswitch freeswitch 0:off 1:off 2:off 3:on 4:on 5:on 6:off -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Paul Cupis Sent: Tuesday, June 12, 2012 4:13 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Moving up to better PC - Multi-tenant died On Tue, Jun 12, 2012 at 12:45:56AM -0400, Sean Devoy wrote:
I built a nice clean Centos 5.7 install on a Dell Power Edge 2850 Dual Xeon 3.0 Ghs 4GB RAM and current Freeswitch.
1. Freeswitch does not startup at boot. I tried to follow the wiki. I have a freeswitch file in /;etc/init.d but no startup!
Can you run: chkconfig --list freeswitch and check the output? You may need to do: chkconfig --add freeswitch (where 'freeswitch' is the name of your init-script in /etc/init.d). Regards, _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 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
UPDATE: If I watch the console during startup I see it trying to start freeswitch .... [FAILED] How do I determine why it failed? Sean -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Paul Cupis Sent: Tuesday, June 12, 2012 4:13 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Moving up to better PC - Multi-tenant died On Tue, Jun 12, 2012 at 12:45:56AM -0400, Sean Devoy wrote:
I built a nice clean Centos 5.7 install on a Dell Power Edge 2850 Dual Xeon 3.0 Ghs 4GB RAM and current Freeswitch.
1. Freeswitch does not startup at boot. I tried to follow the wiki. I have a freeswitch file in /;etc/init.d but no startup!
Can you run: chkconfig --list freeswitch and check the output? You may need to do: chkconfig --add freeswitch (where 'freeswitch' is the name of your init-script in /etc/init.d). Regards, _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 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
Startup problem resolved. The file /etc/init.d/freeswitch has syntax I do not understand at the beginning but I changed it to this and it worked fine: PROG_NAME=freeswitch PID_FILE=/usr/local/freeswitch/run/freeswitch.pid FS_USER=freeswitch FS_FILE=/usr/local/freeswitch/bin/freeswitch FS_HOME=/usr/local/freeswitch LOCK_FILE=/var/lock/subsys/freeswitch FREESWITCH_ARGS="-nc" RETVAL=0 Hope that helps someone. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Sean Devoy Sent: Tuesday, June 12, 2012 1:30 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] Moving up to better PC - Multi-tenant died UPDATE: If I watch the console during startup I see it trying to start freeswitch .... [FAILED] How do I determine why it failed? Sean -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Paul Cupis Sent: Tuesday, June 12, 2012 4:13 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Moving up to better PC - Multi-tenant died On Tue, Jun 12, 2012 at 12:45:56AM -0400, Sean Devoy wrote:
I built a nice clean Centos 5.7 install on a Dell Power Edge 2850 Dual Xeon 3.0 Ghs 4GB RAM and current Freeswitch.
1. Freeswitch does not startup at boot. I tried to follow the wiki. I have a freeswitch file in /;etc/init.d but no startup!
Can you run: chkconfig --list freeswitch and check the output? You may need to do: chkconfig --add freeswitch (where 'freeswitch' is the name of your init-script in /etc/init.d). Regards, _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 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
What is your hostname? How are the various domain values set in the FreeSWITCH Sofia profiles? On Tue, Jun 12, 2012 at 12:45 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,
I have a nice working multi-tenant configuration working on my development box – P4 3.0Ghz 4GB RAM Raid 1 Centos 5.7 Freeswitch (make current).
I built a nice clean Centos 5.7 install on a Dell Power Edge 2850 Dual Xeon 3.0 Ghs 4GB RAM and current Freeswitch.
I saved the entire “/usr/local/freeswitch/conf” tree from new server.
I copied the entire “/usr/local/freeswitch/conf” tree from devel box to new server.
I shutdown development box.
I set new server to same IP as old Devel boix.
Rebooted.
I have a couple of issues:
1. Freeswitch does not startup at boot. I tried to follow the wiki. I have a freeswitch file in /;etc/init.d but no startup!
2. Only my primary domain (tenant) users can login. All of my secondary domain phones have proxy=nnn@fs_mbri.bizfocused.com but the errors on FS_CLI say it can’t find nnn@fs_bfis.bizfocused.com (MY PRIMARY DOMAIN). It is though freeswitch thinks these registrations are coming to the primary domain even though they are going to a secondry with the same IP address.
So, how do I get FS to start on boot up in CENTOS 5.7? I swear I tried what’s in the wiki. Or maybe I should say how do I tell wait is failing?
What am I missing in the multi-tenant domain definition (that is not in the /conf folder)?
Thanks in advance.
Sean
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
-- Kristian Kielhofner
Thanks for the response. The /etc/init.d script problems were the cause. Once Freeswitch was starting properly, the domain problem was gone. Sean -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Kristian Kielhofner Sent: Tuesday, June 12, 2012 5:12 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Moving up to better PC - Multi-tenant died What is your hostname? How are the various domain values set in the FreeSWITCH Sofia profiles? On Tue, Jun 12, 2012 at 12:45 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,
I have a nice working multi-tenant configuration working on my development box P4 3.0Ghz 4GB RAM Raid 1 Centos 5.7 Freeswitch (make current).
I built a nice clean Centos 5.7 install on a Dell Power Edge 2850 Dual Xeon 3.0 Ghs 4GB RAM and current Freeswitch.
I saved the entire /usr/local/freeswitch/conf tree from new server.
I copied the entire /usr/local/freeswitch/conf tree from devel box to new server.
I shutdown development box.
I set new server to same IP as old Devel boix.
Rebooted.
I have a couple of issues:
1. Freeswitch does not startup at boot. I tried to follow the wiki. I have a freeswitch file in /;etc/init.d but no startup!
2. Only my primary domain (tenant) users can login. All of my secondary domain phones have proxy=nnn@fs_mbri.bizfocused.com but the errors on FS_CLI say it cant find nnn@fs_bfis.bizfocused.com (MY PRIMARY DOMAIN). It is though freeswitch thinks these registrations are coming to the primary domain even though they are going to a secondry with the same IP address.
So, how do I get FS to start on boot up in CENTOS 5.7? I swear I tried whats in the wiki. Or maybe I should say how do I tell wait is failing?
What am I missing in the multi-tenant domain definition (that is not in the /conf folder)?
Thanks in advance.
Sean
______________________________________________________________________ ___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
-- Kristian Kielhofner _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 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
participants (3)
-
Kristian Kielhofner
-
Paul Cupis
-
Sean Devoy