{"id":1836,"date":"2010-01-30T05:55:50","date_gmt":"2010-01-29T19:55:50","guid":{"rendered":"http:\/\/nsrd.info\/blog\/?p=1836"},"modified":"2010-01-30T05:55:50","modified_gmt":"2010-01-29T19:55:50","slug":"nsrnmo291-l-not-found","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2010\/01\/30\/nsrnmo291-l-not-found\/","title":{"rendered":"nsrnmo[291]: -l:  not found"},"content":{"rendered":"<p>Yesterday I experienced one of those weird NetWorker issues that is such an odd combination of factors that I felt it had to be discussed.<\/p>\n<p>Here&#8217;s the scenario. A customer was:<\/p>\n<ul>\n<li>Previously running NetWorker 7.4.2 on their backup server.<\/li>\n<li>Upgraded the server to 7.5.1.<\/li>\n<li>Had a bunch of Windows clients and one Unix client.<\/li>\n<li>The Unix client was configured for filesystem backups and Oracle backups.<\/li>\n<li>All clients were running 7.4.2(ish). The Oracle module was 4.5.<\/li>\n<li>Once the upgrade was done, Unix filesystem backups continued to work <em>but<\/em> the Oracle backups would fail with:<\/li>\n<\/ul>\n<pre>client:RMAN:\/path\/to\/script.rman 1 retry attempted\nclient:RMAN:\/path\/to\/script.rman off\nclient:RMAN:\/path\/to\/script.rman \/path\/to\/nsrnmo[291]: -l:\u00a0 not found\nclient:RMAN:\/path\/to\/script.rman nsrnmostart returned status of 127\nclient:RMAN:\/path\/to\/script.rman \/path\/to\/nsrnmo exiting.<\/pre>\n<p>My first thought when a colleague asked me to have a look at it was that somehow there was enough of a slight enough incompatibility between 7.5.x and NMO 4.5 that some argument carried over from an earlier version of NMO was causing problems with talking to a 7.5.x server. This wasn&#8217;t the case. (Yes, I knew that the two versions <em>are<\/em> meant to be compatible, and when I&#8217;ve installed and used them they have been, but that doesn&#8217;t mean you can&#8217;t have one single setting somewhere that tickles a coding error across versions.)<\/p>\n<p>I went back and forth with a few other checks with the customer, noting that there were various issues reported in the NMO applogs, but none specific enough to nail the problem. So since everything looked OK I agreed with the customer that a WebEx would probably help us solve the issue faster.<\/p>\n<p>Even though the customer had given me the client resource, I hadn&#8217;t found anything wrong with the backup command or the save set name, so out of curiosity I&#8217;d asked the customer when we started the WebEx to show me the client details. The saveset looked fine, so we jumped across to the backup command, and that also looked fine. But then, underneath the backup command, there was the &#8220;save operations&#8221; field, and in that save operations field held:<\/p>\n<p>VSS:*=off<\/p>\n<p>It hadn&#8217;t been recently added. It had been there since before the upgrade, and before the upgrade the backups had been working. But as we know, on pre-VSS Windows systems invoking that will cause backup failures, so I asked the customer to remove that entry and start the backup. Neither of us really thought that this would solve the problem, given the <em>filesystem<\/em> backups were still working, but lo and behold, with that removed the Oracle RMAN backups started properly working.<\/p>\n<p>In retrospect, this of course was definitely the problem, but working it out was a bit more challenging. The reason was that the configuration <em>shouldn&#8217;t<\/em> have worked under a NetWorker 7.4.x server either, but for some reason it did. The 7.4.x NetWorker server was likely not sending through the VSS directive to the Unix client and the Unix Oracle module, but having upgraded to 7.5.x, the new install stopped &#8220;filtering the error&#8221; and started causing the problem to manifest. Or alternatively, 7.4.x and 7.5.x both send the save operations setting, but just differently enough to be dangerous.<\/p>\n<p>I wouldn&#8217;t exactly say this was NetWorker&#8217;s fault \u2013 those VSS options are only designed for use with Windows 2003 and higher clients, and I&#8217;d guess that the VSS:*=off was just applied to every single client on the customer site without considering the 1 x Unix client.<\/p>\n<p>In retrospect, the following line now completely makes sense:<\/p>\n<pre>client:RMAN:\/path\/to\/script.rman off<\/pre>\n<p>That was our only &#8220;hint&#8221; as to the cause of the problem in the savegroup completion. It wasn&#8217;t enough by a long stretch. Sometimes, and this is the challenging bit \u2013 sometimes you can have configuration errors even if you haven&#8217;t changed the actual resource configuration. Different versions of NetWorker will react differently to an <em>incorrect<\/em> configuration \u2013 so the upgrade didn&#8217;t <em>cause<\/em> the problem, it just allowed the problem to appear.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday I experienced one of those weird NetWorker issues that is such an odd combination of factors that I felt&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":[11,16,20,23],"tags":[706,838,853,1098,1099],"class_list":["post-1836","post","type-post","status-publish","format-standard","hentry","category-features","category-networker","category-scripting","category-support","tag-oracle","tag-rman","tag-save-operations","tag-vss","tag-vssoff"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-tC","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/1836","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=1836"}],"version-history":[{"count":0,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/1836\/revisions"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=1836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=1836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=1836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}