Snort mailing list archives

RE: why arent helping me ? PLEASE HELP !!!!! How to start mysql client on the sensor?please help !!!!!!!!!


From: "Harper, Patrick" <patrick.harper () phns com>
Date: Thu, 9 Sep 2004 12:22:33 -0500

At this point I would suggest going to http://www.snort.org/docs/ and
looking under setup guides and using one of them to walk you through the
install.  I have an update to my redhat one that is on there at
http://www.internetsecurityguru.com/documents/Snort_SSL_FC1.pdf

They will walk you through the entire process.  

As for what you are trying to do now you have the binary distribution.
If you do not understand what that means then you definitely should go
get one of the install guides.  The version you have does not compile,
it IS compiled.  There is are RPM's for just the client although I have
never used them so I have no idea how they work.  there is a source
tarball for just the clients too.  You can find these on the mysql
website.  Also you are using an ALPHA VERSION!  Why?  If you do not have
a good reason then download and use the release version.




Patrick S. Harper | CISSP RHCT MCSE
Information Security Engineer
patrick.harper () phns com 
 
-----Original Message-----
From: Juan Fernandez [mailto:Juan.Fernandez () deltathree com] 
Sent: Thursday, September 09, 2004 12:13 PM
To: Harper, Patrick; Juan Fernandez
Cc: snort-users () lists sourceforge net
Subject: why arent helping me ? PLEASE HELP !!!!! How to start mysql
client on the sensor?please help !!!!!!!!!

Hi !!!

I steal am receiving:

 configure --without-server --prefix=/usr/local/mysql

NOTE: This is a MySQL binary distribution. It's ready to run, you don't

need to configure it!

 

To help you a bit, I am now going to create the needed MySQL databases

and start the MySQL server for you.  If you run into any trouble, please

consult the MySQL manual, that you can find in the Docs directory.

 

Installing all prepared tables

 

To start mysqld at boot time you have to copy support-files/mysql.server

to the right place for your system

 

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !

This is done with:

./bin/mysqladmin -u root password 'new-password'

./bin/mysqladmin -u root -h sensor-Jr-lan password 'new-password'

See the manual for more instructions.

 

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run

the ./bin/mysql_fix_privilege_tables. Otherwise you will not be

able to use the new GRANT command!

 

You can start the MySQL daemon with:

cd . ; ./bin/mysqld_safe &

 

You can test the MySQL daemon with the benchmarks in the 'sql-bench'
directory:

cd sql-bench ; perl run-all-tests

 

Please report any problems with the ./bin/mysqlbug script!

 

The latest information about MySQL is available on the web at

http://www.mysql.com

Support MySQL by buying support/licenses at https://order.mysql.com

Starting the mysqld server.  You can test that it is up and running

with the command:

./bin/mysqladmin version

[root@sensor-Jr-lan mysql-standard-4.1.1-alpha-pc-linux-i686]# Starting
mysqld daemon with databases from
/snortinstall/mysql-standard-4.1.1-alpha-pc-linux-i686/data

040908 22:17:58  mysqld ended

I did exactliiy as in the menual in snort site sayd regarding:

Set MySQL to start automatically.
Copy the file "mysql.server" from the support-files subfolder (it is
under the source for mysql. If you downloaded everything to
/root/snortinstall, then the path will be
/root/snortinstall/mysql-4.0.15a/support- files) to the /etc/init.d
folder and call it mysql (the command to copy it from the support- files
directory is "cp mysql.server
/etc/init.d/mysql")
Use the following commands to create symbolic links in the startup
folders for run levels
3 and 5. MySQL will now start automatically when you boot up.
cd /etc/rc3.d
ln -s ../init.d/mysql S85mysql
ln -s ../init.d/mysql K85mysql
cd /etc/rc5.d
ln -s ../init.d/mysql S85mysql
ln -s ../init.d/mysql K85mysql
cd ../init.d
chmod 755 mysql



I restarted but mysql didn't started on this sensor...!!!

Acid and my sql server is installed on another management server.do I
need to install it on the this sensor (my sql client I mean..)

-----Original Message-----
From: Harper, Patrick [mailto:patrick.harper () phns com]
Sent: Thursday, September 09, 2004 6:42 PM
To: Juan Fernandez
Cc: snort-users () lists sourceforge net
Subject: RE: [Snort-users] PLEASE HELP !!!!! How to start mysql client
on the sensor?please help !!!!!!!!!

From RPM you can't for that version (that I know of)  the mysql site has
only binary tarballs and source tarballs.  Fedora itself is not up to
4.X for some strange licensing reason and is still shipping with 3.23.
you could always download and install the full source, the client
source, or what ever or use the RPM's
 
-----Original Message-----
From: Juan Fernandez [mailto:Juan.Fernandez () deltathree com]
Sent: Thursday, September 09, 2004 9:55 AM
To: Harper, Patrick
Cc: 'snort-users () lists sourceforge net'
Subject: RE: [Snort-users] PLEASE HELP !!!!! How to start mysql client
on the sensor?please help !!!!!!!!!

How I install the .rpm so it just install the client of sql?

 

Thanks!!

 

________________________________

From: Harper, Patrick [mailto:patrick.harper () phns com]
Sent: Thursday, September 09, 2004 2:52 AM
To: Juan Fernandez
Subject: RE: [Snort-users] PLEASE HELP !!!!! How to start mysql client
on the sensor?please help !!!!!!!!!

 

also, just wondering, why you wanted to install an alpha of a binary
distro instead of from source or RPM?

 

________________________________

From: Juan Fernandez [mailto:Juan.Fernandez () deltathree com]
Sent: Wednesday, September 08, 2004 4:39 PM
To: 'snort-users () lists sourceforge net'
Subject: [Snort-users] PLEASE HELP !!!!! How to start mysql client on
the sensor?please help !!!!!!!!!

Hi,

 

I installed mysql on a fedora acting as a sensor as following:

(I downloaded mysql-standard-4.1.1-alpha-pc-linux-i686).

 

./configure --without-server --prefix=/usr/local/mysql

NOTE: This is a MySQL binary distribution. It's ready to run, you don't

need to configure it!

 

To help you a bit, I am now going to create the needed MySQL databases

and start the MySQL server for you.  If you run into any trouble, please

consult the MySQL manual, that you can find in the Docs directory.

 

Installing all prepared tables

 

To start mysqld at boot time you have to copy support-files/mysql.server

to the right place for your system

 

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !

This is done with:

./bin/mysqladmin -u root password 'new-password'

./bin/mysqladmin -u root -h sensor-Jr-lan password 'new-password'

See the manual for more instructions.

 

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run

the ./bin/mysql_fix_privilege_tables. Otherwise you will not be

able to use the new GRANT command!

 

You can start the MySQL daemon with:

cd . ; ./bin/mysqld_safe &

 

You can test the MySQL daemon with the benchmarks in the 'sql-bench'
directory:

cd sql-bench ; perl run-all-tests

 

Please report any problems with the ./bin/mysqlbug script!

 

The latest information about MySQL is available on the web at

http://www.mysql.com

Support MySQL by buying support/licenses at https://order.mysql.com

Starting the mysqld server.  You can test that it is up and running

with the command:

./bin/mysqladmin version

[root@sensor-Jr-lan mysql-standard-4.1.1-alpha-pc-linux-i686]# Starting
mysqld daemon with databases from
/snortinstall/mysql-standard-4.1.1-alpha-pc-linux-i686/data

040908 22:17:58  mysqld ended

 

How I start it on boot time? I read that I need to "copy
support-files/mysql.server

to the right place for your system"  but what is the right place ? in
order to that this machine passes the sql to the main management server
( with acid) is it enough to just configure snort.conf or I need also to
configure something in the sql client on this client ?

 

please help !!

 

thanks !!

 





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. 







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. 





-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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://www.geocrawler.com/redir-sf.php3?list=snort-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. 





-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: