Snort mailing list archives

Re: No Sensors Showing in Snorby


From: waldo kitty <wkitty42 () windstream net>
Date: Thu, 11 Sep 2014 16:14:56 -0400

On 9/11/2014 1:23 PM, Matt M. wrote:
*are barnyard and snorby both using the same database?*

This is a good question!  I know barnyard is configured to use the db I setup
"snort".  However, I just realized my snorby database.yml was not
configured correctly.  I did not have it pointing to the snort db.

I just corrected this and now I received this error:

DataObjects::SyntaxError (Table 'snort.users' doesn't exist):

   app/controllers/application_controller.rb:37:in `user_setup'

I checked the database and it does have a number of tables setup, but I do not
see snort.users.  I Googled and found someone suggesting to run rake
snorby:setup  but running that I get an error saying that the snort database
already exists. =).  Is there an easy way to add the necessary table?  Can I
just add an empty snort.users table... I have a feeling it would not be that
easy.  Should I just blow away the database?  I did run: create_mysql
<https://github.com/eldondev/Snort/blob/master/schemas/create_mysql> previously.


i'll have to let someone else step in at this point and assist further... i'm 
glad that i was able to point you in the proper direction though :)

-- 
  NOTE: No off-list assistance is given without prior approval.
        Please *keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: