Suddenly I got this log sent via e-mail, I've never seen it before: running daily cronjob scripts SCRIPT: clean_catman, OK. SCRIPT: clean_core, OK. SCRIPT: do_mandb, OK. SCRIPT: logrotate exited with RETURNCODE = 1. SCRIPT: ouput (stdout && stderr) follows /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user: 'root@localhost' (Using password: NO)' error running postrotate script Reload syslog service..done SCRIPT: logrotate ------- END OF OUTPUT SCRIPT: slots, OK. SCRIPT: ouput (stdout && stderr) follows /etc/cron.daily/slots: line 24: psql: command not found SCRIPT: slots ------- END OF OUTPUT So, I wonder what that mysql error is? Of course access should be denied without a psw, but what's the process that tries to do it? And what about the 'psql' command con found? I don't even know psql is! Please help out here.... Anders Norrbring Norrbring Consulting
The 03.08.14 at 00:25, Anders Norrbring wrote:
Suddenly I got this log sent via e-mail, I've never seen it before:
running daily cronjob scripts
SCRIPT: clean_catman, OK. SCRIPT: clean_core, OK. SCRIPT: do_mandb, OK. SCRIPT: logrotate exited with RETURNCODE = 1.
You got the email because logrotate exited with error. The daily cronjob is normally silent, except if there was an error.
So, I wonder what that mysql error is? Of course access should be denied
I would have to analyse it, but sounds familiar. Look at the cron script for clues, or the readmes of mysql, or the suse sdb. I read it somewhere. -- Cheers, Carlos Robinson
On Wednesday 13 August 2003 20:40, Carlos E. R. wrote:
The 03.08.14 at 00:25, Anders Norrbring wrote:
Suddenly I got this log sent via e-mail, I've never seen it before:
running daily cronjob scripts
SCRIPT: clean_catman, OK. SCRIPT: clean_core, OK. SCRIPT: do_mandb, OK. SCRIPT: logrotate exited with RETURNCODE = 1.
You got the email because logrotate exited with error. The daily cronjob is normally silent, except if there was an error.
So, I wonder what that mysql error is? Of course access should be denied
I would have to analyse it, but sounds familiar. Look at the cron script for clues, or the readmes of mysql, or the suse sdb. I read it somewhere.
-- Cheers, Carlos Robinson
Not sure is this is it, but looking under Quick Browser -> System Configuration -> logrotate.d -> mysql I found # If the root user has a password you have to create a # /root/.my.cnf configuration file with the following # content: # # [mysqladmin] # password = <secret> # user= root # # where "<secret>" is the password. # # ATTENTION: This /root/.my.cnf should be readable ONLY # for root ! I have the same logrotate problem. Stuck in a .my.conf in /root/ and it seems not to have hurt anything. Try it and see if it helps the error. ( I'm a SuSE noob) Charlie
participants (3)
-
Anders Norrbring
-
Carlos E. R.
-
Charles Kunce