Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd May 2008, 16:48
Paradigit Paradigit is offline
Junior Member
 
Join Date: May 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default http://howtoforge.com/intrusion-detection-with-snort-mysql-apache2-on-ubuntu-7.10

Hi

I have installed Ubuntu 8.0.4 a few days ago, and just followed up the howto, as you can find here:
http://http://howtoforge.com/intrusi...u-7.10-updated

However,, i am not able to go to the webinterface of base:
http://127.0.0.1/base-1.4.0/setup
when i go there i have to save an phtml file.

the tar-ball base-1.4.0 has been untarred in the /var/www-dir.

What is going wrong?
Reply With Quote
Sponsored Links
  #2  
Old 2nd May 2008, 19:48
Paradigit Paradigit is offline
Junior Member
 
Join Date: May 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i made some progress

i used 127.0.1.1/base-1.4.0/setup
now i am in the interface.

Still a problem:
Access denied for user 'snort'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 365
is what i get

Any suggestions?
Reply With Quote
  #3  
Old 3rd May 2008, 20:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Please set the correct database login credentials in /usr/share/php/adodb/drivers/adodb-mysql.inc.php.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 4th May 2008, 11:47
Paradigit Paradigit is offline
Junior Member
 
Join Date: May 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for the quick reply.
what i did is:

sudo gedit adodb-mysql.inc.php
now gedit opens, and i scrolled to line 365.

what i see is:


// returns true or false
function _connect($argHostname, $argUsername, $argPassword, $argDatabasename)
{
if (!empty($this->port)) $argHostname .= ":".$this->port;

if (ADODB_PHPVER >= 0x4300)
$this->_connectionID = mysql_connect($argHostname,$argUsername,$argPasswo rd,
$this->forceNewConnect,$this->clientFlags);
else if (ADODB_PHPVER >= 0x4200)
$this->_connectionID = mysql_connect($argHostname,$argUsername,$argPasswo rd,
$this->forceNewConnect);
else
$this->_connectionID = mysql_connect($argHostname,$argUsername,$argPasswo rd);

if ($this->_connectionID === false) return false;
if ($argDatabasename) return $this->SelectDB($argDatabasename);
return true;
}

what do i have to change?
thanks
Reply With Quote
  #5  
Old 5th May 2008, 18:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Did you put the right MySQL details into /etc/snort/snort.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 11th May 2008, 14:43
Paradigit Paradigit is offline
Junior Member
 
Join Date: May 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

that was the solution. I have changed snort_password from the real password to the words
snort_password.

Now i can login
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 7.10 + Snort, Apache, Mysql.... g0tb00st HOWTO-Related Questions 27 12th August 2008 04:04
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
Intrusion Detection: Snort, Base, MySQL, and Apache2 On Ubuntu 7.10 tokke HOWTO-Related Questions 5 31st January 2008 11:01
MySQL Error in Intrusion Detection: Snort, MySQL exercise n74jw HOWTO-Related Questions 5 11th January 2008 05:01
Configuring MySql on Ubuntu inside VM Pzzldmom Suggest HOWTO 7 13th December 2007 20:46


All times are GMT +2. The time now is 18:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.