[Freeswitch-users] Clean installation of FreeSWITCH with basic functionality

Stanislav Sinyagin ssinyagin at gmail.com
Sat Sep 12 01:28:02 MSD 2015


I just tried it with the latest unstable, and got the following error in
"journalctl -xn":
Sep 11 23:21:58 ph02 chown[23601]: /bin/chown: cannot access
‘/etc/freeswitch/tls’: No such file or directory

after "mkdir /etc/freeswitch/tls", "apt-get install -y freeswitch-all" has
finished with success.



On Fri, Sep 11, 2015 at 2:15 PM, Michael Nielsen <mic.niel84 at gmail.com>
wrote:

> Yes, I'm using the "original" FreeSWITCH Debian packages...
>
> apt-get install freeswitch-all from this:
> echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie
> main" > /etc/apt/sources.list.d/99FreeSWITCH.test.list
> wget -O - http://files.freeswitch.org/repo/deb/freeswitch-1.6/key.gpg
> |apt-key add -
> apt-get update
>
> On Fri, Sep 11, 2015 at 1:18 AM, Brian West <brian at freeswitch.org> wrote:
>
>> Are you using our package repo?
>>
>> On Thu, Sep 10, 2015 at 8:29 AM, Michael Nielsen <mic.niel84 at gmail.com>
>> wrote:
>>
>>> I have not. Freeswitch works if I start it manually, but it does not
>>> start automatically after apt-get install freeswitch-all and conf copied to
>>> /etc/freeswitch/
>>>
>>> On Thu, Sep 10, 2015 at 2:48 PM, Ítalo Rossi <italorossib at gmail.com>
>>> wrote:
>>>
>>>> It should. Double check if you have your /run/freeswitch created.
>>>>
>>>> On Thu, Sep 10, 2015 at 9:38 AM, Michael Nielsen <mic.niel84 at gmail.com>
>>>> wrote:
>>>>
>>>>> I did deploy the config, but that is after the apt-get install
>>>>> freeswitch-all.
>>>>>
>>>>> Does freeswitch start up automatically on boot?
>>>>>
>>>>> On Thu, Sep 10, 2015 at 2:33 PM, Stanislav Sinyagin <
>>>>> ssinyagin at gmail.com> wrote:
>>>>>
>>>>>> but the link I gave you contains the installation instructions, and
>>>>>> one of the steps is to deploy the config.
>>>>>>
>>>>>> On Thu, Sep 10, 2015 at 2:09 PM, Michael Nielsen <
>>>>>> mic.niel84 at gmail.com> wrote:
>>>>>> > Thank you very much. I tried to install it on a completely new and
>>>>>> clean
>>>>>> > Debian 8.
>>>>>> >
>>>>>> > This error occured:
>>>>>> > Setting up freeswitch-all (1.4.21~35-1~jessie+1) ...
>>>>>> > Job for freeswitch.service failed. See 'systemctl status
>>>>>> freeswitch.service'
>>>>>> > and 'journalctl -xn' for details.
>>>>>> > invoke-rc.d: initscript freeswitch, action "start" failed.
>>>>>> > dpkg: error processing package freeswitch-all (--configure):
>>>>>> >  subprocess installed post-installation script returned error exit
>>>>>> status 1
>>>>>> > Setting up liberror-perl (0.17-1.1) ...
>>>>>> > Setting up git-man (1:2.1.4-2.1) ...
>>>>>> > Setting up git (1:2.1.4-2.1) ...
>>>>>> > Setting up libmtp-runtime (1.1.8-1+b1) ...
>>>>>> > Setting up rsync (3.1.1-3) ...
>>>>>> > Setting up wireshark-common (1.12.1+g01b65bf-4+deb8u2) ...
>>>>>> > Setting up tshark (1.12.1+g01b65bf-4+deb8u2) ...
>>>>>> > Setting up va-driver-all:amd64 (1.4.1-1) ...
>>>>>> > Processing triggers for systemd (215-17+deb8u2) ...
>>>>>> > Processing triggers for libc-bin (2.19-18+deb8u1) ...
>>>>>> > Errors were encountered while processing:
>>>>>> >  freeswitch-all
>>>>>> > E: Sub-process /usr/bin/dpkg returned an error code (1)
>>>>>> >
>>>>>> >
>>>>>> > On Tue, Sep 8, 2015 at 10:08 PM, Stanislav Sinyagin <
>>>>>> ssinyagin at gmail.com>
>>>>>> > wrote:
>>>>>> >>
>>>>>> >> Here we go
>>>>>> >> https://github.com/voxserv/freeswitch_conf_minimal
>>>>>> >>
>>>>>> >>
>>>>>> https://github.com/voxserv/freeswitch_conf_minimal/blob/master/docs/tutorial_01_simple_pbx.md
>>>>>> >>
>>>>>> >> Keep in mind that my minimal config is not the same as the one
>>>>>> shipped
>>>>>> >> with freeswitch.
>>>>>> >>
>>>>>> >> On Sep 8, 2015 8:29 PM, "Michael Nielsen" <mic.niel84 at gmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>> Dear all,
>>>>>> >>>
>>>>>> >>> I'm playing around with FreeSWITCH and everything plays very
>>>>>> nicely. I'm
>>>>>> >>> using the freeswitch-meta-vanilla Debian package on Debian 7.
>>>>>> >>>
>>>>>> >>> I'm "only" using FreeSWITCH for calls between subscribers,
>>>>>> voicemail and
>>>>>> >>> outgoing calls to a SIP gateway - so the vanilla installation
>>>>>> seems rather
>>>>>> >>> "overkill" - especially for a production environment.
>>>>>> >>>
>>>>>> >>> I've tried to - on a clean Debian - install the
>>>>>> freeswitch-meta-default
>>>>>> >>> including freeswitch-conf-minimal. It does install some things,
>>>>>> but it seems
>>>>>> >>> as if some basic functionality is not working - such as fs_cli
>>>>>> etc.
>>>>>> >>>
>>>>>> >>> What is the best way for a very clean FreeSWITCH similar to the
>>>>>> vanilla
>>>>>> >>> installation, but without any users, dial plans and such...?
>>>>>> >>>
>>>>>> >>>
>>>>>> _________________________________________________________________________
>>>>>> >>> Professional FreeSWITCH Consulting Services:
>>>>>> >>> consulting at freeswitch.org
>>>>>> >>> http://www.freeswitchsolutions.com
>>>>>> >>>
>>>>>> >>> Official FreeSWITCH Sites
>>>>>> >>> http://www.freeswitch.org
>>>>>> >>> http://confluence.freeswitch.org
>>>>>> >>> http://www.cluecon.com
>>>>>> >>>
>>>>>> >>> FreeSWITCH-users mailing list
>>>>>> >>> FreeSWITCH-users at 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 at freeswitch.org
>>>>>> >> http://www.freeswitchsolutions.com
>>>>>> >>
>>>>>> >> Official FreeSWITCH Sites
>>>>>> >> http://www.freeswitch.org
>>>>>> >> http://confluence.freeswitch.org
>>>>>> >> http://www.cluecon.com
>>>>>> >>
>>>>>> >> FreeSWITCH-users mailing list
>>>>>> >> FreeSWITCH-users at 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 at freeswitch.org
>>>>>> > http://www.freeswitchsolutions.com
>>>>>> >
>>>>>> > Official FreeSWITCH Sites
>>>>>> > http://www.freeswitch.org
>>>>>> > http://confluence.freeswitch.org
>>>>>> > http://www.cluecon.com
>>>>>> >
>>>>>> > FreeSWITCH-users mailing list
>>>>>> > FreeSWITCH-users at 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 at freeswitch.org
>>>>>> http://www.freeswitchsolutions.com
>>>>>>
>>>>>> Official FreeSWITCH Sites
>>>>>> http://www.freeswitch.org
>>>>>> http://confluence.freeswitch.org
>>>>>> http://www.cluecon.com
>>>>>>
>>>>>> FreeSWITCH-users mailing list
>>>>>> FreeSWITCH-users at 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 at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://confluence.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:
>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Ítalo Rossi
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at 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 at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>>
>>
>> --
>>
>> *Brian West*
>> brian at freeswitch.org
>>
>>
>> *Twitter: @FreeSWITCH , @briankwest*
>> http://www.freeswitchbook.com
>> http://www.freeswitchcookbook.com
>>
>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>
>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150911/516a1fc1/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list