7 Replies Latest reply on Dec 7, 2011 6:16 PM by Sudhir More

    snapshot job failed with "create cannot be called on existing objects error"

    Vishal Navale

      Hi

       

       

      I am getting following error while run the snapshot job for windows folder on C drive.

       

       

      snapshot of target path '/C/Windows" of asset class type:'directory failed on target:

      create cannot be called on existing objects error.

       

       

      BL version : 8.1sp2/Solaris Sparc 10/Oracle 11g R1/RSCD 81sp2

       

      Regards,

      Vishal

        • 1. snapshot job failed with "create cannot be called on existing objects error"
          Vishal Navale

          [06 Dec 2011 18:00:11,197] [WorkItem-Thread-47] [ERROR] [BLAdmin:BLAdmins:] [Snapshot] Snapshot of target part '/C/WINDOWS' of asset class type 'Directory' failed on target '': Create cannot be called on an existing object

          com.bladelogic.om.infra.mfw.util.BlException: Create cannot be called on an existing object

                          at com.bladelogic.om.infra.app.service.file.FileServerFileLocationImpl.create(FileServerFileLocationImpl.java:133)

                          at com.bladelogic.om.infra.app.service.file.FileServerFileLocationFactory$1.doDBOperation(FileServerFileLocationFactory.java:79)

                          at com.bladelogic.om.infra.app.db.TransactionalOperation.execute(TransactionalOperation.java:132)

                          at com.bladelogic.om.infra.app.service.file.FileServerFileLocationFactory.save(FileServerFileLocationFactory.java:82)

                          at com.bladelogic.om.infra.model.asset.ChecksummedValueImpl.updateFileLocation(ChecksummedValueImpl.java:183)

                          at com.bladelogic.om.infra.model.asset.ChecksummedFileValueImpl.copyFromAgent(ChecksummedFileValueImpl.java:123)

                          at com.bladelogic.om.infra.model.asset.ChecksummedFileValueImpl.save(ChecksummedFileValueImpl.java:76)

                          at com.bladelogic.om.infra.model.asset.ChecksummedValueFactory$1.doDBOperation(ChecksummedValueFactory.java:229)

                          at com.bladelogic.om.infra.app.db.TransactionalOperation.manageTransaction(TransactionalOperation.java:174)

                          at com.bladelogic.om.infra.app.db.TransactionalOperation.execute(TransactionalOperation.java:136)

                          at com.bladelogic.om.infra.model.asset.ChecksummedValueFactory.save(ChecksummedValueFactory.java:232)

                          at com.bladelogic.om.infra.model.asset.ChecksummedValueFactory.saveChecksummedValue(ChecksummedValueFactory.java:65)

                          at com.bladelogic.om.infra.model.asset.file.FileSystemObjectImpl.save(FileSystemObjectImpl.java:634)

                          at com.bladelogic.om.infra.model.asset.file.FileSystemObjectFactory.save(FileSystemObjectFactory.java:1113)

                          at com.bladelogic.om.infra.model.job.snapshot.snapshotter.DBAssetProcessor.saveAssetToDb(DBAssetProcessor.java:90)

                          at com.bladelogic.om.infra.model.job.snapshot.snapshotter.SnapshotterDBAssetProcessor.saveAsset(SnapshotterDBAssetProcessor.java:73)

                          at com.bladelogic.om.infra.model.job.snapshot.snapshotter.DBAssetProcessor.processAsset(DBAssetProcessor.java:61)

                          at com.bladelogic.om.infra.model.job.snapshot.snapshotter.SnapshotPartResultImpl.processAsset(SnapshotPartResultImpl.java:72)

                          at com.bladelogic.om.infra.model.job.snapshot.snapshotter.SnapshotterAssetProcessor.processChildAsset(SnapshotterAssetProcessor.java:23)

                          at com.bladelogic.om.infra.mfw.msg.SnapshotFileReader.jniHandler(SnapshotFileReader.java:255)

                          at com.bladelogic.om.infra.mfw.msg.SnapshotFileReader._iterate(Native Method)

                          at com.bladelogic.om.infra.mfw.msg.SnapshotFileReader.iterate(SnapshotFileReader.java:184)

                          at com.bladelogic.om.infra.app.collector.SnpAssetContainer.iterateInOrder(SnpAssetContainer.java:88)

                          at com.bladelogic.om.infra.app.collector.SnpAssetContainer.getBlAssetChildrenStream(SnpAssetContainer.java:120)

                          at com.bladelogic.om.infra.app.api.factory.BlAssetServiceImpl.internal_getBlAssetChildrenStreamFromContainer(BlAssetServiceImpl.java:469)

                          at com.bladelogic.om.infra.app.api.factory.BlAssetServiceImpl.getBlAssetChildrenStreamFromContainer(BlAssetServiceImpl.java:437)

                          at com.bladelogic.om.infra.model.job.snapshot.snapshotter.Snapshotter.getDelta(Snapshotter.java:404)

                          at com.bladelogic.om.infra.model.job.snapshot.snapshotter.Snapshotter.doSnap(Snapshotter.java:261)

                          at com.bladelogic.om.infra.model.job.snapshot.snapshotter.Snapshotter.snapTemplatePart(Snapshotter.java:314)

                          at com.bladelogic.om.infra.model.job.snapshot.SnapshotJobWorkItemImpl$1.doDBOperation(SnapshotJobWorkItemImpl.java:357)

                          at com.bladelogic.om.infra.app.db.TransactionalOperation.manageTransaction(TransactionalOperation.java:174)

                          at com.bladelogic.om.infra.app.db.TransactionalOperation.execute(TransactionalOperation.java:136)

                          at com.bladelogic.om.infra.model.job.snapshot.SnapshotJobWorkItemImpl.takeTemplatePartSnapshot(SnapshotJobWorkItemImpl.java:380)

                          at com.bladelogic.om.infra.model.job.snapshot.SnapshotJobWorkItemImpl.takeComponentSnapshot(SnapshotJobWorkItemImpl.java:445)

                          at com.bladelogic.om.infra.model.job.snapshot.SnapshotJobWorkItemImpl.doWorkItemExecute(SnapshotJobWorkItemImpl.java:547)

                          at com.bladelogic.om.infra.model.job.workitem.ComponentBasedJobWorkItemImpl.execute(ComponentBasedJobWorkItemImpl.java:120)

                          at com.bladelogic.om.infra.app.service.workitem.WorkItem.doExecute(WorkItem.java:114)

                          at com.bladelogic.om.infra.app.service.workitem.thread.WorkItemThread.execute(WorkItemThread.java:173)

                          at com.bladelogic.om.infra.app.service.workitem.thread.WorkItemThread.execute(WorkItemThread.java:49)

                          at com.bladelogic.om.infra.app.service.thread.BlBlockingThread.run(BlBlockingThread.java:95)

          [06 Dec 2011 18:00:11,197] [WorkItem-Thread-47] [ERROR] [BLAdmin:BLAdmins:] [Snapshot] Snapshot of target part '/C/WINDOWS' of asset class type 'Directory' failed on target '': Create cannot be called on an existing object

          [06 Dec 2011 18:00:11,197] [WorkItem-Thread-47] [ERROR] [BLAdmin:BLAdmins:] [Snapshot] Snapshot job '6dec' failed for '/C/WINDOWS' on server 'PBBSAA335'

          • 2. snapshot job failed with "create cannot be called on existing objects error"

            Can you live browse server 'PBBSAA335' and open the '/C/WINDOWS' directory?

            • 3. snapshot job failed with "create cannot be called on existing objects error"
              Sudhir More

              Yes Nimrod,

              I am able to live browse server, c:/windows & directory under that.

               

              Regards,

              Vishal

              • 4. snapshot job failed with "create cannot be called on existing objects error"

                The simple way as I see it is to create a snapshot job from the Live browse (right click on the Folder object and select Snapshot) and once the job is created (and executed successfully) see what's the difference between this joba and the one that fails.

                • 6. snapshot job failed with "create cannot be called on existing objects error"

                  Try next checks:

                  1. Try to execute the snapshot but uncheck the checksum and light checksum options in the snapshot job definition (the stack trace has many Checksum messages).
                  2. Execute the same snapshot with same asset ('/C/WINDOWS' directory) against some other Windows targets - this will allow us to see whether teh problem is inteh specific server or the problem is in the job execution itself.
                  3. Execute the same job against server 'PBBSAA335' but with some other assets (other folder, registry key) to see if the problem is inthe specific asset.
                  4. The first error messages in the stack trace are from the file server - can you please check if there are other error message in the appserver log for the file server (you can also check the file server status in the Infrastructure mangement)

                  Sorry for labouring you in that way, but I hope it will help to debug the problem .

                  • 7. snapshot job failed with "create cannot be called on existing objects error"
                    Sudhir More

                    Thanks Nimrod.

                     

                    This found to be defect & is fixed in sp3.

                     

                    srm