[freeside] Exporting to Freeradius 0.5
ivan
ivan at 420.am
Wed May 29 13:46:29 PDT 2002
On Wed, May 29, 2002 at 03:08:24PM -0500, Erich Zigler wrote:
> Im using sqlradius and freeside-1.4.0pre13 to export to the Freeradius 0.5
> Pgsql database.
>
> When trying to run /usr/local/bin/freeside-sqlradius-reset freeside I get t
> his error.
>
> Database handle destroyed without explicit disconnect at
> /usr/local/bin/freeside-sqlradius-reset line 20.
Harmless warning.
> Died at /usr/local/lib/perl5/site_perl/5.005/FS/part_export.pm line 372.
No idea where this could be coming from. Line 372 of part_export.pm in
pre13 is:
my $class = ref($self). "::$exporttype";
in fact, I can't see anything in the rebless subroutine which would throw
an exception that could produce that error.
> Could this be because the database schema that Freeside is exporting to has
> more fields then what is coded in to the perl modules?
No. The SQL run to insert into the specifies field names explicitly.
Also, freeside-sqlradius-reset doesn't actually insert any records into
the RADIUS database - it just forces the normal sqlradius hooks all
accounts, so any problems manipulating the RADIUS database would appear in
the job queue, not in the terminal where freeside-sqlradius-reset is run.
--
_ivan
More information about the freeside-users
mailing list