ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: community@altlinux.ru
Subject: [Comm] Re: autostart MySQL
Date: Mon, 17 Jan 2005 13:50:41 +0200
Message-ID: <20050117115041.GA10926@osdn.org.ua> (raw)
In-Reply-To: <opskqty0c6hz2pp6@oc.peooc.net>

On Mon, Jan 17, 2005 at 01:55:38PM +0300, Aleksander N. Gorohovski wrote:
> Хорошо, Миша.
> Подробнее дело обстоит так:
> Сделал
> # chkconfig --level 345 mysqld on
> 
> Затем:
> # service mysqld start | reload
> mysqld что-то выдал FAILED

Вот здесь и надо выяснить, где грабли.  Глядя в инитскрипт, логи
(впрочем, когда сталкивался -- в messages ничего толком не было,
разве в /var/log/mysql/info).

> попробовал перезагрузил систему. Далее
> # mysql -u root -p
> Ругается:
> ERROR 2002: Can't connect to local MySQL server throught socket  
> 'var/lib/mysql/mysql.sock (2)
> 
> Спускаю "демона" вручную с поводка:
> # safe_mysqld
> 
> После чего нормально могу рабоать:
> # mysql -u root -p

В конце концов -- strace -ff service mysqld start (есть
подозрение, что грабли -- с правами в /var/lib/mysql или
конфигом)

> После перезагрузки все опять повторяется.

Ну это как раз понятно.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2005-01-17 11:50 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-17  9:54 [Comm] " Aleksander N. Gorohovski
2005-01-17 10:56 ` [Comm] " Michael Shigorin
2005-01-17 10:55   ` Aleksander N. Gorohovski
2005-01-17 11:50     ` Michael Shigorin [this message]
2005-01-17 15:49     ` Re[2]: " Alexey S. Kuznetsov
2005-01-17 22:13     ` Eugene Ostapets
2005-01-17 22:55       ` Konstantin A. Lepikhov
2005-01-18  7:13         ` Aleksander N. Gorohovski
2005-01-18  8:31           ` Eugene Ostapets
2005-01-18  7:51             ` Aleksander N. Gorohovski
2005-01-18 11:26         ` Michael Shigorin
2005-01-18 19:52           ` Eugene Ostapets
2005-01-19  7:43             ` Michael Shigorin
2005-01-19  7:39               ` Aleksander N. Gorohovski
2005-01-19  8:30                 ` Michael Shigorin
2005-01-19  7:54                   ` Aleksander N. Gorohovski
2005-01-19  8:49                     ` Michael Shigorin
2005-01-24 23:21                   ` Vitaly Lipatov
2005-01-25  6:01                     ` Aleksander N. Gorohovski
2005-01-25  7:46                       ` Michael Shigorin
2005-01-25 11:39                         ` Aleksander N. Gorohovski
2005-01-25 13:23                           ` Michael Shigorin
2005-01-25  7:45                     ` Michael Shigorin
2005-01-25 12:37                       ` Dmitry V. Levin
2005-01-26  8:51                         ` Vitaly Lipatov
2005-01-17 11:09   ` Andrew Pleskach
2005-01-17 11:01     ` Aleksander N. Gorohovski
2005-01-17 11:54       ` Andrew Pleskach

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=20050117115041.GA10926@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@altlinux.ru \
    /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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git