can"t load library that exists (Oracle.sl)
can"t load library that exists (Oracle.sl)
am 12.05.2006 21:34:24 von mmrashid
Hi:
Any help in this matter would be greatly appreciated.
We have a HP cluster that has per, perl DBI, and oracle.
Machine A runs fine.
When we fail over to Machine B, on some applications we get the =
following error:
(please see below the error; the file exists! and it is executable!)
please help.
Thanks
-Mamun
___
Can't load =
'/opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle /Oracle.sl' =
for module DBD::Oracle: No such file or directory at /
opt/perl582/lib/5.8.2/PA-RISC2.0/DynaLoader.pm line 229.
at /opt/netscape/apache/docs/nerdv2/nerd.pm line 13
Compilation failed in require at =
/opt/netscape/apache/docs/nerdv2/nerd.pm line 13.
BEGIN failed--compilation aborted at =
/opt/netscape/apache/docs/nerdv2/nerd.pm line 13.
Compilation failed in require at =
/opt/netscape/apache/docs/nerdv2/index.cgi line 13.
BEGIN failed--compilation aborted at =
/opt/netscape/apache/docs/nerdv2/index.cgi line 13.
[Mon Nov 21 21:05:53 2005] [error] [client 135.173.9.69] Premature end =
of script headers: index.cgi, referer: http://bgtsgvpo1.ops.worldn
et.att.net:8080/navigation.html
_____
bgtsgvpo1:mrashid:file =
/opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle/ Oracle.sl
/opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle/ Oracle.sl: =
PA-RISC2.0 shared library -not stripped
bgtsgvpo1:mrashid:ls -l =
/opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle/ Oracle.sl
-r-xr-xr-x 1 root sys 8966144 Nov 14 2003 =
/opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle/ Oracle.sl
bgtsgvpo1:mrashid:
Re: can"t load library that exists (Oracle.sl)
am 13.05.2006 20:07:44 von hjp
--ftEhullJWpWg/VHq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2006-05-12 14:34:24 -0500, Rashid, Mohammad M, NTWOP wrote:
> We have a HP cluster that has per, perl DBI, and oracle.
>=20
> Machine A runs fine.
>=20
> When we fail over to Machine B, on some applications we get the following=
error:
> (please see below the error; the file exists! and it is executable!)
[...]
> Can't load '/opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle /O=
racle.sl' for module DBD::Oracle: No such file or directory at /
> opt/perl582/lib/5.8.2/PA-RISC2.0/DynaLoader.pm line 229.
Oracle.sl is dynamically linked against a number of other libraries (use
chatr /opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle/ Oracle.sl
to get a list). If one of those doesn't exist, you get the same error
message.
Most probable cause is that you haven't installed oracle in the same
location on both machines.
hp
--=20
_ | Peter J. Holzer | If I wanted to be "academically correct",
|_|_) | Sysadmin WSR | I'd be programming in Java.
| | | hjp@wsr.ac.at | I don't, and I'm not.
__/ | http://www.hjp.at/ | -- Jesse Erlbaum on dbi-users
--ftEhullJWpWg/VHq
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iQDQAwUBRGYgb1LjemazOuKpAQKqQwXTB/ZtBDEuJAqri8Q3vPEDj83d0Jug sm+Z
N+RfnPTFVaDCruu0Ce2NWrZFMbZ0RLW6QsYaGdbmqBBoBSgk6KzKDRY7E7GK hfEH
zdnGyGd9VFPc7FxoB1Tin0rk7sDIZaCZi2TlN/ok+edw2hflhdwoa4iaK2AA zxLa
6SfPGBo/u7SUO0Ugu97ay75ztH+XUsM7rxYDkRWDBfY922njHfIhwR/ECMnE irKO
ZMkkVWIUjkzJ03bhSC+IXhwiqg==
=9se1
-----END PGP SIGNATURE-----
--ftEhullJWpWg/VHq--
Re: can"t load library that exists (Oracle.sl)
am 13.05.2006 22:29:17 von gonzales
That looks a lot like what I was experiencing with Solaris 9 recently.
I basically had to update the path locations, for where the system was
looking for shared libraries.
The tool is "crle" in Solaris and creates a file in /var/ld/ld.config.
I know there is something similar in HP-UX, it's been a while since I've
played with HP-UX, do a "Google" I'm sure you'll find what it is.
This is what I have on Solaris.
# pwd
/var/ld
# more ld.config
XX/lib:/usr/lib:/usr/local/lib:/usr/local/lib/perl5/site_per l/5.8.7/sun4-solaris
/auto/DBD/Pg
I hope this helps.
Peter J. Holzer wrote:
>On 2006-05-12 14:34:24 -0500, Rashid, Mohammad M, NTWOP wrote:
>
>
>>We have a HP cluster that has per, perl DBI, and oracle.
>>
>>Machine A runs fine.
>>
>>When we fail over to Machine B, on some applications we get the following error:
>> (please see below the error; the file exists! and it is executable!)
>>
>>
>[...]
>
>
>>Can't load '/opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle /Oracle.sl' for module DBD::Oracle: No such file or directory at /
>>opt/perl582/lib/5.8.2/PA-RISC2.0/DynaLoader.pm line 229.
>>
>>
>
>Oracle.sl is dynamically linked against a number of other libraries (use
>chatr /opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle/ Oracle.sl
>to get a list). If one of those doesn't exist, you get the same error
>message.
>
>Most probable cause is that you haven't installed oracle in the same
>location on both machines.
>
> hp
>
>
>
Re: can"t load library that exists (Oracle.sl)
am 15.05.2006 13:15:13 von HMerrill
Since nobody else has replied yet, I'll take a shot - note that I haven't
used perl or Oracle or perl DBI in quite a while, and I've never worked
on an HP Cluster, but looking at your error my guess is that you either
1. don't have DBD::Oracle installed on the failover machine, or
2. do have DBD::Oracle installed, but haven't compiled it on the
failover machine (note that you need at least the Oracle client
on that machine), or
3. DBD::Oracle is installed and compiled, but is not properly
linked
Hopefully someone else will chime in with a more definite diagnosis.
Hope this helps.
Hardy Merrill
>>> "Rashid, Mohammad M, NTWOP" 5/12/2006 3:34 PM >>>
Hi:
Any help in this matter would be greatly appreciated.
We have a HP cluster that has per, perl DBI, and oracle.
Machine A runs fine.
When we fail over to Machine B, on some applications we get the following =
error:
(please see below the error; the file exists! and it is executable!)
please help.
Thanks
-Mamun
___
Can't load '/opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle /Ora=
cle.sl' for module DBD::Oracle: No such file or directory at /
opt/perl582/lib/5.8.2/PA-RISC2.0/DynaLoader.pm line 229.
at /opt/netscape/apache/docs/nerdv2/nerd.pm line 13
Compilation failed in require at /opt/netscape/apache/docs/nerdv2/nerd.pm =
line 13.
BEGIN failed--compilation aborted at /opt/netscape/apache/docs/nerdv2/nerd=
..pm line 13.
Compilation failed in require at /opt/netscape/apache/docs/nerdv2/index.cg=
i line 13.
BEGIN failed--compilation aborted at /opt/netscape/apache/docs/nerdv2/inde=
x.cgi line 13.
[Mon Nov 21 21:05:53 2005] [error] [client 135.173.9.69] Premature end of =
script headers: index.cgi, referer: http://bgtsgvpo1.ops.worldn=20
et.att.net:8080/navigation.html
_____
bgtsgvpo1:mrashid:file /opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD=
/Oracle/Oracle.sl
/opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle/ Oracle.sl: =
PA-RISC2.0 shared library -not stripped
bgtsgvpo1:mrashid:ls -l /opt/perl582/lib/site_perl/5.8.2/PA-RISC2.0/auto/DB=
D/Oracle/Oracle.sl
-r-xr-xr-x 1 root sys 8966144 Nov 14 2003 /opt/perl582/lib/=
site_perl/5.8.2/PA-RISC2.0/auto/DBD/Oracle/Oracle.sl
bgtsgvpo1:mrashid: