Hi,

 

I keep on getting this error in my error_log

 

[Tue Jul 14 20:55:48 2015] [notice] Apache/2.2.15 (Unix) DAV/2
mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1 configured --
resuming normal operations

[Tue Jul 14 20:55:53 2015] [error] install_driver(Pg) failed: Attempt to
reload DBD/Pg.pm aborted.\nCompilation failed in require at (eval 98) line
3.\n\n at /opt/taranis/pm/Taranis/Database.pm line 43.\n

 

I already installed DBD::Pg via yum, wget and cpan, all resulting in the
same error over and over again.

 

.         OS: RHEL 6

.         Apache: 2.2.15

.         Perl: perl, v5.10.1 (*) built for x86_64-linux-thread-multi

.         Postgres (PostgreSQL) 8.4.20

.         DBI  Version 1.633

.         DBD::Pg  Version 3.5.1

.         make test:

 

# make test

PGINITDB="/usr/bin/initdb" PERL_DL_NONLAZY=1 "/usr/bin/perl"
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/00_signature.t .... skipped: Set the environment variable TEST_SIGNATURE
to enable this test

t/00basic.t ......... ok   

t/01connect.t ....... Please wait, creating new database for testing

pg_resetxlog: cannot be executed by "root"

You must run pg_resetxlog as the PostgreSQL superuser.

# 

# DBI                         Version 1.633

# DBD::Pg                     Version 3.5.1

# Perl                        Version 5.10.1

# OS                          linux

# PostgreSQL (compiled)       ?

# PostgreSQL (target)         ?

# PostgreSQL (reported)       ?

# Default port                ?

# DBI_DSN                     ?

# DBI_USER                    <not set>

# Test schema                 dbd_pg_testschema

# LANG                        C

# Adjusted:                   initdb

# Error was: invalid connection option "client_encoding" at
t/dbdpg_test_setup.pl line 569.

t/01connect.t ....... skipped: Connection to database failed, cannot
continue testing

t/01constants.t ..... ok     

t/02attribs.t ....... skipped: Connection to database failed, cannot
continue testing

t/03dbmethod.t ...... skipped: Connection to database failed, cannot
continue testing

t/03smethod.t ....... skipped: Connection to database failed, cannot
continue testing

t/04misc.t .......... skipped: Connection to database failed, cannot
continue testing

t/06bytea.t ......... skipped: Connection to database failed, cannot
continue testing

t/07copy.t .......... skipped: Connection to database failed, cannot
continue testing

t/08async.t ......... skipped: Connection to database failed, cannot
continue testing

t/09arrays.t ........ skipped: Connection to database failed, cannot
continue testing

t/12placeholders.t .. skipped: Connection to database failed, cannot
continue testing

t/20savepoints.t .... skipped: Connection to database failed, cannot
continue testing

t/30unicode.t ....... skipped: Connection to database failed, cannot
continue testing

t/99cleanup.t ....... ok   

All tests successful.

Files=16, Tests=160, 17 wallclock secs ( 0.10 usr  0.04 sys +  4.81 cusr
6.06 csys = 11.01 CPU)

Result: PASS

 

Any idea what might be causing this, and how to get it solved?

Thanks in advance.

 

 

BRs,

Guy Coulleit 

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to