[dsc] problems in configurations
Ali Faiez Taha
aftaha at cirp.usp.br
Tue Dec 6 15:22:14 UTC 2011
On 06/12/2011 06:27, Marc Haber wrote:
> On Mon, Dec 05, 2011 at 06:01:58PM -0200, Ali Faiez Taha wrote:
>> I am beginnign with DSC and, at now, I can't view the graphs in my DNS
>> Cache server.
>
> What did you try and what happens when you do what? Please try to give
> enough information that we can actually help.
>
>> I am working with a Debian server and ONLY one DNS (Bind 9) server running.
>>
>> There are another manner to upload the xml files ? Or only rsync and X509 ?
>
> You can basically use any method you want to transfer the XML files.
> The pre-fabricated transfer scripts come in
> /usr/share/dsc-statistics-collector in the Debian packages. Be
> prepared to debug.
>
> Greetings
> Marc
>
OK.
Following the Debian packages dsc-statiscs-collector and dsc-statistcs I saw some examples.
But I am installing this software via source files.
When I run /usr/local/dsc/libexec/dsc-grapher.pl the errors message are:
--------------------------------------------------------------------------------------------------------------------------------
Use of uninitialized value $url in index at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1326.
Use of uninitialized value $url in concatenation (.) or string at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1330.
Use of uninitialized value $url in index at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1326.
Use of uninitialized value $url in concatenation (.) or string at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1330.
Use of uninitialized value $url in index at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1326.
Use of uninitialized value $url in concatenation (.) or string at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1330.
Use of uninitialized value $url in index at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1326.
--------------------------------------------------------------------------------------------------------------------------------
The partial source (/usr/local/share/perl/5.10.1/DSC/grapher.pm) show:
1322 sub urlpath {
1323 my $self = shift;
1324 my %args = @_;
1325 my $url = $ENV{REQUEST_URI};
1326 if ((my $n = index($url,'?')) > 0) {
1327 $url = substr($url,0,$n);
1328 }
1329 $self->delete_default_args(\%args);
1330 "$url?" . join('&', map {"$_=" . uri_escape($args{$_})} keys %args);
1331 }
How to solve it ?
More information about the dsc
mailing list