Perl error in first installation

Ivan Kohler ivan at sisd.com
Sat Nov 28 09:18:38 PST 1998


On Sat, Nov 28, 1998 at 05:23:11PM +1100, Mark Williamson wrote:
> I just finish running the setup script..  and came into the same problem.. 
>  maybe it was the way that I made some of the components..     

Are you sure it was the same problem?  The original poster's error was in
loading the shared library for MySQL, probably caused by an incorrect
MySQL or DBD::mysql installation.  I don't think that applies to your
situation.

> What I done..  is that after it errored out on the permissions..  the
> scripted had created a half made file called dbdef.DBI:Pg:dbname=freeside,
> but with a uid of root.. ( yes I am planning on using Posgres ) all I done
> was to change the uid on that file to freeside, then re-ran the script....

Yes, the documentation should note you should run fs-setup as the freeside
user, and the script should error out if you aren't the correct user.
Sorry about that.

-- 
Ivan Kohler <ivan at sisd.com> - finger for PGP key
Silicon Interactive Software Design - http://www.sisd.com/ - 888-670-SISD
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


> 
> Mark   
> 
> ----------
> > From: Ivan Kohler <ivan at sisd.com>
> > To: ivan-freeside at sisd.com
> > Subject: Re: Perl error in first installation
> > Date: Saturday, 28 November 1998 8:04
> > 
> > Looks like a problem with your DBI or DBD::mysql (Msql-Mysql-modules).
> > Did they both `make test' okay?
> > 
> > -- 
> > Ivan Kohler <ivan at sisd.com> - finger for PGP key
> > Silicon Interactive Software Design - http://www.sisd.com/ - 888-670-SISD
> > 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
> > 
> > 
> > On Fri, Nov 27, 1998 at 01:42:52PM +0000, Christian Eva wrote:
> > > Hello Ivan
> > > 
> > > I downloaded freeside 1.1.6, installed it on suse 5.3 with
> > > 
> > > This is perl, version 5.004_04 built for i586-linux
> > > and mysql-3.21.33b
> > > 
> > > after some trouble with the setuid's on the perl scripts I can not get
> > > over the following
> > > error in all the cgi's.  If you can give me a hint I'll appreciate it,
> > > otherwise I will look into
> > > it more deeper next week:
> > > 
> > > Software error:
> > > 
> > > Can't load
> '/usr/lib/perl5/site_perl/i586-linux/auto/DBD/mysql/mysql.so'
> > > for module DBD::mysql: File not found at
> > > /usr/lib/perl5/i586-linux/5.00404/DynaLoader.pm line 166. at (eval 2)
> > > line 2
> > > 
> > > Please send mail to this site's webmaster for help. Content-type:
> > > text/html
> > > 
> > > Software error:
> > > 
> > > install_driver(mysql) failed: [Fri Nov 27 04:40:18 1998] cust_main.cgi:
> > > Can't load
> > > '/usr/lib/perl5/site_perl/i586-linux/auto/DBD/mysql/mysql.so' for
> module
> > > DBD::mysql: File not found at
> > > /usr/lib/perl5/i586-linux/5.00404/DynaLoader.pm line 166. [Fri Nov 27
> > > 04:40:18 1998] cust_main.cgi: [Fri Nov 27 04:40:18 1998]
> > > cust_main.cgi: at (eval 2) line 2 DBI::install_driver('DBI', 'mysql')
> > > called at /usr/lib/perl5/site_perl/DBI.pm line 348
> > > DBI::connect('DBI', 'DBI:mysql:freeside', 'freeside', 'peace',
> > > 'HASH(0x83011f0)') called at /usr/lib/perl5/site_perl/FS/UID.pm line
> > > 69 FS::UID::adminsuidsetup() called at
> > > /usr/lib/perl5/site_perl/FS/UID.pm line 90
> > > FS::UID::cgisuidsetup('CGI::BasePlus=HASH(0x810a9bc)') called at
> > > /l/local/httpd/htdocs/freeside/search/cust_main.cgi line 34
> > > 
> > > 
> > > Thanks for now
> > > Christian
> > > 
> > > 
> > > 
> > > --
> > > Christian J Knoepfel Eva
> > > Phoenix Integration
> > > 
> > > 
> > > 




More information about the freeside-users mailing list