Data Backup and Recovery

Notes logs show sucess, snapcreator.exe Resturs EXIT 2

nants
4,471 Views

Hi All,

I got a problem where one Notes Server alway returs and Exit 2, which cause the over all backup to fail (Notes with Vmware) even I switched on ignore Application errors

$ "C:/Program Files/NetApp/NetApp_Snap_Creator_Framework/scServer3.6p1/snapcreator.exe" --profile "NOTES_VM_NFS01_SC" --config "DS_vm_nfs01_sc_notes_1" --action quiesce

$ echo $?
2

logs from the Agent:
[Wed Feb 20 12:31:17 2013] INFO: Quiescing databases
[Wed Feb 20 12:31:17 2013] ERROR: [ltd-00010] Errors encountered while opening DBs:
[Wed Feb 20 12:31:17 2013] ERROR: Error opening DB:e:\lotus\domino\data\statrep.nsf
[Wed Feb 20 12:31:17 2013] ERROR: [ltd-00002] Quiescing databases finished with errors
[Wed Feb 20 12:31:18 2013] INFO: UnQuiescing databases
[Wed Feb 20 12:31:19 2013] INFO: Unquiescing databases finished successfully

Log from Server:

[Wed Feb 20 11:31:16 2013] INFO: Logfile timestamp: 20130220113116

########## Parsing Environment Parameters ##########

########## Application quiesce ##########
[Wed Feb 20 12:31:17 2013] [10.170.44.22:9090(3.6.0.1)] INFO: Quiescing databases
[Wed Feb 20 12:31:17 2013] [10.170.44.22:9090(3.6.0.1)] ERROR: [ltd-00010] Errors encountered while opening DBs:
[Wed Feb 20 12:31:17 2013] [10.170.44.22:9090(3.6.0.1)] ERROR: Error opening DB:e:\lotus\domino\data\statrep.nsf
[Wed Feb 20 12:31:17 2013] [10.170.44.22:9090(3.6.0.1)] ERROR: [ltd-00002] Quiescing databases finished with errors
[Wed Feb 20 11:31:17 2013] [10.170.44.22:9090(3.6.0.1)] ERROR: [scf-00053] Application quiesce for plugin domino failed with exit code 1, Exiting!

########## Application unquiesce ##########
[Wed Feb 20 12:31:18 2013] [10.170.44.22:9090(3.6.0.1)] INFO: UnQuiescing databases
[Wed Feb 20 12:31:19 2013] [10.170.44.22:9090(3.6.0.1)] INFO: Unquiescing databases finished successfully

[Wed Feb 20 11:58:48 2013] [scf-00053] Application quiesce for plugin domino failed with exit code 1, Exiting!

[Wed Feb 20 11:59:00 2013] [scf-00054] Application unquiesce for plugin domino failed with exit code 100, Exiting!

[Wed Feb 20 12:06:57 2013] [scf-00053] Application quiesce for plugin domino failed with exit code 1, Exiting!

[Wed Feb 20 11:31:17 2013] [scf-00053] Application quiesce for plugin domino failed with exit code 1, Exiting!

Use of uninitialized value in split at snapcreator.pl line 8192 (#1)
    (W uninitialized) An undefined value was used as if it were already

    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.

    To suppress this warning assign a defined value to your variables.
   
    To help you figure out what was undefined, perl will try to tell you the

    name of the variable (if any) that was undefined. In some cases it cannot

    do this, so it also tells you what operation you used the undefined value

    in.  Note, however, that perl optimizes your program and the operation

    displayed in the warning may not necessarily appear literally in your

    program.  For example, "that $foo" is usually optimized into "that "

    . $foo, and the warning will refer to the concatenation (.) operator,

    even though there is no . in your program.
   
Use of uninitialized value in split at snapcreator.pl line 8233 (#1)
Use of uninitialized value in split at snapcreator.pl line 8286 (#1)

when I use the same config with a differt Notes server it works.

Any help is much apriciated

Best Regards

7 REPLIES 7

sivar
4,471 Views

The error here is a problem that domino faces when quiescing file below.

e:\lotus\domino\data\statrep.nsf

To me it looks like a notes problem to address the error file.

nants
4,471 Views

Hallo,

The Agent log on the server is clean:

[Fri Feb  8 16:12:17 2013] INFO: UnQuiescing databases

[Fri Feb  8 16:12:17 2013] DEBUG: Calling dominocore::unquiesce with arguments(C:\Programme\lotus\domino\notes.ini,E:\lotus\domino\data,E:\lotus\domino\tmp\SC_nfs01-daily_recent,0,E:\lotus\domino\tmp\logs\)

[Fri Feb  8 16:12:19 2013] TRACE: Recording Stopped:e:\lotus\domino\data\activity.ntf

Change info file opened:E:\lotus\domino\tmp\SC_nfs01-daily_recent/_activity.ntf.info

..

..

Closing DB:e:\lotus\domino\data\webadmin.ntf

Transactional Logging must be enabled for this function.

Error getting transaction log style.

ERROR_CODE:0

[Fri Feb  8 16:12:19 2013] INFO: Unquiescing databases finished successfully

What do I do with the e:\lotus\domino\data\statrep.nsf

were do I find Notes log files ?

Best regards

Stefan

sivar
4,471 Views

Hello Stefan,

I would request you to contact IBM Lotus support for the Domino file related issues and questions.

Snapcreator code is modified to flag the failing nsf files and still take a storage snapshot. It does not mean that the corrupted .nsf files and their backup is of any use.

In this case I would request you to contact IBM support for Lotus related issue, so that they could better assist you.

http://www-10.lotus.com/ldd/nd6forum.nsf/d202cf70fecca50b852569ff00736545/a503fc1f1d0c79aa8525742c007bc3b3?OpenDocument

This thread has a procedure to fix the issue, but I am not a IBM Lotus Notes Admin and hence don't know the impact of the above command.

Thanks,
Siva Ramanathan

nants
4,471 Views

Hi Siva,

I don't understand why you thing it is a Notes issue. the VMnfs01_sc_notes_1.debug.20130208161216.agent.log log file exits

Fri Feb  8 16:12:01 2013] INFO: Quiescing databases finished successfully

-> snapcreator --action  quiesce  -> EXIT 2

sure there ate a lot of issues with some databases but I thought that is the reason that I set Ignore Application failures and the backup should continue.

The Backup which is working does indeed not have erros and the logs ends with

ERROR_CODE:0

[Wed Feb 20 12:00:26 2013] INFO: No Errors encountered while opening DBs.

[Wed Feb 20 12:00:26 2013] INFO: Quiescing databases finished successfully

-> snapcreator --action  quiesce  -> EXIT 0

sivar
4,471 Views

I agree to your argument.

That leads me to think below.

the snapcreator service that is running, is it running as a system service or Administrator account.

Please ensure e:\lotus\domino\data\statrep.nsf this file can be opened by the snapcreator.exe account (check the ACLs)

(or try changing the snapcreator service to start as a Administrative account that has access to the files).

Please let me know what you find.

sivar
4,471 Views

If you want our Domino expert to review your issue, please collect a scdump output from the GUI and send me an email at sivar at netapp.com

I shall cascade this information.

Thanks.

nants
4,471 Views

HI Siva, Yes I will I know him and will asked him for his assistance. Thanks you.

Public