DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old May 24th, 2007, 04:30 AM
lucyb lucyb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 1 lucyb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 m 52 sec
Reputation Power: 0
Perl DBD::DB2 Connection Error

Can anyone shed some light on what is causing this, please?

Using Perl 5.8.5 (64 bit) on RH enterprise Linux AS release 4
(2.6.9-22.ELsmp) I'm receiving the following error:
DBI connect('psygrid','db2inst1',...) failed: [IBM][CLI Driver]
SQL1042C An unexpected system error occurred. SQLSTATE=58004

The Perl code in question is:
my( $dbh ) = DBI->connect( "DBIB2:$options{database}",
$options{username}, $options{password} );

This definately works on different server (same OS).

The db2diag.log shows the following message:

007-05-22-16.31.03.051711+060 I19813486E454 LEVEL: Error
PID : 17611 TID : 182894183488
FUNCTION: DB2 Common, Cryptography, cryptContextRealInit, probe:40
MESSAGE : ECF=0x90000403 Unexpected cryptographic error
DATA #1 : Hex, 4 bytes
0x0
DATA #2 : Hex, 4 bytes
0x0
DATA #3 : Hex, 4 bytes
0x0
DATA #4 : String, 108 bytes
/home/db2inst1/sqllib/lib/icc/icclib/libicclib.so: cannot open shared
object file: No such file or directory

^^The file libicclib.so exists and has read permissions.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDB2 Development > Perl DBD::DB2 Connection Error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway