Freeswitch Issue

Moderator: areski

Freeswitch Issue

Postby far0ck » Mon Sep 02, 2013 9:38 am

Hello,

I tried to install newfies dialer with the scripts you provide on a Linux 12.04 Server.
the script didn't install freeswitch at all, but Newfies apps were installed.
After that, i tried to install freeswitch with the script you provide in the advanced guide :
https://raw.github.com/Star2Billing/newfies-dialer/master/install/install-freeswitch.sh

it installed freeswitch, but the problem now, is that i'm getting a problem when trying to acces the fs_cli :
[ERROR] fs_cli.c:1493 main() Error Connecting [Socket Connection Error]

netstat -nlp | grep 8021 shows nothing.
pgrep -lf freeswitch shows nothing.
lsof -iudp -ac freeswitch show nothing.

But still, i can start and stop freeswitch, the event socket module isnt commented out on the modules.xml file.
far0ck
 
Posts: 7
Joined: Wed Aug 21, 2013 11:42 am

Re: Freeswitch Issue

Postby areski » Mon Sep 02, 2013 10:53 am

You might want to install via our Newfies install script.
Pastebin the output of the install script this might help us to identify issues.
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Freeswitch Issue

Postby far0ck » Mon Sep 02, 2013 4:38 pm

Hello Areski,

Thats what i did, i first installed the script from the beginner guide, but the script didnt install freeswitch.
So i moved to the FreeSwitch installation script from the newfies documentation.

Is there a way to revert the whole installation, and start with a new installation ? it's a dedicated server, and OS reinstall will take time..
far0ck
 
Posts: 7
Joined: Wed Aug 21, 2013 11:42 am

Re: Freeswitch Issue

Postby augustynr » Thu Oct 10, 2013 4:10 am

Hi I have run into the same problem.
Installed as per the documentation.
Everything seemed to install correctly but there was no freeswitch installed, there was no /usr/local/freeswitch directory.
So I went into the /usr/src/freeswitch and run:
make install
this is what I got:
aking in lang ...
making in lang/cmulex ...
making in lang/usenglish ...
making in lang/cmu_us_kal ...
making in lang/cmu_time_awb ...
making in lang/cmu_us_kal16 ...
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make[8]: *** [../../build/x86_64-linux-gnu/obj/lang/cmu_us_kal16/cmu_us_kal16_res.o] Error 4
make[7]: *** [../build/x86_64-linux-gnu/obj/lang/.make_build_dirs] Error 2
make[6]: *** [build/x86_64-linux-gnu/obj//.make_build_dirs] Error 2
make[5]: *** [/usr/src/freeswitch/libs/flite-1.5.4-current/build/libs/libflite_cmu_us_awb.a] Error 2
make[4]: *** [install] Error 1
make[3]: *** [mod_flite-install] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

The interesting part is that /usr/local/freeswitch is now there and I can start the service.
I am not sure if anything is missing or usable.
Let me know if you need any more info on debugging this issue.
augustynr
 
Posts: 7
Joined: Tue Nov 22, 2011 4:33 pm

Re: Freeswitch Issue

Postby areski » Thu Oct 10, 2013 7:32 am

On which distribution have you done the install ?
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Freeswitch Issue

Postby augustynr » Thu Oct 10, 2013 3:15 pm

Ubuntu LTS 12.04 server edition
ubuntu-12.04.3-server-amd64

uname -a
Linux Viewfies-Dialer2 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Thank you.
augustynr
 
Posts: 7
Joined: Tue Nov 22, 2011 4:33 pm

Re: Freeswitch Issue

Postby areski » Thu Oct 10, 2013 10:33 pm

I will recommend to have an attentive look when running the install script to see what is failing. If you give us details on the failure we can certainly help you to fix it.
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Freeswitch Issue

Postby augustynr » Fri Oct 11, 2013 3:19 am

Thank you.
The scripts completes without any errors but then the Freeswitch is not installed.
So there are no errors I can see when the script runs.
I can definitely rerun it and I did but no errors show up.
What logs can I email you to help you fix this issue?
augustynr
 
Posts: 7
Joined: Tue Nov 22, 2011 4:33 pm

Re: Freeswitch Issue

Postby areski » Fri Oct 11, 2013 7:31 am

Trust me here, if you had a problem with the installation it's very likely an error show up when running the install script.
There is a lot of output so it can be hard to see it.
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Freeswitch Issue

Postby augustynr » Fri Oct 11, 2013 10:01 pm

Hi I have run the install script again and you are correct the errors are there though they scroll from the screen as next module gets installed.
The error is the same as in my previous email though.
I would appreciate any input.

a - cmu_us_kal_ressize.o
making in lang/cmu_time_awb ...
a - cmu_time_awb.o
a - cmu_time_awb_clunits.o
a - cmu_time_awb_cart.o
a - cmu_time_awb_mcep.o
a - cmu_time_awb_lpc.o
a - cmu_time_awb_lex_entry.o
making in lang/cmu_us_kal16 ...
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make[8]: *** [../../build/x86_64-linux-gnu/obj/lang/cmu_us_kal16/cmu_us_kal16_res.o] Error 4
make[7]: *** [../build/x86_64-linux-gnu/obj/lang/.make_build_dirs] Error 2
make[6]: *** [build/x86_64-linux-gnu/obj//.make_build_dirs] Error 2
make[5]: *** [/usr/src/freeswitch/libs/flite-1.5.4-current/build/libs/libflite_cmu_us_awb.a] Error 2
make[4]: *** [all] Error 1
make[3]: *** [mod_flite-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
--2013-10-11 17:55:48-- https://raw.github.com/Star2Billing/new ... a.conf.xml
Resolving raw.github.com (raw.github.com)... 199.27.78.133
Connecting to raw.github.com (raw.github.com)|199.27.78.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1702 (1.7K) [text/plain]
Saving to: `lua.conf.xml'

100%[==========================================================================================================>] 1,702 --.-K/s in 0s

2013-10-11 17:55:49 (23.2 MB/s) - `lua.conf.xml' saved [1702/1702]

--2013-10-11 17:55:49-- https://raw.github.com/Star2Billing/new ... freeswitch
Resolving raw.github.com (raw.github.com)... 199.27.78.133
Connecting to raw.github.com (raw.github.com)|199.27.78.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5057 (4.9K) [text/plain]
Saving to: `/etc/init.d/freeswitch'
augustynr
 
Posts: 7
Joined: Tue Nov 22, 2011 4:33 pm

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 21 guests

cron