Error running admintool

"Chris Priest" <[email protected]>
Newsgroups gmane.network.nocat
Message-ID <[email protected]>
Hi Chaps,

 

Have successfully got the NoCat Gateway running, I'm attempting to get the
Auth Server running.  Admittedly it's on the same box at the moment, I have
installed all pre-requisites, setup the database and installed the Auth
server files.

 

When I attempt to add a user with ./admintool -c <user> <pass>, I get the
following:

 

[2004-12-17 13:01:31] Missing UserIDField directive required for NoCat::User
object!

[2004-12-17 13:01:31] Missing UserPasswdField directive required for
NoCat::User object!

Can't load class 'NoCat::Source::DBI': Can't locate DBI.pm in @INC (@INC
contains: /usr/local/nocat/bin/../lib
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
/usr/local/nocat/bin/../lib/NoCat/Source/DBI.pm line 4, <FILE> line 1.

BEGIN failed--compilation aborted at
/usr/local/nocat/bin/../lib/NoCat/Source/DBI.pm line 4, <FILE> line 1.

Compilation failed in require at (eval 1) line 3, <FILE> line 1.

 at ./admintool line 121

 

 

DBI.pm is in the path, I have entered the following into my nocat.conf file:

 

DataSource DBI

Database dbi:mysql:database=nocat

DB_User nocat

DB_Passwd <password>

LocalGateway 192.168.1.101

 

MySQL has a user called nocat with the right password.

 

Can anyone shed any light on this?

 

Cheers

Chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.