Interesting, no wonder you were having problems.  My RedHat servers all look
like:

LANG="en_US"
SUPPORTED="en_US:en"
SYSFONT="lat0-sun16"
SYSFONTACM="iso01"

Get rid of the UTF-8 stuff that RedHat added with v9 and you should be fine.

Bill

----- Original Message ----- 
From: "Craig Isdahl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 04, 2003 4:04 AM
Subject: [IMGate] Re: new IMGate user: pflogsumm.pl not showing data -
SOLVED



# cat /etc/sysconfig/i18n
LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bill Landry
Sent: Thursday, December 04, 2003 01:35
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
















Reply via email to