<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    <br>
    Definitely it is something wrong with your cfg - the script parser
    reports the error at line 54 in file - check it again for syntax
    error or post it here to examine.<br>
    <br>
    Regards,<br>
    Bogdan<br>
    <br>
    On 11/28/2011 05:19 AM, M.Abdulaziz wrote:
    <blockquote
cite="mid:433D076DB548C546B23DEB3F9A0B41780B5720C2FD3C@KSUVMB04.KSU.LOCAL"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="GENERATOR" content="MSHTML 9.00.8112.16437">
      <div style="font-family: Tahoma; direction: ltr; color: rgb(0, 0,
        0); font-size: 13px;">
        <div>Thank you Mr. Khamis for replying</div>
        <div>&nbsp;</div>
        <div><font face="tahoma" size="2">I did the following:</font></div>
        <div>&nbsp;</div>
        <div><font face="tahoma" size="2">&gt; /etc/init.d/opensips
            start</font></div>
        <div>&nbsp;</div>
        <div><font face="tahoma" size="2">(OK)</font></div>
        <div>&nbsp;</div>
        <div><font face="tahoma" size="2">then</font></div>
        <div>&nbsp;</div>
        <div><font face="tahoma" size="2">I compiled my cfg: </font></div>
        <div>&nbsp;</div>
        <div><font face="tahoma" size="2">&gt; opensips -c registrar.cfg</font></div>
        <div>&nbsp;</div>
        <div>&nbsp;</div>
        <div><font face="tahoma" size="2">then the error occured after
            the compile. is there anything wrong in my (registrar.cfg)??</font></div>
        <div>&nbsp;</div>
        <div>&nbsp;</div>
        <div dir="ltr"><font color="#000000" face="Tahoma" size="2">BTW:
            I always do it like this to run opensips is it a wrong way
            to do the run?</font></div>
        <div dir="ltr">&nbsp;</div>
        <div dir="ltr"><font face="tahoma" size="2">run:</font></div>
        <div dir="ltr"><font face="tahoma" size="2">&gt; opensips -f
            registrar.cfg</font></div>
        <div dir="ltr">&nbsp;</div>
        <div dir="ltr"><font face="tahoma" size="2">udp: listening
            XXX.XXX.XXX.XXX:port</font></div>
        <div dir="ltr">&nbsp;</div>
        <div dir="ltr"><font face="tahoma" size="2">Thanks,</font></div>
        <div dir="ltr">&nbsp;</div>
        <div style="direction: ltr;" id="divRpF689708">
          <hr tabindex="-1">
          <font color="#000000" face="Tahoma" size="2"><b>From:</b> Nick
            Khamis [via OpenSIPS (Open SIP Server)] [ml-node+<a
              moz-do-not-send="true"
              href="/user/SendEmail.jtp?type=node&amp;node=7037578&amp;i=0"
              target="_top" rel="nofollow" link="external">[hidden
              email]</a>]<br>
            <b>Sent:</b> Monday, November 28, 2011 5:14 AM<br>
            <b>To:</b> Maysoon Aaziz Alduwais<br>
            <b>Subject:</b> Re: CRITICAL:core:yyerror: parse error in
            config file<br>
          </font><br>
        </div>
        <div>You first have to determine which cfg opensips is loading:
          <br>
          <br>
          /etc/opensips/opensips.cfg, or <br>
          /usr/etc/opensips/opensips.cfg <br>
          <br>
          Cheers, <br>
          <br>
          Ninus. <br>
          <br>
          <br>
          <br>
          On Sun, Nov 27, 2011 at 6:50 PM, M.Abdulaziz &lt;<a
            moz-do-not-send="true"
            href="https://mail.ksu.edu.sa/OWA/UrlBlockedError.aspx"
            rel="nofollow" target="_blank" link="external">[hidden
            email]</a>&gt; wrote:
          <div class="shrinkable-quote"><br>
            &gt; Hello all, <br>
            &gt; <br>
            &gt; I want to create an opensips registrar/proxy server at
            the same time. <br>
            &gt; <br>
            &gt; When I compile the (.cfg) I'm always getting the
            follwing error: <br>
            &gt; <br>
            &gt; Nov 28 02:28:16 [2478] CRITICAL:core:yyerror: parse
            error in config file, <br>
            &gt; line 54, column 1-15: syntax error <br>
            &gt; Nov 28 02:28:16 [2478] CRITICAL:core:yyerror: parse
            error in config file, <br>
            &gt; line 54, column 1-15: <br>
            &gt; Nov 28 02:28:16 [2478] ERROR:core:main: bad config file
            (2 errors) <br>
            &gt; <br>
            &gt; <br>
            &gt; I can't locate anything wrong in the file .can any one
            help me correcting <br>
            &gt; this error <br>
            &gt; <a moz-do-not-send="true"
href="http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7037342/registrar.cfg"
              rel="nofollow" target="_blank" link="external">
http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7037342/registrar.cfg</a><br>
            &gt; registrar.cfg <br>
            &gt; <br>
            &gt; -- <br>
            &gt; View this message in context: <a
              moz-do-not-send="true"
href="http://opensips-open-sip-server.1449251.n2.nabble.com/CRITICAL-core-yyerror-parse-error-in-config-file-tp7037342p7037342.html"
              rel="nofollow" target="_blank" link="external">
http://opensips-open-sip-server.1449251.n2.nabble.com/CRITICAL-core-yyerror-parse-error-in-config-file-tp7037342p7037342.html</a><br>
            &gt; Sent from the OpenSIPS - Users mailing list archive at
            Nabble.com. <br>
            &gt; <br>
            &gt; _______________________________________________ <br>
            &gt; Users mailing list <br>
            &gt; <a moz-do-not-send="true"
              href="https://mail.ksu.edu.sa/OWA/UrlBlockedError.aspx"
              rel="nofollow" target="_blank" link="external">
              [hidden email]</a> <br>
            &gt; <a moz-do-not-send="true"
              href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
              rel="nofollow" target="_blank" link="external">
              http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
            &gt; </div>
          <br>
          _______________________________________________ <br>
          Users mailing list <br>
          <a moz-do-not-send="true"
            href="https://mail.ksu.edu.sa/OWA/UrlBlockedError.aspx"
            rel="nofollow" target="_blank" link="external">[hidden
            email]</a>
          <br>
          <a moz-do-not-send="true"
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            rel="nofollow" target="_blank" link="external">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
          <br>
          <br>
          <hr color="#cccccc" noshade="noshade" size="1">
          <div style="font: 12px
            tahoma,geneva,helvetica,arial,sans-serif; color: rgb(68, 68,
            68);">
            <div style="font-weight: bold;">If you reply to this email,
              your message will be added to the discussion below:</div>
            <a moz-do-not-send="true"
href="http://opensips-open-sip-server.1449251.n2.nabble.com/CRITICAL-core-yyerror-parse-error-in-config-file-tp7037342p7037512.html"
              target="_blank" rel="nofollow" link="external">http://opensips-open-sip-server.1449251.n2.nabble.com/CRITICAL-core-yyerror-parse-error-in-config-file-tp7037342p7037512.html</a>
          </div>
          <div style="margin-top: 0.4em; font: 11px/1.5em
            tahoma,geneva,helvetica,arial,sans-serif; color: rgb(102,
            102, 102);">
            To unsubscribe from CRITICAL:core:yyerror: parse error in
            config file, <a moz-do-not-send="true" href=""
              target="_blank" rel="nofollow" link="external">
              click here</a>.<br>
            <a moz-do-not-send="true" style="font: 9px serif;"
href="http://opensips-open-sip-server.1449251.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&amp;breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml"
              rel="nofollow" target="_blank" link="external">NAML</a>
          </div>
        </div>
      </div>
      <br>
      <hr>
      <font color="Gray" face="Arial" size="1">Disclaimer:<br>
        This communication is intended for the above named person and is
        confidential and / or legally privileged. Any opinion(s)
        expressed in this communication are not necessarily those of KSU
        (King Saud University). If it has come to you in error you must
        take no action based upon it, nor must you print it, copy it,
        forward it, or show it to anyone. Please delete and destroy the
        e-mail and any attachments and inform the sender immediately.
        Thank you.<br>
        KSU is not responsible for the political, religious, racial or
        partisan opinion in any correspondence conducted by its domain
        users. Therefore, any such opinion expressed, whether explicitly
        or implicitly, in any said correspondence is not to be
        interpreted as that of KSU.<br>
        KSU may monitor all incoming and outgoing e-mails in line with
        KSU business practice. Although KSU has taken steps to ensure
        that e-mails and attachments are free from any virus, we advise
        that, in keeping with best business practice, the recipient must
        ensure they are actually virus free.<br>
      </font> <br>
      <hr align="left" width="300">
      View this message in context: <a moz-do-not-send="true"
href="http://opensips-open-sip-server.1449251.n2.nabble.com/CRITICAL-core-yyerror-parse-error-in-config-file-tp7037342p7037578.html">RE:
        CRITICAL:core:yyerror: parse error in config file</a><br>
      Sent from the <a moz-do-not-send="true"
href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html">OpenSIPS
        - Users mailing list archive</a> at Nabble.com.<br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"</pre>
  </body>
</html>