-T just tests the snort.conf.
For the next test, don't run snort off of init (that's odd that it
doesn't log anything to syslog) and run it in the foreground and see
what's failing) but run it locally:
snort -c /etc/snort/snort.conf -i eth_whatever
See what it says, see if you get too
"Commencing packet processing (pid=????)"
Once you get there, let it run for a bit then cntrl-c to break it,
look at the info presented.
On Wed, Feb 19, 2014 at 10:53 AM, Feroz Basir <feroz...@gmail.com> wrote:
> Hi,
>
> /var/log/messages file shown NIC enter promiscuous mode, then NIC exit promiscuous mode. Nothing in syslog log file.
>
> Thanks.
>
> Regards,
> Feroz Basir
>
>> On 20 Feb 2014, at 01:22, Jeremy Hoel <jth...@gmail.com> wrote:
>>
>> Do you have any error messages from the syslog?
>>
>>> On Wed, Feb 19, 2014 at 10:17 AM, Feroz Basir <feroz...@gmail.com> wrote:
>>> Hi all,
>>>
>>> I'm running snort 2.9.4.6. I upgraded to version 2.9.6.0. Smooth upgrade process, but then when I restarted snortd service, snort process failed to stay up. Messages log file shown NIC enter promiscuous mode, then NIC exit promiscuous mode. I've run with -T and everything was OK.
>>>
>>> Anybody could help me, please?
>>>
>>> Thank you.
>>>
>>> Regards,
>>> Feroz Basir
What us the exact error, not looks like. You said you compiled this yourself, did it compile and install ok?
What us the exact error, not looks like. You said you compiled this yourself, did it compile and install ok?
On Feb 19, 2014 12:03 PM, "Feroz Basir" <feroz...@gmail.com> wrote:
Hi,
My bad. Should have run as root :). Now I'm getting this error:
Snort: symbol lookup error: snort: undefined symbol: rand_open
Googling shows something to do with libdnet. Mine is ver 1.12. lddconfig -v shown no error.
Thanks.
Regards,
Feroz Basir
> On 20 Feb 2014, at 02:48, Jeremy Hoel <jth...@gmail.com> wrote:
>
> try as root?
>
>> On Wed, Feb 19, 2014 at 11:47 AM, Feroz Basir <feroz...@gmail.com> wrote:
>> Hi,
>>
>> I've run snort manually. Now I could see the actual error. See below:
>>
>> Error: can't start DAQ (-1) - socket: operation not permitted.
>>
>> My DAQ version is 2.0.2
>>
>> Any ideas? Thanks again.
>>
>>
Sounds like this is a linux box, - shared libraries are configured via /etc/ld.so.conf, or /etc/ld.so.conf.d/random_files_here.
For some reason, the dell utilities with their packaged libraries are being loaded ahead of the system one, so try changing the order of the lines in /etc/ld.so.conf, or add some numbers to the beginning of the files in /etc/ld.so.conf.d. E.g. If you had some oracle install, and it put a "oracle" file in /etc/ld.so.conf.d, try renaming it to "30_oracle".
Check the order of libraries being loaded with:
$ ldconfig -v | grep ^/
It's also possible that since this was compiled, that the binary has the path to the library compiled in. If tweaking the ld.so.conf stuff doesn't immediately fix it, try recompiling snort after tweaking the ld.so.conf configs.
Richard