From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Dmitry Ivanov To: community@altlinux.ru Date: Thu, 20 Mar 2003 21:55:57 +0200 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_Nzhe+7HRZ0UoUMa" Message-Id: <200303202155.57795.dimss@solutions.lv> Subject: [Comm] Fwd: Anacron job 'cron.daily' Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: --Boundary-00=_Nzhe+7HRZ0UoUMa Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Вот такая штука стала появляться, когда я назначил root-пароль для mysql. В файле /etc/logrotate.d/mysql рекомендуется указать пароль в /root/.my.cnf. Я сделал это, но ничего не изменилось, хотя mysqladmin из командной строки этот пароль читает. Вопрос: чем среда выполнения из-под anacron и logrotate отличается от выполнения из shell? --Boundary-00=_Nzhe+7HRZ0UoUMa Content-Type: message/rfc822; name="forwarded message" Content-Transfer-Encoding: 8bit Content-Description: root@bigiron.solutions.lv (Anacron): Anacron job 'cron.daily' Return-Path: Delivered-To: dimss@bigiron.solutions.lv Received: by bigiron.solutions.lv (Postfix, from userid 0) id 6AFFF661; Thu, 20 Mar 2003 21:21:24 +0200 (EET) From: root@bigiron.solutions.lv (Anacron) To: root@bigiron.solutions.lv Subject: Anacron job 'cron.daily' Message-Id: <20030320192124.6AFFF661@bigiron.solutions.lv> Date: Thu, 20 Mar 2003 21:21:24 +0200 (EET) Status: R X-Status: N X-KMail-EncryptionState: X-KMail-SignatureState: 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 --Boundary-00=_Nzhe+7HRZ0UoUMa--