{"id":172,"date":"2009-02-23T17:52:10","date_gmt":"2009-02-23T06:52:10","guid":{"rendered":"http:\/\/nsrd.wordpress.com\/?p=172"},"modified":"2018-12-12T16:31:45","modified_gmt":"2018-12-12T06:31:45","slug":"basics-fixing-nsr-peer-information-errors","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2009\/02\/23\/basics-fixing-nsr-peer-information-errors\/","title":{"rendered":"Basics &#8211; Fixing &#8220;NSR peer information&#8221; errors"},"content":{"rendered":"<p>If you&#8217;re using a modern NetWorker environment, the chances are that you&#8217;ll periodically notice entries such as the following in the daemon.log \/ daemon.raw files on the backup server:<\/p>\n<p><em>39078 02\/02\/2009 09:45:13 PM\u00a0 0 0 2 1152952640 5095 0 nox nsrexecd SYSTEM error: There is already a machine using the name: &#8220;faero&#8221;. Either choose a different name for your machine, or delete the &#8220;NSR peer information&#8221; entry for &#8220;faero&#8221; on host: &#8220;nox&#8221; <\/em><\/p>\n<p>While this may look confronting, it&#8217;s actually a trivially easy error to fix that requires just a minute or so of your time with nsradmin. First, note the client that the error is <em>about<\/em>, and the client that the error is being recorded <em>from<\/em>. In this case, the error is about the client <em>faero<\/em>, while the error is being registered against the host <em>nox<\/em>.<\/p>\n<p>To fix, run up nsradmin against the <em>client<\/em> service on <em>nox<\/em>:<\/p>\n<pre># nsradmin -p nsrexec -s nox<\/pre>\n<p>(alternatively, you can use: nsradmin -p 390113 -s nox)<\/p>\n<p>At the nsradmin&gt; prompt, enter the command:<\/p>\n<pre>delete type: NSR peer information; name: faero<\/pre>\n<p>And answer yes when prompted to confirm. For example, the session might resemble the following:<\/p>\n<pre>nsradmin&gt; delete type: NSR peer information; name: faero\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 type: NSR peer information;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 administrator: root, \"user=root,host=nox\";\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 name: faero;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 peer hostname: faero;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Change certificate: ;\n\u00a0\u00a0\u00a0 certificate file to load: ;\nDelete? y\ndeleted resource id 17.0.83.117.0.0.0.0.210.37.85.73.0.0.0.0.10.0.0.1(1)<\/pre>\n<p>There, you&#8217;ve done it. Note that you <em>should<\/em> be periodically scanning your daemon raw\/log files for errors and trying to eliminate them. The goal should be that any error or warning reported in the file is something that you <em>do<\/em> need to worry about\/investigate, rather than having a lot of &#8220;false positives&#8221; floating around in the system.<\/p>\n<p><strong>[Update, 2009-05-12]<\/strong><\/p>\n<p>I thought I&#8217;d mention that one of the most common times I see these warnings occur is after I&#8217;ve uninstalled\/reinstalled NetWorker on a client, as opposed to having upgraded. Since on some clients it&#8217;s more or less necessary to uninstall\/reinstall rather than upgrade, that helps to understand why the information is lost periodically. My surmise is that on a new install, the NetWorker client processes generate a new &#8216;certificate&#8217; or &#8216;identity&#8217;. As this new information conflicts with existing information the backup server has on the client, that&#8217;s what triggers the error.<\/p>\n<p>It could be that other factors can cause this, but it seems that this is at least a primary cause.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re using a modern NetWorker environment, the chances are that you&#8217;ll periodically notice entries such as the following in&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6,16,20],"tags":[54,650,653,659],"class_list":["post-172","post","type-post","status-publish","format-standard","hentry","category-basics","category-networker","category-scripting","tag-54","tag-nsr-peer-information","tag-nsradmin","tag-nsrexec"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-2M","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/comments?post=172"}],"version-history":[{"count":1,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/172\/revisions"}],"predecessor-version":[{"id":7687,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/172\/revisions\/7687"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}