[Snort-devel] [ snort-Bugs-733094 ] 2.0.0-bug: Logdir must be specified on the commandline

SourceForge.net noreply at ...12...
Tue May 6 06:39:05 EDT 2003


Bugs item #733094, was opened at 2003-05-06 08:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=103357&aid=733094&group_id=3357

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin Olsson (elof)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2.0.0-bug: Logdir must be specified on the commandline

Initial Comment:
In my snort.conf I have specified:


  config logdir: /usr/sentor/log




When I run 'snort -c /usr/sentor/etc/snort.conf -T' I get:


  Running in IDS mode


  Log directory = /var/log/snort


  ERROR:


  [!] ERROR: Can not get write access to logging directory "
/var/log/snort".


  (directory doesn't exist or permissions are set incorrectly


  or it is not a directory at all)


  Fatal Error, Quitting..




Apparently the 'config logdir' had no effect. In order to make snort 
start you have to specify the logdir on the commandline.


'snort -c /usr/sentor/etc/snort.conf -l /usr/sentor/log -T':


  Running in IDS mode


  Log directory = /usr/sentor/log


  Initializing Network Interface ed1


  ...




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=103357&aid=733094&group_id=3357




More information about the Snort-devel mailing list