[Snort-users] Snort as Service on Win2K - Stu

Andy Morgan afmorgan at ...6792...
Thu Sep 5 10:19:03 EDT 2002


I'm getting the same result.  I searched microsoft support for error id 7031
and there are a few references to services that have trouble with terminal
services are running.  I have them running but when I try without the
running I get the same results.  Still stumped.

Thanks,
Andy Morgan

-----Original Message-----
From: larc [mailto:larc at ...1187...]
Sent: Thursday, September 05, 2002 7:49 AM
To: Andy Morgan; 'snort-users at lists.sourceforge.net'
Subject: Re: [Snort-users] Snort as Service on Win2K - Stu


Hi,
I had the same problem and I fixed it by creating a bat file like this.

cd c:\snort\
snort /service /install -c c:\snort\rules\snort.conf -l c:\snort\log -i1

The trick was that I first had to go to the directory.
Hope this helps for you

Stefan Dens

------------------------
 Andy Morgan <afmorgan at ...6792...> wrote:
------------------------
I'm out of idea's on this.
> 
>I am running Snort Version 1.8.7beta5-ODBC-MySQL-WIN32 (Build 128) on win2k
>sp3.
> 
>I run snort /service /install -c c:\snort\rules\snort.conf -l c:\snort\log
>-i1 and everything appears to install correctly.  I checked the reg and
>there is a HKLM\Software\Snort with the info underneath.
> 
>When I do a net start snort I get "The Snort Service was started
>successfully" but it isn't running.
> 
>The event viewer has this message:  EventID: 7031 Service Control Manager
>The Snort service terminated unexpectedly. It has done this 2 time(s). The
>following corrective action will be taken in 0 milliseconds: No action. 
> 
>If I try to manually start the service from the control panel-services I
get
>an error 1067: The process terminated unexpectedly.
> 
>When I run this same command line at a CMD prompt it loads fine.
> 
>I even tried FireDaemon but that also errored off.
> 
>Searching the web and lists didn't turn up anything.
> 
>What am I missing?
> 
> 
>Thanks in Advance,
>Andy Morgan
>afmorgan at ...6792... 
>
>
>
>
>
>
>
>
>I'm out of idea's on 
>this.
>
>I am running Snort 
>Version 1.8.7beta5-ODBC-MySQL-WIN32 (Build 128) on win2k 
>sp3.
>
>I run snort /service 
>/install -c c:\snort\rules\snort.conf -l c:\snort\log -i1 and everything
appears 
>to install correctly. I checked the reg and there is a HKLM\Software\Snort 
>with the info underneath.
>
>When I do a net 
>start snort I get "The Snort Service was started successfully" but it isn't

>running.
>
>The event viewer has 
>this message: EventID: 7031 Service Control Manager
>The Snort service terminated unexpectedly. It has 
>done this 2 time(s). The following corrective action will be taken in 0 
>milliseconds: No action. 
>
>If I try to 
>manually start the service from the control panel-services I get an error
1067: 
>The process terminated unexpectedly.
>
>When I run this same 
>command line at a CMD prompt it loads fine.
>
>I even tried 
>FireDaemon but that also errored off.
>
>Searching the web 
>and lists didn't turn up anything.
>
>What am I 
>missing?
>
>
>Thanks in 
>Advance,
>Andy 
>Morgan
>afmorgan at ...6792...
>





More information about the Snort-users mailing list