Management
Management

NSM schema 162 for NSMXpress Obstructed update (failed to add directory): object already exists.

02.02.11   |  
‎02-02-2011 02:35 AM

I just tried to update the schema in my NSMXpress (ver: 2010.4) from schema 160 to 162.  It failed with the following error.   I know enough about Redhat to log in an remove the directory, but I don't know if that will cause anything else to break, and I'd rather not re-install the server again.     Has anyone seen this, and if so, is there a non-re-install solution?

 

Thanks.

 

 

Error Code: 

Error Text:
   Schema Download Failed.

Error Details:
   Obstructed update
svn: Failed to add directory '/usr/netscreen/GuiSvr/var/dmi-schema-stage/nsm/dmi/junos-es/releases/10.2R3.10': object of the same name already exists

 

 

Theodore E Van Iderstine
Stream Networks
+1 678 373 4200 x125
JNCIA-ER (expired), JNCIA-SSL (ditto)
4 REPLIES
Management

Re: NSM schema 162 for NSMXpress Obstructed update (failed to add directory): object already exists.

02.10.11   |  
‎02-10-2011 11:08 PM

I would suggest renaming the directory

 

/usr/netscreen/GuiSvr/var/dmi-schema-stage/nsm/

 

as 

 

/usr/netscreen/GuiSvr/var/dmi-schema-stage/nsm.bak

 

and then trying an update.

 

Thanks,
Chandra

 

Management

Re: NSM schema 162 for NSMXpress Obstructed update (failed to add directory): object already exists.

02.11.11   |  
‎02-11-2011 08:11 AM
I renamed the nsm folder to nsm.bak, stopped and restarted the three servers (HA, GUI, DEV) Now I can't run an update because the updater has no config.
Theodore E Van Iderstine
Stream Networks
+1 678 373 4200 x125
JNCIA-ER (expired), JNCIA-SSL (ditto)
Highlighted
Management

Re: NSM schema 162 for NSMXpress Obstructed update (failed to add directory): object already exists.

02.14.11   |  
‎02-14-2011 08:26 PM

Something else seems to be broken on your env.

Usualy, when we do that, the new download that occurs will be written onto the the staging directory.

 

That said, I would look thorugh the /usr/netscreen/GuiSvr/var/errorLog/gproGDM.log file right after you attempt the schema update to see the details of what the reason for the error is.

 

Thanks,
Chandra

 

Management

Re: NSM schema 162 for NSMXpress Obstructed update (failed to add directory): object already exists.

02.14.11   |  
‎02-14-2011 10:30 PM
I think I'm going to reimage the NSM and start over. If I run into the same problem again, i'll open a JTAC case. Thanks.
Theodore E Van Iderstine
Stream Networks
+1 678 373 4200 x125
JNCIA-ER (expired), JNCIA-SSL (ditto)