ecs-isp@2rosenthals.com Messaggio archiviato #1300

Da: "Massimo S." <ecs-isp@2rosenthals.com> Intestazioni complete
Messaggio non codificato
Oggetto: perl and mrtg issues
Data: Fri, 9 Jan 2026 10:36:15 +0100
A: ecs-isp@2rosenthals.com

Hi all,

to graph some parameters, i'd need to bring back to life MRTG.
I abandoned its environment around 2018 for some issues i don't recall..

The scripts and the MRTG stuff is still here untouched, but there is no PERL,
so i donwnloaded this:

https://www.hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/dev/proglang/perl/Perl_5-16-0k2.zip

When i run the script i need for the graphs, i get:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = "D",
        LANG = "EN_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

I also get:

Can't locate strict.pm in @INC (@INC contains: /perl5/lib/site_perl/5.16.0/os2 /perl5/lib/site_perl/5.16.0 /perl5/lib/5.16.0/os2 /perl5/lib/5.16.0 .) at mrtg line 33.
BEGIN failed--compilation aborted at mrtg line 33.

But strict.pm is there under D:\perl\lib\5.16.0


the script is this:


@set PERL_LIBBATH=L:/Perl/lib; d:/perl/lib
@set PERLLIB_PREFIX=L:/Perl/lib; d:/perl/lib
@set PERL_SH_DIR=d:\perl\bin
@SET LC_ALL=D
@SET lang=EN_US
@SET PATH=D:\Perl\bin;%PATH%
@SET BEGINLIBPATH=D:\Perl\lib

@d:
@cd d:\mrtg\bin
@perl mrtg mrtg.routersnr


any help?


massimo

Isriviti: Feed, Riassunto, Indice.
Disiscriviti
Scrivi a ListMaster