The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
freeBSD installation AkinOkin Linux 2 09-14-2006 09:30 AM
FreeBSD / KDE installation woes... ForestryJim BSD 1 09-27-2005 12:22 PM
Wi0 d-link DWL-510 installation on freebsd termiEEE UNIX for Dummies Questions & Answers 0 04-27-2004 04:13 AM
Some FreeBSD issues cbkihong UNIX for Dummies Questions & Answers 16 06-14-2003 11:06 PM
FreeBSD 4.7 X issues - assistance req'd please Calum UNIX Desktop for Dummies Questions & Answers 1 02-03-2003 04:16 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-04-2003
Registered User
 

Join Date: Sep 2001
Posts: 114
Stumble this Post!
snort installation on freebsd issues

i'm following the, "How to setup and secure Snort, MySQL and Acid on FreeBSD 4.6 Release" off of the snort.org website.

in the documentation it says snort should be installed through the following:

-----
make -DWITH_MYSQL -DWITH_FLEXRESP ; make install
-----

later it says to do the following:

-----
/usr/local/bin/mysql -p < /usr/ports/security/snort/work/snort-1.8.6/control create_mysql snort
-----

the problem is this, there is no "work/snort-1.8.6/create_mysql snort" under "/usr/ports/security/snort".

does anyone know what to do about this?
Forum Sponsor
  #2 (permalink)  
Old 02-04-2003
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,288
Stumble this Post!
You simple find the file:

create_mysql_snort

or whatever the file name is and then do the same thing as instructed:

Code:
/usr/local/bin/mysql -p < /path/to/this/file/create_mysql_snort
  #3 (permalink)  
Old 02-04-2003
Registered User
 

Join Date: Sep 2001
Posts: 114
Stumble this Post!
I already tried that. The file can't be located anywhere.

I didn't know that the ports directory would have anything other than: Makefile, Distinfo, pkg-comment, pkg-descr, pkg-plist
  #4 (permalink)  
Old 02-05-2003
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,288
Stumble this Post!
My suggestion would be to go to the Snort web site and join a Snort support group and ask for a copy of the file.

I assume you have seen this document on configuring Snort?

http://www.snort.org/docs/FreeBSD46R...ySQLVer1-2.pdf

Also,

Might be some clues here:

http://www.sans.org/rr/intrusion/ACID.php

Here is a link to the Snort support lists:

http://www.snort.org/lists.html

Here is a Snort support archives search result with keywords "configure mysql" :

http://marc.theaimsgroup.com/?l=snor...gure+mysql&q=b
  #5 (permalink)  
Old 02-06-2003
Registered User
 

Join Date: Sep 2001
Posts: 114
Stumble this Post!
the resolution was a simple one.

i needed to enter the following command within /usr/ports/security/snort

make expand

this gave me all the directories that were needed.

how i'm having another issue.

when i try to start apache the way they want me to, apachectl start (or restart), i get the following error:

/usr/local/sbin/apachectl start: httpd could not be started

i have no clue where to begin. i checked the path in the script to see if it was pointing to the proper location for httpd, and it is. so i'm completely confused.
  #6 (permalink)  
Old 02-06-2003
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,288
Stumble this Post!
The key to starting apache is a properly configured httpd.conf file, normally located in /usr/local/apache/etc
  #7 (permalink)  
Old 02-07-2003
auswipe's Avatar
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 536
Stumble this Post!
I just double checked on my FreeBSD 4.5 system and found http.conf under /usr/local/etc/apache/.
__________________
Not quite as cool as all the other Kids...
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:50 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0