On Sat, 21 Apr 2007 12:21:53 +0200
José Luis Tallón <[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED] wrote:
> > Package: bindgraph
> > Version: 0.2-5
> > Severity: normal
> >
> >
> > Bindgraph does not create rrd files. In etc/default/bindgraph
> > LOG_FORMAT field was changed from "bind93" to "bind92" 
> If you have bind 9.3 installed (as shown below), why did you change
> the log format to "bind92" ?

Because testing only.

> >  but there is no success after change. 
> If it "didn't work" before, why do you choose to change the log format
> instead of other parameters?

It is the default conf file generated by packge instlal scripts.
This is Debian/GNU Linux stable, custom changes are fights for other low
quality distros.

> > Respectively web page stays without images
> > [ http://webserver/cgi-bin/bindgraph.cgi ], the apache error log
> > does not show serious error. 
> That would be related to the CGI, not bindgraph itself
> > here is the cutted part from bind93 logfile : 
> > -------------------
> > 21-Apr-2007 10:39:41.911 client 213.240.249.93#2927: query: typhon
> > IN A + 21-Apr-2007 10:39:41.991 client 213.240.249.93#2928: query:
> > typhon IN A + 21-Apr-2007 10:39:42.114 client 213.240.249.93#2929:
> > query: typhon IN A + 21-Apr-2007 10:39:42.159 client
> > 213.240.249.93#2930: query: typhon IN A + 21-Apr-2007 10:39:42.211
> > client 213.240.249.93#2931: query: typhon IN A + 21-Apr-2007
> > 10:39:42.408 client 213.240.249.93#2955: query: typhon IN A +
> > 21-Apr-2007 10:39:47.301 client 213.240.249.67#1718: query:
> > www.varnacity.info IN A + 21-Apr-2007 10:39:48.316 client
> > 213.240.249.67#1718: query: www.ida.bg IN A + 21-Apr-2007
> > 10:39:48.562 client 213.240.249.67#1718: query: news.varnacity.info
> > IN A + 21-Apr-2007 10:39:48.652 client 213.240.249.66#1477: query:
> > ns.aska.com.ua IN A + ------------------
> >
> > this is bingraph conf file : 
> > ----------------
> > xxx:~# cat /etc/default/bindgraph 
> > DNS_LOG=/var/log/bind9-query.log
> > LOG_FORMAT=bind92
> > -----------------
> >   

> Have you checked that the logfile is located where bindgraph expects
xxx:~# ls -l /var/log/bind9-query.log
-rw-r----- 1 bind adm 86353025 Apr 21 13:42 /var/log/bind9-query.log

> it ? Have you checked that the logfile is readable for bindgraph ?

It is look like it is. ( adm group ).

> Have you checked that RRD files are indeed not created?

it is created now.

ls -l /var/lib/bindgraph/
total 6952
-rw-r--r-- 1 daemon adm 7106056 Apr 21 14:02 bindgraph.rrd


> Have you checked that bindgraph has permissions to write them?

yes it is.

> Have you checked that Apache has permissions to read the generated RRD
> files?

xxx:~# ls -l /var/lib/bindgraph/
total 6952
-rw-r--r-- 1 daemon adm 7106056 Apr 21 13:51 bindgraph.rrd

I think that apache can read the rrd file.


> > -- System Information:
> > Debian Release: 4.0
> >   APT prefers stable
> >   APT policy: (500, 'stable')
> > Architecture: i386 (i686)
> > Shell:  /bin/sh linked to /bin/bash
> > Kernel: Linux 2.6.11.5-vs-MiCRo
> > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> >
> > Versions of packages bindgraph depends on:
> > ii  debconf [debconf-2.0]         1.5.11     Debian configuration
> > management sy ii  libfile-tail-perl             0.98-5
> > File::Tail perl module ii  librrds-perl                  1.2.15-0.3
> > Time-series data storage and displ
> >
> > Versions of packages bindgraph recommends:
> > ii  apache [httpd]                1.3.34-4.1 versatile,
> > high-performance HTTP s ii  bind9
> > 1:9.3.4-2  Internet Domain Name Server
> >
> > -- debconf information:
> > * bindgraph/logfile: /var/log/bind9-query.log
> > * bindgraph/configure_bind:
> > * bindgraph/stay_on_purge: false
> > * bindgraph/start_on_boot: true
> >
> >   
> 


-- 

Konstantin Kostadinov
        ------------------------------------------------------------
pgp key : F2C41D57 : at : subkeys.pgp.net

BOFH excuse #190:

Proprietary Information.

Reply via email to