I think your plivo config is outdated .
> Hi,
> I have successfully installed Plivo but I get errors when I start plivo
> using <path-to-plivo>/bin/plivo start. The following is the error message
> which i get
> Error loading config: 'rest_server'Traceback (most recent call last):
> File "/usr/local/plivo/bin/plivo-rest", line 7, in <module>
> execfile(__file__)
> File "/usr/local/plivo/src/plivo/src/bin/plivo-rest", line 47, in <module>
> rest_server = PlivoRestServer(configfile, daemon=daemon,
> pidfile=pidfile)
> File "/usr/local/plivo/src/plivo/src/plivo/rest/freeswitch/apiserver.py",
> line 56, in __init__
> self.load_config()
> File "/usr/local/plivo/src/plivo/src/plivo/rest/freeswitch/apiserver.py",
> line 226, in load_config
> raise e
> KeyError: 'rest_server'
> Error loading config: 'outbound_server'Traceback (most recent call last):
> File "/usr/local/plivo/bin/plivo-outbound", line 7, in <module>
> execfile(__file__)
> File "/usr/local/plivo/src/plivo/src/bin/plivo-outbound", line 47, in
> <module>
> outbound_server = PlivoOutboundServer(configfile, daemon=daemon,
> pidfile=pidfile)
> File
> "/usr/local/plivo/src/plivo/src/plivo/rest/freeswitch/outboundserver.py",
> line 42, in __init__
> self.load_config()
> File
> "/usr/local/plivo/src/plivo/src/plivo/rest/freeswitch/outboundserver.py",
> line 119, in load_config
> raise e
> KeyError: 'outbound_server'
> Plivo-Rest [default] start failed
> Plivo-Outbound [default] start failed
> On Thu, Aug 18, 2011 at 4:25 PM, Siddharth Saha <sidchill...@gmail.com>wrote:
> > Thanks Mike. It worked :)
> > On Thu, Aug 18, 2011 at 4:16 PM, Siddharth Saha <sidchill...@gmail.com>wrote:
> >> Thanks. I will let you know if the script completes successfully. It is
> >> running now :)
> >> On Thu, Aug 18, 2011 at 4:02 PM, <m...@plivo.com> wrote:
> >>> Hi,
> >>> try :
> >>> sudo apt-get install libjpeg-dev
> >>> and run again install script.
> >>> Let me know if it worked ;)
> >>> Le Thu, 18 Aug 2011 03:28:41 -0700 (PDT),
> >>> Siddharth Saha <sidchill...@gmail.com> a écrit :
> >>> > Hi,
> >>> > I am new to Plivo and am trying to install it on Ubuntu. I have been
> >>> > for almost 2 days now and every time I encounter some problems while
> >>> > installing freeswitch using the procedure in the Getting started guide
> >>> > on Plivo website.
> >>> > I am getting this error-
> >>> > Creating mod_spandsp.la
> >>> > /usr/bin/ld: cannot find -ljpeg
> >>> > collect2: ld returned 1 exit status
> >>> > quiet_libtool: link: gcc -shared .libs/mod_spandsp_la-
> >>> > mod_spandsp.o .libs/mod_spandsp_la-udptl.o .libs/mod_spandsp_la-
> >>> > mod_spandsp_fax.o .libs/mod_spandsp_la-mod_spandsp_dsp.o .libs/
> >>> > mod_spandsp_la-mod_spandsp_codecs.o -Wl,-rpath -Wl,/usr/src/
> >>> > freeswitch/.libs -Wl,-rpath -Wl,/usr/local/freeswitch/lib -ljpeg /usr/
> >>> > src/freeswitch/.libs/libfreeswitch.so /usr/src/freeswitch/libs/spandsp/
> >>> > src/.libs/libspandsp.a /usr/src/freeswitch/libs/tiff-3.8.2/
> >>> > libtiff/.libs/libtiff.a -lssl -lcrypto -lncurses -pthread -Wl,-
> >>> > soname -Wl,mod_spandsp.so -o .libs/mod_spandsp.so
> >>> > make[4]: *** [mod_spandsp.la] Error 1
> >>> > make[3]: *** [mod_spandsp-all] Error 1
> >>> > make[2]: *** [all-recursive] Error 1
> >>> > make[1]: *** [all-recursive] Error 1
> >>> > make: *** [all] Error 2
> >>> > I don't know how to fix this. Can someone please help?
> >>> > Thanks.
> >> --
> >> -Siddharth Saha
> > --
> > -Siddharth Saha