Failed start of BRBACKUP/BRARCHIVE via the AT command in Windows NT. Various error messages issued:
BR152E Environment variable ... not set.
or
BR278E command ' (...) ':
The name specified is not recognized as an internal or external command, operable program or batch file
- or -
Access is denied.
BR279E Return code from ' (...) ' : 1
- or -
BR252E Function NetShareGetInfo() failed for 'sapmnt' at location
BrEnvProcess-15
BR253E errno 5: Access is denied.
WINAT, WIN-AT, AT command
Caution: After the installation of the Internet Explorer 5.01 you may also use the task scheduler for scheduling BRBACKUP/BRARCHIVE jobs (My Computer -> Scheduled Tasks).
The environment variables are not set correctly for the AT command because, in the standard system, the environment of the user who scheduled the AT command is not transferred.
SolutionCreate a batch file in which the correct environment is defined before you call BRBACKUP/BRARCHIVE. This file is then scheduled in the AT job.
Example: set PATH=%PATH%;d:\orant\bin;d:\usr\sap\C11\SYS\exe\run
set ORACLE_SID=C11
set ORACLE_HOME=d:\orant
set SAPDATA_HOME=e:\oracle\C11
set SAPARCH=f:\oracle\C11\saparch
set SAPBACKUP=g:\oracle\C11\sapbackup
set SAPREORG=h:\oracle\C11\sapreorg
brbackup -c ...
Caution:
The schedule service which executes AT jobs should NOT be started under the system account, since the service allows no access via UNC names (for example, to \\%COMPUTERNAME%\sapmnt) and the system function NetShareGetInfo() must not be called. It can be started under the user
"Power Users", "Server Operators" or "Administrators" .
Caution :
The current console user must not log off during the backup run because otherwise all active processes (also those that were started by the AT scheduler! Windows NT problem?) will receive the CTRL_LOGOFF_EVENT signal. As a result, the backup terminates with the following error message:
BR261E Program interrupted by signal 15!
The problem was solved in the BRBACKUP/BRARCHIVE version 3.1G.
No comments:
Post a Comment