Gabor HALASZ wrote: >> >> Te látsz benne valamit? :-) >> > > Igen, ezt az a script csinalja, amit a masik levelben ideztel. A 35710 a > ping, a 35711 a flush-logs.
A gond csak az, hogy az nem akkor fut és nem tud bejelentkezni. Kimásoltam egy file-ba, és íme: # sh -vx /tmp/mysqlping mc () { . /usr/share/mc/bin/mc-wrapper.sh } # just if mysqld is really running if test -x /usr/bin/mysqladmin && \ /usr/bin/mysqladmin ping & then /usr/bin/mysqladmin flush-logs ret=$? if test $ret -ne 0 then echo "/etc/logrotate.d/mysql failed, probably because" >&2 echo "the root acount is protected by password." >&2 echo "See comments in /etc/logrotate.d/mysql on how to fix this" >&2 exit $ret fi fi + /usr/bin/mysqladmin flush-logs + test -x /usr/bin/mysqladmin + /usr/bin/mysqladmin ping /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)' /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)' + ret=1 + test 1 -ne 0 + echo '/etc/logrotate.d/mysql failed, probably because' /etc/logrotate.d/mysql failed, probably because + echo 'the root acount is protected by password.' the root acount is protected by password. + echo 'See comments in /etc/logrotate.d/mysql on how to fix this' See comments in /etc/logrotate.d/mysql on how to fix this + exit 1 # g -- No smoke, no drugs, no vindoze. _________________________________________________ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux