<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">@Muhammad <br>
<br>
thanks!<br>
<br>
Miha<br>
<br>
On 11/20/2012 9:56 AM, Muhammad Shahzad wrote:<br>
</div>
<blockquote
cite="mid:CAFZQphy3nSz1c9ADYAPnqx03ocbNBNLEFNvRj5V+K_QA6me_4Q@mail.gmail.com"
type="cite">
<p>You have log stderr on. Opensips will not log to file in this
case. Turn it off.</p>
<p>Thank you.<br>
</p>
<p>On Nov 20, 2012 9:31 AM, "Miha" <<a moz-do-not-send="true"
href="mailto:miha@softnet.si">miha@softnet.si</a>> wrote:<br>
><br>
> I checked it but do not see any other verison installed.<br>
><br>
> I will try to install new centos and that do new
installation of opensips.<br>
><br>
> Thanks!<br>
> Miha<br>
><br>
> On 11/20/2012 9:21 AM, Binan AL Halabi wrote:<br>
>><br>
>> Hi Miha,<br>
>><br>
>> Check if you have another OpenSIPS on your machine
(maybe installed by your OS).<br>
>><br>
>> // Binan<br>
>><br>
>><br>
>> ________________________________<br>
>> Från: Miha <<a moz-do-not-send="true"
href="mailto:miha@softnet.si">miha@softnet.si</a>><br>
>> Till: Muhammad Shahzad <<a moz-do-not-send="true"
href="mailto:shaheryarkh@gmail.com">shaheryarkh@gmail.com</a>>
<br>
>> Kopia: OpenSIPS users mailling list <<a
moz-do-not-send="true" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>>
<br>
>> Skickat: tisdag, 20 november 2012 8:09<br>
>> Ämne: Re: [OpenSIPS-Users] Log problem<br>
>><br>
>> Hi Muhammad,<br>
>><br>
>> exactly that it did, that is the problem:)<br>
>><br>
>> Could be wrong opensips version (1.8.2)?<br>
>><br>
>> Here is my pastebin: <a moz-do-not-send="true"
href="http://pastebin.com/H8jXpkub">http://pastebin.com/H8jXpkub</a><br>
>><br>
>> You can see that I did exactly what you said:)<br>
>><br>
>> Thanks for help!<br>
>><br>
>> BR,<br>
>> Miha<br>
>><br>
>> On 11/19/2012 7:34 PM, Muhammad Shahzad wrote:<br>
>>><br>
>>> Here is the sequence of actions, which must be done
in order,<br>
>>><br>
>>> 1. edit syslog.conf to define your custom log file
for opensips.<br>
>>> 2. restart syslog service.<br>
>>> 3. restart opensips.<br>
>>><br>
>>> Thank you.<br>
>>><br>
>>><br>
>>> On Mon, Nov 19, 2012 at 5:28 PM, Miha <<a
moz-do-not-send="true" href="mailto:miha@softnet.si">miha@softnet.si</a>>
wrote:<br>
>>>><br>
>>>> Hi,<br>
>>>><br>
>>>> I am using centos. I have restarted syslog
service<br>
>>>> (/etc/init.d/syslog restart) which created me
opensips.log.<br>
>>>><br>
>>>> But still it is empty.<br>
>>>><br>
>>>> On Mon, 19 Nov 2012 14:34:31 +0100<br>
>>>> Muhammad Shahzad <<a moz-do-not-send="true"
href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</a>>
wrote:<br>
>>>> > you need restart syslog service. Under
debian you can do<br>
>>>> > this by,<br>
>>>> ><br>
>>>> > service rsyslog restart<br>
>>>> ><br>
>>>> > This will create log file as well.<br>
>>>> ><br>
>>>> > Thank you.<br>
>>>> ><br>
>>>> ><br>
>>>> > On Mon, Nov 19, 2012 at 1:44 PM, Miha <<a
moz-do-not-send="true" href="mailto:miha@softnet.si">miha@softnet.si</a>><br>
>>>> > wrote:<br>
>>>> ><br>
>>>> > > HI,<br>
>>>> > ><br>
>>>> > > here is my pastebin when I do
opensips start:<br>
>>>> > > <a moz-do-not-send="true"
href="http://pastebin.com/Z9hxrHB2">http://pastebin.com/Z9hxrHB2</a><br>
>>>> > ><br>
>>>> > ><br>
>>>> > > debug=6<br>
>>>> > > log_stderror=yes<br>
>>>> > > log_facility=LOG_LOCAL0<br>
>>>> > ><br>
>>>> > ><br>
>>>> > > syslog.conf<br>
>>>> > ><br>
>>>> > ><br>
>>>> > ><br>
>>>> > > #opensips<br>
>>>> > > local0.*<br>
>>>> > > /var/log/opensips.log<br>
>>>> > ><br>
>>>> > ><br>
>>>> > ><br>
>>>> > > Still no luck:(<br>
>>>> > ><br>
>>>> > > I tried to cat massages, opensips.log
but there is no<br>
>>>> > opensips log.<br>
>>>> > ><br>
>>>> > > Br,<br>
>>>> > > Miha<br>
>>>> > ><br>
>>>> > ><br>
>>>> > > On 11/19/2012 12:35 PM, Saúl Ibarra
Corretgé wrote:<br>
>>>> > ><br>
>>>> > > On Nov 19, 2012, at 12:26 PM, Miha
wrote:<br>
>>>> > ><br>
>>>> > ><br>
>>>> > > Hi,<br>
>>>> > ><br>
>>>> > > my opensips.cfg:<br>
>>>> > > debug=6<br>
>>>> > > log_stderror=yes<br>
>>>> > > log_facility=LOG_LOCAL0<br>
>>>> > ><br>
>>>> > > syslog.conf<br>
>>>> > ><br>
>>>> > > #opensips<br>
>>>> > > local0.* -/var/log/opensips.log<br>
>>>> > ><br>
>>>> > ><br>
>>>> > > Where could be a poroblem that
opensips does not log?<br>
>>>> > > Opensips.log is empty.<br>
>>>> > ><br>
>>>> > ><br>
>>>> > > Remove that '-' from the syslog.conf
line, that<br>
>>>> > prevents the matching entries from going
there. It should<br>
>>>> > look like this:<br>
>>>> > ><br>
>>>> > > #opensips<br>
>>>> > > local0.* /var/log/opensips.log<br>
>>>> > ><br>
>>>> > ><br>
>>>> > > Regards,<br>
>>>> > ><br>
>>>> > > PS: This applies to rsyslog.<br>
>>>> > ><br>
>>>> > > --<br>
>>>> > > Saúl Ibarra Corretgé<br>
>>>> > > AG Projects<br>
>>>> > ><br>
>>>> > ><br>
>>>> > ><br>
>>>> > ><br>
>>>> > >
_______________________________________________<br>
>>>> > > Users mailing<br>
>>>> ><br>
>>>> <a class="moz-txt-link-abbreviated" href="mailto:listUsers@lists.opensips.orghttp://">listUsers@lists.opensips.orghttp://</a><a
moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>>>> > ><br>
>>>> > ><br>
>>>> > ><br>
>>>> > >
_______________________________________________<br>
>>>> > > Users mailing list<br>
>>>> > > <a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>>>> > ><br>
>>>> > <a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>>>> > ><br>
>>>> > ><br>
>>>> ><br>
>>>> ><br>
>>>> > --<br>
>>>> > Muhammad Shahzad<br>
>>>> > -----------------------------------<br>
>>>> > CISCO Rich Media Communication Specialist
(CRMCS)<br>
>>>> > CISCO Certified Network Associate (CCNA)<br>
>>>> > Cell: +49 176 99 83 10 85<br>
>>>> > MSN: <a moz-do-not-send="true"
href="mailto:shari_786pk@hotmail.com">shari_786pk@hotmail.com</a><br>
>>>> > Email: <a moz-do-not-send="true"
href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</a><br>
>>><br>
>>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> <a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> <a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>