Snort mailing list archives
Re: Cant connect mysql server
From: Saad Kadhi <saad () docisland org>
Date: Wed, 15 Jan 2003 20:44:53 +0100
Saul, On Wed, Jan 15, 2003 at 11:54:15AM -0500, Saul Bosquez wrote:
It's not back, I issued the 'ps' command and its not running :(
I don't want to sound harsh but you really need to learn and get accustomed with your linux distribution first thing. imho, a successful intrusion analyst needs -among other things- to master or at least have a good knowledge of the operating system they use. since you are using linux, there are many good howtos/articles/etc. about system administration out there[0] (get a look for example at now to get back to your question, if you have learned enough *nix administration, you would have realized that if a process is not running you should start it. You can start it by hand or call it in a startup script so that it will start at boot time. Usually, the software comes with instructions about how to do this. If it a vendor-made package, the documentation is usually included within the package. if you have installed mysql from source (that is, you have compiled mysql on your specific platform using the source distribution), there might be instructions in README/INSTALL/etc files included with the source distribution. let's pretend that I don't know how to do this. It took me less than 2 minutes (1min12s exactly) to figure this out: 1. fire up google[1] in a browser windows 2. enter MySQL as search string and feel lucky[2] 3. click on documentation on the top navigation bar 4. click on Searchable, with user comments (3rd link under MySQL Reference Manual) 5. enter "starting up" under "Search the MySQL manual" 6. click Go 7. click 5th link: starting and stopping MySQL automatically a page loads. it contains all the information you may need: <quote> mysql.server stop brings down the server by sending a signal to it. You can also take down the server manually by executing mysqladmin shutdown. You need to add these start and stop commands to the appropriate places in your `/etc/rc*' files when you want to start up MySQL automatically on your server. On most current Linux distributions, it is sufficient to copy the file mysql.server into the `/etc/init.d' directory (or `/etc/rc.d/init.d' on older Red Hat systems). Afterwards, run the following command to enable the startup of MySQL on system bootup: shell> chkconfig --add mysql.server [3] </quote> not hard! isn't it? as Erek Adams pointed out, "help _us_ help _you_!"(tm). please do read his post[4] and the following from Brian Topping. Erek, how much drinks for this one ? :-)
On Tue, 2003-01-14 at 20:40, Saul Bosquez wrote:I was installing the Snort 1.9.0 on redhat 7.3 using the october 2002 setup guide... The 1.5 guide doesnt seem to work properly for snort 1.9.0. Everything went ok until the 'adding sensors to the SnortCenterConsole' part. If im using an sensor&database box when im adding a sensor should iuse'localhost' as the sensor IP? On the snortcenter admin page when i was trying to add a sensor there were strange characters on the screen, does it has something to dowithnetscape? Should i use mozilla instead? And at the end of i clicked on save and the sensor wasnt added. And 'admin' button never seemed to be enabled. So I rebooted the box, and when I tried to log on the database i got error 2002 message.. Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'. Before the reboot I wasn't having this error message... Any idea?
-- [0] for example, get a look at http://www.tldp.org. there are also nice books about the subject. I recommend "Unix System Administration Handbook" latest edition by Nemeth, Snyder, Seebass, and Hein, Prentice Hall. [1] http://www.google.com [2] this will take you to http://www.mysql.com [3] neither "shell>" nor "[3]" is a part of the command you should type. "shell>" indicates your shell prompt. [4] http://marc.theaimsgroup.com/?l=snort-users&m=104230179003344&w=2 -- Saad Kadhi -- [saad () docisland org] [saad.kadhi () hapsis fr] [pgp keyid: 35592A6D http://pgp.mit.edu] [pgp fingerprint: BF7D D73E 1FCF 4B4F AF63 65EB 34F1 DBBF 3559 2A6D] --- ------------------------------------------------------- This SF.NET email is sponsored by: A Thawte Code Signing Certificate is essential in establishing user confidence by providing assurance of authenticity and code integrity. Download our Free Code Signing guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en _______________________________________________ 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:
- Cant connect mysql server Saul Bosquez (Jan 14)
- <Possible follow-ups>
- Cant connect mysql server Saul Bosquez (Jan 15)
- RE: Cant connect mysql server Slighter, Tim (Jan 15)
- RE: Cant connect mysql server Saul Bosquez (Jan 15)
- Re: Cant connect mysql server Saad Kadhi (Jan 15)