BookmarkSubscribeRSS Feed
sathya66
Barite | Level 11

Hi All,

 

Trying to validate the grid and connect server from SMC but they are failing due to oracle and odbc libs. getting below ERROR

 

 

ERROR: Could not load opt/sas/home/SASFoundation/9.4/sasexe/sasodb (43 images loaded)
[5/19/25, 5:13 PM] FINE: ERROR: libodbc.so: cannot open shared object file: No such file or directory
[5/19/25, 5:13 PM] FINE: ERROR: Extension Load Failure: OS Error: -1 (/opt/oracle/19c/lib//libclntsh.so: cannot open shared object file: Permission denied)
ERROR: Unable to load oracle client (libclntsh.so)
ERROR: Libref xxxx failed to assign from logical server.
ERROR: The SAS/ACCESS Interface to ODBC cannot be loaded. The SASODB   code appendage could not be loaded.
ERROR: Libref xxxxx failed to assign from logical server.

 

7 REPLIES 7
SASKiwi
PROC Star

Looks like you have AUTOEXEC programs running at server startup assigning Oracle and ODBC LIBNAMES. Do these work correctly when accessing your grid server via EG or SAS Studio when using the same account you use with SMC? If you get the same type of errors then you may have a configuration issue and @EyalGonen 's link should help. If it works OK in EG or SAS Studio then I suspect the validation process itself is missing the correct configuration.

sathya66
Barite | Level 11
Oracle is sorted but
We are not getting below error for ODBC
ERROR: could not load /home/sas/SASFoundation/9.4/sasexe/sasodb(47 images loaded)
ERROR: libodbc.so: cannot open shared object file: No such file or directory.
Libname test odbc defer=yes datasrc=test schena=dbo user=test password=xxx;
ERROR: The SAS/ACCESS Interface to ODBC cannot be loaded. The SASODB code appendage could not be loaded.
EyalGonen
Lapis Lazuli | Level 10

Can you run this code below and verifyy SAS/Access to ODBC is installed?

 

proc product_status;run;
sathya66
Barite | Level 11
Yes I can see you it.

For SAS/ACCESS Interface to ODBC …
Custom version information:9.4_M8
EyalGonen
Lapis Lazuli | Level 10

Did you follow the instructions at https://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/config.pdf pg. 59 for configuring SAS/Access to ODBC?

You need to set LD_LIBRARY_PATH to the ODBC Driver's lib directory.

sathya66
Barite | Level 11
Thanks for this.
It is a permission issue . Odbc.ini has 660 so we made it to 664 and it worked but we are still getting the below errors. When validating grid server and connect server, I can see successful ping and connection message in the log but validation is failing due to below errors.
ERROR: Libref test2 failed to assign from logical server.

ERROR: Libref test failed to assign from logical server.

ERROR: Libref test1 failed to assign from logical server.

Workspace, pooled workspace, stored process are validating but grid server and connect servers are not validating .

Do we need to amend any config/ autoexec files in grid server and connect server? I know , user doesn’t have access to some libraries and it will give permission issue but how can we bypass this error to validate grid and connect server successfully.
If I run Workspaceserver.sh with nodms from the server, I can see the same libname errors as above but I can run a sas code successfully.


suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 7 replies
  • 784 views
  • 1 like
  • 3 in conversation