[Freeswitch-users] Clean installation of FS 1.6.2 fails to start

Brian West brian at freeswitch.org
Thu Oct 1 17:18:53 MSD 2015


Thats kinda naughty... I tend to agree just make it work!  But it was
stated it was a clean install and I know I found, filed and William fixed
this on a clean install, so I spent 45 minutes verifying that again today.

File a JIRA and we'll debate the finer points of muck with your files
during package install! :)

On Thu, Oct 1, 2015 at 8:11 AM, Stanislav Sinyagin <ssinyagin at gmail.com>
wrote:

> Brian,
> the problem is actually if you do have your config in /etc/freeswitch: in
> previous versions, tls subdirectory was not required, and now it fails as
> descrobed above if it's missing.
> Probably the package installer should create it explicitly if it's
> missing, regardless if /etc/freeswitch exists or not.
>
>
>
> On Thu, Oct 1, 2015 at 2:55 PM, Brian West <brian at freeswitch.org> wrote:
>
>> I this case the install wasn't clean, I just tested a clean install no
>> /etc/freeswitch at all when I started and it worked fine.
>>
>> On Thu, Oct 1, 2015 at 7:04 AM, Giovanni Maruzzelli <gmaruzz at gmail.com>
>> wrote:
>>
>>>
>>> Il 01/Ott/2015 13:58, "Raphael Lechner" <raphael.lechner at gmail.com> ha
>>> scritto:
>>> >
>>> > Hi,
>>> >
>>> > I had the same problem. The best would be to create the directory
>>> first and change the permission that the freeswitch user can read/write
>>> > mkdir /etc/freeswitch/tls
>>> > chown freeswitch.freeswitch /etc/freeswitch/tls
>>> >
>>> > or you can freeswitch one time as root, then it will create the
>>> directory and you stop it and change the permission to freeswitch.
>>>
>>> No,  is actually the first way (manually create dir then chown) that is
>>> correct.
>>> This second way (start FS as root) is not correct because it will leave
>>> files around owned by root that can interfere with future normal non-root
>>> operation (logfiles, pid file, etc).
>>>
>>> -giovanni
>>>
>>>
>>> > (I started the freeswitch to debug the issue as root and the problem
>>> was not there anymore...)
>>> >
>>> >
>>> >> On 01 Oct 2015, at 13:49, Michael Nielsen <mic.niel84 at gmail.com>
>>> wrote:
>>> >>
>>> >> I actually don't have a tls directory... Should the entire
>>> /etc/freeswitch be chown'ed or only the /etc/freeswitch/tls?
>>> >> As of now everything is root:root.
>>> >>
>>> >> On Thu, Oct 1, 2015 at 1:44 PM, Giovanni Maruzzelli <
>>> gmaruzz at gmail.com> wrote:
>>> >>>
>>> >>> try this from root command line:
>>> >>>
>>> >>> #if you installed from packages:
>>> >>> chown freeswitch:freeswitch /etc/freeswitch/tls
>>> >>>
>>> >>> #if you compiled:
>>> >>> chown freeswitch:freeswitch /usr/local/freeswitch/conf/tls
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Thu, Oct 1, 2015 at 1:28 PM, Michael Nielsen <
>>> mic.niel84 at gmail.com> wrote:
>>> >>>>
>>> >>>> I've setup a clean Debian 8 with FS 1.6.2.
>>> >>>>
>>> >>>> When trying to start I get the following error:
>>> >>>> 2015-10-01 06:26:13.544697 [ERR] sofia.c:2945 Error Creating SIP UA
>>> for profile: internal (sip:mod_sofia at 139.125.289.11
>>> :5060;transport=udp,tcp)
>>> >>>> The likely causes for this are:
>>> >>>> 1) Another application is already listening on the specified
>>> address.
>>> >>>> 2) The IP the profile is attempting to bind to is not local to this
>>> system.
>>> >>>>
>>> >>>> No other application is running on port 5060, I've also tried to
>>> change this - same error still occurs on other ports.
>>> >>>>
>>> >>>> The IP profile cause, I'm not sure what that means. The public port
>>> 5080 does get binded correctly.
>>> >>>>
>>> >>>> My internal.xml contains $${local_ip_v4} for IP address.
>>> >>>>
>>> >>>>
>>> _________________________________________________________________________
>>> >>>> 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
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> Sincerely,
>>> >>>
>>> >>> Giovanni Maruzzelli
>>> >>> Cell : +39-347-2665618
>>> >>>
>>> >>>
>>> _________________________________________________________________________
>>> >>> 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
>>>
>>
>>
>>
>> --
>>
>> *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
>



-- 

*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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151001/b3fcb11b/attachment.html 


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