[OpenSIPS-Users] OpenSIPS with OpenXCAP

Adrian Georgescu ag at ag-projects.com
Tue Jul 14 15:11:35 CEST 2009


The user that opensips process runs under must have write access to  
that file.

You could do this:

modparam("mi_xmlrpc", "log_file", "/var/log/opensips/xmlrpc.log")

mkdir /var/log/opensips/

sudo chown opensip.opensips /var/log/opensips

Then try again

Adrian


On Jul 14, 2009, at 3:07 PM, Michael Ciupka wrote:

> Hello Iñaki Baz Castillo,
>
> i dont understand what do you mean with "Which system user and group  
> run OpenSIPs in the server?"
> when i start OpenSIPS the /var/log/xmlrpc.log doesn´t exist, where i  
> can setup permissions?
>
> Regards
> Michael
>
>
> -------- Original-Nachricht --------
>> Datum: Tue, 14 Jul 2009 14:57:24 +0200
>> Von: "Iñaki Baz Castillo" <ibc at aliax.net>
>> An: Michael Ciupka <opensips at michael-ciupka.de>
>> CC: users at lists.opensips.org
>> Betreff: Re: [OpenSIPS-Users] OpenSIPS with OpenXCAP
>
>> 2009/7/14 Michael Ciupka <opensips at michael-ciupka.de>:
>>> Hello,
>>>
>>> when I Upload the presence-rules document by UCT IMS Client i get  
>>> this
>> error:
>>> Can't open log file '/var/log/xmlrpc.log'
>>>
>>> in my opensips.cfg i have writen:
>>> # -- mi_xmlrpc params --
>>> modparam("mi_xmlrpc", "port", 8090)
>>> modparam("mi_xmlrpc", "log_file", "/var/log/xmlrpc.log")
>>>
>>> but why i get an error? can somebody help me?
>>
>> Which system user and group run OpenSIPs in the server?
>> Does /var/log/xmlrpc.log exist after starting OpenSIPS? which
>> permissions does it have?
>>
>> -- 
>> Iñaki Baz Castillo
>> <ibc at aliax.net>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list