[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Need To Find The Fix For This
- Subject: RE: [cobalt-users] Need To Find The Fix For This
- From: "Jay Fesco" <jay@xxxxxxxxxxxx>
- Date: Thu Aug 16 01:37:14 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
<snip>
I've been searching the archives, because I KNOW that someone posted a
fix to this not too long ago. I think it involved creating a directory
somewhere else and creating a symlink so there wasn't heavy disk usage
on the /var partition? Is this correct? Im sitting here with my active
monitor going nuts and it shows that all my sites have UNLIMITED Allowed
MB and they all show 4.8 MB Used and 100% Usage! I checked my
/var/log/httpd/access file and I think it's only 4MB in size. So, any
help is VERY Appreciated, even a link to that past post from a few weeks
ago.
Thanks,
Robert
</snip>
Robert - Michael posted the last 'fix' for this - the syntax for the symlink
is contained. The failure to rotate is probably just a side-effect of /var
filling up (my logs stopped rotating when I inadvertently had my MySQL
datafiles in /var).
Here's Michael's reply:
Hi Shawn.
OK I had this exact same problem on my raq4. What was happening was a log
was growing to epic proportions. A fellow named Charlie here on the board
gave me the fix and it worked. I don't know if it will work on your
machine, but it worked on mine.
mkdir /home/webdata
cd /usr/admserv/html/.cobalt/report/
mv * /home/webdata/
cd ..
rm -r ./report
ln -s /home/webdata/ ./report
This removes the logs from the usr directory (which consumes the / partiton)
and moves it to the /home partition and provides it a symbolic link.
find out if it worked by typing the df command
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 743466 472449 271017 64% /
/dev/hda3 198601 56688 141913 29% /var
/dev/hda4 17671528 1584052 16087476 9% /home
This reduced mine from 95%
GL
Mike