[dsc] Trouble Viewing dsc Graphs - Email found in subject

warno warno at okezone.com
Thu Jun 28 03:16:42 UTC 2007

Yes, you guess it right Duane. That's the source of my problem. The
refile-and-grok.sh script and cron job has been up dan running but with
error as you can see below.

I don't know what that script is for until now, thank you for your
information. Below is the output from
/usr/local/dsc/data/refile-and-grok.sh.stdout :

Thu Jun 28 09:22:01 ICT 2007

And after that the error from dsc-xml-extractor.pl output file at

Can't locate Proc/PID/File.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at /usr/local/dsc/libexec/dsc-xml-extractor.pl
line 13.
BEGIN failed--compilation aborted at
/usr/local/dsc/libexec/dsc-xml-extractor.pl line 13.

And this is the line 13 from the script: 

use Proc::PID::File

and, find out that is a module to manage process id files. After install the
module, the dat files was successfully created in 20070627/ (I wonder why
the 20070628/ is not also created).

So after I browse the presenter machine, the "No Data To Display At This
Time" message is display again. Is it because the 20070628/ is not

So I browse to the previous day and ive got the 500 internal server error.
Below is the web server error log:

Use of uninitialized value in join or string at
/usr/lib/perl5/site_perl/5.8.5/DSC/ploticus.pm line 414., referer:

Can't exec "-stdin": No such file or directory at
/usr/lib/perl5/site_perl/5.8.5/DSC/ploticus.pm line 418., referer:

-stdin -maxrows 20000 -png -o
/usr/local/dsc/cache/c603b953d9fa5ea1508700fe451201d1.png.new at
/usr/lib/perl5/site_perl/5.8.5/DSC/ploticus.pm line 418., referer:

Premature end of script headers: dsc-grapher.pl, referer:

The lines mentioned in the ploticus.pm is about:

sub ploticus_begin {
        die "wrong state" unless (1 == $ploticus_state);
        my $prog = (grep {-f $_} qw(/usr/local/bin/ploticus
        my $cmd = join(" ",
                (map { "$_ $ploticus_args{$_}" } keys %ploticus_args),
                "-o $ploticus_output");
        print STDERR "$cmd\n" if ($main::ploticus_debug);
        open(PLOTICUS, "|$cmd") or die "$cmd";
        $ploticus_state = 2;

Okay, that's my problem for now. Thank you for your kind reply.

> -----Original Message-----
> From: Duane Wessels [mailto:wessels at measurement-factory.com]
> Sent: Wednesday, June 27, 2007 10:49 PM
> To: warno
> Cc: dsc at measurement-factory.com
> Subject: [SPAM] - Re: [dsc] Trouble Viewing dsc Graphs - Email found in
> subject
> On Wed, 27 Jun 2007, warno wrote:
> > But I just cant see the graph even though the xml file have been
> created for
> > one days. With the dsc-grapher.pl, I can only see the left menu and
> "No Data
> > To Display At This Time" at the right panel.
> Hi Warno,
> There is another step which you may be missing.  There is a cron job
> that you should run to convert "xml" files to "dat" files.   You should
> run the refile-and-grok.sh script every minute from cron with an entry
> like
> this:
>     * * * * * /usr/bin/nice -10 /usr/local/dsc/libexec/refile-and-
> grok.sh
> Another problem could be file permissions.  Make sure that the userid
> for
> dsc-grapher.pl has read permission on the "dat" files.
> Duane W.


IT Infrastructure

Bimantara Building, 4th Fl
Jl. Kebon Sirih No.17-19
Jakarta 10340
Office   : +6221 390 2275    ext. 141
Fax       : +6221 390 2295
Mobile  : +6288 8800 6336
okezone.com disclaimer:
The contents of this e-mail and its attachments, if any, are for the intended recipient(s) only and may contain proprietary, confidential or otherwise private information. If you are not the intended recipient or if you have inadvertently received this email, please note that any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on this e-mail or any attachments hereto is prohibited and may be unlawful, and that you should delete this e-mail and its attachments, if any, and duly notify us of the miss delivery by e-mailing the sender.

More information about the dsc mailing list