Re: [Server-devel] [XSCE] Re: Weekly log rotation

2013-09-18 Thread James Cameron
Ouch. I was looking at what might go into /etc/logrotate.d but had neglected to consider a symlink '*'. On Thu, Sep 19, 2013 at 08:37:31AM +0200, Jon Nettleton wrote: > Had to take a look at my server to evaluate.  The problem is that in /etc/ > logrotate.d/ there is a symlink '*' pointing to /us

Re: [Server-devel] [XSCE] Re: Weekly log rotation

2013-09-18 Thread Jon Nettleton
sorry cramped typing space. There is a symlink of '*' pointing to /usr/share/xs-config/cfg/etc/logrotate.d/* This must be an error in the image generation script. -Jon On Thu, Sep 19, 2013 at 8:37 AM, Jon Nettleton wrote: > Had to take a look at my server to evaluate. The problem is that in

Re: [Server-devel] [XSCE] Re: Weekly log rotation

2013-09-18 Thread Jon Nettleton
Had to take a look at my server to evaluate. The problem is that in /etc/logrotate.d/ there is a symlink '*' pointing to /usr/share/xs On Thu, Sep 19, 2013 at 7:56 AM, Anna wrote: > On Thu, Sep 19, 2013 at 12:48 AM, Jon Nettleton > wrote: > >> Does it work if you run /etc/cron.daily/logrotate

Re: [Server-devel] [XSCE] Re: Weekly log rotation

2013-09-18 Thread Anna
On Thu, Sep 19, 2013 at 12:48 AM, Jon Nettleton wrote: > Does it work if you run /etc/cron.daily/logrotate by hand as root? > Nope: [root@schoolserver] ~ >cd /etc/cron.daily/ [root@schoolserver] cron.daily >./logrotate error: failed to open config file *: No such file or directory error: found e

Re: [Server-devel] [XSCE] Re: Weekly log rotation

2013-09-18 Thread Jon Nettleton
Does it work if you run /etc/cron.daily/logrotate by hand as root? On Thu, Sep 19, 2013 at 7:40 AM, Anna wrote: > On Thu, Sep 19, 2013 at 12:38 AM, Jon Nettleton > wrote: > >> What does your /etc/logrotate.conf look like? One option for logrotate >> is to only rotate if the logs have reached

Re: [Server-devel] [XSCE] Re: Weekly log rotation

2013-09-18 Thread Anna
On Thu, Sep 19, 2013 at 12:38 AM, Jon Nettleton wrote: > What does your /etc/logrotate.conf look like? One option for logrotate is > to only rotate if the logs have reached a certain size. > > My understanding was it was supposed to rotate weekly no matter what. [root@schoolserver] ~ >cat /etc/l

Re: [Server-devel] [XSCE] Re: Weekly log rotation

2013-09-18 Thread Jon Nettleton
What does your /etc/logrotate.conf look like? One option for logrotate is to only rotate if the logs have reached a certain size. -Jon On Thu, Sep 19, 2013 at 7:34 AM, Anna wrote: > On Wed, Sep 18, 2013 at 11:50 PM, James Cameron wrote: > >> Things to check: >> >> - is crond running? (it is