Good morning community.
I would like your help with the following problem.
In a sas environment composed of 1 Metadata server, 3 applications and 1 web, the following problem occurs:
Error when validating the Logical Pooled Workspace Server:
Error when validating the Logical Stored Process Server:
In the Objspawn log file we see the following:
2022-03-26T09:09:28,664 INFO [00000031] :sas - Processing parsed configuration results.
2022-03-26T09:09:28,664 INFO [00000031] :sas - Objspawn is proceeding with the configuration results processing utilizing the A5NQO0H3.AY000004 spawner definition.
2022-03-26T09:09:28,665 INFO [00000031] :sas - Reserved IPv6 port 8581 for administrator listen (connection 2).
2022-03-26T09:09:28,665 INFO [00000031] :sas - Reserved IPv6 port 8451 for server listen (connection 3).
2022-03-26T09:09:28,665 INFO [00000031] :sas - Reserved IPv6 port 8701 for server listen (connection 4).
2022-03-26T09:09:30,865 INFO [00000031] :sas - Access denied.
2022-03-26T09:09:30,865 WARN [00000031] :sas - The credentials specified for the SASApp - Pooled Workspace Server (A5NQO0H3.AY000008) server definition failed to authenticate. Therefore this server definition will not be included.
2022-03-26T09:09:30,865 WARN [00000031] :sas - The password obtained from the metadata indicates that it was obtained by a user that has unrestricted access. Please check your configuration.
2022-03-26T09:09:30,866 WARN [00000031] :sas - Unrestricted access can include being an unrestricted user, or being a member of the SAS Administrators group, or being a member of any group that has the role Metadata Server: User Administration.
2022-03-26T09:09:30,866 INFO [00000031] :sas - Reserved IPv6 port 8601 for server listen (connection 5).
2022-03-26T09:09:30,866 INFO [00000031] :sas - Reserved IPv6 port 8611 for server listen (connection 6).
2022-03-26T09:09:30,866 INFO [00000031] :sas - Reserved IPv6 port 8621 for server listen (connection 7).
2022-03-26T09:09:30,866 INFO [00000031] :sas - Reserved IPv6 port 8631 for server listen (connection 8).
2022-03-26T09:09:32,990 INFO [00000031] :sas - Access denied.
2022-03-26T09:09:32,990 WARN [00000031] :sas - The credentials specified for the SASApp - Stored Process Server (A5NQO0H3.AY000009) server definition failed to authenticate. Therefore this server definition will not be included.
2022-03-26T09:09:32,990 WARN [00000031] :sas - The password obtained from the metadata indicates that it was obtained by a user that has unrestricted access. Please check your configuration.
2022-03-26T09:09:32,990 WARN [00000031] :sas - Unrestricted access can include being an unrestricted user, or being a member of the SAS Administrators group, or being a member of any group that has the role Metadata Server: User Administration.
2022-03-26T09:09:32,991 INFO [00000031] :sas - Reserved IPv6 port 8591 for server listen (connection 9).
2022-03-26T09:09:32,991 INFO [00000031] :sas - Reserved IPv6 port 37179 for launched server connect back listen (connection 10).
2022-03-26T09:09:32,991 INFO [00000031] :sas - Activated listen on IPv6 port 37179 (connection 10).
2022-03-26T09:09:32,991 WARN [00000031] :sas - The SASApp - Logical Pooled Workspace Server (A5NQO0H3.AW000005) cluster does not contain any valid server definitions. Therefore this cluster definition will not be included.
2022-03-26T09:09:32,991 WARN [00000031] :sas - The SASApp - Logical Stored Process Server (A5NQO0H3.AW000006) cluster does not contain any valid server definitions. Therefore this cluster definition will not be included.
2022-03-26T09:09:32,991 INFO [00000031] :sas - Activated listen on IPv6 port 8591 (connection 9).
2022-03-26T09:09:32,991 INFO [00000031] :sas - Activated listen on IPv6 port 8451 (connection 3).
2022-03-26T09:09:32,991 INFO [00000031] :sas - Activated listen on IPv6 port 8581 (connection 2).
2022-03-26T09:09:33,001 INFO [00000005] :sas - SAS Object Spawner Daemon III is running under the user identity sas.
2022-03-26T09:09:33,001 INFO [00000005] :sas - SAS Object Spawner Daemon III has completed initialization.
2022-03-26T09:09:33,001 INFO [00000005] :sas - SAH021999I Server SAS Object Spawner Daemon III (8581), State, running
When validating the PoolerWorkSpace from the terminal with the sassrv user, it enters without problem.
Can you help me locate the problem, thank you very much.
Hello @SAS_LuisBolivar
From the log we see theerrors shown below. Therefore validation would obviously fail.
Make sure you have used a valid account for validating the workspace server / Stored Process server. (such as sassrv or sasdemo. The account should exist in the host . No internal account please.)
See here for details. (https://go.documentation.sas.com/doc/en/bicdc/9.4/biig/n05021intelplatform00install.htm)
Errors in the logs.
2022-03-26T09:09:28,665 INFO [00000031] :sas - Reserved IPv6 port 8701 for server listen (connection 4).
2022-03-26T09:09:30,865 INFO [00000031] :sas - Access denied.
2022-03-26T09:09:30,865 WARN [00000031] :sas - The credentials specified for the SASApp - Pooled Workspace Server (A5NQO0H3.AY000008) server definition failed to authenticate. Therefore this server definition will not be included.
2022-03-26T09:09:30,865 WARN [00000031] :sas - The password obtained from the metadata indicates that it was obtained by a user that has unrestricted access. Please check your configuration.
------------------
2022-03-26T09:09:32,990 INFO [00000031] :sas - Access denied.
2022-03-26T09:09:32,990 WARN [00000031] :sas - The credentials specified for the SASApp - Stored Process Server (A5NQO0H3.AY000009) server definition failed to authenticate. Therefore this server definition will not be included.
----------------------
Hello.
Validate the services with the sasdemo user and the same error is presented.
Verify that user the sastrust user does not have the admin role.
Validate by logging in to sas mc with the sassrv user that I have not been assigned any special permission. Everything is in order.
But the error still occurs.
It seems strange to me that the SAS object spawner can be validated without problems for two of the three Application servers.
On the third server it gives me the following error:
The service is up and is listening.
Thanks.
Normally you use the sassrv account for these servers and it is defined with the server properties in SMC. Is this the account you are using? Is this a first-time configuration of a SAS installation or was it previously working and now it is not?
In that case you need to ensure that these servers are defined with an service account that is defined with the correct permissions both in Linux and in SAS metadata.
As far as metadata definitions are concerned, the service account sassrv should belong to the SAS users and SAS administrators metadata groups. I'm not familiar with the linux setup so would have to go searching in the documentation.
The stored process server and pooled workspace server are failing to validate because the SAS Trusted User account has been given the unrestricted or user administration roles (either directly or indirectly), which prevents it from retrieving the password:
2022-03-26T09:09:30,865 WARN [00000031] :sas - The credentials specified for the SASApp - Pooled Workspace Server (A5NQO0H3.AY000008) server definition failed to authenticate. Therefore this server definition will not be included.
2022-03-26T09:09:30,865 WARN [00000031] :sas - The password obtained from the metadata indicates that it was obtained by a user that has unrestricted access. Please check your configuration.
2022-03-26T09:09:30,866 WARN [00000031] :sas - Unrestricted access can include being an unrestricted user, or being a member of the SAS Administrators group, or being a member of any group that has the role Metadata Server: User Administration.
Given you have provided a screen shot of the SAS Trusted User memberships and it doesn't show these roles, I'd check the properties of those groups it is a member of to confirm none of them have the Metadata Server: Unrestricted or Metadata Server: User Administration roles.
Once you've removed the role wherever it is being assigned, restart the object spawner and it should bind to the ports to allow validation.
I have managed to overcome the error.
Thanks to each of your comments.
He had a group with sasadministrator and sasusers roles.
But now I have the following error:
2022-03-28T12:17:35,568 ERROR [00000148] :sasadm - Objspawn was unable to launch the server SASApp - Stored Process Server (A5NQO0H3.AY000009) due to the server launch exceeding the specified wait time.
2022-03-28T12:17:35,568 ERROR [00000148] :sasadm - An error occurred while server (A5NQO0H3.AZ00000C_!A5NQO0H3.AY000004_@xxxxxxxxxxx) was starting. Now attempting a different server.
2022-03-28T12:17:35,568 ERROR [00000148] :sasadm - The Balance algorithm timed out before a server could be found. 2022-03-28T12:17:35,568 INFO [00000148] :sasadm - Failed to redirect client to available server in cluster SASApp - Logical Stored Process Server (A5NQO0H3.AW000006). Can you help me, please. Thanks.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
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.