LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-24-2003, 04:46 AM   #1
Di0de
LQ Newbie
 
Registered: Jul 2003
Posts: 22

Rep: Reputation: 15
Unhappy Snort Prolem.


I'm currently installing an snort on my system everything has been configured to work with mysql. I keep getting this error and it stopping snort from launching =\ can anyone help me with this problem thanks. below is a copy of the error:


root@SYNapse:/etc# snort -c /etc/snort/rules/snort.conf -b -l /root/snort_log_storage/ -Nv -t snort
Running in IDS mode
Log directory = /root/snort_log_storage/

Initializing Network Interface eth0

--== Initializing Snort ==--
Initializing Output Plugins!
Decoding Ethernet on interface eth0
Initializing Preprocessors!
Initializing Plug-ins!
Parsing Rules file /etc/snort/rules/snort.conf

+++++++++++++++++++++++++++++++++++++++++++++++++++
Initializing rule chains...
No arguments to frag2 directive, setting defaults to:
Fragment timeout: 60 seconds
Fragment memory cap: 4194304 bytes
Fragment min_ttl: 0
Fragment ttl_limit: 5
Fragment Problems: 0
Self preservation threshold: 500
Self preservation period: 90
Suspend threshold: 1000
Suspend period: 30
Stream4 config:
Stateful inspection: ACTIVE
Session statistics: INACTIVE
Session timeout: 30 seconds
Session memory cap: 8388608 bytes
State alerts: INACTIVE
Evasion alerts: INACTIVE
Scan alerts: ACTIVE
Log Flushed Streams: INACTIVE
MinTTL: 1
TTL Limit: 5
Async Link: 0
State Protection: 0
Self preservation threshold: 50
Self preservation period: 90
Suspend threshold: 200
Suspend period: 30
Stream4_reassemble config:
Server reassembly: INACTIVE
Client reassembly: ACTIVE
Reassembler alerts: ACTIVE
Ports: 21 23 25 53 80 110 111 143 513 1433
Emergency Ports: 21 23 25 53 80 110 111 143 513 1433
http_decode arguments:
Unicode decoding
IIS alternate Unicode decoding
IIS double encoding vuln
Flip backslash to slash
Include additional whitespace separators
Ports to decode http on: 80
rpc_decode arguments:
Ports to decode RPC on: 111 32771
alert_fragments: INACTIVE
alert_large_fragments: ACTIVE
alert_incomplete: ACTIVE
alert_multiple_requests: ACTIVE
telnet_decode arguments:
Ports to decode telnet on: 21 23 25 119
database: compiled support for ( mysql )
database: configured to use mysql
database: user = snort
database: password is set
database: database name = snort
database: host = localhost
Node unique name is: 192.168.0.100
database: sensor name = 192.168.0.100
ERROR: database: mysql_error: Access denied for user: 'snort@localhost' (Using password: YES)
Fatal Error, Quitting..
 
Old 07-24-2003, 04:55 AM   #2
Di0de
LQ Newbie
 
Registered: Jul 2003
Posts: 22

Original Poster
Rep: Reputation: 15
ok i know the problem now I have uninstalled and installed mysql from source but for some reason the user names and databases in mysql don't uninstall when I uninstall mysql.. so I can't change my password for mysql and I just forgot it =\... So how do I completely uninstall mysql from source and also get rid of the databases and usernames and passes in mysql... If I can get that done I can install it from there thanks in advance.
 
Old 07-24-2003, 05:50 AM   #3
/su
Member
 
Registered: Jun 2003
Location: Belgium
Distribution: Debian unstable (really?)
Posts: 43

Rep: Reputation: 15
Hi

I really don't know mysql, but I managed a few weeks ago to build a Counter Strike server on a linux box wich used Mysql to create real time stats.

I had the same problem when trying to access my database. The solution was this:


Optional: Create a MySQL username and password for HLstats.

shell> mysql --user=root mysql
mysql> GRANT ALL ON hlstats.* TO hlstats IDENTIFIED BY 'somepassword';


The first "hlstats" is the database name, the second is the username to create.

Note Depending on your MySQL server configuration you may need to do "TO hlstats@localhost" instead of just "TO hlstats".

Hope it helps

/su
 
Old 07-24-2003, 05:53 AM   #4
/su
Member
 
Registered: Jun 2003
Location: Belgium
Distribution: Debian unstable (really?)
Posts: 43

Rep: Reputation: 15
lol too late...
 
Old 07-24-2003, 06:02 AM   #5
Di0de
LQ Newbie
 
Registered: Jul 2003
Posts: 22

Original Poster
Rep: Reputation: 15
hrmmm i'm still unable to change my password for mysql i keep getting the denied someone please help thank you /su for some help at least now i can get into mysql but I still have to change a password.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Config Prolem - Help krishvij Linux - Security 3 06-16-2005 07:41 PM
graphics update prolem bograt Linux - Hardware 1 02-22-2005 12:00 PM
CD Burning prolem Sherlok Slackware 17 10-18-2004 09:23 PM
not very nice kernel prolem plm Slackware 21 09-16-2003 01:08 PM
Prolem in installing from source... Baran Linux - Newbie 2 09-09-2003 03:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration