ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Fwd: Anacron job 'cron.daily'
@ 2003-03-20 19:55 Dmitry Ivanov
  2003-03-20 22:50 ` Dmitry V. Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Ivanov @ 2003-03-20 19:55 UTC (permalink / raw)
  To: community

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

Вот такая штука стала появляться, когда я назначил root-пароль 
для mysql. В файле /etc/logrotate.d/mysql рекомендуется указать 
пароль в /root/.my.cnf. Я сделал это, но ничего не изменилось, 
хотя mysqladmin из командной строки этот пароль читает.

Вопрос: чем среда выполнения из-под anacron и logrotate 
отличается от выполнения из shell?

[-- Attachment #2: root@bigiron.solutions.lv (Anacron): Anacron job 'cron.daily' --]
[-- Type: message/rfc822, Size: 660 bytes --]

From: root@bigiron.solutions.lv (Anacron)
To: root@bigiron.solutions.lv
Subject: Anacron job 'cron.daily'
Date: Thu, 20 Mar 2003 21:21:24 +0200 (EET)
Message-ID: <20030320192124.6AFFF661@bigiron.solutions.lv>

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
error running prerotate script, leaving old log in place


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Fwd: Anacron job 'cron.daily'
  2003-03-20 19:55 [Comm] Fwd: Anacron job 'cron.daily' Dmitry Ivanov
@ 2003-03-20 22:50 ` Dmitry V. Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2003-03-20 22:50 UTC (permalink / raw)
  To: ALT Linux general discussion list

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

On Thu, Mar 20, 2003 at 09:55:57PM +0200, Dmitry Ivanov wrote:
> Вот такая штука стала появляться, когда я назначил root-пароль 
> для mysql. В файле /etc/logrotate.d/mysql рекомендуется указать 
> пароль в /root/.my.cnf. Я сделал это, но ничего не изменилось, 
> хотя mysqladmin из командной строки этот пароль читает.

Этот вопрос обсуждался в списке рассылки sisyphus@, решение будет в
updates со дня на день.

> Вопрос: чем среда выполнения из-под anacron и logrotate 
> отличается от выполнения из shell?

В данном случае - переменными среды.


--
ldv

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-20 22:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-20 19:55 [Comm] Fwd: Anacron job 'cron.daily' Dmitry Ivanov
2003-03-20 22:50 ` Dmitry V. Levin

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