Bemcmd -o1 returns "-1" when backup job is configured with notification recipients

Article:TECH71813  |  Created: 2009-01-24  |  Updated: 2010-01-14  |  Article URL http://www.symantec.com/docs/TECH71813
Article Type
Technical Solution

Product(s)

Environment

Issue



Bemcmd -o1 returns "-1" when backup job is configured with notification recipients

Solution



Bemcmd -o1returns the output -1 when the following conditions are met:

- In Backup Exec the Recipient Type "Net Send" has been configured.
- Backup job has notification recipients configured.
- Backup job in Backup Exec is on hold.
- Command "bemcmd -o1 -j <job name> is executed.

Event ID 57345 is recorded in the Windows Event Viewer with the following description:


********************************************************************************************
Description:
Database Exception Context:m_QueryTimeoutInSeconds=30
sql={CALL DBO.SAVERECIPIENT(?,?,?)} Error:-536837662: :: -2147217900:
The Job-Recipient relationship already exists in the database.
:: DB Error Set 0: native=0x61040010 source=Microsoft OLE DB Provider
for SQL Server hr=0x80040e14 The Job-Recipient relationship already
exists in the database.
********************************************************************************************

Workaround:

Execute the job from Backup Exec GUI.

Resolution:
This has been resolved in Backup Exec 2010 for Windows Servers revision 2896 Hotfix 344584. You can download the patch from here:  http://support.veritas.com/docs/344584


Supplemental Materials

SourceETrack
Value1398253
DescriptionBemcmd -o1 is returning -1 when backup job having notification recipients

SourceEvent ID
Value57345
DescriptionThe Job-Recipient relationship already exists in the database.


Legacy ID



327067


Article URL http://www.symantec.com/docs/TECH71813


Terms of use for this information are found in Legal Notices