Do you have a " character on your first line? Or is just your posting format?
Also, start openser with debug=9 and check the log output. Regards, Ovidiu Sas On 10/25/07, Gregorio <[EMAIL PROTECTED]> wrote: > > > > > Hi all. > > > > I am installing svn HEAD version of openSer (at 10:24 am). I am finding > strange errors. > > As I wrote before I could not create the data base (mysql) with the command > create and the log was quite weird. > > Now, when I try to start openser I get this in the log: > > > > 'Oct 25 16:53:47 localhost openser: core:main: initialize the pseudo random > generator from /dev/urandom > > Oct 25 16:53:47 localhost openser: core:yyerror: parse error (1,1-2): syntax > error > > Oct 25 16:53:48 localhost openser: core:main: bad config file (1 errors)' > > > > 'openser.cfg' is in /usr/local/etc/openser/openser.cfg and > I don't find anything wrong with it, apparently the line 1 is not wrong. > > > > Can somebody tell me what is wrong? > > Thanks in advance. > > Gregorio. > > > > Here is the file content: > > > > " > > # > > # $Id: openser.cfg 2825 2007-09-27 09:05:52Z henningw $ > > # > > # simple quick-start config script > > # Please refer to the Core CookBook at > http://www.openser.org/dokuwiki/doku.php > > # for a explanation of possible statements, functions and parameters. > > # > > > > # ----------- global configuration parameters ------------------------ > > > > debug=3 # debug level (cmd line: -dddddddddd) > > fork=yes > > log_stderror=no # (cmd line: -E) > > children=4 > > > > port=5060 > > > > # Uncomment these lines to enter debugging mode > > #fork=no > > #log_stderror=yes > > > > # Uncomment this to prevent the blacklisting of temporary not available > destinations > > #disable_dns_blacklist=yes > > > > # # Uncomment this to prevent the IPv6 lookup after v4 dns lookup failures > > #dns_try_ipv6=no > > > > # uncomment the following lines for TLS support > > #disable_tls = 0 > > #listen = tls:your_IP:5061 > > #tls_verify_server = 1 > > #tls_verify_client = 1 > > #tls_require_client_certificate = 0 > > #tls_method = TLSv1 > > #tls_certificate = > "/usr/local/etc/openser/tls/user/user-cert.pem" > > #tls_private_key = > "/usr/local/etc/openser/tls/user/user-privkey.pem" > > #tls_ca_list = > "/usr/local/etc/openser/tls/user/user-calist.pem" > > > > # ------------------ module loading > ---------------------------------- > > > > #set module path > > mpath="/usr/local/lib/openser/modules/" > > > > # Uncomment this if you want to use SQL database > > #loadmodule "mysql.so" > > > > loadmodule "sl.so" > > loadmodule "tm.so" > > loadmodule "rr.so" > > loadmodule "maxfwd.so" > > … > > … > > … > > …" > _______________________________________________ > Users mailing list > Users@openser.org > http://openser.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users