<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error when using SC script from SMVI. in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/Error-when-using-SC-script-from-SMVI/m-p/41207#M2233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to use SC to quiesce/unquiesce a DB2 database inside a Linux VM. &lt;/P&gt;&lt;P&gt;We are running the VM backup from SMVI (VSC 4.1) and are using the smvi pre/post scripts to call snapcreator --action quiesce using the DB2 plugin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The quiesce/unquiesce works fine when we launch the scripts from a CMD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;C:\Users\Administrator&amp;gt;snapcreator.exe --profile DB2 --config CSLLAB1P01_DB2 --action quiesce --verbose&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:17 2012] INFO: Logfile timestamp: 20121109124917&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:17 2012] INFO: Plugin validation skipped for db2, no plugin parameters file found or no parameters set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## Parsing Environment Parameters ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## Application quiesce ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:19 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Quiescing databases&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:19 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Quiescing database LAB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:24 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Quiescing database LAB finished successfully&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:24 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Quiescing databases finished successfully&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## NetApp Snap Creator Framework 3.6p1 finished successfully ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:24 2012] INFO: INFO: Snap Creator finished successfully ( Action: quiesce )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;C:\Users\Administrator&amp;gt;snapcreator.exe --profile DB2 --config CSLLAB1P01_DB2 --action unquiesce --verbose&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:33 2012] INFO: Logfile timestamp: 20121109124933&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:33 2012] INFO: Plugin validation skipped for db2, no plugin parameters file found or no parameters set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## Parsing Environment Parameters ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## Application unquiesce ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:34 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Unquiescing databases&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:34 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Unquiescing database LAB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:38 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Unquiescing database LAB finished successfully&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:38 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Unquiescing databases finished successfully&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## NetApp Snap Creator Framework 3.6p1 finished successfully ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:37 2012] INFO: INFO: Snap Creator finished successfully ( Action: unquiesce )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But when invoked "inside" SMVI we always get the following error in SC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] INFO: Logfile timestamp: 20121109120456&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: GMT - Fri Nov&amp;nbsp; 9 11:04:56 2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Version: NetApp Snap Creator Framework 3.6p1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Profile: DB2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Config Type: STANDARD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Action: quiesce&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Application Plugin: db2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: File System Plugin: null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Policy: null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Snapshot Name: null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] INFO: Plugin validation skipped for db2, no plugin parameters file found or no parameters set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## Parsing Environment Parameters ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Parsing VOLUMES - controller: 22.76.6.22 volume: SAN_SAP_PRE_APP_S_01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Parsing VOLUMES - controller: 22.76.6.22 volume: SAN_SAP_PRE_SO_S_01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Parsing VOLUMES - controller: 22.76.6.22 volume: SAN_SAP_PRE_DAT_S_01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Parsing VOLUMES - controller: 22.76.6.22 volume: SAN_SAP_PRE_LOG_S_01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Parsing NTAP_USERS - controller: 22.76.6.22 user: root&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:57 2012] DEBUG: Parsing NTAP_SNAPSHOT_RETENTIONS - policy: hourly retention: 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## Application quiesce ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:57 2012] [180.93.24.195:9090(3.6.0.1)] ERROR: [scf-00139] Application quiesce for plugin db2 failed, no exit code returned from plug-in, Exiting!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already had a look to error scf-00139 but apparently it only has to do with restores.. ????&lt;/P&gt;&lt;P&gt;I also checked (using tcpdump) that the SC Server is communicating with the Linux VM even when the quiesce/unquiesce operation is failing, but no logs are being created in the scAgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are we missing something on the SMVI side?, any environment variable that should also be set before invoking snapcreator?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the contents of the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;set TEMP=D:\TEMP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;set TMP=D:\TEMP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;set Path=%Path%;C:\Program Files\NetApp\NetApp_Snap_Creator_Framework\scServer3.6p1\&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;if %BACKUP_PHASE% == PRE_BACKUP goto pre_backup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;if %BACKUP_PHASE% == POST_BACKUP goto post_backup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;if %BACKUP_PHASE% == FAILED_BACKUP goto post_backup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;goto end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;:pre_backup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;snapcreator.exe --profile DB2 --config CSLLAB1P01_DB2 --action quiesce --verbose&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;goto end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;:post_backup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;snapcreator.exe --profile DB2 --config CSLLAB1P01_DB2 --action unquiesce --verbose&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;goto end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;:end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance,&lt;/P&gt;&lt;P&gt;Alfonso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:15:35 GMT</pubDate>
    <dc:creator>parrizas</dc:creator>
    <dc:date>2025-06-05T06:15:35Z</dc:date>
    <item>
      <title>Error when using SC script from SMVI.</title>
      <link>https://community.netapp.com/t5/Data-Protection/Error-when-using-SC-script-from-SMVI/m-p/41207#M2233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to use SC to quiesce/unquiesce a DB2 database inside a Linux VM. &lt;/P&gt;&lt;P&gt;We are running the VM backup from SMVI (VSC 4.1) and are using the smvi pre/post scripts to call snapcreator --action quiesce using the DB2 plugin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The quiesce/unquiesce works fine when we launch the scripts from a CMD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;C:\Users\Administrator&amp;gt;snapcreator.exe --profile DB2 --config CSLLAB1P01_DB2 --action quiesce --verbose&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:17 2012] INFO: Logfile timestamp: 20121109124917&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:17 2012] INFO: Plugin validation skipped for db2, no plugin parameters file found or no parameters set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## Parsing Environment Parameters ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## Application quiesce ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:19 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Quiescing databases&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:19 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Quiescing database LAB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:24 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Quiescing database LAB finished successfully&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:24 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Quiescing databases finished successfully&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## NetApp Snap Creator Framework 3.6p1 finished successfully ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:24 2012] INFO: INFO: Snap Creator finished successfully ( Action: quiesce )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;C:\Users\Administrator&amp;gt;snapcreator.exe --profile DB2 --config CSLLAB1P01_DB2 --action unquiesce --verbose&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:33 2012] INFO: Logfile timestamp: 20121109124933&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:33 2012] INFO: Plugin validation skipped for db2, no plugin parameters file found or no parameters set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## Parsing Environment Parameters ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## Application unquiesce ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:34 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Unquiescing databases&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:34 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Unquiescing database LAB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:38 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Unquiescing database LAB finished successfully&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:38 2012] [180.93.24.195:9090(3.6.0.1)] INFO: Unquiescing databases finished successfully&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## NetApp Snap Creator Framework 3.6p1 finished successfully ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:49:37 2012] INFO: INFO: Snap Creator finished successfully ( Action: unquiesce )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But when invoked "inside" SMVI we always get the following error in SC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] INFO: Logfile timestamp: 20121109120456&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: GMT - Fri Nov&amp;nbsp; 9 11:04:56 2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Version: NetApp Snap Creator Framework 3.6p1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Profile: DB2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Config Type: STANDARD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Action: quiesce&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Application Plugin: db2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: File System Plugin: null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Policy: null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Snapshot Name: null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] INFO: Plugin validation skipped for db2, no plugin parameters file found or no parameters set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## Parsing Environment Parameters ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Parsing VOLUMES - controller: 22.76.6.22 volume: SAN_SAP_PRE_APP_S_01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Parsing VOLUMES - controller: 22.76.6.22 volume: SAN_SAP_PRE_SO_S_01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Parsing VOLUMES - controller: 22.76.6.22 volume: SAN_SAP_PRE_DAT_S_01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Parsing VOLUMES - controller: 22.76.6.22 volume: SAN_SAP_PRE_LOG_S_01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:56 2012] DEBUG: Parsing NTAP_USERS - controller: 22.76.6.22 user: root&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:57 2012] DEBUG: Parsing NTAP_SNAPSHOT_RETENTIONS - policy: hourly retention: 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;########## Application quiesce ##########&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:57 2012] [180.93.24.195:9090(3.6.0.1)] ERROR: [scf-00139] Application quiesce for plugin db2 failed, no exit code returned from plug-in, Exiting!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already had a look to error scf-00139 but apparently it only has to do with restores.. ????&lt;/P&gt;&lt;P&gt;I also checked (using tcpdump) that the SC Server is communicating with the Linux VM even when the quiesce/unquiesce operation is failing, but no logs are being created in the scAgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are we missing something on the SMVI side?, any environment variable that should also be set before invoking snapcreator?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the contents of the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;set TEMP=D:\TEMP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;set TMP=D:\TEMP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;set Path=%Path%;C:\Program Files\NetApp\NetApp_Snap_Creator_Framework\scServer3.6p1\&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;if %BACKUP_PHASE% == PRE_BACKUP goto pre_backup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;if %BACKUP_PHASE% == POST_BACKUP goto post_backup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;if %BACKUP_PHASE% == FAILED_BACKUP goto post_backup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;goto end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;:pre_backup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;snapcreator.exe --profile DB2 --config CSLLAB1P01_DB2 --action quiesce --verbose&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;goto end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;:post_backup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;snapcreator.exe --profile DB2 --config CSLLAB1P01_DB2 --action unquiesce --verbose&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;goto end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;:end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance,&lt;/P&gt;&lt;P&gt;Alfonso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:15:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Error-when-using-SC-script-from-SMVI/m-p/41207#M2233</guid>
      <dc:creator>parrizas</dc:creator>
      <dc:date>2025-06-05T06:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using SC script from SMVI.</title>
      <link>https://community.netapp.com/t5/Data-Protection/Error-when-using-SC-script-from-SMVI/m-p/41212#M2234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very strange&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you run SC from CLI and it works and on SAME maching call same command through SMVI and it doesnt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;[Fri Nov&amp;nbsp; 9 12:04:57 2012] [180.93.24.195:9090(3.6.0.1)] ERROR: [scf-00139] Application quiesce for plugin db2 failed, no exit code returned from plug-in, Exiting!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;Means that the SC server got back no exit code from plugin, basically the plugin returned a response with no messages or exit code. Usually this is some kind of communications issue between server and agent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;Something has to be different, I would focus on what is set when things work and not set when it doesnt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;You can use "set" to print all the ENV parameters, maybe SMVI is setting something or something isnt set which is when things work. I would look at this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you get any further in troubleshooting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;Keith&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 12:52:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Error-when-using-SC-script-from-SMVI/m-p/41212#M2234</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2012-11-09T12:52:20Z</dc:date>
    </item>
  </channel>
</rss>

