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

Giovanni Maruzzelli gmaruzz at gmail.com
Thu Oct 1 16:04:16 MSD 2015


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


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