<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: wfa_ocsetup failed with bad interpreter :-o in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/wfa-ocsetup-failed-with-bad-interpreter-o/m-p/36047#M7363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; There is apparently something wrong with the the wfa_ocsetup.sh file attached to the WFA 2.1 server. Its using a dos EOL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Download the file attached here and try, I think should work fine. This is wfa_ocsetup.sh from WFA 2.0.1 version. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll file a bug to get it fixed. We regret your inconvenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;warm regards,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sinhaa&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;WFA &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;NetApp Inc. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Oct 2013 09:29:57 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2013-10-19T09:29:57Z</dc:date>
    <item>
      <title>wfa_ocsetup failed with bad interpreter :-o</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/wfa-ocsetup-failed-with-bad-interpreter-o/m-p/36029#M7356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="jive-rendered-content"&gt;&lt;P&gt;successfully downloaded the file from WFA path (Windows 2008) with wget&lt;/P&gt;&lt;P&gt;tried to execute this and it failed with&lt;/P&gt;&lt;P&gt;[root@dfm opt]# chmod +x wfa_ocsetup.sh &lt;/P&gt;&lt;P&gt;[root@dfm opt]# ./wfa_ocsetup.sh /opt/NTAPdfm/java/ &lt;/P&gt;&lt;P&gt;-bash: ./wfa_ocsetup.sh: /bin/sh^M: bad interpreter: Datei oder Verzeichnis nicht gefunden&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if i try to convert the LF to unix, i ran into the next problem&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[root@dfm opt]# dos2unix wfa_ocsetup.sh &lt;/P&gt;&lt;P&gt;dos2unix: converting file wfa_ocsetup.sh to UNIX format ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@dfm opt]# ./wfa_ocsetup.sh /opt/NTAPdfm/java/&lt;/P&gt;&lt;P&gt;Verifying&amp;nbsp; archive integrity...Error in MD5 checksums:&amp;nbsp; e2525ac8b2295dec74d9694748c5f341 is different from&amp;nbsp; e7e365e7e9a05cc12f3b0180bda85667&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea how to fix this ??&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:51:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/wfa-ocsetup-failed-with-bad-interpreter-o/m-p/36029#M7356</guid>
      <dc:creator>IMHOTEPSON</dc:creator>
      <dc:date>2025-06-05T05:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: wfa_ocsetup failed with bad interpreter :-o</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/wfa-ocsetup-failed-with-bad-interpreter-o/m-p/36033#M7358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;-bash: ./wfa_ocsetup.sh: /bin/sh&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;^M&lt;/STRONG&gt;&lt;/SPAN&gt;: bad interpreter:&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shows that you have dos line ending files format. dos2unix cmd is a way, but since it didn't work for you, Can you try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Open the wfa_ocsetup.sh in vi editor and in the vi Command mode (ESC ) type the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;"&gt;&lt;SPAN class="pun"&gt;:&lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;set&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; fileformat&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;unix&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Save the file using &lt;SPAN style="color: #0000ff;"&gt;x! &lt;/SPAN&gt;or &lt;SPAN style="color: #0000ff;"&gt;wq!&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or Save As with &lt;SPAN style="color: #0000ff;"&gt;:w wfa_ocsetup_new.sh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;2. If (1) didn't work try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #0000ff;"&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;"&gt;&lt;SPAN class="pln"&gt;cat wfa_ocsetup&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;sh &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;|&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; tr &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;-&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;d &lt;/SPAN&gt;&lt;SPAN class="str"&gt;'\r'&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; wfa_ocsetup_new&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;sh&lt;/SPAN&gt;&lt;/CODE&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now re-run the cmd &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;./wfa_ocsetup.sh /opt/NTAPdfm/java/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;I hope this works&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;Abhishek Sinha&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;WFA&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 03:48:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/wfa-ocsetup-failed-with-bad-interpreter-o/m-p/36033#M7358</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2013-10-19T03:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: wfa_ocsetup failed with bad interpreter :-o</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/wfa-ocsetup-failed-with-bad-interpreter-o/m-p/36038#M7359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ignore the above solution, it doesn't work. Good thing is I managed to reproduce your problem and but bad thing is in the process screwed my working system too and I haven't figured out how to fix it now. Working on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think its some environment variable with bash which always sets dos EOL. dos2unix changes the md5sum of the file and hence the execution fails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 08:24:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/wfa-ocsetup-failed-with-bad-interpreter-o/m-p/36038#M7359</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2013-10-19T08:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: wfa_ocsetup failed with bad interpreter :-o</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/wfa-ocsetup-failed-with-bad-interpreter-o/m-p/36047#M7363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; There is apparently something wrong with the the wfa_ocsetup.sh file attached to the WFA 2.1 server. Its using a dos EOL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Download the file attached here and try, I think should work fine. This is wfa_ocsetup.sh from WFA 2.0.1 version. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll file a bug to get it fixed. We regret your inconvenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;warm regards,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sinhaa&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;WFA &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;NetApp Inc. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 09:29:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/wfa-ocsetup-failed-with-bad-interpreter-o/m-p/36047#M7363</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2013-10-19T09:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: wfa_ocsetup failed with bad interpreter :-o</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/wfa-ocsetup-failed-with-bad-interpreter-o/m-p/36057#M7367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sinhaa, many thanks for this helpful answer and the fully functioning wfa_ocsetup.sh... i think this should be corrected by netapp itself &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 15:18:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/wfa-ocsetup-failed-with-bad-interpreter-o/m-p/36057#M7367</guid>
      <dc:creator>IMHOTEPSON</dc:creator>
      <dc:date>2013-10-19T15:18:29Z</dc:date>
    </item>
  </channel>
</rss>

