We recently migrated from a non-distributed Windows VA environment to a distributed Redhat Linux VA environment. All services are running, including web and web app servers. I can access the VA website, login, and see all the defined items from our old enviornment. Management Console also connects successfully.
When I attempt to start any LASR server in the new environment from the Administrator panel in VA, I get the below error. Note that I can stop and start LASR servers in the old Windows environment.
Also, I did Validate the Logical Workspace Server, using a designated account svc_sassvr.
-------------- Task Summary --------------
EXCEPTION (SASJob PreCode) . com.sas.svcs.jobexecution.client.TaskExecutionException: com.sas.services.connection.LoginException: The user "Mark Peskir" could not log on to the server "SASApp - Logical Workspace Server". cause: com.sas.services.connection.LoginException: The user "Mark Peskir" could not log on to the server "SASApp - Logical Workspace Server".
Thanks
Mark
🙂 I like your positiviness, I think that is a good quality.
Yes indeed, I think PAM will be your solution. Once you can log on into the machine as your user, this means your host is able to authenticate against AD/LDAP, therefore SAS should able to do the same, since SAS it is configured (no problem there) to authenticate against the host itself.
I'm guessing that you haven't given your user account a SAS VA role in the VA metadata - SAS VA Data Administrator is one of the three roles for VA.
OK looks good. Then check that Mark is a valid OS account on your SAS application server and your account has the correct credentials stored in SAS VA metadata (user/password).
Hi,
I guess you have SAS token Authentication on your Workspace server.
If you do, please check that this users (or his group or VA admins) are in the same group where the SAS Token Authetication account it is registered.
If you don't you can always (exceptionally) try to log on locally on the server with this account and try to oepn and run a basic procedure in the SAS base sesion created by WorkspaceServer.sh or WorkspaceServer.bat. You should see the error there. Probably not enough access to the SASWork or the SAS logs location.
of course, up to you, you can ignore the advise provided (maybe you did not understand or you don't see it interesting), but if your experience is that nobody else answered with your last message, I would strongly recommend you to not post the same message on copy&paste mode. At least, please rewrite it of provide some additional input, to help us to understand better your problems.
Thank you.
Best regards,
Juan
Juan,
Allow me to plead ignorance to that copy paste post. I've been chasing down some other issues and haven't been back here in a while...not sure how that got put up, but it was absolutely not done by me, nor intentional.
I will look into your advised steps today. I don't doubt this error is an indication of a bad setup; the guy we had doing our SAS install was pretty terrible. (And that guy is me, lol)
The server is Red Hat Enterprise Linux Server release 7.2 (Maipo).
The SASApp - Logical Workspace Server is configured for Host Username/Password, using Server Access Security. It is not set to use SAS token authentication.
Mark cannot seem to authenticate to the box directly (via Putty) using USER@DOMAIN.COM, DOMAIN\USER or DOMAIN/USER. If another format should be used, let me know.
I am learning that connecting Linux to AD without using PAM is an uncommon way to do so, and I am thinking now that it's not really as connected as I hoped it is. I am going to reconfigure the server to connect using PAM and see where that gets me.
🙂 I like your positiviness, I think that is a good quality.
Yes indeed, I think PAM will be your solution. Once you can log on into the machine as your user, this means your host is able to authenticate against AD/LDAP, therefore SAS should able to do the same, since SAS it is configured (no problem there) to authenticate against the host itself.
Something else, not related to solve your problem, just some additional information that might help sooner or later:
1- Some considerations for Linux 7: http://support.sas.com/kb/53/997.html and http://support.sas.com/kb/43/820.html
2- I am not sure what is going to be the usage of VA ar your company.
If, let's say, users won;t connect to the OS directly (SAS Enterprise Guide and such), and you have troubles with PAM, it might be interesting for you to change the Host Authentication to SAS Token Authentication on the Workspace server ( http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n0rhb6yftn8srbn1wq... )and just let the LDAP authentication to the metadata server ( http://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#n0w8oa3erw568vn192... ), which is just a couple of configuration parameters (very easy configuration).
So I've been working on our PAM configuration, and it's still not perfect, but it is better.
More importantly for this thread, I get a new error message now:
-1
-------------- Task Summary --------------
SUCCESS (SASJob PreCode)
SUCCESS (Set Grid Node Count)
ERRORS (Start Server)
----------------------------------------------
ERROR: Failed to enumerate available compute nodes in the distributed computing environment.
ERROR: Failed to open TKGrid library.
ERROR: The bridge for SAS High-Performance Analytics encountered an internal error.
both /etc/gridhosts and /opt/TKGrid/grid/hosts show all the servers, and pings work fine.
SSH has been setup on all servers, for my account and several others as well.
Where do I look for more details? Or, how do I fix this?
Have you tried, as proposed, to connect with one of those AD accounts directly to the server, and try to run the WorkspaceServer.sh, or .bat? This will give you the hints you need. I expect someone missed some pre-requisites during the migration.
In the meantime could you please let us know...:
- Your server, is Windows or LInux?
- Your Workspace Server (on the SAS Management Console), is it configured for SAS Token Authentication or different authentication? Please follow these steps:
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.