Problem Note 37901: Running omabakup macro from csh or tcsh in UNIX environments causes errors
If the default shell for the userid of the SAS installer is either the C-shell (csh) or the
t-shell (tcsh), then submitting the Metadata Server backup program found at
Lev1/SASMeta/MetadataServer/backupServer.sas will result in errors, and not all the files will be backed up correctly. In the backupServer.log file, you will see errors similar to the following:
ERROR: Command returned error code SYSRC=1
WARNING: Prior copy errors or warnings prevented BACKUP of Metadata Journal File.
ERROR: Could not BACKUP Metadata Journal
File "/sasfg/Lev1/SASMeta/MetadataServer/Journal/MetadataJournal.dat"
If, from the UNIX system prompt, you submit the cp command found in the backupServer.log file, you will see the following error:
unix>cp /sascfg/Lev1/SASMeta/MetadataServer/Journal/MetadataJournal.dat \
> /sascfg/Lev1/SASMeta/MetadataServer/SASBackup/ 2>&1|tee omaconfigFile._err
Ambiguous output redirect.
unix>
The problem arises because the csh and tcsh shells use a different syntax for redirecting standard error and standard output than other UNIX shells. As a workaround, change the default shell for the SAS installer userid to Bourne, Korn, or Bash.
Operating System and Release Information
SAS System | SAS Metadata Server | Solaris for x64 | 9.2 TS2M0 | |
Linux for x64 | 9.2 TS2M0 | |
Linux | 9.2 TS2M0 | |
HP-UX IPF | 9.2 TS2M0 | |
64-bit Enabled Solaris | 9.2 TS2M0 | |
64-bit Enabled HP-UX | 9.2 TS2M0 | |
64-bit Enabled AIX | 9.2 TS2M0 | |
*
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 you attempt to run %omabakup from the csh or tcsh shell, errors occur.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2009-12-22 13:48:57 |
Date Created: | 2009-11-19 11:31:32 |