perl issue

Started by Prakash Ramakrishnanalmost 7 years ago6 messagesbugs
Jump to latest
#1Prakash Ramakrishnan
prakash.ramakrishnan.ap@nielsen.com

HI Team ,

Every time server got rebooted after we getting below perl error anyone
aware of it. please do the needful.

*could not load library "/opt/app/PostgreSQL/10/lib/postgresql/plperl.so
<https://www.google.com/url?q=http://plperl.so&amp;sa=D&amp;source=hangouts&amp;ust=1562642026357000&amp;usg=AFQjCNGUnD3pjE8Bgn25uibjS1rWPdvE4w&gt;&quot;:
/opt/app/PostgreSQL/10/lib/postgresql/plperl.so
<https://www.google.com/url?q=http://plperl.so&amp;sa=D&amp;source=hangouts&amp;ust=1562642026357000&amp;usg=AFQjCNGUnD3pjE8Bgn25uibjS1rWPdvE4w&gt;:
undefined symbol: Perl_xs_handshake *

--
Thanks,
Prakash.R

#2Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Prakash Ramakrishnan (#1)
Re: perl issue

On 2019-Jul-08, Prakash Ramakrishnan wrote:

HI Team ,

Every time server got rebooted after we getting below perl error anyone
aware of it. please do the needful.

*could not load library "/opt/app/PostgreSQL/10/lib/postgresql/plperl.so
/opt/app/PostgreSQL/10/lib/postgresql/plperl.so
undefined symbol: Perl_xs_handshake *

Sounds like the perl library does not match the version that your
installation was compiled with. It's hard to diagnose with this much
data.

--
�lvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

#3Prakash Ramakrishnan
prakash.ramakrishnan.ap@nielsen.com
In reply to: Alvaro Herrera (#2)
Re: perl issue

Hi Alvaro,

Thanks This is edb standard edition so please do the needfull how can we
install the perl here.

Regards,
Prakash.R

On Wed, Jul 10, 2019 at 4:34 AM Alvaro Herrera <alvherre@2ndquadrant.com>
wrote:

On 2019-Jul-08, Prakash Ramakrishnan wrote:

HI Team ,

Every time server got rebooted after we getting below perl error anyone
aware of it. please do the needful.

*could not load library "/opt/app/PostgreSQL/10/lib/postgresql/plperl.so
/opt/app/PostgreSQL/10/lib/postgresql/plperl.so
undefined symbol: Perl_xs_handshake *

Sounds like the perl library does not match the version that your
installation was compiled with. It's hard to diagnose with this much
data.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Thanks,
Prakash.R
PostgreSQL - Offshore DBA support TCS / Nielsen Infrastructure Team On call
: +91-8939599426

#4vignesh C
vignesh21@gmail.com
In reply to: Prakash Ramakrishnan (#3)
Re: perl issue

Hi,

You can execute the following command:
ldd /opt/app/PostgreSQL/10/lib/postgresql/plperl.so

This will give you the perl library that it is using.
Then check the perl version that is supported for the installation and the
current perl version that is being used.

You should be able to get an idea of the same.

Regards,
Vignesh
EnterpriseDB: http://www.enterprisedb.com

On Wed, Jul 10, 2019 at 2:53 PM Prakash Ramakrishnan <
prakash.ramakrishnan.ap@nielsen.com> wrote:

Hi Alvaro,

Thanks This is edb standard edition so please do the needfull how can we
install the perl here.

Regards,
Prakash.R

On Wed, Jul 10, 2019 at 4:34 AM Alvaro Herrera <alvherre@2ndquadrant.com>
wrote:

On 2019-Jul-08, Prakash Ramakrishnan wrote:

HI Team ,

Every time server got rebooted after we getting below perl error anyone
aware of it. please do the needful.

*could not load library "/opt/app/PostgreSQL/10/lib/postgresql/plperl.so
/opt/app/PostgreSQL/10/lib/postgresql/plperl.so
undefined symbol: Perl_xs_handshake *

Sounds like the perl library does not match the version that your
installation was compiled with. It's hard to diagnose with this much
data.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Thanks,
Prakash.R
PostgreSQL - Offshore DBA support TCS / Nielsen Infrastructure Team On
call : +91-8939599426

--
Regards,
vignesh
Have a nice day

#5Prakash Ramakrishnan
prakash.ramakrishnan.ap@nielsen.com
In reply to: vignesh C (#4)
Re: perl issue

Hi Vignesh,

Am getting below error database up and running only not able to restore the
dump in new cluster in database.

*Util.c: loadable library and perl binaries are mismatched (got handshake
key 0xdb80080, needed 0xde00080)*

*psql.bin:A4_Copy.sql:218: server closed the connection unexpectedly
This probably means the server terminated abnormally before or while
processing the request.psql.bin:A4_Copy.sql:218: connection to server was
lost *

On Wed, Jul 10, 2019 at 5:00 PM vignesh C <vignesh21@gmail.com> wrote:

Hi,

You can execute the following command:
ldd /opt/app/PostgreSQL/10/lib/postgresql/plperl.so

This will give you the perl library that it is using.
Then check the perl version that is supported for the installation and the
current perl version that is being used.

You should be able to get an idea of the same.

Regards,
Vignesh
EnterpriseDB: http://www.enterprisedb.com

On Wed, Jul 10, 2019 at 2:53 PM Prakash Ramakrishnan <
prakash.ramakrishnan.ap@nielsen.com> wrote:

Hi Alvaro,

Thanks This is edb standard edition so please do the needfull how can we
install the perl here.

Regards,
Prakash.R

On Wed, Jul 10, 2019 at 4:34 AM Alvaro Herrera <alvherre@2ndquadrant.com>
wrote:

On 2019-Jul-08, Prakash Ramakrishnan wrote:

HI Team ,

Every time server got rebooted after we getting below perl error anyone
aware of it. please do the needful.

*could not load library

"/opt/app/PostgreSQL/10/lib/postgresql/plperl.so

/opt/app/PostgreSQL/10/lib/postgresql/plperl.so
undefined symbol: Perl_xs_handshake *

Sounds like the perl library does not match the version that your
installation was compiled with. It's hard to diagnose with this much
data.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Thanks,
Prakash.R
PostgreSQL - Offshore DBA support TCS / Nielsen Infrastructure Team On
call : +91-8939599426

--
Regards,
vignesh
Have a nice day

--
Thanks,
Prakash.R
PostgreSQL - Offshore DBA support TCS / Nielsen Infrastructure Team On call
: +91-8939599426

#6vignesh C
vignesh21@gmail.com
In reply to: Prakash Ramakrishnan (#5)
Re: perl issue

Someone has faced a similar problem as yours:
https://stackoverflow.com/questions/45000585/listutil-c-loadable-library-and-perl-binaries-are-mismatched-got-handshake-key

Looks like something to do with your environment variables.

Try to look into the environment variables that are set, it should help you
to solve the problem.

Regards,
Vignesh
EnterpriseDB: http://www.enterprisedb.com

On Tue, Jul 16, 2019 at 7:17 AM Prakash Ramakrishnan <
prakash.ramakrishnan.ap@nielsen.com> wrote:

Hi Vignesh,

Am getting below error database up and running only not able to restore
the dump in new cluster in database.

*Util.c: loadable library and perl binaries are mismatched (got handshake
key 0xdb80080, needed 0xde00080)*

*psql.bin:A4_Copy.sql:218: server closed the connection unexpectedly
This probably means the server terminated abnormally before or while
processing the request.psql.bin:A4_Copy.sql:218: connection to server was
lost *

On Wed, Jul 10, 2019 at 5:00 PM vignesh C <vignesh21@gmail.com> wrote:

Hi,

You can execute the following command:
ldd /opt/app/PostgreSQL/10/lib/postgresql/plperl.so

This will give you the perl library that it is using.
Then check the perl version that is supported for the installation and
the current perl version that is being used.

You should be able to get an idea of the same.

Regards,
Vignesh
EnterpriseDB: http://www.enterprisedb.com

On Wed, Jul 10, 2019 at 2:53 PM Prakash Ramakrishnan <
prakash.ramakrishnan.ap@nielsen.com> wrote:

Hi Alvaro,

Thanks This is edb standard edition so please do the needfull how can we
install the perl here.

Regards,
Prakash.R

On Wed, Jul 10, 2019 at 4:34 AM Alvaro Herrera <alvherre@2ndquadrant.com>
wrote:

On 2019-Jul-08, Prakash Ramakrishnan wrote:

HI Team ,

Every time server got rebooted after we getting below perl error

anyone

aware of it. please do the needful.

*could not load library

"/opt/app/PostgreSQL/10/lib/postgresql/plperl.so

/opt/app/PostgreSQL/10/lib/postgresql/plperl.so
undefined symbol: Perl_xs_handshake *

Sounds like the perl library does not match the version that your
installation was compiled with. It's hard to diagnose with this much
data.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Thanks,
Prakash.R
PostgreSQL - Offshore DBA support TCS / Nielsen Infrastructure Team On
call : +91-8939599426

--
Regards,
vignesh
Have a nice day

--
Thanks,
Prakash.R
PostgreSQL - Offshore DBA support TCS / Nielsen Infrastructure Team On
call : +91-8939599426

--
Regards,
vignesh
Have a nice day