syslog files have stopped rotating on Novell Access Manager 3.1

  • 7010968
  • 19-Oct-2012
  • 08-Nov-2012

Environment

Novell Access Manager 3.1
Novell Access Manager 3.1 Support Pack 4 applied
Novell Access Manager 3.1 Linux Access Gateway running

Situation

Access Manager configured and running successfully. Users can access protected resources on the Linux Access Gateway (LAG) after authenticating to the Identity (IDP) Server. For monitoring purposes, some logging functions are enabled on the LAG (IDP logging to to INFO level, HTTP proxy logs are enabled). The log files do get populated as expected but after a period of time, the syslog files stop rotating. The files simply grow to the point where disk space alerts are generated.

Resolution

To addressing the issue, the following steps must be applied:

1) To help find the syslog issue to see the error for this type of problem, force a manual syslog rotation in verbose mode using the following command:
logrotate -dfv /etc/logrotate.d/syslog

2) Delete the empty logrotate.status and run logrotate again:
/etc/cron.daily/logrotate /etc/logrotate.conf
The logrotate.status will be recreated automatically.

OR

3 (a) Take a back up of the logrotate.status file.
mv /var/lib/logrotate.status /var/lib/logrotate.status.bak

3 (b) Run logrotate command manually to regenerate this file again
logrotate -fv /etc/logrotate.conf

Additional Information