Revision [1654]

This is an old revision of Lire made by JulianDemarchi on 2008-07-07 22:34:44.

 

Debian Lire Howto


This is how I have lire setup to work for me.


First we have to install some package dependencies.
apt-get install tetex-bin gs-common tetex-extra tetex-base latex-beamer latex-xcolor lmodern pgf preview-latex-style


Now we install lire. Its that simple!
apt-get install lire


Now we have to configure bind9 to separate the log files.

Edit bind9's configuration file
nano /etc/bind/named.conf


Then at the very top add in the following section
logging {
	    channel main_syslog {
	            syslog local2;
	    };
	    channel misc {
	            file "/var/log/named.log";
	            print-time yes;
	    };
	    channel "querylog" {
	               file "/var/log/query.log" 
	              print-time yes;
	        };

	    category default { misc; };
	    category general { misc; };
	    category security { misc; };
	    category config { misc; };
	    category resolver { misc; };
	    category xfer-in { misc; };
	    category xfer-out { misc; };
	    category notify { misc; };
	    category client { misc; };
	    category network { misc; };
	    category update { misc; };
	    category queries { misc; };
	    category lame-servers { misc; };
};


Prime the log files(The log location below assumes you have a chroot bind9 setup. If not the logs will be in /var/log/log.name)
touch /var/lib/named/var/log/named.log
touch /var/lib/named/var/log/query.log


Now restart bind9
rndc reload


The files /var/lib/named/var/log/named.log and query.log should now contain data. This is a good point to check. If they are empty, try;
dig www.opennicproject.org @127.0.0.1
cat /var/lib/named/var/log/query.log


That should have shown some data, if not go back and double check all steps.
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki