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" <[email protected]>
>> An: Michael Ciupka <[email protected]>
>> CC: [email protected]
>> Betreff: Re: [OpenSIPS-Users] OpenSIPS with OpenXCAP
>
>> 2009/7/14 Michael Ciupka <[email protected]>:
>>> 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
>> <[email protected]>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to