<?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: command not found --Help me please! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164237#M160004</link>
    <description>Wow, this is catastrophic! /sbin is a crucial system directory that contains not only 100+ commands that are required for single user mode, but the entire bootup and shutdown structure is missing. DON'T rebot your server!!!  Get a backup tape out and restore /sbin and all the directories immediately or you may never get the machine back up again!</description>
    <pubDate>Wed, 14 Jan 2004 23:45:07 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2004-01-14T23:45:07Z</dc:date>
    <item>
      <title>command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164222#M159989</link>
      <description>Today,I find that some commands can't be executed with Error:not found.&lt;BR /&gt;Example:&lt;BR /&gt;#ioscan -fnkCdisk&lt;BR /&gt;/sbin/sh : ioscan not found.&lt;BR /&gt;#dmesg&lt;BR /&gt;/sbin/sh : dmesg not found&lt;BR /&gt;#shutdown&lt;BR /&gt;...........................&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jan 2004 10:07:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164222#M159989</guid>
      <dc:creator>milaren</dc:creator>
      <dc:date>2004-01-14T10:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164223#M159990</link>
      <description>It sounds like /usr/sbin has been dropped from  your path.  You can add it back in by doing this:&lt;BR /&gt;&lt;BR /&gt;export PATH=/usr/sbin:$PATH&lt;BR /&gt;&lt;BR /&gt;or you could just log out and log back in again - going through your login profile sequence should reset the path.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 14 Jan 2004 10:10:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164223#M159990</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-01-14T10:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164224#M159991</link>
      <description>Hi milaren,&lt;BR /&gt;&lt;BR /&gt;Check your PATH - echo $PATH&lt;BR /&gt;Appears you're not pathed through /usr/sbin where all these commands reside.&lt;BR /&gt;Add it with - export PATH=/usr/sbin:$PATH&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 14 Jan 2004 10:10:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164224#M159991</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-01-14T10:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164225#M159992</link>
      <description>What is your PATH environment variable?  ioscan, dmesg and shutdown are all in the /usr/sbin directory.  I suspect your PATH has been modified so that /usr/sbin is no longer there.&lt;BR /&gt;&lt;BR /&gt;Try the following:&lt;BR /&gt;&lt;BR /&gt;# echo $PATH&lt;BR /&gt;&lt;BR /&gt;See what is there.&lt;BR /&gt;&lt;BR /&gt;# export PATH=/usr/sbin:$PATH&lt;BR /&gt;&lt;BR /&gt;To add /usr/sbin back.</description>
      <pubDate>Wed, 14 Jan 2004 10:11:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164225#M159992</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-01-14T10:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164226#M159993</link>
      <description>Check your PATH variable.&lt;BR /&gt;&lt;BR /&gt;do this and try &lt;BR /&gt;&lt;BR /&gt;#PATH=$PATH:/usr/sbin:/usr/bin;export PATH&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Wed, 14 Jan 2004 10:13:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164226#M159993</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2004-01-14T10:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164227#M159994</link>
      <description>Looks like something is missing in your path.  Can you include an echo $PATH display.  Or even better yet, add /usr/sbin (cause that's where these are located) to your PATH.</description>
      <pubDate>Wed, 14 Jan 2004 10:14:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164227#M159994</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2004-01-14T10:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164228#M159995</link>
      <description>silly question, but do these commands actually exist? I.E. are they there or have they been deleted somehow?&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jan 2004 10:32:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164228#M159995</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2004-01-14T10:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164229#M159996</link>
      <description>If a path issue, I'd be concerned as to how PATH was altered. I'd not log out until I knew. (is entire .profile missing, for instance)&lt;BR /&gt;&lt;BR /&gt;A quick su - myusername would read it again, then echo $PATH to see if it's different.</description>
      <pubDate>Wed, 14 Jan 2004 10:55:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164229#M159996</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2004-01-14T10:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164230#M159997</link>
      <description>First check your path:&lt;BR /&gt;&lt;BR /&gt;echo $PATH&lt;BR /&gt;&lt;BR /&gt;If /usr/sbin is missing then add it:&lt;BR /&gt;&lt;BR /&gt;export PATH=/usr/sbin:$PATH&lt;BR /&gt;&lt;BR /&gt;if /usr/sbin is in your path then go look to see if those programs exist.&lt;BR /&gt;&lt;BR /&gt;ls /usr/sbin | more&lt;BR /&gt;&lt;BR /&gt;If they don't you can search the system for them:&lt;BR /&gt;&lt;BR /&gt;find / -name "ioscan"&lt;BR /&gt;find / -name "dmesg"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jan 2004 12:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164230#M159997</guid>
      <dc:creator>Sean OB_1</dc:creator>
      <dc:date>2004-01-14T12:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164231#M159998</link>
      <description># pwd&lt;BR /&gt;/usr/sbin&lt;BR /&gt;# ll |grep dmesg&lt;BR /&gt;lrwxr-xr-x   1 root       root            11 Nov 22  2002 dmesg -&amp;gt; /sbin/dmesg&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jan 2004 20:53:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164231#M159998</guid>
      <dc:creator>milaren</dc:creator>
      <dc:date>2004-01-14T20:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164232#M159999</link>
      <description>Please report exactly what these commands do.&lt;BR /&gt;&lt;BR /&gt;# echo $PATH&lt;BR /&gt;&lt;BR /&gt;# ls -l /sbin/dmesg&lt;BR /&gt;&lt;BR /&gt;# ls -l /sbin/ioscan</description>
      <pubDate>Wed, 14 Jan 2004 20:58:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164232#M159999</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-01-14T20:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164233#M160000</link>
      <description>#echo $PATH&lt;BR /&gt;/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/b&lt;BR /&gt;in:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/hparray/b&lt;BR /&gt;in:/opt/networker/bin:/opt/OV/bin/OpC:/opt/OV/bin:/usr/sbin:/usr/sbin/:/opt/java&lt;BR /&gt;1.3/bin&lt;BR /&gt;# ls -l /sbin/dmesg&lt;BR /&gt;/sbin/dmesg not found&lt;BR /&gt;# ls -l /sbin&lt;BR /&gt;total 1360&lt;BR /&gt;-r-xr-xr-x   1 bin        bin         282624 Feb  6  1998 init&lt;BR /&gt;dr-xr-xr-x   2 root       sys             96 Jan 12 13:02 init.d&lt;BR /&gt;-r-xr-xr-x   1 bin        bin         413696 Apr 27  1999 sh&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jan 2004 21:03:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164233#M160000</guid>
      <dc:creator>milaren</dc:creator>
      <dc:date>2004-01-14T21:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164234#M160001</link>
      <description>Looks like you're missing commands from /sbin, period.&lt;BR /&gt;Somebody didn't fumble an "rm -rf *" command, did they?&lt;BR /&gt;(Happens not often, but more often than some would admit)&lt;BR /&gt;&lt;BR /&gt;Just a thought. I'd look to recent backups and restore.&lt;BR /&gt;Worst case, grab what you see missing, from another machine.&lt;BR /&gt;Still... you may have other things missing that you&lt;BR /&gt;won't spot right away. Restore it all if you have the backups.&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jan 2004 21:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164234#M160001</guid>
      <dc:creator>Chris Watkins_1</dc:creator>
      <dc:date>2004-01-14T21:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164235#M160002</link>
      <description>Someone has had little turn of 'rm' from your system. If not you then, the first thing to do would be to change the 'root' password and then find some very recent backup tapes to see if you can recover the missing files. You might want to also compare some of the important directories from another system as well. If they are patched to the same level and are the same OS version, you could just copy these missing binaries across.</description>
      <pubDate>Wed, 14 Jan 2004 21:23:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164235#M160002</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-01-14T21:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164236#M160003</link>
      <description>thank you very much for all your help!&lt;BR /&gt;Thanks!</description>
      <pubDate>Wed, 14 Jan 2004 21:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164236#M160003</guid>
      <dc:creator>milaren</dc:creator>
      <dc:date>2004-01-14T21:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164237#M160004</link>
      <description>Wow, this is catastrophic! /sbin is a crucial system directory that contains not only 100+ commands that are required for single user mode, but the entire bootup and shutdown structure is missing. DON'T rebot your server!!!  Get a backup tape out and restore /sbin and all the directories immediately or you may never get the machine back up again!</description>
      <pubDate>Wed, 14 Jan 2004 23:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164237#M160004</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-01-14T23:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164238#M160005</link>
      <description>my god!&lt;BR /&gt;how about i copy the /sbin from another machine?</description>
      <pubDate>Thu, 15 Jan 2004 01:53:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164238#M160005</guid>
      <dc:creator>milaren</dc:creator>
      <dc:date>2004-01-15T01:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164239#M160006</link>
      <description>good plan, but only from a matching architecture. No 11i to 10.20 copy, that would ruin your day&lt;BR /&gt;&lt;BR /&gt;use tar or cpio to preserve owner, group and access rights&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 15 Jan 2004 02:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164239#M160006</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-01-15T02:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: command not found --Help me please!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164240#M160007</link>
      <description>My first choice would have to be the restore method, but you could try copying from another machine.  Fortunately, cp, rcp, tar and the like reside in /usr/bin.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 15 Jan 2004 06:18:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-not-found-help-me-please/m-p/3164240#M160007</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-01-15T06:18:21Z</dc:date>
    </item>
  </channel>
</rss>

