[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mailgraph] Re: Need Help With RRD Perl Module Installation/Use


Reading a posting in the archives replied to by , I see that I should have added the following line to mailgraph.cgi and mailgraph.pl

I am not seeing any input into my database, so I ran strace and saw:

write(2, "WARNING: line not in syslog form"..., 209) = 209
write(2, "WARNING: line not in syslog form"..., 167) = 167
write(2, "WARNING: line not in syslog form"..., 172) = 172
write(2, "WARNING: line not in syslog form"..., 173) = 173
write(2, "WARNING: line not in syslog form"..., 194) = 194
write(2, "WARNING: line not in syslog form"..., 172) = 172

My logs look like:

Sep  5 16:31:45 mailserver.example.net/mailserver.example.net postfix/qmgr[27362]: [ID 197553 mail.info] 597816CB1E: from=<203176{dot}549962556{at}abc{dot}exampletest{dot}com>, size=14602, nrcpt=1 (queue active)

Sep  5 16:31:45 mailserver.mailserver.net/mailserver.example.net postfix/qmgr[27362]: [ID 197553 mail.info] 3081A6CB1C: removed

Sep  5 16:31:45 mailserver.mailserver.net/mailserver.example.net postfix/qmgr[27362]: [ID 197553 mail.info] 1C0426CB1D: removed

Is there an option or way to handle this?  I am using syslog-ng, latest, and am puirposely stuffing my data into files named after the host, into a directory named after the same.

Thanks all,

.vp

> From: wiskbroom{at}hotmail{dot}com
> To: mailgraph@list.ee.ethz.ch
> Subject: [mailgraph] Need Help With RRD Perl Module Installation/Use
> Date: Fri, 5 Sep 2008 15:09:09 -0400
> 
> Hello;
> 
> I am very new to this list.  I've just installed RRDtool for the purpose of using it within the mailgraph perl script.
> 
> When I try to run the script, I get:
> 
> -bash-3.00# ./mailgraph.pl
> 
> Can't load '/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/RRDs/RRDs.so' for module RRDs: librrd.so.4: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230.  at ./mailgraph.pl line 360
> Compilation failed in require at ./mailgraph.pl line 360.
> BEGIN failed--compilation aborted at ./mailgraph.pl line 360.
> 
> -bash-3.00#
> 
> I tried to install the perl mods by:
> 
> 
> cd /src/rrdtool-1.3.1/bindings/perl-shared
> perl Makefile.PL
> make
> make test < -- This yielded one error - See below
> 
> 
> -bash-3.00# make test
> 
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/base......Can't load '/usr/local/src/rrdtool-1.3.1/bindings/perl-shared/blib/arch/auto/RRDs/RRDs.so' for module RRDs: librrd.so.4: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230.
>  at t/base.t line 20
> Compilation failed in require at t/base.t line 20.
> BEGIN failed--compilation aborted at t/base.t line 20.
> t/base...... Dubious, test returned 255 (wstat 65280, 0xff00)
>  Failed 7/7 subtests
> 
> Test Summary Report
> -------------------
> t/base.t (Wstat: 65280 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 255
>   Parse errors: Bad plan.  You planned 7 tests but ran 1.
> Files=1, Tests=1,  0 wallclock secs ( 0.01 usr  0.00 sys +  0.02 cusr  0.01 csys =  0.04 CPU)
> Result: FAIL
> Failed 1/1 test programs. 1/1 subtests failed.
> make: *** [test_dynamic] Error 255
> 
> I am running an i386 on FC.
> 
> Many thanks in advance!
> 
> .vp
> 
> 
> --
> Unsubscribe mailto:mailgraph-request@list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:mailgraph-request@list.ee.ethz.ch?subject=help
> Archive     http://lists.ee.ethz.ch/mailgraph
> WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi
> 

--
Unsubscribe mailto:mailgraph-request@list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mailgraph-request@list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/mailgraph
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi