Exploring, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

cannot logon logical workspace server !

Reply
Contributor
Posts: 68

cannot logon logical workspace server !

Hi!

Before I could logon logical workspace server with user sassrv,

but sometimes I Cannot logical workspace server with user sassrv in sas 9.4 M2 as attached image.

Please help me to fix them.

Thanks so much.

 

Attachment
Trusted Advisor
Posts: 1,852

Re: cannot logon logical workspace server !

Hello @htin,

 

for my own info: do you have SAS Token Authentication on the Workspace Server? With sassrv? Have you checked permissions on the SAS metadata for SAS General Servers account and in the OS folders for the sassrv account?

 

Did you checked your umask configurations? http://support.sas.com/kb/38/040.html

 

Contributor
Posts: 68

Re: cannot logon logical workspace server !

Posted in reply to JuanS_OCS

Dear Juans!

I'd like to sask uoy some question!

1. Is sas envirentment manager agent is related to below error?? (because it is not UP).

2. I have just restart sas.service stop/start sas service, I can logon logical workspace servser, Why??? But sometimes I met above error.

3. how to "checked permissions on the SAS metadata for SAS General Servers account and in the OS folders for the sassrv account"???

Thanks so much!

Contributor
Posts: 68

Re: cannot logon logical workspace server !

srr, 2. I have just restart sas.servers stop/start sas service, I can logon logical workspace servser, Why??? But sometimes I met above error.

Trusted Advisor
Posts: 1,852

Re: cannot logon logical workspace server !

  1. The agent has nothing to do with this. The Object Spawner is the one that creates the Workspace Server session.
  2. Perhaps you need to check the logs of your Object Spawner or your Workspace Server (the WS has the log disabled by default, you will need to enable them). http://documentation.sas.com/?docsetId=bisag&docsetTarget=p0atyzdgfzbsjfn1j4bbbt14ic7t.htm&docsetVer...
  3. Before focusing on 3, focus on 1,2 and 4. Then check permissions of the sassrv account on the Logs location/s, on SASWORK, and the home folder. Can you validate Stored Process and Pooled Workspace servers?
  4. Did you check the umask settings?

 

Contributor
Posts: 68

Re: cannot logon logical workspace server !

Posted in reply to JuanS_OCS

Dear Juans!

 

  1. Did you check the umask settings? --> 0022
  2. Perhaps you need to check the logs of your Object Spawner or your Workspace Server (the WS has the log disabled by default, you will need to enable them). --> folder ...WorkSpaceServer/Logs is not anythings and you see SpawnerLogs is as attached file.
Contributor
Posts: 68

Re: cannot logon logical workspace server !

file error.

Attachment
Trusted Advisor
Posts: 1,852

Re: cannot logon logical workspace server !

in config/Lev1/ObjectSpawner/Logs and config/Lev1/WorkspaceServer/Logs if you have not set up single log directories, or the logs directory.

 

As previously mentioned, for the Workspace Server, you would need to enable logs, at least temporary, as on the URL link previously shared/

Contributor
Posts: 68

Re: cannot logon logical workspace server !

Posted in reply to JuanS_OCS

Thanks so much Juans, your pro!

Trusted Advisor
Posts: 1,852

Re: cannot logon logical workspace server !

My pleasure @htin

Contributor
Posts: 68

Re: cannot logon logical workspace server!

Posted in reply to JuanS_OCS

Hi Juans!

 

I have fixed this abow error following your instruction, everythings is OK, But after some hours The old error was launch.

I think that we didn't  still fix all errors related to it, I have sent logs of workspace server, stored process, spawner and error image as attached file.

Please see again and help to me to fix them!

Thanks so much.

Attachment
Contributor
Posts: 68

Re: cannot logon logical workspace server!

Dear Juans!

 

It's seems that It is here: "ERROR: No disk space is available for the write operation.  Filename = /tmp/SAS_util00010091005C_zvneanprd02/ut005C000003.utl." and I have added addidtional disk size of /tmp folder and It works as before.

Although It's OK, please explain to me why related to disk szie of folder /tmp.

Thanks so much.

Trusted Advisor
Posts: 1,852

Re: cannot logon logical workspace server !

[ Edited ]

Hello @htin,

 

this is actually a great question.

 

SAS creates every SAS session with a temporary space location, named SASWORK and UTILLOC (config parameter WORK and UTILLOC).

 

So it stores temporary tables, intermediate tables (for sorting, and joins), etc. Meaning, it can grow quite fast and have intensive I/O.

 

By default, SASWORK and UTILOC are on the same location under a parameter named WORK, and by default this location is on the /tmp folder.

 

It is highly recommended by SAS to change this location to a different one (such as /saswork), actually, a different mount/volume with higher specifications regarding performance on I/O Throughput. 

 

You will find how to change this on (see also http://support.sas.com/kb/24/548.html ):

 

  • SAS Foundation : sashome/SASFoundation/nls/(yourlang)/sasv9.cfg
  • SAS Application Server:
    • /config/Levx/SASApp/sasv9_usermods.cfg
    • /config/Levx/SASApp/XXXXXServer/sasv9_usermods.cfg --> In your case, /config/Levx/SASApp/WorkspaceServer/sasv9_usermods.cfg

Also, some periodic cleanup of the /tmp of any SASWORK mount sounds like a good idea 

https://blogs.sas.com/content/sgf/2014/05/14/finding-and-deleting-orphaned-sas-work-and-sas-utility-...

Contributor
Posts: 68

Re: cannot logon logical workspace server !

Posted in reply to JuanS_OCS

Thanks so much Juans!

Trusted Advisor
Posts: 1,852

Re: cannot logon logical workspace server !

my pleasure @htin, did it help?

Ask a Question
Discussion stats
  • 16 replies
  • 248 views
  • 11 likes
  • 3 in conversation