[Snort-users] Fatal error with BASE

Michael Steele michaels at ...9077...
Mon Sep 11 01:58:39 EDT 2006

If I'm not mistaken; the current release of base (1.3.0) does hot require
ADODB to be installed.

Kindest regards,

WINSNORT.com Management Team Member
****************** Established ~ 2001 *******************
*          Visit Us @ http://www.winsnort.com           *
*      ~~ FREE WinIDS Snort installation guides ~~      *
*               ~~ FREE support forums ~~               *
* Snort: Open Source Network IDS - http://www.snort.org *

-----Original Message-----
From: snort-users-bounces at lists.sourceforge.net
[mailto:snort-users-bounces at lists.sourceforge.net] On Behalf Of Axton Grams
Sent: Sunday, September 10, 2006 8:38 PM
To: alejandritox at ...7588...
Cc: Snort (list)
Subject: Re: [Snort-users] Fatal error with BASE

Alejandro wrote:
> Dear all, I'm continue with Andy Firman tutorial and I've just installed 
> Snort with Mysql. But after install BASE I open my browser, execute the 
> first screen, and after fill in boxes from the  step 2 of 5 from setup 
> screen  I get this error:
> *Fatal error*: Call to undefined function mysql_connect() in 
> */usr/share/php/adodb/drivers/adodb-mysql.inc.php* on line *353
> *I read that maybe putting this line in /etc/php4/cli/php.ini the 
> problem will solve:*
> *extension=mysql.so
> But when I run the BASE setup program from the browser I get this new
> *Warning*: include(/adodb.inc.php) [function.include 
> <http://localhost/base/setup/function.include>]: failed to open stream: 
> No such file or directory in */var/www/base/setup/setup2.php* on line *24*
> *Warning*: include() [function.include 
> <http://localhost/base/setup/function.include>]: Failed opening 
> '/adodb.inc.php' for inclusion 
> (include_path='.:/usr/share/php:/usr/share/pear') in 
> */var/www/base/setup/setup2.php* on line *24*
> *Fatal error*: Call to undefined function NewADOConnection() in 
> */var/www/base/setup/setup2.php* on line *48
> *
> Can you help me please ???? I really thanks a lot !!!
> Regards,
> Alejandro*

You have to install the prerequisite software:

- adodb (http://adodb.sourceforge.net/)
This one is easy, just unzip/untar the adodb files to your webroot

- mysql client
required to compile php with mysql support

- php with mysql support
I always compile php, so I compile it with --with-mysql=<mysql install
base>.  I've never used the loadable module you referenced.  Also, I
believe the php.ini file is for Windows.  php-pear can be used to load
various php modules, like gd, etc.

There are lots of tutorials that walk you through the process of setting
 up base:

Axton Grams

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Snort-users mailing list
Snort-users at lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
Snort-users list archive:

More information about the Snort-users mailing list