<?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: $PATH not being read?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274953#M179336</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;as mentioned, edit .profile, and insert ":/usr/local/bin" to the end of the PATH variable, i.e.&lt;BR /&gt;&lt;BR /&gt;PATH=/usr/sbin:$PATH:/sbin:/home/root:/opt/seri/bin/:/usr/local/bin&lt;BR /&gt;&lt;BR /&gt;logout and login again.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
    <pubDate>Thu, 13 May 2004 04:07:48 GMT</pubDate>
    <dc:creator>Joseph Loo</dc:creator>
    <dc:date>2004-05-13T04:07:48Z</dc:date>
    <item>
      <title>$PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274945#M179328</link>
      <description>Hi,&lt;BR /&gt;please help...&lt;BR /&gt;i have an executable named 'pong' :&lt;BR /&gt;# whereis pong&lt;BR /&gt;pong: /usr/local/bin/pong /opt/seri/bin/pong&lt;BR /&gt;&lt;BR /&gt;i am logged in as root [on console and remotely via reflection1]&lt;BR /&gt;[.profile]&lt;BR /&gt;PATH=/usr/sbin:$PATH:/sbin:/home/root:/opt/seri/bin/&lt;BR /&gt;&lt;BR /&gt;when i execute on local console, this is what i get [which is correct]&lt;BR /&gt;# pong server1&lt;BR /&gt;'server1' SERI is alive (channels: 4 maximum; 4 free)&lt;BR /&gt;'server1' SERI version = 3.0/0 for HP-UX B.11.00&lt;BR /&gt;&lt;BR /&gt;when i execute on remote connection [logged in via reflection1, as root]&lt;BR /&gt;# pong server1&lt;BR /&gt;sh: pong:  not found.&lt;BR /&gt;# whereis pong&lt;BR /&gt;pong: /usr/local/bin/pong /opt/seri/bin/pong&lt;BR /&gt;&lt;BR /&gt;if i will execute using the absolute path, the command will work...&lt;BR /&gt;&lt;BR /&gt;Where else do i need to look?&lt;BR /&gt;Please help.. &lt;BR /&gt;&lt;BR /&gt;Thank you...&lt;BR /&gt;ann&lt;BR /&gt;</description>
      <pubDate>Thu, 13 May 2004 03:09:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274945#M179328</guid>
      <dc:creator>Mary Ann Lipa</dc:creator>
      <dc:date>2004-05-13T03:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: $PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274946#M179329</link>
      <description>Ann&lt;BR /&gt;&lt;BR /&gt;try &lt;BR /&gt;&lt;BR /&gt;echo $PATH&lt;BR /&gt;&lt;BR /&gt;to find out what your path is when logged in for starters&lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Thu, 13 May 2004 03:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274946#M179329</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2004-05-13T03:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: $PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274947#M179330</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;try:&lt;BR /&gt;&lt;BR /&gt;# echo $PATH|grep local&lt;BR /&gt;any output, if not, it means /usr/local/bin is not in the PATH.&lt;BR /&gt;&lt;BR /&gt;if you need it in the PATH, edit your .profile to include.&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 May 2004 03:15:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274947#M179330</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-05-13T03:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: $PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274948#M179331</link>
      <description>See if you are using bash shell then you need to set the path in .bashrc of root in order to inherit that PATH varible in reflectionX session.&lt;BR /&gt;&lt;BR /&gt;If it is C shell then do it in .cshrc&lt;BR /&gt;For psoix it is .shrc&lt;BR /&gt;Hope this solves your problem.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 May 2004 03:20:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274948#M179331</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-05-13T03:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: $PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274949#M179332</link>
      <description>thanks guys!&lt;BR /&gt;am checking on it, will update yous once i was able to log in...&lt;BR /&gt;Thanks again!&lt;BR /&gt;ann</description>
      <pubDate>Thu, 13 May 2004 03:29:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274949#M179332</guid>
      <dc:creator>Mary Ann Lipa</dc:creator>
      <dc:date>2004-05-13T03:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: $PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274950#M179333</link>
      <description>Your .profile isn't being read by your refelctions session.  You will probably need to set the PATH in your X startup file as well or, if using CDE you need to set "DTSOURCEPROFILE=true" in /usr/dt/config/sys.dtprofile.</description>
      <pubDate>Thu, 13 May 2004 03:31:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274950#M179333</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-05-13T03:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: $PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274951#M179334</link>
      <description>Is there a file called $HOME/.dtprofile ?&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Thu, 13 May 2004 03:50:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274951#M179334</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-05-13T03:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: $PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274952#M179335</link>
      <description>on my CDE session:&lt;BR /&gt;# echo $PATH&lt;BR /&gt;/usr/sbin:/bin:/usr/bin:/usr/dt/bin:/usr/bin/X11:/sbin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/fcms/bin:/usr/contrib/kwdb/bin:/opt/upgrade/bin:/usr/contrib/bin/X11:/opt/graphics/common/bin:/opt/ipf/bin:/opt/resmon/bin:/opt/sec_mgmt/bastille/bin:/opt/gnome/bin:/opt/perf/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/mozilla:/opt/Netscape:/opt/mx/bin:/opt/sec_mgmt/spc/bin:/opt/ignite/bin&lt;BR /&gt;# whoami&lt;BR /&gt;root&lt;BR /&gt;# who am i&lt;BR /&gt;# echo $SHELL&lt;BR /&gt;/sbin/sh&lt;BR /&gt;&lt;BR /&gt;on console:&lt;BR /&gt;echo $PATH&lt;BR /&gt;/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/fcms/bin:/usr/contrib/kwdb/bin:/opt/upgrade/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/graphics/common/bin:/opt/ipf/bin:/opt/resmon/bin:/opt/sec_mgmt/bastille/bin:/opt/gnome/bin:/opt/perf/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/mozilla:/opt/Netscape:/opt/mx/bin:/opt/sec_mgmt/spc/bin:/opt/ignite/bin:/sbin:/home/root:/opt/seri/bin/&lt;BR /&gt;# whoami&lt;BR /&gt;root&lt;BR /&gt;# who am i&lt;BR /&gt;# echo $SHELL&lt;BR /&gt;/sbin/sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;please help....&lt;BR /&gt;thanks!!!&lt;BR /&gt;ann</description>
      <pubDate>Thu, 13 May 2004 04:03:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274952#M179335</guid>
      <dc:creator>Mary Ann Lipa</dc:creator>
      <dc:date>2004-05-13T04:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: $PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274953#M179336</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;as mentioned, edit .profile, and insert ":/usr/local/bin" to the end of the PATH variable, i.e.&lt;BR /&gt;&lt;BR /&gt;PATH=/usr/sbin:$PATH:/sbin:/home/root:/opt/seri/bin/:/usr/local/bin&lt;BR /&gt;&lt;BR /&gt;logout and login again.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Thu, 13 May 2004 04:07:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274953#M179336</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-05-13T04:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: $PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274954#M179337</link>
      <description>Hi Ann,&lt;BR /&gt;&lt;BR /&gt;Check your $HOME/.dtprofile for the last line, should be uncommented.&lt;BR /&gt;&lt;BR /&gt;DTSOURCEPROFILE=true&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 13 May 2004 04:09:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274954#M179337</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-05-13T04:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: $PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274955#M179338</link>
      <description>Ann&lt;BR /&gt;&lt;BR /&gt;technicall you are not loggin as root you are running an X session as root. The paths you have shown us is that of an Xsession.&lt;BR /&gt;&lt;BR /&gt;cd ~&lt;BR /&gt;grep /usr/bin/X11 .* &lt;BR /&gt;&lt;BR /&gt;this will tell you which file the PATH is being extracted from by comapring the output paths with your path from the command line, once you know this you can append one of the two paths to pong.&lt;BR /&gt;&lt;BR /&gt;:-) John.</description>
      <pubDate>Thu, 13 May 2004 04:17:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274955#M179338</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2004-05-13T04:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: $PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274956#M179339</link>
      <description>Thank you guys!!!&lt;BR /&gt;its working now!!&lt;BR /&gt;&lt;BR /&gt;really appreciated all the help!!!&lt;BR /&gt;&lt;BR /&gt;you all rock!&lt;BR /&gt;&lt;BR /&gt;ann</description>
      <pubDate>Thu, 13 May 2004 22:01:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274956#M179339</guid>
      <dc:creator>Mary Ann Lipa</dc:creator>
      <dc:date>2004-05-13T22:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: $PATH not being read??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274957#M179340</link>
      <description>Hey Ann,&lt;BR /&gt;Your PATH needs to be updated and Joseph Loo&lt;BR /&gt;provided the correct information on updating your profile, however, you don't ahve to logout and login again. You can just source your profile after you make the change, i.e.&lt;BR /&gt;# . ./.profile&lt;BR /&gt;&lt;BR /&gt;Best of luck!</description>
      <pubDate>Thu, 13 May 2004 22:37:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-not-being-read/m-p/3274957#M179340</guid>
      <dc:creator>Dani Seely</dc:creator>
      <dc:date>2004-05-13T22:37:14Z</dc:date>
    </item>
  </channel>
</rss>

