Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

HOW TO RESET SNORBY DATABASE? #46

Open
alecks2010 opened this issue Dec 29, 2010 · 1 comment
Open

HOW TO RESET SNORBY DATABASE? #46

alecks2010 opened this issue Dec 29, 2010 · 1 comment

Comments

@alecks2010
Copy link

I'm using Snorby 2.0.1 installed from Insta-Snorby. The link at the bottom says that to reset all data we need to run 'rake snorby:reset RAILS_ENV=production' but the output I got is 'rake aborted. Don't know how to build task'. Can someone tell me how to reset snorby database, so get a fresh install with no events at all

https://lswiki.byu.edu/index.php?title=Snort,_Barnyard2,_and_Snorby&diff=11344&oldid=11343

@azkeytahala
Copy link

Use this commands:

service snortd stop
service barnyard2 stop
mysqladmin -u root -p drop snorby

after that setup snorby again by this command at snorby folder:

rake snorby:setup

don't forget to start the services again

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants