- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can't load dld.sl
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 06:42 AM
тАО11-26-2008 06:42 AM
We are running Siebel application on HP-UX PA_RISC os. For Java integration from Siebel, we need to access libjvm.sl. But everytime, I'm getting the error "Unable to Load JVM Dll".
When I traced the process using tusc, then I found out that it is not able to load dld.sl
Please find below an excerpt from the tusc output
[11583]{3838761} close(82) ............................................................................ [entry]
[11583]{3838761} close(82) ............................................................................ = 0
[11583]{3838761} write(2, 0x77fe9004, 15) ............................................................. [entry]
[11583]{3838761} write(2, "/ u s r / l i b / d l d . s l ", 15) ....................................... = 15
[11583]{3838761} write(2, 0xc0014de8, 2) .............................................................. [entry]
[11583]{3838761} write(2, ": ", 2) .................................................................. = 2
[11583]{3838761} write(2, 0xc0014848, 60) ............................................................. [entry]
[11583]{3838761} write(2, "C a n ' t s h l _ l o a d ( ) ".., 60) ................................... = 60
[11583]{3838761} write(2, 0x75b40b90, 48) ............................................................. [entry]
[11583]{3838761} write(2, "/ o p t / j a v a 1 . 3 / j r e ".., 48) ................................... = 48
[11583]{3838761} write(2, 0xc0013d70, 1) .............................................................. [entry]
[11583]{3838761} write(2, "\n", 1) .................................................................... = 1
[11583]{3838761} write(2, 0x77fe9004, 15) ............................................................. [entry]
[11583]{3838761} write(2, "/ u s r / l i b / d l d . s l ", 15) ....................................... = 15
[11583]{3838761} write(2, 0xc0014de8, 2) .............................................................. [entry]
[11583]{3838761} write(2, ": ", 2) .................................................................. = 2
[11583]{3838761} write(2, 0xc00135f0, 17) ............................................................. [entry]
[11583]{3838761} write(2, "E x e c f o r m a t e r r o ".., 17) ................................... = 17
could you please let me know what I need to do to resolve this issue.
Thanks,
Sridhar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 06:48 AM
тАО11-26-2008 06:48 AM
Re: can't load dld.sl
find /usr -name dld.sl
/usr/lib/dld.sl
/usr/lib/pa20_64/dld.sl
/usr/lib/aCC/dld.sl
Three places it should be.
Make sure:
1) The file exists.
2) The file is on SHLIB_PATH when program is started or compiled.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 06:55 AM
тАО11-26-2008 06:55 AM
Re: can't load dld.sl
Thanks for the immediate response.
dld.sl file is present in /usr/lib and SHLIB_PATH variable has this path set before the application is started.
SHLIB_PATH=/usr/lib:/gsmcrmgc03/siebelnew/siebsrvr/lib:/opt/java1.3/jre:/opt/java1.3/jre/bin:/opt/java1.3/jre/lib/PA_RISC2.0/server:/opt/java1.3/jre/lib/PA_RISC2.0
After searching this forum, I have tried setting LD_PRELOAD variable also (SHLIB_PATH still has /usr/lib)
LD_PRELOAD=/usr/lib/dld.sl; export LD_PRELOAD;
Kindly let me know if there is anything else that I have missed out.
Thanks,
Sridhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 09:28 AM
тАО11-26-2008 09:28 AM
Re: can't load dld.sl
is "dld.sl" having problems loading
"/opt/java1.3/jre"? I know nothing, but it
looks to me like the latter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 09:39 AM
тАО11-26-2008 09:39 AM
Re: can't load dld.sl
I agree with Steven S. It appears that the erorr is in trying to load '/opt/java1.3/jre'. In fact, it looks like an "exec format error".
Do you have '/opt/java1.3/jre' and if so, what does a 'file /opt/java1.d/jre' return?
If you were lacking 'dld/sl' you would have far more serious problems than you do :-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 09:51 AM
тАО11-26-2008 09:51 AM
Re: can't load dld.sl
The sad thing is I also don't know. How can i find it out whether this is a problem in loading dld.sl or dld.sl having problem in loading libjvm.sl
I have attached the tusc output. In that I have seen libjvm.sl has been read successfully. I'm not sure about the sequence and the role of dld.sl here. The process seems to have failed when dld.sl came into picture. Btw Siebel is a 32-bit application. So, its referring to the correct dld.sl (/usr/bin/dld/sl)
Could you please provide me the pointer on how to check the problem.
Thanks,
Sridhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 09:56 AM
тАО11-26-2008 09:56 AM
Re: can't load dld.sl
Thanks for the response.
The aim is to access libjvm.sl which is present in /opt/java1.3/jre/lib/PA_RISC2.0/server/libjvm.sl
I need to access this file to run Java programs from within Siebel application.
If you look at the entire look, the process is trying to read one by one starting from opt as a file. Finally, it is successful reading libjvm.sl when it comes to that point. Kindly take a look at the log that I hav attached.
dld.sl is present on our server at the following locations.
/usr/lib/dld.sl
/usr/lib/pa20_64/dld.sl
/usr/lib/aCC/dld.sl
Thanks,
Sridhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 01:05 PM
тАО11-26-2008 01:05 PM
Re: can't load dld.sl
This is incorrect. This message is the standard UNIX convention of:
command-that-detected-the-error: message ...
So it is an error message detected by dld.sl.
Also the messages have been truncated, so you need to cut&paste from stderr.
>let me know if there is anything else that I have missed out.
The error in question is: Exec format error ...
Was there more to the messages on stderr?
>How can I find it out whether this is a problem in loading dld.sl or dld.sl having problem in loading libjvm.sl
It is obvious. Or you can look at the tusc output. Error messages for loading dld.sl would mention crt0:
crt0: ERROR couldn't open /usr/lib/dld.sl errno:0000000##
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1069280
>The aim is to access libjvm.sl which is present in /opt/java1.3/jre/lib/PA_RISC2.0/server/libjvm.sl
Ah, details. You can't without relinking. The bill of materials changed between 1.3 and 1.4 and you will get this "Exec format error, invalid shlib version" error message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 06:17 AM
тАО12-17-2008 06:17 AM
Re: can't load dld.sl
Thanks a lot for your reply. I have been trying alternate ways of setting LD_PRELOAD till this time without any luck.
You mentioned about relinking. I'm trying to execute Java programs from within Siebel & siebctl is the actual binary file that is used to start/ stop the Server.
I dont have option to set LD_PRELOAD to libjvm.sl at the time of starting the application.
As you've said, I need to relink libjvm.sl. But I dont have any idea of how to relink libjvm.sl and to what it should be linked to.
Can you please provide some information on how to relink libjvm.sl?
Many thanks for the information.
Thanks & Regards,
Sridhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 04:38 PM
тАО12-17-2008 04:38 PM
Re: can't load dld.sl
You have to relink siebctl. Or use the old version of java.
What does "chatr siebctl" show?