[freeside] Can't locate object method "new" via package "CGI" at /home/httpd/html/freeside/browse/agent_type.cgi line 49
Ivan Kohler
ivan at sisd.com
Wed Jul 28 15:46:26 PDT 1999
Don't enable threading when compiling Perl. You should have been scared
away when it said "threading is a highly experimental feature" and "be
very sure to not actually deploy it for production purposes". :)
On Wed, Jul 28, 1999 at 01:18:42PM -0400, Tim Coburn wrote:
> System info:
>
> Redhat 5.1 Kernel 2.0.35
> Perl 5.005_03 (Not Redhat, downloaded, untarred, and installed from
> Perl.org)
> MySQL 2.22.22-3
> DBI 1.13
>
> Dear List Members,
>
> I think I almost have Freeside up and running, I've gotten MySQL
> ,SuEXEC, and Apache all playing nicely or so it seems. Once I got MySQL
> and DBI to respond properly I developed the following problems which
> hopefully make perfect sense to those with more experience than myself.
> To anyone with an answer, databases are not my forte and I wouldn't be
> the least bit insulted if you answered in very simple terms.
>
> When I attempt to run fs-setup it looks like this:
>
> [freeside at gandalf bin]$ ./fs-setup freeside
>
> Enter the maximum username length: 30
>
> Freeside tracks the RADIUS attributes User-Name, Password and
> Framed-IP-Address
> for each user. Enter any additional RADIUS attributes you need to track
> for
> each user, separated by whitespace.
>
> DBD::mysql initialisation failed: Can't locate object method "driver"
> via package "DBD::mysql" at
> /usr/lib/perl5/site_perl/5.005/i586-linux-thread/DBI.pm line 481.
>
> Perhaps the capitalisation of DBD 'mysql' isn't right. at
> /usr/lib/perl5/5.00503/i586-linux-thread/FS/UID.pm line 76
>
>
>
> Any time I attempt to access any function vial the web I get an error
> similar to the following, depending on which link I try and use.
>
> Can't locate object method "new" via package "CGI" at
> /home/httpd/html/freeside/browse/agent_type.cgi line 49
>
>
> Apache error log shows:
>
> [Wed Jul 28 11:01:25 1999] CGI.pm: Subroutine header redefined at
> /usr/lib/perl5/5.00503/i586-linux-thread/FS/CGI.pm line 45.
> [Wed Jul 28 11:01:25 1999] CGI.pm: Subroutine menubar redefined at
> /usr/lib/perl5/5.00503/i586-linux-thread/FS/CGI.pm line 71.
> [Wed Jul 28 11:01:25 1999] CGI.pm: Subroutine idiot redefined at
> /usr/lib/perl5/5.00503/i586-linux-thread/FS/CGI.pm line 88.
> [Wed Jul 28 11:01:25 1999] CGI.pm: Subroutine eidiot redefined at
> /usr/lib/perl5/5.00503/i586-linux-thread/FS/CGI.pm line 123.
> [Wed Jul 28 11:01:25 1999] CGI.pm: Subroutine popurl redefined at
> /usr/lib/perl5/5.00503/i586-linux-thread/FS/CGI.pm line 135.
> [Wed Jul 28 11:01:25 1999] CGI.pm: Subroutine table redefined at
> /usr/lib/perl5/5.00503/i586-linux-thread/FS/CGI.pm line 153.
> [Wed Jul 28 11:01:25 1999] CGI.pm: Subroutine itable redefined at
> /usr/lib/perl5/5.00503/i586-linux-thread/FS/CGI.pm line 168.
> [Wed Jul 28 11:01:25 1999] CGI.pm: Subroutine ntable redefined at
> /usr/lib/perl5/5.00503/i586-linux-thread/FS/CGI.pm line 184.
> [Wed Jul 28 11:01:25 1999] agent_type.cgi: Can't locate object method
> "new" via package "CGI" at
> /home/httpd/html/freeside/browse/agent_type.cgi line 49.
>
> Is it Perl? Anyone with advice please write or post, i would really
> like to get this thing going so I can get out and have a beer :)
>
> Regards,
>
> Tim Coburn
> Hurontario.Net
> Ontario, Canada
>
--
Ivan Kohler <ivan at sisd.com> - finger for PGP key - <moc.dsis at navi> Relhok Navi
Open-source billing and administration for ISPs - http://www.sisd.com/freeside
20 4,16 * * * saytime # please don't be surprised if you find me dreaming too
More information about the freeside-users
mailing list