Re: Unable to load perl file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Doug,

Thanks for your reply,

Here is the output from the old and new server :

old server :
bash# > perl -e 'foreach $f (@INC){print "$f\n";}'
/usr/perl5/5.8.4/lib/sun4-solaris-64int
/usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int
/usr/perl5/site_perl/5.8.4
/usr/perl5/site_perl
/usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
/usr/perl5/vendor_perl/5.8.4
/usr/perl5/vendor_perl

New server :
bash-3.00# perl -e 'foreach $f (@INC){print "$f\n";}'
/usr/perl5/5.8.4/lib/sun4-solaris-64int
/usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int
/usr/perl5/site_perl/5.8.4
/usr/perl5/site_perl
/usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
/usr/perl5/vendor_perl/5.8.4
/usr/perl5/vendor_perl

Paths are same.

Old Server :

 > perl -e 'foreach $k (keys %ENV){print "$k = $ENV{$k}\n";}'
HOME = /opt/app/home/<id>
SSH_CLIENT = <ipadress>
SSH_CONNECTION = <ipaddress>
MANPATH = /usr/man:/opt/os/man:/opt/os/adm/man:/opt/VRTS/man:/usr/os/openssh/man
PS1 = id@hostname >
LC_COLLATE = en_US.ISO8859-15
LC_NUMERIC = en_US.ISO8859-15
EDITOR = /bin/vi
MAIL = /var/mail//<id>
TZ = Europe/Stockholm
PWD =
USER = <id>
LC_MESSAGES = C
LC_CTYPE = en_US.ISO8859-15
LOGNAME = <id>
SHLVL = 1
LC_MONETARY = en_US.ISO8859-15
_ = /usr/bin/perl
PATH = /usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/platform/sun4u/sbin:/opt/VRTSvmsa/bin:/opt/os/adm/bin:/usr/os/openssh/bin:/opt/os/bin:/opt/pgm/util/1.0/bin:/opt/pgm/util/1.0/sbin
SHELL = /bin/sh
TERM = xterm
SSH_TTY = /dev/pts/3
PAGER = /usr/bin/less

New server :

 perl -e 'foreach $k (keys %ENV){print "$k = $ENV{$k}\n";}'
LC_CTYPE = en_US.ISO8859-1
HOME = /root/home/root
LOGNAME = root
SHLVL = 1
LC_MONETARY = en_US.ISO8859-1
_ = /usr/bin/perl
LC_COLLATE = en_US.ISO8859-1
PATH = /usr/sbin:/usr/bin
SHELL = /sbin/sh
LC_NUMERIC = en_US.ISO8859-1
HZ =
MAIL = /var/mail/root
TZ = MET
PWD = /root/home/root
TERM = xterm
LC_TIME = en_US.ISO8859-1
LC_MESSAGES = C

Here there are some variable missing. Please let us know if there is some issue in defining any variable.
Thanks in advance.





On Tue, Sep 7, 2010 at 11:33 PM, Doug McNutt <douglist@xxxxxxxxxxxxxxx> wrote:
At 09:51 -0600 9/7/10, Doug McNutt wrote:
>At 12:20 +0530 9/7/10, aparna aryan wrote:
>Hi Doug,
>
>We don't see PERL5LIB set in old installation.
>Is there any other way to check what paths are included in @INC in old server?


Rule one. Don't type stuff you haven't tested.

Try these to find contents of @INC and the actual environment passed to perl.
Don't lose the single quotes to keep the shell behaving.

perl -e 'foreach $f (@INC){print "$f\n";}'
perl -e 'foreach $k (keys %ENV){print "$k = $ENV{$k}\n";}'

--

--> From the U S of A, the only socialist country that refuses to admit it. <--

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux