Operating System - HP-UX
1833875 Members
1842 Online
110063 Solutions
New Discussion

fastbind not working properly

 
Umesh chandra
Occasional Advisor

fastbind not working properly

We are using Tuxedo on HPUX 11.0 Env.
We compiled the Tuxedo Server as per normal practice[i.e w/o fastbind directive]. After this we executed the foll. command :
fastbind
and also set the fastbind env variable to verbose mode.
The fastbind command did not show any output/error. Then on executing the tuxedo server, no message w.r.t fastbind was shown. This resulted in confusion - thus we decide to invoke the fastbind directive at compilation time using +fb directive. This compilation stopped with the foll. error :

/usr/lib/pa20_64/dld.sl: no fastbind data.

Are we correct in our approach??
Thanks in advance.

umesh-chandra.gupta@st.com
UCG
3 REPLIES 3
U.SivaKumar_2
Honored Contributor

Re: fastbind not working properly

Hi,

Before running ld with +fb option , Have you killed the running executable in your previous
attempt i.e tuxedo server.
TO check.
#ps -ef | grep executable

Follow this steps.

#fastbind -n executable ( Remove previous FB info)

Now try linking with +fb directive now. any errors ?.

Actually , if the executable runs without any errors after this step
#fastbind executable

means that fastbind is sucessful.

Other way to find out the fastbind change is
note down the executable file size before giving fastbind command and after . It should Increase.

regards,
U.SivaKumar

Innovations are made when conventions are broken
Umesh chandra
Occasional Advisor

Re: fastbind not working properly

We tried the way you had mentioned .
there is no increase in the size .
Pls. suggest , some other way by which we can verify whether "fastbind" is happening or not !!


regards ,

Umesh GUPTA
UCG
U.SivaKumar_2
Honored Contributor

Re: fastbind not working properly

Hi,

Another method

1)Before fastbind :-

#timex executable

Note down the time for execution


2)After fastbind:-

#timex executable

Note down the time for execution


Results of step 2) should be lesser than the results of step 1) if fastbind is working.

regards,
U.SivaKumar




Innovations are made when conventions are broken