Re: Fwd: getting error while parsing log file using pgbadger

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PAWAN SHARMA <er(dot)pawanshr0963(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Fwd: getting error while parsing log file using pgbadger
Date: 2017-07-26 12:08:25
Message-ID: CAB7nPqTwP5q9O+4TWj-6hPiZMCGCJuOW5f6gr5iyr1tuFYB=uA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jul 26, 2017 at 2:01 PM, PAWAN SHARMA <er(dot)pawanshr0963(at)gmail(dot)com> wrote:
> For root user its working fine
>
> [root(at)abc :/opt/PostgreSQL/9.5/data/pgaudit]#
> #-> pgbadger -f stderr postgres-2017-07-26_000000.csv -o abc.html
> [======================> ] Parsed 1873673 bytes of 1991998 (94.06%),
> queries: 0, events: 845
> LOG: Ok, generating html report...
>
> but for the Postgres user, its showing the below error.

There is no way to be sure what's wrong as this depends on the
environment you are using and the packaging system that you have, but
at short glance, I think that you should first try to update PERL5LIB
so as it points to the location where the module has been installed.
Good luck! It does not sound complicated to me to address anyway.
--
Michael

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message PAWAN SHARMA 2017-07-26 12:45:29 Re: Fwd: getting error while parsing log file using pgbadger
Previous Message PAWAN SHARMA 2017-07-26 12:01:19 Re: Fwd: getting error while parsing log file using pgbadger