[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lsof -- "No such file or directory"...?



>>> will trillich writes:

  Will> # apt-get install lsof
  Will> Reading package lists... Done
  Will> Building dependency tree... Done
  Will> The following NEW packages will be installed
  Will>   lsof
  Will> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Will> Need to get 0B/205kB of archives.
  Will> After unpacking 369kB of additional disk space will be used.
  Will> Selecting previously deselected package lsof.
  Will> (Reading database ... 49097 files and directories currently installed.)
  Will> Unpacking lsof (from .../lsof_4.77.dfsg.1-3_i386.deb) ...
  Will> Setting up lsof (4.77.dfsg.1-3) ...
  Will>   
  Will> # lsof -i
  Will> bash: /usr/sbin/lsof: No such file or directory

Shouldn't that be "/usr/bin/lsof" (note 'bin' and not 'sbin')?

  Will> say what?
  Will>   
  Will> # ls -l `which lsof`
  Will> -rwxr-xr-x 1 root root 106324 2006-05-15 18:09 /usr/bin/lsof*
  Will>
  Will> eh? any ideas?
   
What happens when you run /usr/bin/lsof?
What about when you run /usr/sbin/lsof?

Howzabout: "file /usr/sbin/lsof" and maybe "head /usr/sbin/lsof"?

Maybe /usr/sbin/lsof is some kind of script and the interpreter
it's calling for isn't available on your system...?

Just my $0.02...

- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto     <bbenedetto@goodyear.com>    The Goodyear Tire & Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.



Reply to: