Bluehost.com Web Hosting $6.95

RE: [Snort-users] -bash: /usr/sbin/snort/schemas/create_mysql: Not a directory

This is a discussion on RE: [Snort-users] -bash: /usr/sbin/snort/schemas/create_mysql: Not a directory within the Snort forums, part of the System Security and Security Related category; =20 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If you installed via yum then you did not follow the FC3 guide, ...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-21-2005
Harper, Patrick
 
Posts: n/a
Default RE: [Snort-users] -bash: /usr/sbin/snort/schemas/create_mysql: Not a directory

=20
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you installed via yum then you did not follow the FC3 guide, it
has you install it form source. Did you install the OS and support
daemons per the doc? Try a yum install mysql-dev, I think that is
what you are missing. Also, are you root? Did you login as root or
su (su -)? =20


- -----Original Message-----
From: Mark Sargent [mailto:powderkeg@snow.email.ne.jp]=20
Sent: Monday, March 21, 2005 5:03 AM
To: snort-users@lists.sourceforge.net
Subject: Re: [Snort-users] -bash:
/usr/sbin/snort/schemas/create_mysql: Not a directory

Harper, Patrick wrote:

>You said you were using my FC3 doc, it already installs from source,
>n FC3 all you should have to do is the following.=20
>
>From
>http://www.internetsecurityguru.com/...t_base_fc3.pdf =20
>
>tar -xvzf snort-2.3.0.tar.gz
>cd snort-2.3.0
>../configure --with-mysql
>make
>make install
>groupadd snort
>useradd -g snort snort
>mkdir /etc/snort
>mkdir /etc/snort/rules
>mkdir /var/log/snort
>
>
> =20
>
>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,=20
>/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=3D6595&al...396&op=3Dclick
>_______________________________________________
>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...=3Dsnort-users
>
>
>
>-----------------------------------------
>Disclaimer: This electronic message, including any attachments, is
>confidential and intended solely for use of the intended
>recipient(s). This message may contain information that is
>privileged or otherwise protected from disclosure by applicable law.
>Any unauthorized disclosure,
>dissemination, use or reproduction is strictly prohibited. If you
>have received this message in error, please delete it and notify the
>sender immediately.
>
>
> =20
>

Hi All,

yes, Patrick, I'm following your tut..I already had snort installed
via=20
yum. Anyway, as stated above, I removed the yum installation, and
went=20
via yr tut installing steps. But, got the error with the ./configure=20
- --with-mysql and not being able to find that header,

**********************************************
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
**********************************************

What is mysql.h.? Any idea why it wouldn't be finding 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=3D6595&al...396&op=3Dclick
_______________________________________________
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...=3Dsnort-users


-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQj67HpiWafDb7+B/EQJExQCfbw84FbnGf1+KflminBoj3Jxfe6AAn1yy
UNJSAYMxJt2fje50kQULPIeS
=3D84Tg
-----END PGP SIGNATURE-----



-------------------------------------------------------
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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:25 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0