Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: /etc/cron.daily/logrotate

From: Sebastian Tennant <sebyte(at)smolny.plus.com>
Date: Sun Dec 02 2007 - 05:49:20 EST


Doh! The postrotate script is in /etc/logrotate.d/mysql-server:

  test -x /usr/bin/mysqladmin || exit 0

  # If this fails, check debian.conf!
  export HOME=/etc/mysql/my.cnf
  MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"   if [ -z "`$MYADMIN ping 2>/dev/null`" ]; then
# Really no mysqld or rather a missing debian-sys-maint user?
# If this occurs and is not a error please report a bug.
    if ps cax | grep -q mysqld; then
      exit 1
    fi
  else
    $MYADMIN flush-logs
  fi

Now what could be causing the error? Hmm....

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sun Dec 2 05:50:28 2007

This archive was generated by hypermail 2.1.8 : Tue Feb 26 2008 - 16:07:22 EST


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library