public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergey A. Kobzar" <serge.kobzar@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] strange MySQL issue
Date: Thu, 21 Jun 2007 18:24:00 +0300	[thread overview]
Message-ID: <1674140975.20070621182400@gmail.com> (raw)

Hi guys,

I have a strange issue - MySQL startup script reports about error
during system startup:

* Starting mysql ...
* Starting mysql (/etc/mysql/my.cnf)
* MySQL NOT started (0)

There is no errors in /var/log/mysql/mysqld.err:

070621 16:10:43 [Warning] No argument was provided to --log-bin, and
--log-bin-index was not used; so replication may break when this MySQL
server acts as a master and has his hostname changed!! Please use
'--log-bin=/var/run/mysqld/mysqld-bin' to avoid this problem.
070621 16:10:47  InnoDB: Started; log sequence number 0 43675
070621 16:10:50 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.42-log'  socket: '/var/run/mysqld/mysqld.sock'  port:
3306  Gentoo Linux mysql-5.0.42

MySQL process exists:

# ps ax | grep mysql
 4208 ?        Ssl    0:00 /usr/sbin/mysqld
 --defaults-file=/etc/mysql/my.cnf --basedir=/usr
 --datadir=/var/lib/mysql --pid-file=/var/run/mysqld/mysqld.pid
 --socket=/var/run/mysqld/mysqld.sock

# netstat -nlp | grep mysql
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      4208/mysqld
unix  2      [ ACC ]     STREAM     LISTENING     9546   4208/mysqld         /var/run/mysqld/mysqld.sock


Any ideas what it may be? I've checked mysql rc script and found this
message may appears when it can't create mysql socket.

Thanks for any help.


P.S. # uname -rsm
Linux 2.6.20-gentoo-r8 i686

# ls -alh /etc/ | grep make.profile
lrwxrwxrwx  1 root root   48 May  9 13:04 make.profile -> ../usr/portage/profiles/default-linux/x86/2007.0


-- 
Sergey

-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2007-06-21 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21 15:24 Sergey A. Kobzar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-06-21 20:07 [gentoo-user] strange MySQL issue Sergey A. Kobzar

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=1674140975.20070621182400@gmail.com \
    --to=serge.kobzar@gmail.com \
    --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