Can't locate object method "new" via package "CGI" at /home/httpd/html/freeside/browse/agent_type.cgi line 49

Tim Coburn timc at hurontario.net
Wed Jul 28 10:14:53 PDT 1999


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




More information about the freeside-users mailing list