[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:57076] Re: logrotateのトラブル
- From: tk <tk@xxxxxxxxxxxx>
- Subject: [debian-users:57076] Re: logrotateのトラブル
- Date: Mon, 24 Mar 2014 18:41:53 +0900
- List-help: <mailto:debian-users-ctl@debian.or.jp?body=help>
- List-id: debian-users.debian.or.jp
- List-owner: <mailto:debian-users-admin@debian.or.jp>
- List-post: <mailto:debian-users@debian.or.jp>
- List-software: fml [fml 4.0.3 release (20011202/4.0.3)]
- List-unsubscribe: <mailto:debian-users-ctl@debian.or.jp?body=unsubscribe>
- X-gm-message-state: ALoCoQmhADxhXE7xbix8A0JFiaDiYePKd4RaaZWaGVayRsTDspOkZRyrGyoylsX/5uixYiw26WlQ
- X-google-dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:message-id:to:subject:from:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=w0QGWHJjTpIO+GEgZ8U5lNnXP+EzocaRkFa2YwGbeS0=; b=D2SDIe8/h5Aw2InI3uG+fzQeRjWVTGDj3IsXSQve1eOCmNBnCoYKq5nqG7+KzRGkjF Tc6SDVWVsdJxuD9d3io86yRQebn5OFxxj/FMYjoEUiMdjBPralyUYIsxFloDNhhavdKI +067VZ2WverKOkILuw3DJpp74a5VUFNlLItqLHxH83w//8Jl5HE6nXx9Jx/dy4kZ115y AvY5C54TjKhxUjPuQGm2Eh8FbfyvzSoyANMZzNfXODxwrZod0xLBUfW22+yv10/8+p/r KhqBRenjTKy07rmixiDwf283/f1iT5Z2wwQ3PfP/uB2rHmWy4+4pYcVzxIfxFgp4wKjF 6yPw==
- X-ml-info: If you have a question, send e-mail with the body "help" (without quotes) to the address debian-users-ctl@debian.or.jp; help=<mailto:debian-users-ctl@debian.or.jp?body=help>
- X-ml-name: debian-users
- X-mlserver: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (only members can post)
- X-original-to: debian-users-dist@debian.or.jp
- X-received: by 10.68.197.66 with SMTP id is2mr70183620pbc.96.1395654111608; Mon, 24 Mar 2014 02:41:51 -0700 (PDT)
- X-spam-checker-version: SpamAssassin 3.2.5 (2008-06-10) on osdn.debian.or.jp
- X-spam-level: *
- X-spam-status: No, score=1.5 required=10.0 tests=GAPPY_SUBJECT,KI, RCVD_IN_DNSWL_LOW,TVD_SPACE_RATIO autolearn=disabled version=3.2.5
- References: <20140324083837.FB94.9047FFD1@xxxxxxxxx>
- Message-id: <20140324.184149.103209389.tk@xxxxxxxxxxxx>
- X-mail-count: 57076
- X-mailer: Mew version 6.5 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO)
沢田です。
> wheezy(3.2.0-4-amd64)を使っております。下記のようなエラーがメールで届くようになり,
> 特に気にしていなかったのですが,/var/log/syslogがロテートしなくなってし
> まい,ファイルサイズが大きくなる一方になってしまいました。
>
> /etc/cron.daily/logrotate:
> error: bad year 2260 for file /var/log/syslog in state file /var/lib/logrotate/status
> error: could not read state file, will not attempt to write into it
> run-parts: /etc/cron.daily/logrotate exited with return code 1
>
> どうすれば,解決することができるのか,ご教示いただければ幸いです。よろし
> くお願いします。
原因はわかりませんが、解決については、/var/lib/logrotate/status がお
かしくなっているみたいなので、それを作り直せばいいと思います。
http://www.linuxquestions.org/questions/linux-newbie-8/logs-not-rotating-4175422572/
とかですかね。