[OpenSIPS-Users] CRITICAL:core:yyerror: parse error in config file

M.Abdulaziz malduwais1 at ksu.edu.sa
Mon Nov 28 04:19:11 CET 2011


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+s1449251n7037512h52 at n2.nabble.com]
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<http://opensips-open-sip-server.1449251.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7037342&code=bWFsZHV3YWlzMUBrc3UuZWR1LnNhfDcwMzczNDJ8ODk1Nzc3OTkz>.
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: 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 at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20111127/33751c17/attachment.htm>


More information about the Users mailing list