public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Tim Igoe <tim@igoe.me.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Trouble with mysql
Date: Wed, 31 Aug 2005 22:37:11 +0100	[thread overview]
Message-ID: <43162307.7030701@igoe.me.uk> (raw)
In-Reply-To: <1125521529.11373.9.camel@baby.espersunited.com>

[-- Attachment #1: Type: text/plain, Size: 1288 bytes --]



Michael Sullivan wrote:
> I am having trouble with /etc/init.d/mysql.  I rebooted my system, and
> when it finished rebooting I tried to connect to the mysql daemon and
> failed.  I looked in /var/log/mysql:  There was a file there called
> mysql.err.  The contents were:
> 
> 050831 15:47:29  mysqld started
> 050831 15:47:30 Can't start server: Bind on TCP/IP port: Address already
> in use
> 050831 15:47:30 Do you already have another mysqld server running on
> port: 3306 ?
> 050831 15:47:30 Aborting
> 
> 050831 15:47:30 /usr/sbin/mysqld: Shutdown Complete
> 
> 050831 15:47:30  mysqld ended
> 



check the output of ps aux
look for mysqld processes in the list - if it is running then try
killing the mysqld processes or restarting the machine

> 
> I tried netstat | grep '3306':
> 
> bullet mysql # netstat | grep '3306'
> bullet mysql #

netstat -n | grep 3306

or

netstat | grep mysql

might be better

> 
> The output was blank, so I assume that port 3306 is NOT in use.  Any
> ideas?
> 

Do you have something else that could be using the port - a rootkit or
someone else running a service on the box?

-- 
Tim Igoe
tim@igoe.me.uk
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

"Computers are like Air-con, open windows and they stop working!"

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-08-31 21:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-31 20:52 [gentoo-user] Trouble with mysql Michael Sullivan
2005-08-31 21:20 ` Eric Crossman
2005-08-31 21:29   ` Michael Sullivan
2005-08-31 21:37 ` Tim Igoe [this message]
2005-08-31 21:52   ` Michael Sullivan
2005-08-31 23:04     ` Paul Maszy
2005-09-01  0:39       ` Michael Sullivan
2005-09-01 10:03         ` Bastian Balthazar Bux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43162307.7030701@igoe.me.uk \
    --to=tim@igoe.me.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox