Environment
Novell Open Enterprise Server 2 SP2 (OES 2SP2) Linux
Novell Open Enterprise Server 2 SP3 (OES 2SP3) Linux
Domain Services for Windows
DSfW
Novell Open Enterprise Server 2 SP3 (OES 2SP3) Linux
Domain Services for Windows
DSfW
Situation
The /var/opt/novell/xad/log/kdc.log is over 10 gig.
How do I configure logrotate for kdc.log
How do I configure logrotate for kdc.log
Resolution
To rotate the kdc.log (which should be enabled in the 2011 July Maintenance patch) create a file in the /etc/logrotate.d directory called novell-kdc
In the novell-kdc file put
/var/opt/novell/xad/log/kdc.log {
compress
dateext
rotate 10
notifempty
size=16M
copytruncate
}
Adjust the number of logs to rotate and the size or add other options like "create 0600 root root".
In the novell-kdc file put
/var/opt/novell/xad/log/kdc.log {
compress
dateext
rotate 10
notifempty
size=16M
copytruncate
}
Adjust the number of logs to rotate and the size or add other options like "create 0600 root root".
Rotation of the kdc.log will be configured during the install of DSfW in OES11.
Another option is to logrotate all logs in the /var/opt/novell/xad/log directory. To do that create a file called novell-xad in the /etc/logrotate.d directory. Then add the following into the file.
/var/opt/novell/xad/log/*.log {
compress
dateext
rotate 10
notifempty
size=16M
copytruncate
}
Another option is to logrotate all logs in the /var/opt/novell/xad/log directory. To do that create a file called novell-xad in the /etc/logrotate.d directory. Then add the following into the file.
/var/opt/novell/xad/log/*.log {
compress
dateext
rotate 10
notifempty
size=16M
copytruncate
}