This is a discussion on Re: [Snort-users] -bash: /usr/sbin/snort/schemas/create_mysql: Not within the Snort forums, part of the System Security and Security Related category; Lee Clemens wrote: >not sure about Patrick Harper, but it looks like you're trying to run mysql >...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Lee Clemens wrote:
>not sure about Patrick Harper, but it looks like you're trying to run mysql >and execute the schema. > >You'll want to to go your mysql directory and cd bin...that is, make your >working directory mysql/bin (not sure where exactly this is on your >particular computer). > >Then run the command "mysql -u root -p " entering the location of your snort >installation and the correct path of the schema "create_mysql" after the -p >switch. > >Since I don't know exactly what your directory structure is, it's a bit >difficult to answer any better than that. Essentially, you want to execute >"mysql" and run it with the -u root -p switch with the location of the >schema. > >An easier way might be to run MySQL Command Prompt, log in as root, and then >copy text of the schema (located in the snort/schema directory) and paste it >into the MySQL session. Hope that helps! > >-----Original Message----- >From: snort-users-admin@lists.sourceforge.net >[mailto:snort-users-admin@lists.sourceforge.net] On Behalf Of Mark Sargent >Sent: Monday, March 21, 2005 3:35 AM >To: snort-users@lists.sourceforge.net >Subject: [Snort-users] -bash: /usr/sbin/snort/schemas/create_mysql: Not a >directory > >Hi All, > >getting the below error when following Patrick Harper's tutorial for >snort/apache/mysql/fc3, > >[mysql@localhost bin]$ ./mysql -u root -p ></usr/sbin/snort/schemas/create_mysql snort >-bash: /usr/sbin/snort/schemas/create_mysql: Not a directory > >whereis snort = /usr/sbin/snort but, a cd /usr/sbin/snort gives the below, > >[root@localhost snort]# cd /usr/sbin/snort >-bash: cd: /usr/sbin/snort: Not a directory > >locate schemas shows nothing related to snort > >Cheers. > >Mark Sargent > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Snort-users mailing list >Snort-users@lists.sourceforge.net >Go to this URL to change user options or unsubscribe: >https://lists.sourceforge.net/lists/...fo/snort-users >Snort-users list archive: >http://www.geocrawler.com/redir-sf.p...st=snort-users > > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Snort-users mailing list >Snort-users@lists.sourceforge.net >Go to this URL to change user options or unsubscribe: >https://lists.sourceforge.net/lists/...fo/snort-users >Snort-users list archive: >http://www.geocrawler.com/redir-sf.p...st=snort-users > > > Hi All, Lee, I'm in mysql/bin and if I run, ./mysql -h localhost -u root mysql -p it successfully starts after entering the password. What I don't un, is, why /usr/sbin/snort is reported as not a dir. I installed snort via yum. I can run snort just by typing snort @ the prompt. EDIT: Ok, I decided to remove snort via yum and try a source install. I got the following, ********************************************** ERROR: unable to find mysql headers (mysql.h) checked in the following places /usr/include /usr/include/mysql /usr/local/include /usr/local/include/mysql ********************************************** whilst doing a ./configure --with-mysql. mysql is here, /usr/local/mysql. How do I get around it..? Cheers. Mark Sargent ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Snort-users mailing list Snort-users@lists.sourceforge.net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/...fo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.p...st=snort-users |