Snort mailing list archives
RE: why arent helping me ? PLEASE HELP !!!!! How to start mysql cl
From: Juan Fernandez <Juan.Fernandez () deltathree com>
Date: Sat, 11 Sep 2004 22:12:17 +0300
After I Install the mysql client ( which I did). Do I need to start it on the client ? ( I mean snort -h [ip of the sqldb on the snort managment server]) Or snort client contacts the sql db on another server therow the configurtion I insertes to the plug in section in snort.conf? thanks !!! -----Original Message----- From: M Shirk [mailto:shirkdog_linux () hotmail com] Sent: Friday, September 10, 2004 1:53 PM To: snort-users () lists sourceforge net Subject: RE: [Snort-users] why arent helping me ? PLEASE HELP !!!!! How to start mysql cl If you want Snort to use the mysql database output plugin, then you will need the mysql libraries and client when you compile Snort on the sensor. What you are doing here appears to be the mysql setup. But if you are just trying to get snort compiled on a box, you do not need to compile the database, you just need the mysql files. (Also note the the very first snort installation guide for redhat9, mysql, apache, php, acid refers to only using a single computer for everything). Shirkdog
From: Juan Fernandez <Juan.Fernandez () deltathree com> To: "'Harper, Patrick'" <patrick.harper () phns com>, Juan Fernandez <Juan.Fernandez () deltathree com> CC: snort-users () lists sourceforge net Subject: [Snort-users] why arent helping me ? PLEASE HELP !!!!! How to start mysql clien t on the sensor?please help !!!!!!!!! Date: Thu, 9 Sep 2004 20:13:01 +0300 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 ------------------------------------------------------- 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
_________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ------------------------------------------------------- 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 ------------------------------------------------------- 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:
- RE: why arent helping me ? PLEASE HELP !!!!! How to start mysql cl Juan Fernandez (Sep 11)