<?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: /bin/bash not found in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785918#M23317</link>
    <description>Problem solved. I omitted an space before the "$SHELL" variable.&lt;BR /&gt;THANK YOU!</description>
    <pubDate>Wed, 10 May 2006 11:08:28 GMT</pubDate>
    <dc:creator>Tonatiuh</dc:creator>
    <dc:date>2006-05-10T11:08:28Z</dc:date>
    <item>
      <title>/bin/bash not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785915#M23314</link>
      <description>Red Hat Enterprise Linux 4.&lt;BR /&gt;&lt;BR /&gt;I receive an error message when I switch to oracle user:&lt;BR /&gt;&lt;BR /&gt;[root@monitor etc]# su - oracle&lt;BR /&gt;-bash: [/bin/bash: No such file or directory&lt;BR /&gt;&lt;BR /&gt;This error message is present only when I add the following lines to the /etc/profile&lt;BR /&gt;&lt;BR /&gt;if [ $USER = "oracle" ]; then&lt;BR /&gt;    if [$SHELL = "/bin/ksh" ]; then&lt;BR /&gt;        ulimit -p 16384&lt;BR /&gt;        ulimit -n 65536&lt;BR /&gt;    else&lt;BR /&gt;        ulimit -u 16384 -n 65536&lt;BR /&gt;    fi&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;The "/bin/bash" file does exist.&lt;BR /&gt;&lt;BR /&gt;If I delete the lines showed (from the /etc/profile the error messages does not appear anymore.&lt;BR /&gt;&lt;BR /&gt;This lines was extracted from the oracle manual and never have had this problem.&lt;BR /&gt;&lt;BR /&gt;Any idea?</description>
      <pubDate>Wed, 10 May 2006 10:40:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785915#M23314</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2006-05-10T10:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: /bin/bash not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785916#M23315</link>
      <description>Is that a exact copy paste of the profile? Ensure that you have a space between the [ ] and the test, that is:&lt;BR /&gt;&lt;BR /&gt;if&lt;SPACE&gt;[&lt;SPACE&gt;$USER="oracle"&lt;SPACE&gt;];&lt;SPACE&gt;then&lt;BR /&gt;if&lt;SAPACE&gt;[&lt;SPACE&gt;$SHELL="/bin/ksh"&lt;SPACE&gt;];&lt;SPACE&gt;then&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SAPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;</description>
      <pubDate>Wed, 10 May 2006 10:53:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785916#M23315</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-05-10T10:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: /bin/bash not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785917#M23316</link>
      <description>It is a "copy and paste" of the part I have added.&lt;BR /&gt;</description>
      <pubDate>Wed, 10 May 2006 10:57:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785917#M23316</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2006-05-10T10:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: /bin/bash not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785918#M23317</link>
      <description>Problem solved. I omitted an space before the "$SHELL" variable.&lt;BR /&gt;THANK YOU!</description>
      <pubDate>Wed, 10 May 2006 11:08:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785918#M23317</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2006-05-10T11:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: /bin/bash not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785919#M23318</link>
      <description>Hi Tonatiuh,&lt;BR /&gt;&lt;BR /&gt;you should have /bin/bash shell for many scripts that are created by oracle.&lt;BR /&gt;&lt;BR /&gt;you can run following command to check to see if you have bash shell installed on your system or not.&lt;BR /&gt;#rpm -qa --queryformat '%10{NAME} %20{GROUP}\n' | grep -i shells&lt;BR /&gt;&lt;BR /&gt;also you can check to see if you have bach shell doc has been install on your system.&lt;BR /&gt;#rpm -qid bash&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sung</description>
      <pubDate>Wed, 10 May 2006 11:11:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785919#M23318</guid>
      <dc:creator>Sung Oh</dc:creator>
      <dc:date>2006-05-10T11:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: /bin/bash not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785920#M23319</link>
      <description>By the way, why do you modify the /etc/profile for this and not the ~oracle/.profile?&lt;BR /&gt;It seems like a modification only for the oracle user...&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Wed, 10 May 2006 14:07:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bin-bash-not-found/m-p/3785920#M23319</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2006-05-10T14:07:45Z</dc:date>
    </item>
  </channel>
</rss>

