EAK Just Debian Guru Page :) Just another Linux weblog

21Feb/10Off

Move Apache domlogs to second disk drive or any where

Its a simple job and recommended appraoch is to stop Apache before moving domlogs so it will bring downtime. Here is how you can do it:

Quote:

service httpd stop
ps ax | grep httpd (Verify that no httpd process still running)
cd /usr/local/apache
mkdir /home2/apache ( Considering /home2 as your new drive)
mv domlogs /home2/apache/
ln -s /home2/apache/domlogs /usr/local/apache/domlogs
ls -la /usr/local/apache/ (Verify the link)
service httpd start

http://forums.cpanel.net/f5/move-apache-domlogs-second-disk-drive-98821.html

Filed under: Sunucu Comments Off
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.