Layer7 Access Management

Expand all | Collapse all

libsmartheap_smp.so not found on smpolicysrv -stats

Jump to Best Answer
  • 1.  libsmartheap_smp.so not found on smpolicysrv -stats

    Posted 11-29-2017 12:13 PM

    When I try to run the smpolicysrv -stats command - I get an error that reads

    ./smpolicysrv: error while loading shared libraries: libsmartheap_smp.so: cannot open shared object file: No such file or directory

    I do load the environment variables first : ./ca_ps_env.ksh

     

    Can someone help me with this please. 

     

    Thanks.

     

    First time here - maybe I am posting in a wrong area. Pls advise. Thanks.



  • 2.  Re: libsmartheap_smp.so not found on smpolicysrv -stats

    Posted 11-29-2017 02:05 PM

    It looks like environment variable was not sourced properly. Can you give it a try like below and then run the command.

     

    source /<path to PolicyServer install Folder>/ca_ps_env.ksh

     

    and then run below stats command.

     

    smpolicysrv -stats



  • 3.  Re: libsmartheap_smp.so not found on smpolicysrv -stats

    Posted 11-29-2017 02:21 PM

    Thank you for the reply Ashok. 

     

    From within /opt/iam/siteminder folder I run ./ca_ps_env.ksh

    and then I move to /opt/iam/siteminder/bin and run ./smpolicysrv -stats when I get this error. 

    If I try just smpolicysrv -stats [without./] it is an unknown command.. 

     

    Appreciate any help. 

    Thanks.



  • 4.  Re: libsmartheap_smp.so not found on smpolicysrv -stats

    Posted 11-29-2017 02:37 PM

    are you using right user with required permissions ? in other words, are you using the same user id which you used to install Siteminder ?



  • 5.  Re: libsmartheap_smp.so not found on smpolicysrv -stats

    Posted 11-29-2017 02:59 PM

    I tried to run them as root - same error.



  • 6.  Re: libsmartheap_smp.so not found on smpolicysrv -stats

    Posted 11-29-2017 04:00 PM

    I am not sure here, you may want to open a support ticket to look into this issue.



  • 7.  Re: libsmartheap_smp.so not found on smpolicysrv -stats
    Best Answer

    Posted 11-29-2017 10:07 PM

    HI Ashok 

     

    When you run :

    : ./ca_ps_env.ksh

     

    That is not quite right you need to make sure it is : 

     

    . ./ca_ps_env.ksh

     

    Note the leading "." and space. 

     

    Then :

         ./smpolicysrv -stats

     

    Cheers - Mark

     

     



  • 8.  Re: libsmartheap_smp.so not found on smpolicysrv -stats

    Posted 11-30-2017 09:04 AM

    Thanks Mark! The extra '.' worked. I was able to see output in the smps.log. 

    The message does include a line - Error 9 waiting for server management messages. Error text: Bad file descriptor

    Any ideas on what that means? 

    Thanks again. 



  • 9.  Re: libsmartheap_smp.so not found on smpolicysrv -stats

    Posted 12-05-2017 01:14 AM

    Hi , 

     

    [CServer.cpp:7718][ERROR][sm-Server-01610] Error 9 waiting for server management messages. Error text: Bad file descriptor

     

    This error only pertains to UNIX platform.

     

    The error is related to file descriptor. If files fail during open/read/write/close on the descriptor then it generates an error number 9.The error 9 server management error message is a superficial error. This error does not impact server operation nor the performance.

     

    Upgrade Policy Server to 12.52 SP1 CR 08 to avoid this message.

     

    https://docops.ca.com/ca-single-sign-on/12-52-sp1/en/release-notes/cumulative-releases/defects-fixed-in-12-52-sp1-cr08

     

    Refer : Error 9 waiting for server management messages. 

     

    Regards,

    Leo Joseph.