Problem Note 12129: SAS® Text Miner post installation steps to correct shell escape is not valid and physical file does not exist messages
If you are running SAS Text Miner, you might encounter these messages in the SAS Text Miner results log:
WARNING: Shell escape is not valid in this SAS session.
ERROR: Physical file does not exist, [path
and name of the xparseLOG file].
exception.server.TEXTAPIJAVA.TEXT_XPARSE_1000
To work around the problem, include -xcmd and -noxwait in the Workspace Server launch command, and modify the Object Spawner controls by adding the invocation parameter -allowxcmd to the object launch.
Edit the SAS command for the Workspace Server:
- From within the SAS® Management Console, expand levels under the Server Manager plugin to fully expand all three levels of SASMain.
- Highlight the lowest level, SASMain - Workspace Server. Using the right mouse button, select Properties.
- Select the Options tab, then evaluate the Command field to determine if the options -xcmd and -noxwait are already listed. If not, add them to the very end of the command line. E.g.
sas -config "c:\SAS\EMiner\Lev1\SASMain\sasv9.cfg" -xcmd -noxwait
- Select OK to save changes.
Modify the Object Spawner start-up script:
- Stop the Object Spawner by stopping the service or canceling the script.
- Back up the ObjectSpawner.bat file, then open it for editing using a plain text editor such as Microsoft Notepad. This file is located within the application server directory, typically "C:\SAS\EMiner\Lev1\SASMain\ObjectSpawner."
- Evaluate the three lines beginning with the string start /b. If -allowxcmd is not listed on each of the three lines, insert it prior to the -OMRconfigfile option on any/all of the command lines.
- Save changes to ObjectSpawner.bat
- If you installed the Object Spawner as a Windows service (the recommended option during installation), you will need to re-install the Windows service following steps 6-8. Otherwise, skip to step 9.
To determine if the Object Spawner is a service, look for the service name beginning SAS Lev1 OB in the Windows services listing. You can open the Windows services listing by selecting the Windows Start button, then clicking the Run button.
Type:
then click Ok. The service name is typically SAS Lev1 OB - EMiner, though the name might differ depending on your installation.
- In a command window, change to the Object Spawner directory within your application server directory. E.g. C:\SAS\EMiner\Lev1\SASMain\ObjectSpawner
- Type:
to remove the existing Object Spawner service.
- Type:
to install the Object Spawner as a service. The service will be defined with the new options you just added.
- Start the Object Spawner by using the start command within the Windows services listing, or by the startup menu item: Start ► Programs ► SAS ► EMiner ► Start SAS Object Spawner.
Operating System and Release Information
| SAS System | SAS Text Miner | Microsoft Windows 2000 Server | 2.3 | 3.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows 2000 Advanced Server | 2.3 | 3.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows 2000 Datacenter Server | 2.3 | 3.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows 2000 Professional | 2.3 | 3.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows Server 2003 Datacenter Edition | 2.3 | 3.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows Server 2003 Standard Edition | 2.3 | 3.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows XP Professional | 2.3 | 3.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows Server 2003 Enterprise Edition | 2.3 | 3.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
*
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.
| Type: | Problem Note |
| Priority: | high |
| Topic: | Analytics ==> Text Mining
|
| Date Modified: | 2007-05-17 20:21:50 |
| Date Created: | 2004-04-05 15:09:47 |