Alright, both the /var/log/messages file AND the opensips log file have to
be in async mode.

So, problem solved, thanks! :)


El 14 de septiembre de 2011 15:40, Alejandro Ríos <[email protected]>escribió:

> Yes, I already had tried changing syslog settings to async mode, but the
> errors kept showing:
>
> local0.*
> -/var/log/opensips.log
>
> Then I set log_stderr=yes and redirected output to a log file, and the
> errors were gone.
>
> I'm using Centos 5.6, maybe a syslog issue on that version?
>
> Thanks again :)
>
>
>
> 2011/9/14 Brett Nemeroff <[email protected]>
>
>> 2011/9/14 Alejandro Ríos Peña <[email protected]>
>>
>>> Hi guys,
>>>
>>> You were right! shutting down syslog logging resulted in clean successful
>>> tests.  I still don't have the fix for this, but will post it here when I
>>> do.
>>>
>>
>> It's an easy fix
>>
>> Go into your syslog and put a "-" before the logfile name for the log that
>> opensips writes to. For example if you have an entry that looks like
>>
>> This is just to give you an idea, you'll need to be sure you edit the
>> right line..
>>
>>
>>
>> *.=info;*.=notice;*.=warning;\
>>         auth,authpriv.none;\
>>         cron,daemon.none;\
>>         mail,news.none          /var/log/messages
>>
>>
>> Change it to this:
>>
>> *.=info;*.=notice;*.=warning;\
>>         auth,authpriv.none;\
>>         cron,daemon.none;\
>>         mail,news.none          -/var/log/messages
>>
>> _______________________________________________
>> 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