Index: [Article Count Order] [Thread]

Date:  Wed, 20 Sep 2006 11:08:07 -0400 (EDT)
From:  "Brian N. Smith" <brian (at mark) nuonce.net>
Subject:  [coba-e:07117] Re: Weird logs -- FIXED!!!!
To:  coba-e (at mark) bluequartz.org
Message-Id:  <Pine.LNX.4.63.0609201043400.8849 (at mark) mail.nuonce.net>
In-Reply-To:  <00f101c6dc96$1f629f80$3701a8c0@lapxp>
References:  <00f101c6dc96$1f629f80$3701a8c0@lapxp>
X-Mail-Count: 07117

To all having this problem.  This is how you manually fix it.  See below 
how to automatically fix this problem.

mkdir -p /home/.tmp
chmod 755 /home/.tmp

## The following is 2 lines.  Copy and paste each line, 1 at a
## time.  If you try to copy both lines at once, it may give you
## an error!

sed -i -e '/\/usr\/sbin\/logrotate/i export TMPDIR=/home/.tmp\n' \
   -e '/exit 0/i \\nunset TMPDIR\n' /etc/cron.daily/logrotate

You can then force logrotate to spin it's wheels.

To do that, I recommend doing this:

export TMPDIR=/home/.tmp
/usr/sbin/logrotate -f /etc/logrotate.conf

I will be pushing the update out via yum.  If you have my yum repo 
installed, it will be fixed auto magically by doing a

yum update

The RPM that will be update is: nuonce-cd-upgrade-4.6-1

Thanks,

-- 
Brian N. Smith
NuOnce Networks, Inc.
=-=-=-=-=-=-=-=-=-=-=
http://www.nuonce.net
P: (321) 574-5227
F: (321) 574-0554
E: brian (at mark) nuonce.net