I think this is a RH9 thing.  I usually vi /etc/sysconfig/i18n and remove
the UTF8 after en_US.  Works for me.

I remember reading that RedHat set it that way for speed, but that the
setting breaks an awful lot of perl programs/scripts.

HTH,

Mark

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bill Landry
Sent: Thursday, December 04, 2003 12:35 AM
To: [EMAIL PROTECTED]
Subject: [IMGate] Re: new IMGate user: pflogsumm.pl not showing data -
SOLVED



Hmmm, that's strange, that should be the default setting.  How does your
/etc/sysconfig/i18n read?

Bill
----- Original Message -----
From: "Craig Isdahl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 7:55 PM
Subject: [IMGate] Re: new IMGate user: pflogsumm.pl not showing data -
SOLVED



Thanks Kevin.  It works!  Is 'export LANG=en_US' a system
variable that should be set?  If so, how.  This also might
qualify for a mention in the install docs, the perl requirements
were clearly stated but this one blindsided me.  :)

Craig

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin Minnick
Sent: Wednesday, December 03, 2003 21:48
To: [EMAIL PROTECTED]
Subject: [IMGate] Re: new IMGate user: pflogsumm.pl not showing
data



run 'export LANG=en_US'

example script:
#!/bin/bash
#print out today's maillog
export LANG=en_US
/usr/local/bin/pflogsumm.pl -d today -h 15 /var/log/maillog

Kevin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bill Landry
Sent: Wednesday, December 03, 2003 9:28 PM
To: [EMAIL PROTECTED]
Subject: [IMGate] Re: new IMGate user: pflogsumm.pl not showing
data



I am running Postfix on three RedHat 9 servers and have
experienced the "0"
numbers with pflogsumm reports when I did not have Date::Calc
installed.
I've always compiled the perl modules from source or installed
them from
CPAN, but have not tried installing them from RPM yet.

Bill

----- Original Message -----
From: "Craig Isdahl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 5:50 PM
Subject: [IMGate] Re: new IMGate user: pflogsumm.pl not showing
data



Ok, I'll expand a little more...
# rpm -qa | grep perl
perl-5.8.0-88.3
perl-CGI-2.81-88.3
perl-Date-Calc-5.3-3
perl-File-MMagic-1.16-3
perl-Filter-1.29-3
perl-Bit-Vector-6.1-33

perl-Date-Calc-5.3-3 and perl-File-MMagic-1.16-3 were installed
using apt-get install.  apt-get update and apt-get upgrade were
also run on the box.

No errors just zeros.  Any other suggestions as I'm learning
postfix (which is formidable to say the least - I know I know,
much easier than sendmail) and have much to learn  :)

Anybody else running RH9 experience this.  If not, did you
install Date-Calc rpms or source?

Thanks!
Craig

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Len Conrad
Sent: Wednesday, December 03, 2003 19:21
To: [EMAIL PROTECTED]
Subject: [IMGate] Re: new IMGate user: pflogsumm.pl not showing
data




>Did you install Date::Calc?

not having a moduel is fatal, but the PERL runtime fails,
announcing is
can't find that module.

Once or twice, I've installed IMGate on Linux boxes that showed
exactly his
problem.  pflogsumm runs, showing nothing but goose eggs.

I spent a lot of time trying to get it to work, but in the end,
I told the
client that his Linux was broken.  :))

He did something, I forget what, to get it working.  He was
using RPM's,
and IIRC, he randomly downloaded RPMs of pflogsumm and various
modules
until he started getting numbers.

Len












---
[This E-mail scanned for viruses by Declude Virus]


---
[This E-mail scanned for viruses by Declude Virus]


Reply via email to