[Snort-users] Problems with BASE... Need some help

Asceta asceta at ...7692...
Sat Oct 9 14:52:02 EDT 2004


Hello,


I'm trying to install BASE- to check it's functionality and to improve my
monitoring tools. I'm already using ACID for months without any troubles....


When opening BASE page, getting blank page. When opening ACID- getting all I
want. I've changed "base_conf.php" according to my current "acid_conf.php"
and README informations included in BASE "docs" directory.

I use apache with virtual server named toolbox (among others). I put some
different tools in their own directories, so my URLs are:

http://toolbox/acid/  for acid  (real path: /opt/www-root/acid/)
http://toolbox/base/  for base (real path: /opt/www-root/base/)

It seems that BASE can't locate it's 'includes'. From apache error log:

[client 192.168.0.3] PHP Warning:  main(includes/base_db.inc.php): failed to
open stream: No such file or directory in
/opt/www-root/toolbox/base/includes/base_include.inc.php on line 16 [client
192.168.0.3] PHP Warning:  main(): Failed opening 'includes/base_db.inc.php'
for inclusion (include_path='/usr/local/share/adodb') in
/opt/www-root/toolbox/base/includes/base_include.inc.php on line 16

[client 192.168.0.3] PHP Warning:  main(includes/base_output_html.inc.php):
failed to open stream: No such file or directory in
/opt/www-root/toolbox/base/includes/base_include.inc.php on line 17 [client
192.168.0.3] PHP Warning:  main(): Failed opening
'includes/base_output_html.inc.php' for inclusion
(include_path='/usr/local/share/adodb') in
/opt/www-root/toolbox/base/includes/base_include.inc.php on line 17 

  and so on, for all files located in 'includes' directory,

and
[client 192.168.0.3] PHP Fatal error:  Call to undefined function:
registerglobalstate() in /opt/www-root/toolbox/base/base_main.php on line 51


I've tried to change "base_include.inc.php" file to use various paths (for
example: from "includes/base_db.inc.php" to
"/base/includes/base_db.inc.php", to "base_db.inc.php", to
"http://toolbox/base/includes/base_db.inc.php", and, at last - to
"/opt/www-root/toolbox/base/includes/base_db.inc.php") but without
success... All inc.php files have problems with loading any others....

I have also moved all BASE files to root of toolbox dir (from base subdir),
but still my BASE fails.

I'm on my way to move files from "includes" dir to main BASE dir, and to
change all php files to use new path, but it's a weird idea...


I'm using a BASE package from sourceforge, apache 2.0.50, php 4.3.8- all on
FreeBSD 4.10-STABLE.

Maybe i'm missing something? What should I change to make it work?


Best regards,
Arek


--
Arkadiusz Majer
http://www.asceta.tpi.pl/






More information about the Snort-users mailing list