Wednesday, May 23, 2012

How to confifure log rotation on solaris10 Machine

Hi All, 
I need to configure log rotation on solaris10 production server for the path /var/adm/nscd.log. 
  
I have already placed the entries in /etc/logadm.conf file as mentioned below.But its not working. 
/var/adm/nscd.log -C 8 
  
Help would be appreciated 


Hi All, 
I need to configure log rotation on solaris10 production server for the path /var/adm/nscd.log. 
  
I have already placed the entries in /etc/logadm.conf file as mentioned below.But its not working. 
/var/adm/nscd.log -C 8 
  
Help would be appreciated 
Hi, 
How did you placed entries? 
Have you checked with logadm -V? If yes, was output OK? 
I had no problem with logadm yet... 
Execute "logadm -C 8 -p 1d -n -w /var/adm/nscd.log" to test the syntax & 
then execute it without "-n" to update logadm.conf file. 

0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM