|
|
|
|
|
|
| Author |
Message |
thiru *nix forums beginner
Joined: 16 Jun 2006
Posts: 1
|
Posted: Fri Jun 16, 2006 7:31 am Post subject:
Re: DBD::Oracle
|
|
|
hai pendley,
yes that file has rwxr-xr-x permission
thanks,
Sherm Pendley wrote:
| Quote: | "thiru" <athirumoniy@yahoo.com> writes:
hai ,
i have one server ant two logins
in one login perl is working fine and in the another login the perl
files are not working
the settings are same for both logins
ld_library_path
shlib_path
perl5lib_path
perllib_path
still it is giving the following error
Can't load '/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/auto/DBI/DBI.sl'
for module DBI: Invalid argument at
/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/DynaLoader.pm line 169.
Wow. That's a very old Perl. But I doubt that's the problem.
Could be a permissions problem. Have you verified that file is readable by
both users?
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org |
|
|
| Back to top |
|
 |
Sherm Pendley *nix forums Guru
Joined: 03 Mar 2005
Posts: 527
|
Posted: Thu Jun 15, 2006 3:28 pm Post subject:
Re: DBD::Oracle
|
|
|
"thiru" <athirumoniy@yahoo.com> writes:
| Quote: | hai ,
i have one server ant two logins
in one login perl is working fine and in the another login the perl
files are not working
the settings are same for both logins
ld_library_path
shlib_path
perl5lib_path
perllib_path
still it is giving the following error
Can't load '/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/auto/DBI/DBI.sl'
for module DBI: Invalid argument at
/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/DynaLoader.pm line 169.
|
Wow. That's a very old Perl. But I doubt that's the problem.
Could be a permissions problem. Have you verified that file is readable by
both users?
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org |
|
| Back to top |
|
 |
thiru *nix forums beginner
Joined: 15 Jun 2006
Posts: 1
|
Posted: Thu Jun 15, 2006 7:22 am Post subject:
DBD::Oracle
|
|
|
hai ,
i have one server ant two logins
in one login perl is working fine and in the another login the perl
files are not working
the settings are same for both logins
ld_library_path
shlib_path
perl5lib_path
perllib_path
still it is giving the following error
Can't load '/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/auto/DBI/DBI.sl'
for module DBI: Invalid argument at
/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/DynaLoader.pm line 169.
at /opt/perl5.005_03/lib/5.00503/PA-RISC1.1/DBI.pm line 158
BEGIN failed--compilation aborted at
/opt/perl5.005_03/lib/5.00503/PA-RISC1.1/DBI.pm line 158.
BEGIN failed--compilation aborted at
/opt/perl_local/PA-RISC1.1/Oraperl.pm line 25.
BEGIN failed--compilation aborted at ./perl_test.pl line 2.
my test file
========
#!/usr/local/bin/perl
use Oraperl;
############################################################################
# Getting Database information from environment variables
#
############################################################################
$dbname=$ENV{ATLAS_DATABASE_NAME};
$userid=$ENV{ATLAS_DATABASE_USER};
$passwd=$ENV{ATLAS_DATABASE_PASSWD};
##################
# oracle login #
##################
($lda = &ora_login("", $userid."\@".$dbname, $passwd)) ||
do { #
oracle login fails
print "Error Connecting Database $dbname : $ora_errstr";
&ora_logoff ($lda);
};
print " Successfully connected to Database : $dbname \n";
&ora_logoff ($lda);
----------------------------------------------------------------------------------------------------------------------
can anyone help me on this
i will be greatful to you
thanks,
thiru |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 10:38 pm | All times are GMT
|
|
Mortgages | MPAA | Loans | Free mobile phone's stuffs | Credit Counseling
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|