[Serusers] Problem starting SER 0.9.6 with MYSQL on FreeBSD

Andrey Kouprianov andrey.kouprianov at gmail.com
Tue Jul 25 05:52:54 CEST 2006


Something like (50,13-14) means you have an error at line 50, at
character 13 to 14.

On 7/25/06, Josel Layno <josel70ph at gmail.com> wrote:
> Hi there again....I think i got fix some syntax error...typo errors...:)
>
> But not this new error...:(
>
>  voip# ser start
>  0(1684) ERROR: load_module: could not open module
> </usr/local/lib/ser/modules/nathelpher.so>: Cannot open
> "/usr/local/lib/ser/modules/nathelpher.so"
>  0(1684) parse error (50,13-14): failed to load module
>  0(1684) set_mod_param_regex: No module matching nathelpher found
> | 0(1684) parse error (72,19-20): Can't set module parameter
>  0(1684) set_mod_param_regex: No module matching nathelpher found
> | 0(1684) parse error (73,19-20): Can't set module parameter
>  0(1684) parse error (124,48-49): unknown command, missing loadmodule?
>
>  0(1684) parse error (216,22-23): unknown command, missing loadmodule?
>
>  0(1684) parse error (242,21-22): unknown command, missing loadmodule?
>
> ERROR: bad config file (6 errors)
>
>
> I have here my module directory...seems the nathelpher.so is
> included...*thinking*
>
> voip# pwd
> /usr/local/lib/ser/modules
> voip# ls -al
> total 1388
> drwxr-xr-x  2 root  wheel    1024 Jul 24 13:30 .
> drwxr-xr-x  3 root  wheel     512 Jul 24 13:30 ..
> -r-xr-xr-x  1 root  wheel   14584 Jul 24 13:30 acc.so
> -r-xr-xr-x  1 root  wheel   23708 Jul 24 13:30 auth.so
> -r-xr-xr-x  1 root  wheel   22512 Jul 24 13:30 auth_db.so
> -r-xr-xr-x  1 root  wheel   37176 Jul 24 13:30 auth_diameter.so
> -r-xr-xr-x  1 root  wheel   18096 Jul 24 13:30 auth_radius.so
> -r-xr-xr-x  1 root  wheel    9816 Jul 24 13:30 avp.so
> -r-xr-xr-x  1 root  wheel    9860 Jul 24 13:30 avp_db.so
> -r-xr-xr-x  1 root  wheel   11524 Jul 24 13:30 avp_radius.so
> -r-xr-xr-x  1 root  wheel   51700 Jul 24 13:30 avpops.so
> -r-xr-xr-x  1 root  wheel    8228 Jul 24 13:30 check_ua.so
> -r-xr-xr-x  1 root  wheel   48316 Jul 24 13:30 dbtext.so
> -r-xr-xr-x  1 root  wheel   14188 Jul 24 13:30 dispatcher.so
> -r-xr-xr-x  1 root  wheel    5824 Jul 24 13:30 diversion.so
> -r-xr-xr-x  1 root  wheel   15832 Jul 24 13:30 domain.so
> -r-xr-xr-x  1 root  wheel   14348 Jul 24 13:30 enum.so
> -r-xr-xr-x  1 root  wheel   22292 Jul 24 13:30 exec.so
> -r-xr-xr-x  1 root  wheel   13960 Jul 24 13:30 ext.so
> -r-xr-xr-x  1 root  wheel   14184 Jul 24 13:30 flatstore.so
> -r-xr-xr-x  1 root  wheel    7224 Jul 24 13:30 gflags.so
> -r-xr-xr-x  1 root  wheel   10248 Jul 24 13:30 group.so
> -r-xr-xr-x  1 root  wheel   11080 Jul 24 13:30 group_radius.so
> -r-xr-xr-x  1 root  wheel   28012 Jul 24 13:30 mangler.so
> -r-xr-xr-x  1 root  wheel    9748 Jul 24 13:30 maxfwd.so
> -r-xr-xr-x  1 root  wheel   39844 Jul 24 13:30 mediaproxy.so
> -r-xr-xr-x  1 root  wheel   30736 Jul 24 13:30 msilo.so
> -r-xr-xr-x  1 root  wheel   33180 Jul 24 13:30 mysql.so
> -r-xr-xr-x  1 root  wheel   72724 Jul 24 13:30 nathelper.so
> -r-xr-xr-x  1 root  wheel    7508 Jul 24 13:30 options.so
> -r-xr-xr-x  1 root  wheel  114452 Jul 24 13:30 pa.so
> -r-xr-xr-x  1 root  wheel   21384 Jul 24 13:30 pdt.so
> -r-xr-xr-x  1 root  wheel   43268 Jul 24 13:30 permissions.so
> -r-xr-xr-x  1 root  wheel   22776 Jul 24 13:30 pike.so
> -r-xr-xr-x  1 root  wheel   32520 Jul 24 13:30 postgres.so
> -r-xr-xr-x  1 root  wheel    3960 Jul 24 13:30 print.so
> -r-xr-xr-x  1 root  wheel   27688 Jul 24 13:30 registrar.so
> -r-xr-xr-x  1 root  wheel   22980 Jul 24 13:30 rr.so
> -r-xr-xr-x  1 root  wheel   15344 Jul 24 13:30 sl.so
> -r-xr-xr-x  1 root  wheel   72068 Jul 24 13:30 sms.so
> -r-xr-xr-x  1 root  wheel    9928 Jul 24 13:30 speeddial.so
> -r-xr-xr-x  1 root  wheel   14076 Jul 24 13:30 textops.so
> -r-xr-xr-x  1 root  wheel  213548 Jul 24 13:30 tm.so
> -r-xr-xr-x  1 root  wheel   10784 Jul 24 13:30 uri.so
> -r-xr-xr-x  1 root  wheel   12968 Jul 24 13:30 uri_db.so
> -r-xr-xr-x  1 root  wheel    8648 Jul 24 13:30 uri_radius.so
> -r-xr-xr-x  1 root  wheel   69340 Jul 24 13:30 usrloc.so
> -r-xr-xr-x  1 root  wheel   19976 Jul 24 13:30 xlog.so
>
> Is there something to do with ownership/permission..etc? Mediaproxy is
> runnig on boot. Btw, i did install SER 0.9.6 using FreeBSD ports.
>
> I hope u can help me with this. tia.
>
> cheers,
>
>
> josel
>
>
> On 7/24/06, openser at comcast.net < openser at comcast.net> wrote:
> >
> > Is mysqld started, if not the way to start it in Fedora 4 is /sbin/service
> mysqld start
> >
> >
> >  -------------- Original message ----------------------
> > From: "Josel Layno" <josel70ph at gmail.com>
> > > >
> > > >
> > > >
> > >
> > > I got to install SER 0.9.6 with Mysql on FreeBSD. But i got some parse
> > > error.
> > > How can i trace to find the error on my config file?
> > >
> > >  voip# ser start
> > >  0(940) parse error (163,25-35): syntax error
> > >  0(940) parse error (163,101-102): bad arguments
> > >  0(940) parse error (174,10-11): syntax error
> > >  0(940) parse error (174,10-11): invalid operator, == , != or =~
> expected
> > > ERROR: bad config file (4 errors)
> > >
> > > Sorry for my ignorance...what's the relevance of (163,25-35) in ser.cfg?
> > >
> > >
> > > cheers,
> > >
> > > josel
> >
> >
> >
> >
> >
> >
>
>
> ---------- Forwarded message ----------
> From: "Josel Layno" <josel70ph at gmail.com>
> To: serusers at lists.iptel.org
> Date: Mon, 24 Jul 2006 18:48:14 +0000
> Subject: [Serusers] Problem starting SER 0.9.6 with MYSQL on FreeBSD
>
> >
> >
>
> I got to install SER 0.9.6 with Mysql on FreeBSD. But i got some parse
> error.
> How can i trace to find the error on my config file?
>
>  voip# ser start
>  0(940) parse error (163,25-35): syntax error
>  0(940) parse error (163,101-102): bad arguments
>  0(940) parse error (174,10-11): syntax error
>  0(940) parse error (174,10-11): invalid operator, == , != or =~ expected
> ERROR: bad config file (4 errors)
>
> Sorry for my ignorance...what's the relevance of (163,25-35) in ser.cfg?
>
>
> cheers,
>
> josel
>
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>



More information about the sr-users mailing list