Skip to main content

Posts

Showing posts from March, 2020

Enable centrify authentication in SAS

To enable centrify authentication in sas. 1. Go to /etc/pam.d 2. Edit sasauth file and search for methods. By default it should only have pw. Add pam to it. It should look like below methods=pw pam Also do the same changes in sasauth.conf file: 1. Go to <SASHOME>/SASFoundation/9.4/utilities/bin 2. Backup sasauth.conf 3. Edit sasauth.conf file and search for methods. By default it should only have pw. Add pam to it. It should look like below methods=pam Then do proc permtest proc permtest; run;

Starting Gemfire in SAS

Gemfire is available in both Compute and Mid. The default port is 41415. If you have many gemfire, you may have port numbers incremented by 1, for example: 41416. Gemfire is located under Web. <SASCONFIG>/Web/gemfire. To Start: <SASCONFIG>/Web/gemfire/instances/ins_41415/gemfire-locator.sh start To check Status: <SASCONFIG>/Web/gemfire/instances/ins_41415/gemfire-locator.sh status To stop: <SASCONFIG>/Web/gemfire/instances/ins_41415/gemfire-locator.sh stop If it doesn;t start check port number is occupied by any other process. lsof -i tcp:41415 If you only have one instance then 41415 will be default. If you have Lev2 then it will be 41416

SASServer1_1 not coming up

WARN  com.sas.svcs.cluster.httpinvoker.AutoDiscoveredHttpService - Have received 80 failures while trying to access an auto-discoverable service to satisfy request for 'com.sas.svcs.config.client.ConfigurationServiceInterface'. Please ensure that the application and/or process surfacing this interface is still in the process of starting. It can happen if the SAS Agent service is running. First stop this service and start mid-tier and then start the Agent.  To stop agent use below command <SAS HOME>/SASDeploymentAgent/9.4/agent.sh stop

Reparing Web Infrastructure Platform DB aka WIPDS or Shared Services

If MID Tier does not start do the following. Do the following steps to do the vacuum and repair. Set up the environment variables to access the database: you will need to change <SASHome> to your actual SASHome directory export POSTGRES_HOME=<SASHome>/SASWebInfrastructurePlatformDataServer/9.4 export PATH=${POSTGRES_HOME}/bin:$PATH export LD_LIBRARY_PATH=${POSTGRES_HOME}/lib:$LD_LIBRARY_PATH Then try running the following commands <SASHome>/SASWebInfrastructurePlatformDataServer/9.4/bin/psql -d SharedServices -h localhost.com -p 9432 -U dbmsowner -c  'reindex database "SharedServices";' <SASHome>/SASWebInfrastructurePlatformDataServer/9.4/bin/psql -d SharedServices -h localhost.com -p 9432 -U dbmsowner -c "vacuum full verbose analyze;" <SASHome>/SASWebInfrastructurePlatformDataServer/9.4/bin/psql -d Administration -h localhost.com -p 9432 -U dbmsowner -c  'reindex database "Administration&q