Hi,
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.
Regards,
Bogdan
On 11/28/2011 05:19 AM, M.Abdulaziz wrote:
Thank you Mr. Khamis for replying
I did the following:
> /etc/init.d/opensips start
(OK)
then
I compiled my cfg:
> opensips -c registrar.cfg
then the error occured after the compile. is there anything wrong in
my (registrar.cfg)??
BTW: I always do it like this to run opensips is it a wrong way to do
the run?
run:
> opensips -f registrar.cfg
udp: listening XXX.XXX.XXX.XXX:port
Thanks,
------------------------------------------------------------------------
*From:* Nick Khamis [via OpenSIPS (Open SIP Server)] [ml-node+[hidden
email] </user/SendEmail.jtp?type=node&node=7037578&i=0>]
*Sent:* Monday, November 28, 2011 5:14 AM
*To:* Maysoon Aaziz Alduwais
*Subject:* Re: CRITICAL:core:yyerror: parse error in config file
You first have to determine which cfg opensips is loading:
/etc/opensips/opensips.cfg, or
/usr/etc/opensips/opensips.cfg
Cheers,
Ninus.
On Sun, Nov 27, 2011 at 6:50 PM, M.Abdulaziz <[hidden email]
<https://mail.ksu.edu.sa/OWA/UrlBlockedError.aspx>> wrote:
> Hello all,
>
> I want to create an opensips registrar/proxy server at the same time.
>
> When I compile the (.cfg) I'm always getting the follwing error:
>
> Nov 28 02:28:16 [2478] CRITICAL:core:yyerror: parse error in config
file,
> line 54, column 1-15: syntax error
> Nov 28 02:28:16 [2478] CRITICAL:core:yyerror: parse error in config
file,
> line 54, column 1-15:
> Nov 28 02:28:16 [2478] ERROR:core:main: bad config file (2 errors)
>
>
> I can't locate anything wrong in the file .can any one help me
correcting
> this error
>
http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7037342/registrar.cfg
> registrar.cfg
>
> --
> View this message in context:
http://opensips-open-sip-server.1449251.n2.nabble.com/CRITICAL-core-yyerror-parse-error-in-config-file-tp7037342p7037342.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [hidden email] <https://mail.ksu.edu.sa/OWA/UrlBlockedError.aspx>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[hidden email] <https://mail.ksu.edu.sa/OWA/UrlBlockedError.aspx>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
------------------------------------------------------------------------
If you reply to this email, your message will be added to the
discussion below:
http://opensips-open-sip-server.1449251.n2.nabble.com/CRITICAL-core-yyerror-parse-error-in-config-file-tp7037342p7037512.html
To unsubscribe from CRITICAL:core:yyerror: parse error in config file,
click here.
NAML
<http://opensips-open-sip-server.1449251.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
------------------------------------------------------------------------
Disclaimer:
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.
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.
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.
------------------------------------------------------------------------
View this message in context: RE: CRITICAL:core:yyerror: parse error
in config file
<http://opensips-open-sip-server.1449251.n2.nabble.com/CRITICAL-core-yyerror-parse-error-in-config-file-tp7037342p7037578.html>
Sent from the OpenSIPS - Users mailing list archive
<http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html>
at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users