snort,apache2,BASE,mysql on ubuntu 7.10 problem

Discussion in 'HOWTO-Related Questions' started by uchiha shasuke, Dec 31, 2007.

  1. uchiha shasuke

    uchiha shasuke New Member

    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?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What are the outputs of
    Code:
    ls -la /var
    and
    Code:
    ls -la /var/snort
    ?
     
  3. uchiha shasuke

    uchiha shasuke New Member

    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
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Run
    Code:
    mkdir /var/snort
    and try again.
     

Share This Page