[Serusers] Ser 0.10.x CVS and MySQL module

Daniel Corbe daniel.junkmail at gmail.com
Wed Jan 17 02:22:55 CET 2007


Yeah, I can certainly do that.  do I just submit the file back to you?

... I know the answer to my RADIUS issue is also staring me directly
in the face :(

-Daniel

On 1/16/07, Greger V. Teigre <greger at teigre.com> wrote:
> Thanks for reporting the solution, Daniel. You're right, and you are not
> the first :-(
> Maybe you could update/improve the mysql faq?!
> http://www.iptel.org/mysql_newbie
> g-)
>
> Daniel Corbe wrote:
> > Greger,
> >
> > Nothing about why SER coiuldn't load the mysql module in the debug
> > output.  I did eventually figure out the problem though.  It turns out
> > that dlopen() couldn't figure out where on the system
> > libmysqlclient.so lived and as a result the call to dlopen failed.
> >
> > OpenBSD wasn't very informative in this case about why the call to
> > dlopen() failed.
> >
> > so I ran ldconfig -m /usr/local/lib/mysql and then SER started quite
> > happily.
> >
> > I'm SURE this is going to trip someone else up eventually.
> >
> > -Daniel
> >
> > On 1/11/07, Greger V. Teigre <greger at teigre.com> wrote:
> >> Try to start ser in debug stderr mode and see what trace you get.
> >> g-)
> >>
> >> Daniel Corbe wrote:
> >> > Like I said, the module exists in /usr/local/lib/ser, and I watched it
> >> > compile, it compiled cleanly
> >> >
> >> > # gmake include_modules="mysql" print-modules
> >> > The following modules will be included: mysql
> >> > ----------------------------------------------------------
> >> > The following modules will be excluded: CVS
> >> >
> >> > # gmake install-modules-all
> >> > ...
> >> > # ls -al /usr/local/lib/ser/modules/mysql.so
> >> > -rwxr-xr-x  1 root  wheel  149490 Jan 10 09:57
> >> > /usr/local/lib/ser/modules/mysql.so
> >> >
> >> > So there's no question about whether or not its installed and whether
> >> > or not it matches the SER core.  It just won't load!
> >> >
> >> > On 1/10/07, TZieleniewski <tzieleniewski at o2.pl> wrote:
> >> >> Daniel Corbe napisa?(a):
> >> >> > For some reason the mysql module for ser compiled cleanly but SER
> >> >> > refuses to load it.
> >> >> >
> >> >> > IE
> >> >> >
> >> >> > # ser -c
> >> >> > 0(28131) ERROR: load_module: could not open module
> >> >> > </usr/local/lib/ser/modules/mysql.so>: Cannot load specified object
> >> >> > 0(28131) parse error (55,13-14): failed to load module
> >> >> > ERROR: bad config file (1 errors)
> >> >> >
> >> >> > It does exist, is installed and was compile from the same
> >> sources as
> >> >> > the SER core.
> >> >> >
> >> >> > I'm not sure what I'm doing wrong.
> >> >> >
> >> >> > Thanks.
> >> >> >
> >> >> > -Daniel
> >> >> > _______________________________________________
> >> >> > Serusers mailing list
> >> >> > Serusers at lists.iptel.org
> >> >> > http://lists.iptel.org/mailman/listinfo/serusers
> >> >> >
> >> >> >
> >> >> invoke 'make' with print-modules option instead of all
> >> >> # make ... print-modules
> >> >> and check if mysql module is listed as the one of the included
> >> >> then if it is check output of make if it is realy compiled and if the
> >> >> correct
> >> >> mysql.so
> >> >>
> >> >> tomasz
> >> >>
> >> > _______________________________________________
> >> > Serusers mailing list
> >> > Serusers at lists.iptel.org
> >> > http://lists.iptel.org/mailman/listinfo/serusers
> >> >
> >> >
> >>
> >
> >
>



More information about the sr-users mailing list