Re: [LINUX:1693] xferlog ??

Yener YIGIT (yener@knidos.cc.metu.edu.tr)
Wed, 4 Sep 1996 19:20:14 +0200 (EETDST)


Buyuk bir ihtimalle MV komutu ile xferlog un yerini degistirmissiniz.
Bu dogru yontem degil. (ayni sey syslog icinde gecerli)
sebebi ftpd ve syslogd inode lar uzerinden file a erisir.
yani file i mv ettiginizde inode degismedigi icin gittigi yerde file a
yazmaya calisir, gzip yapmadan mv etseydiniz file in yeni yerinde de
buyudugunu gorurdunuz.

soyle yapmalisiniz

cp xferlog oldlogs/xferlog.9608
rm xferlog
touch xferlog
gzip oldlogs/xferlogs.9608

kolay gelsin
yener

On Wed, 4 Sep 1996, MuratHan BostancI wrote:

> Date: Wed, 4 Sep 1996 14:20:07 +0400
> From: MuratHan BostancI <a93fn052@ankara.edu.tr>
> To: Multiple recipients of list <linux@Bilkent.EDU.TR>
> Subject: [LINUX:1693] xferlog ??
>
> MErhaba
> gecen gun xferlog u gzip ile sikistirip bir kenara koyduktan sonra
> touch ile yeniden olusturdum, fakat o gunden beri ftpd xferlog a kayit
> yapmamaya basladi. daha onceden yaptigimda sorun olmamisti.
> fikri olan ?
>
> saygilar.
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> + Linux is The BEST +
> + ----------------- Murathan BostancI +
> + Gulmezsen Doverim +
> + E-MAIL : a93fn052@ankara.edu.tr +
> + A.U. Fen Fakultesi - Astronomi ve Uzay Bilimleri Bolumu +
> + A.U. Faculty of Science - Department of Astronomy +
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>

--
* Yener YIGIT
* yener@metu.edu.tr
* Manager of Network Group 
* METUCC Ankara / Turkiye
* +90.312.2103332  (voice)
* +90.312.2101120  (fax)