AAA, NAC, Guest Access & BYOD

How do I enable named.log file rotation on a 1U NAC Appliance?

Product and Software: This article applies to  ECS product and software firmware versions earlier than 2.1.2.12.


To get the log file to roll, you need to change the file location to '/bsc/siteConfiguration/named/':

1) Access the NAC appliance CLI.

2) Edit the /bsc/siteConfiguration/named.conf file.

3) Find this line:
file "/named.log" versions 3 size 5m;

4) Remove the "/" in front of "named.log".

5) Update the link from the log area to the new file location:

a. Remove the current link:

rm /bsc/logs/named.log


b. Create the new link:

ln -s /var/lib/named/bsc/siteConfiguration/named/named.log /bsc/logs/named.log


c. Add this link to the old log location in case someone looks for
the file there:

rm /var/lib/named/named.log
ln -s /bsc/siteConfiguration/named/named.log /bsc/logs/named.log

6) Restart DNS:

/etc/init.d/named restart

 

Version History
Revision #:
1 of 1
Last update:
‎06-30-2014 06:09 PM
Updated by:
 
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.