Snort mailing list archives

Re: Fatal error with BASE


From: "Michael Steele" <michaels () winsnort com>
Date: Sun, 10 Sep 2006 22:58:39 -0700

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

Kindest regards,
Michael...

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 () lists sourceforge net
[mailto:snort-users-bounces () lists sourceforge net] On Behalf Of Axton Grams
Sent: Sunday, September 10, 2006 8:38 PM
To: alejandritox () ciudad com ar
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
error:

*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:
http://www.faqs.org/docs/Linux-HOWTO/Snort-Statistics-HOWTO.html
http://gentoo-wiki.com/HOWTO_Setup_BASE_with_Apache,_Snort,_and_PostgreSQL
http://www.howtoforge.com/intrusion_detection_base_snort
etc.

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
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


-------------------------------------------------------------------------
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 easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: