Usage Note 14764: Tips for diagnosing SAS® Stored Process Server problems on UNIX
If the SAS® Stored Process Server does not start successfully on a UNIX
machine when a request is submitted, follow these tips to help diagnose
the problem.
- Try running the Test Connection SAS Stored Process Server
test from the SAS® Management Console under Server Manager by following these steps.
- Click SASMain – Stored Process Server.
- In the right–hand window, right–click the Connection
SASMain Stored Process Server bridge connection.
- Select Test Connection.
- Check your SAS Object Spawner's log file and look for error
messages that are related to your SAS Stored Process Server
request. By default, this log file will be written to:
<project path>/Lev1/SASMain/ObjectSpawner/logs/objspawn.log
- Check your Object Spawner's "console" log file and look
for error messages that are related to your SAS Stored Process
Server request. By default, this log file will be written to:
<project path>/Lev1/SASMain/ObjectSpawner/logs/objspawn_console.log
- Check your SAS Stored Process Server's log file (if it exists)
and look for error messages. The path should be similar
to the following:
<project path>/Lev1/SASMain/StoredProcessServer/logs/
- The SAS Stored Process Server runs under the "sassrv" user
account (the "SAS General Servers" login account). So, this
account must have the proper permissions
to start the SAS Stored Process Server. For example, the
"sassrv" account needs permission to write to the
"StoredProcessServer/logs" directory; to access the
SAS configuration file; to access the SASUSER directory,
to write to the SAS WORK library; and permission to
execute the "sas_SPS.sh" script that is used to start
the SAS Stored Process Server.
The "sassrv" account also needs permission to write to the UTILLOC directory
(where application utility files are stored) that is specified in the UTILLOC= system option.
Log on to your UNIX machine using the "sassrv" user account.
Open a UNIX shell and use the CD command to change
to your "SASMain/StoredProcessServer" directory. For
example, this directory should be at a location similar
to the following:
<project path>/Lev1/SASMain/StoredProcessServer
Then, execute the "sas_SPS.sh" script directly. This
is the same script that the SAS Object Spawner uses when
starting the SAS Stored Process Server.
If you can successfully run the "sas_SPS.sh" script
in this manner, then the SAS Object Spawner should also
be able to execute it successfully.
- Make sure you specified the correct password for
your "sassrv" account in your SAS Management Console.
Under User Manager, select SAS General Servers and
then click the Logins tab.
- The SAS Object Spawner will fail to start a SAS Stored Process
Server on UNIX when the number of groups in which
the "sassrv" user ID is a member exceeds NGROUPS_MAX.
For more information, see SAS Note 17533.
- If the SAS Object Spawner attempts to launch the SAS Stored Process
Server, but cannot, you will see the below WARNING message
in your SAS Object Spawner's log file:
WARNING: An error occurred while server (xxxxxxxx.xxxxxxxx)
was starting. Now attempting a different server.
Here are some tips for diagnosing this problem.
- If your SAS Stored Process Server was running successfully
in the past, but fails today, then you might have a
"hung" SAS Stored Process server. In this case,
restart your SAS Object Spawner and try your test again.
If the problem still exists, then check for "hung"
SAS Stored Process servers that may still be running
and "kill" them. See SAS Note 17488.
- See Items 5, 6, 7 and 8 above.
- You can set the "ELSDEBUG" environment variable for
the SAS Object Spawner and this will provide more detailed
information about the cause of the problem.
- Modify your "ObjectSpawner.sh" script. Add the
following statement near the top of this file:
export ELSDEBUG=70656e64
- Restart your SAS Object Spawner.
- Run your SAS Stored Process Server test.
- Check your "objspawn_console.log" file for messages.
Try running the Test Connection; Workspace Server
test from the SAS Management Console under Server Manager plug–in by following these steps:
- Click SASMain – Workspace Server.
- In the right–hand window, right–click the Connection
SASMain Workspace Server bridge connection.
- Select Test Connection.
- When you are prompted for a user ID, enter "sassrv".
If this test fails for "sassrv", but is successful for other
accounts, then "sassrv" probably does not have sufficient
permissions to run the SAS Workspace Server or SAS Stored Process server.
- Check your "sas_SPS.sh" script file (see "Item 5" above) and
make sure that the first line is:
#!/bin/sh
Operating System and Release Information
SAS System | SAS Integration Technologies | 64-bit Enabled Solaris | 9.1 TS1M3 SP1 | |
Tru64 UNIX | 9.1 TS1M3 SP1 | |
64-bit Enabled AIX | 9.1 TS1M3 SP1 | |
64-bit Enabled HP-UX | 9.1 TS1M3 SP1 | |
HP-UX IPF | 9.1 TS1M3 SP1 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
If the SAS® Stored Process Server does not start successfully on a UNIX machine when a request is submitted, follow these tips to help diagnose the problem.
Type: | Usage Note |
Priority: | |
Topic: | System Administration ==> Servers ==> Integration Technologies
|
Date Modified: | 2006-09-05 09:46:49 |
Date Created: | 2005-03-14 15:32:47 |