<p dir="ltr"><br>
Il 01/Ott/2015 13:58, "Raphael Lechner" <<a href="mailto:raphael.lechner@gmail.com">raphael.lechner@gmail.com</a>> ha scritto:<br>
><br>
> Hi,<br>
><br>
> 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<br>
> mkdir /etc/freeswitch/tls<br>
> chown freeswitch.freeswitch /etc/freeswitch/tls<br>
><br>
> or you can freeswitch one time as root, then it will create the directory and you stop it and change the permission to freeswitch.</p>
<p dir="ltr">No, is actually the first way (manually create dir then chown) that is correct. <br>
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).</p>
<p dir="ltr">-giovanni<br><br><br></p>
<p dir="ltr">> (I started the freeswitch to debug the issue as root and the problem was not there anymore...)<br>
><br>
><br>
>> On 01 Oct 2015, at 13:49, Michael Nielsen <<a href="mailto:mic.niel84@gmail.com">mic.niel84@gmail.com</a>> wrote:<br>
>><br>
>> I actually don't have a tls directory... Should the entire /etc/freeswitch be chown'ed or only the /etc/freeswitch/tls?<br>
>> As of now everything is root:root.<br>
>><br>
>> On Thu, Oct 1, 2015 at 1:44 PM, Giovanni Maruzzelli <<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>> wrote:<br>
>>><br>
>>> try this from root command line:<br>
>>><br>
>>> #if you installed from packages:<br>
>>> chown freeswitch:freeswitch /etc/freeswitch/tls<br>
>>><br>
>>> #if you compiled:<br>
>>> chown freeswitch:freeswitch /usr/local/freeswitch/conf/tls<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> On Thu, Oct 1, 2015 at 1:28 PM, Michael Nielsen <<a href="mailto:mic.niel84@gmail.com">mic.niel84@gmail.com</a>> wrote:<br>
>>>><br>
>>>> I've setup a clean Debian 8 with FS 1.6.2.<br>
>>>><br>
>>>> When trying to start I get the following error:<br>
>>>> 2015-10-01 06:26:13.544697 [ERR] sofia.c:2945 Error Creating SIP UA for profile: internal (sip:mod_sofia@139.125.289.11:5060;transport=udp,tcp)<br>
>>>> The likely causes for this are:<br>
>>>> 1) Another application is already listening on the specified address.<br>
>>>> 2) The IP the profile is attempting to bind to is not local to this system.<br>
>>>><br>
>>>> No other application is running on port 5060, I've also tried to change this - same error still occurs on other ports.<br>
>>>><br>
>>>> The IP profile cause, I'm not sure what that means. The public port 5080 does get binded correctly.<br>
>>>><br>
>>>> My internal.xml contains $${local_ip_v4} for IP address.<br>
>>>><br>
>>>> _________________________________________________________________________<br>
>>>> Professional FreeSWITCH Consulting Services:<br>
>>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>>> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
>>>><br>
>>>> Official FreeSWITCH Sites<br>
>>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>>>> <a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
>>>> <a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
>>>><br>
>>>> FreeSWITCH-users mailing list<br>
>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> -- <br>
>>> Sincerely,<br>
>>><br>
>>> Giovanni Maruzzelli<br>
>>> Cell : +39-347-2665618<br>
>>><br>
>>> _________________________________________________________________________<br>
>>> Professional FreeSWITCH Consulting Services:<br>
>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
>>><br>
>>> Official FreeSWITCH Sites<br>
>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>>> <a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
>>> <a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
>>><br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>><br>
>><br>
>> _________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services: <br>
>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
>><br>
>> Official FreeSWITCH Sites<br>
>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>> <a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
>> <a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
> <a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</p>