MasterVitronic / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Dev Branch init script looking for /etc/freeswitch/freeswitch.xml #439

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install FPBX from 
http://fusionpbx.googlecode.com/svn/branches/dev/scripts/install/ubuntu/install_
fusionpbx.sh on Ubuntu 12.04.2, and the command ./install_fusion.sh 
install-both auto (I set postgres, nginx)
2. Observe the final output from the install script being the initscript's 
"Freeswitch is not configured so not starting. Please review 
/usr/share/doc/Freeswitch/README.Debian" error text. 
3. Also happens every time freeswitch initscript is called manually. 

What is the expected output? What do you see instead?
Freeswitch should start normally.  Instead, I see "Freeswitch is not configured 
so not starting. Please review /usr/share/doc/Freeswitch/README.Debian"

What version of the product are you using? On what operating system?
Dev branch

Please provide any additional information below.

Touching/creating /etc/freeswitch.freeswitch.xml resolved the startup issue.  

Not sure if Freeswitch really needs that file. 

Original issue reported on code.google.com by daverus...@gmail.com on 19 Jun 2013 at 7:46

GoogleCodeExporter commented 9 years ago
FS Version:
FreeSWITCH (Version 1.2.10 git d411054 2013-06-19 16:15:59Z)

Original comment by daverus...@gmail.com on 19 Jun 2013 at 8:01

GoogleCodeExporter commented 9 years ago
I had to do the following

sudo touch /etc/freeswitch/freeswitch.xml

not

sudo touch /etc/freeswitch.freeswitch.xml

Thanks

Original comment by ricky.ag...@vkcmanagement.com on 12 Jul 2013 at 1:50

GoogleCodeExporter commented 9 years ago
Thanks for reporting this problem. I have update the install script and added 
the following.
/bin/mkdir /etc/freeswitch
/bin/touch /etc/freeswitch/freeswitch.xml

Original comment by markjcrane@gmail.com on 12 Jul 2013 at 6:49

GoogleCodeExporter commented 9 years ago
Thanks for this ... had this error on a debian wheezy install i could manually 
start it from the /usr/local/freeswitch directory but I was getting same error 
having it run from under init.d..

Did my install using the wiki and getting the files and scripts from subversion 
on that page

Original comment by ghoul....@gmail.com on 13 Aug 2013 at 8:19

GoogleCodeExporter commented 9 years ago
Not sure if wiki pointing to wrong or outdated script then... just did that 
install a couple of days ago....
Regards thanks for all the good work

Original comment by ghoul....@gmail.com on 13 Aug 2013 at 8:22

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I've experienced the same issue when installing the script from the wiki 
"install"

Manually creating the /etc/freeswitch directory and touching the freeswitch.xml 
worked.
Ran "service freeswitch start" and up and running...

Original comment by m.van...@nerdherd.nl on 13 Sep 2013 at 9:46