Re: perl is not working after migrating the server to AIX 7.2

2023-04-02 Thread Steven Lembark via dbi-users
On Thu, 17 Feb 2022 09:42:38 +
"MK, Karthick" via dbi-users  wrote:

> Hello Brain,
> 
> Thanks for your respond.. The server was  migrated from  6.1 TL9 SP12
>  to 7.2 TL5 SP3.  The DB2 version is 10.5 and Perl version before
> migration it was 5.8.8 and now it is 5.28.1

You ever got this working? 

If not one place to start is whatver .cpan directory the build
was done in. You can perform "make clean all" then "make -wk test"
and see if the tests give you anything odd. 


-- 
Steven Lembark
Workhorse Computing
lemb...@wrkhors.com
+1 888 359 3508


RE: perl is not working after migrating the server to AIX 7.2

2022-02-17 Thread MK, Karthick
Hello Brain,

Thanks for your respond.. The server was  migrated from  6.1 TL9 SP12  to 7.2 
TL5 SP3.  The DB2 version is 10.5 and Perl version before migration it was 
5.8.8 and now it is 5.28.1


Thanks and Regards,
Karthick MK
Email : karthick...@accenture.com<mailto:karthick...@accenture.com>
Mobile : 95661 20992

From: Fennell, Brian 
Sent: Thursday, February 17, 2022 7:05 AM
To: MK, Karthick ; dbi-users@perl.org
Cc: Khan, Haris ; Rana, Piyush 
; Pallapothu, Saikalyan 

Subject: [External] Re: perl is not working after migrating the server to AIX 
7.2

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links 
and attachments.


When I get errors from CPAN I usually switch to whet or curl to get the package 
them make ; make all and make test ; make install.  You could also try cpanm 
and see if it gives you better error messages - if you are building binary 
packages you
May need a c compiler - easy with Linux - may be harder with AIX might have to 
pay IBM then try to find the right packages on the support web site could take 
days or weeks - you may be able to find a prebuilt gcc or clang but you may 
still need IBM libraries and support. Linux has things like apt-get and yum or 
dnf - not sure of the AIX equivalent - most Perl packages / modules build 
nicely but some are so hard you are better off with OS packages of prebuilt 
binaries.  Also you didn't say if your database was DB2 or other.  You also 
didn't say if your version of Perl changed when you upgraded the OS.  It may 
matter

Get Outlook for 
iOS<https://urldefense.proofpoint.com/v2/url?u=https-3A__aka.ms_o0ukef&d=DwMFAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=2pO_iDzO9WMyB33e6_BJwmslRHNarg8E5CfYWQvGttQ&m=jlQmg-LpvWUtmxBAxPKt-68GRGiA6xBVv_22Fko5-6aRak_9VeOQPcd0XlcVJt_B&s=cuXpK3VtVh9MIXzXteiss_HEufLu7SYd5zzShDPZNko&e=>

From: MK, Karthick via dbi-users mailto:dbi-users@perl.org>>
Sent: Wednesday, February 16, 2022 8:08 PM
To: dbi-users@perl.org<mailto:dbi-users@perl.org>
Cc: Khan, Haris; Rana, Piyush; Pallapothu, Saikalyan
Subject: [EXTERNAL] perl is not working after migrating the server to AIX 7.2

Hello Team,

We have migrated our AIX server from 6.1 to 7.2 . After the migration the perl 
is upgraded with   v5.28.1 but perl scripts are not working . We are getting 
below error message. Could you please take a look of below and help us to fix 
this issue.

Can't locate 
DBI.pm<https://urldefense.com/v3/__http:/dbi.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asi0g4yorI$>
 in @INC (you may need to install the DBI module) (@INC contains: 
/usr/opt/perl5/lib64/site_perl/5.28.1/aix-thread-multi-64all 
/usr/opt/perl5/lib64/site_perl/5.28.1 
/usr/opt/perl5/lib64/5.28.1/aix-thread-multi-64all /usr/opt/perl5/lib64/5.28.1 
/usr/opt/perl5/lib64/site_perl /home/ddba04/scripts/perl_modules) at 
/home/ddba04/scripts/perl_modules/dbi_cmds.pm<https://urldefense.com/v3/__http:/dbi_cmds.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiD_GQQ2w$>
 line 4.
BEGIN failed--compilation aborted at 
/home/ddba04/scripts/perl_modules/dbi_cmds.pm<https://urldefense.com/v3/__http:/dbi_cmds.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiD_GQQ2w$>
 line 4.
Compilation failed in require at 
/home/db2edw01/scripts/applMonitor.pl<https://urldefense.com/v3/__http:/applmonitor.pl/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asirUuGeSM$>
 line 5.


Also we tried to install bundle the given link. But it got reported error

https://metacpan.org/release/DBI<https://urldefense.com/v3/__https:/metacpan.org/release/DBI__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiMY2RWm0$>



Here is the error

perl -MCPAN -e 'install Bundle::DBI'

 
CPAN.pm<https://urldefense.com/v3/__https:/cpan.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiUBx9ocY$>
 requires configuration, but most of it can be done automatically.

 If you answer 'no' below, you will enter an interactive dialog for each

 configuration option instead.

 Would you like to configure as much as possible automatically? [yes] yes

 Autoconfiguration complete.

 You can re-run configuration any time with 'o conf init' in the CPAN shell

 commit: wrote 
'/.cpan/CPAN/MyConfig.pm<https://urldefense.com/v3/__https:/myconfig.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiYHtYeOM$>'

 Fetching with LWP:

 
http://www.cpan.org/authors/01mailrc.txt.gz<https://urldefense.com/v3/__http:/www.cpan.org/authors/01mailrc.txt.gz__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asi7e2MeFc$>

 Reading '/.cpan/sources/authors/01mailrc.txt.gz'

 Fetching with LWP:

 
...

Re: perl is not working after migrating the server to AIX 7.2

2022-02-16 Thread Fennell, Brian
When I get errors from CPAN I usually switch to whet or curl to get the package 
them make ; make all and make test ; make install.  You could also try cpanm 
and see if it gives you better error messages - if you are building binary 
packages you
May need a c compiler - easy with Linux - may be harder with AIX might have to 
pay IBM then try to find the right packages on the support web site could take 
days or weeks - you may be able to find a prebuilt gcc or clang but you may 
still need IBM libraries and support. Linux has things like apt-get and yum or 
dnf - not sure of the AIX equivalent - most Perl packages / modules build 
nicely but some are so hard you are better off with OS packages of prebuilt 
binaries.  Also you didn't say if your database was DB2 or other.  You also 
didn't say if your version of Perl changed when you upgraded the OS.  It may 
matter

Get Outlook for iOS<https://aka.ms/o0ukef>

From: MK, Karthick via dbi-users 
Sent: Wednesday, February 16, 2022 8:08 PM
To: dbi-users@perl.org
Cc: Khan, Haris; Rana, Piyush; Pallapothu, Saikalyan
Subject: [EXTERNAL] perl is not working after migrating the server to AIX 7.2

Hello Team,

We have migrated our AIX server from 6.1 to 7.2 . After the migration the perl 
is upgraded with   v5.28.1 but perl scripts are not working . We are getting 
below error message. Could you please take a look of below and help us to fix 
this issue.

Can't locate 
DBI.pm<https://urldefense.com/v3/__http://dbi.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asi0g4yorI$>
 in @INC (you may need to install the DBI module) (@INC contains: 
/usr/opt/perl5/lib64/site_perl/5.28.1/aix-thread-multi-64all 
/usr/opt/perl5/lib64/site_perl/5.28.1 
/usr/opt/perl5/lib64/5.28.1/aix-thread-multi-64all /usr/opt/perl5/lib64/5.28.1 
/usr/opt/perl5/lib64/site_perl /home/ddba04/scripts/perl_modules) at 
/home/ddba04/scripts/perl_modules/dbi_cmds.pm<https://urldefense.com/v3/__http://dbi_cmds.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiD_GQQ2w$>
 line 4.
BEGIN failed--compilation aborted at 
/home/ddba04/scripts/perl_modules/dbi_cmds.pm<https://urldefense.com/v3/__http://dbi_cmds.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiD_GQQ2w$>
 line 4.
Compilation failed in require at 
/home/db2edw01/scripts/applMonitor.pl<https://urldefense.com/v3/__http://applmonitor.pl/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asirUuGeSM$>
 line 5.


Also we tried to install bundle the given link. But it got reported error

https://metacpan.org/release/DBI<https://urldefense.com/v3/__https://metacpan.org/release/DBI__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiMY2RWm0$>



Here is the error

perl -MCPAN -e 'install Bundle::DBI'

 
CPAN.pm<https://urldefense.com/v3/__https://cpan.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiUBx9ocY$>
 requires configuration, but most of it can be done automatically.

 If you answer 'no' below, you will enter an interactive dialog for each

 configuration option instead.

 Would you like to configure as much as possible automatically? [yes] yes

 Autoconfiguration complete.

 You can re-run configuration any time with 'o conf init' in the CPAN shell

 commit: wrote 
'/.cpan/CPAN/MyConfig.pm<https://urldefense.com/v3/__https://myconfig.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiYHtYeOM$>'

 Fetching with LWP:

 
http://www.cpan.org/authors/01mailrc.txt.gz<https://urldefense.com/v3/__http://www.cpan.org/authors/01mailrc.txt.gz__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asi7e2MeFc$>

 Reading '/.cpan/sources/authors/01mailrc.txt.gz'

 Fetching with LWP:

 
DONE

 Reading '/.cpan/sources/modules/02packages.details.txt.gz'

 
http://www.cpan.org/modules/02packages.details.txt.gz<https://urldefense.com/v3/__http://www.cpan.org/modules/02packages.details.txt.gz__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiSX-B8_M$>

 Database was generated on Tue, 15 Feb 2022 14:29:03 GMT

 New 
CPAN.pm<https://urldefense.com/v3/__https://cpan.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiUBx9ocY$>
 version (v2.29) available.

 .

 [Currently running version is v2.20]

 reload cpan

 install CPAN

 You might want to try

 to both upgrade 
CPAN.pm<https://urldefense.com/v3/__https://cpan.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiUBx9ocY$>
 and run the new version without leaving

 ..Memory fault(coredump)

Thanks and Regards,
Karthick MK
Email : karthick...@accenture.com<mailto:karthick...@accenture.com>

perl is not working after migrating the server to AIX 7.2

2022-02-16 Thread MK, Karthick
Hello Team,

We have migrated our AIX server from 6.1 to 7.2 . After the migration the perl 
is upgraded with   v5.28.1 but perl scripts are not working . We are getting 
below error message. Could you please take a look of below and help us to fix 
this issue.

Can't locate DBI.pm in @INC (you may need to install the DBI 
module) (@INC contains: 
/usr/opt/perl5/lib64/site_perl/5.28.1/aix-thread-multi-64all 
/usr/opt/perl5/lib64/site_perl/5.28.1 
/usr/opt/perl5/lib64/5.28.1/aix-thread-multi-64all /usr/opt/perl5/lib64/5.28.1 
/usr/opt/perl5/lib64/site_perl /home/ddba04/scripts/perl_modules) at 
/home/ddba04/scripts/perl_modules/dbi_cmds.pm line 4.
BEGIN failed--compilation aborted at 
/home/ddba04/scripts/perl_modules/dbi_cmds.pm line 4.
Compilation failed in require at 
/home/db2edw01/scripts/applMonitor.pl line 5.


Also we tried to install bundle the given link. But it got reported error

https://metacpan.org/release/DBI



Here is the error

perl -MCPAN -e 'install Bundle::DBI'

 CPAN.pm requires configuration, but most of it can be done 
automatically.

 If you answer 'no' below, you will enter an interactive dialog for each

 configuration option instead.

 Would you like to configure as much as possible automatically? [yes] yes

 Autoconfiguration complete.

 You can re-run configuration any time with 'o conf init' in the CPAN shell

 commit: wrote '/.cpan/CPAN/MyConfig.pm'

 Fetching with LWP:

 http://www.cpan.org/authors/01mailrc.txt.gz

 Reading '/.cpan/sources/authors/01mailrc.txt.gz'

 Fetching with LWP:

 
DONE

 Reading '/.cpan/sources/modules/02packages.details.txt.gz'

 http://www.cpan.org/modules/02packages.details.txt.gz

 Database was generated on Tue, 15 Feb 2022 14:29:03 GMT

 New CPAN.pm version (v2.29) available.

 .

 [Currently running version is v2.20]

 reload cpan

 install CPAN

 You might want to try

 to both upgrade CPAN.pm and run the new version without 
leaving

 ..Memory fault(coredump)

Thanks and Regards,
Karthick MK
Email : karthick...@accenture.com
Mobile : 95661 20992




This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise confidential information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the e-mail by you is prohibited. Where allowed by local law, electronic 
communications with Accenture and its affiliates, including e-mail and instant 
messaging (including content), may be scanned by our systems for the purposes 
of information security and assessment of internal compliance with Accenture 
policy. Your privacy is important to us. Accenture uses your personal data only 
in compliance with data protection laws. For further information on how 
Accenture processes your personal data, please see our privacy statement at 
https://www.accenture.com/us-en/privacy-policy.
__

www.accenture.com