Start a Conversation

Unsolved

PS

1 Rookie

 • 

1 Message

26

March 14th, 2024 11:06

RMAN exited with return code '1'

Networker version - 19.8.0.2
OS - RHEL 7.9 maipo

Backup failure error


Thu Mar 14 08:53:16 2024
Thu Mar 14 08:53:16 2024
cmd_args = msglog '/oracle/DR3/Rman/msglog_DR3_arch.log' append
cmd_args = send 'NSR_RMAN_JOBID=9290157, NSR_SERVER=nw07sv01.bnl.cos.lan'
rman_script = /usr/local/cgbt/rman/DR3/DR3arch
saveset_name = RMAN:/usr/local/cgbt/rman/DR3/DR3arch
Launching backup process
RMAN exited with return code '1'.
Executing command: /usr/local/cgbt/rman/DR3/POSTCMD.sh msglog_DR3_arch 
03/14/2024 08:53:30 AM Unable to spawn process '/usr/local/cgbt/rman/DR3/POSTCMD.sh': Exec format error
WARNING: The save session will not continue. The post-command failed with the following error message: 
The command /usr/local/cgbt/rman/DR3/POSTCMD.sh msglog_DR3_arch  could not be executed: 2
Exiting with error: 
RMAN exited with return code '1'.
pstoradca001.ess.pnad.pninfrasrv.net:     RMAN exited with return code '1'.

24586:nsrdasv: RMAN exited with return code '1'.

1 Rookie

 • 

114 Posts

May 17th, 2024 15:02

is the post-command script /usr/local/cgbt/rman/DR3/POSTCMD.sh possibly not set with an executable bit? Is also the shebang set in the first line of the post-command script to run a specific shell, so for example:

#!/bin/sh

No idea however what the post-command intends to do with regards to the redolog (backup)?

View More

No Events found!

Top