Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st December 2007, 04:23
uchiha shasuke uchiha shasuke is offline
Junior Member
 
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy snort,apache2,BASE,mysql on ubuntu 7.10 problem

Hi,
i've followed howto tutorial on how to setup apache2,BASE,snort and mysql on ubuntu 7.10. Its gone smooth until step 12. i've failed to launch Snort. The error is "ERROR: Cannot open performance log file '/var/snort/snort.stats'. i cant launch snort from # snort -c /etc/snort/snort.conf like the tutorial said so i launch from # snort -c /etc/snort/rules/snort.conf but it fail to start. Can you give any suggestion or where is my fault?
Reply With Quote
Sponsored Links
  #2  
Old 1st January 2008, 15:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What are the outputs of
Code:
ls -la /var
and
Code:
ls -la /var/snort
?
__________________
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
  #3  
Old 2nd January 2008, 02:00
uchiha shasuke uchiha shasuke is offline
Junior Member
 
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the output of ls -la /var is

drwxr-xr-x 16 root root 4096 2007-12-30 20:58 .
drwxr-xr-x 21 root root 4096 2007-12-30 20:25 ..
drwxr-xr-x 2 root root 4096 2007-12-31 01:28 backups
drwxr-xr-x 17 root root 4096 2007-12-30 20:58 cache
drwxrwxrwt 2 root root 4096 2007-10-08 17:47 crash
drwxr-xr-x 2 root root 4096 2007-10-15 19:31 games
drwxr-xr-x 51 root root 4096 2007-12-30 20:58 lib
drwxrwsr-x 2 root staff 4096 2007-10-08 06:47 local
drwxrwxrwt 3 root root 60 2007-12-31 01:21 lock
drwxr-xr-x 16 root root 4096 2008-01-01 07:35 log
drwxrwsr-x 2 root mail 4096 2007-10-15 19:17 mail
drwxr-xr-x 2 root root 4096 2007-10-15 19:17 opt
drwxr-xr-x 15 root root 580 2007-12-31 01:23 run
drwxr-xr-x 7 root root 4096 2007-10-15 19:22 spool
drwxrwxrwt 2 root root 4096 2008-01-01 19:53 tmp
drwxr-xr-x 5 root root 4096 2007-12-30 22:44 www

And the out put of ls -la /var/snort is

ls: /var/snort: No such file or directory
Reply With Quote
  #4  
Old 2nd January 2008, 22:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

Run
Code:
mkdir /var/snort
and try again.
__________________
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
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
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Problem on restart bind9 satimis Server Operation 6 30th October 2007 02:01
Ubuntu 7.10 e-Mail Problem AsDsL Installation/Configuration 2 23rd October 2007 01:51
Network Install of Ubuntu 7.10 Can't Access Ubuntu Archives giganet Server Operation 1 20th October 2007 20:50
Log for Debugging jwan Installation/Configuration 5 27th October 2006 14:34


All times are GMT +2. The time now is 02:19.


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