Author Topic: cannot add device- duplicate serial number error  (Read 9548 times)

samy

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
cannot add device- duplicate serial number error
« on: October 09, 2008, 11:23:16 am »
I just installed NSM 2008r.1 and was adding a device, it detected it just fine.  While it was adding the device I get this error "Device has duplicate serial number"

Any clues?

screenie.

  • Global Moderator
  • Atomic Playboy
  • *****
  • Posts: 1315
  • Karma: +1/-0
    • View Profile
Re: cannot add device- duplicate serial number error
« Reply #1 on: October 09, 2008, 11:53:10 am »
Yep device is allready in DB under other name.....
Regards, Screenie
------------------------
JNSS, JNCIA, JNCIS, JNCIP, JNCI

samy

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: cannot add device- duplicate serial number error
« Reply #2 on: October 09, 2008, 01:48:32 pm »
Thanks,

I tried adding another device and the error message I got on the device is "Cannot connect to NSM server at 10.x.x.x Reason: 2 local application level timeout"

thoughts?

Regards,

samy


screenie.

  • Global Moderator
  • Atomic Playboy
  • *****
  • Posts: 1315
  • Karma: +1/-0
    • View Profile
Re: cannot add device- duplicate serial number error
« Reply #3 on: October 09, 2008, 02:12:51 pm »
Can be lot of things but maybe firewall in between blocks nsm port ? That's a WKE  (Well Known Error :-D)
Regards, Screenie
------------------------
JNSS, JNCIA, JNCIS, JNCIP, JNCI

samy

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: cannot add device- duplicate serial number error
« Reply #4 on: October 09, 2008, 02:56:05 pm »
I thought that but there is traffic going through port 7800.

samy

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: cannot add device- duplicate serial number error
« Reply #5 on: October 09, 2008, 03:17:38 pm »
Here is the error on the device: Reason 5, Incomplete write

screenie.

  • Global Moderator
  • Atomic Playboy
  • *****
  • Posts: 1315
  • Karma: +1/-0
    • View Profile
Re: cannot add device- duplicate serial number error
« Reply #6 on: October 09, 2008, 03:27:56 pm »
I should now that from top of head but I allways mix them up 7800 is from nsm client to server 7802 from device to device server on NSM? It's late here, so look the ports up your self please but beware not everything runs on 7800!
Regards, Screenie
------------------------
JNSS, JNCIA, JNCIS, JNCIP, JNCI

samy

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: cannot add device- duplicate serial number error
« Reply #7 on: October 09, 2008, 03:33:16 pm »
Thanks!

Frac

  • Hero Member
  • *****
  • Posts: 784
  • Karma: +0/-0
    • View Profile
    • My Blog
Re: cannot add device- duplicate serial number error
« Reply #8 on: October 22, 2008, 01:39:18 am »
hi,

7800 is from device to nsm (if it is a screenos device)
7801 is from client to nsm
7803 is from device to nsm (if it is a idp standalone device)
7804 is from device to nsm (if it is a ex switch)

GreetZ,
Frac
JNCIS-FWV, JNCIS-ER, JNCIA-EX, JNCIA-IDP http://juniper-frac.blogspot.com

jobrafi

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: cannot add device- duplicate serial number error
« Reply #9 on: October 28, 2008, 04:55:28 pm »
I'm having the same problem. Is there a way to purge the database to remove any Serial Number entries? I currently have zero devices added, yet I still get the same error.

NSMprincess

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: cannot add device- duplicate serial number error
« Reply #10 on: November 25, 2008, 09:22:41 am »
thats going to require editing the database. Most likely, you have an object in the deviceobj that did not get removed when you deleted the object out of NSM. You will need to have root access via CLI to get into the database. And you should be very comfortable with a vi-type atmosphere.
NSMPrincess
JNCIA-FW/VPN,JNCIS-FW/VPN
JNCIA-ER, JNCIS-ER
JNCIA-NSM/IDP

figo2000

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: cannot add device- duplicate serial number error
« Reply #11 on: August 19, 2010, 04:49:50 am »
i also have this problem and solved by re-install the NSM...

Coldfire

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: cannot add device- duplicate serial number error
« Reply #12 on: August 23, 2010, 11:23:47 am »
re-installing the NSM should be kept as the last resort, as it is a long, tiring process, and involves re-building of the database (unless it is a fresh install). for such errors, the user must try and edit the deviceobj container, and look for a tuple with the serial no., and delete it. If in future someone gets the similar error, put it on this post, and I shall put down the steps to edit the DB.

josephl

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: cannot add device- duplicate serial number error
« Reply #13 on: November 27, 2012, 08:43:35 pm »
Hello there,

May I know where can I locate the deviceobj?

Thanks and Regards,
Joseph