Hi Steven,
Steven Taylor schrieb am 15. Jul 2010 um 03:58:54 CEST:
> Thanks, looks like it will be useful. Have a problem though - getting this
> error:
> 
> lsof: WARNING: can't stat() fuse.ltspfs file system
> /tmp/.test1-ltspfs/-mmcblk0p1
> Output information may be incomplete.
> lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system
> /home/test1/.gvfs
> Output information may be incomplete.
> 
> I don't know for sure, but I think that /home/test1/.gvfs is only readable
> by the user, when nbdstat is run by root, I get the above errors. Any ideas?

this seems to be an error unrelated to ltsp. On my ltsp/nbd-server, there's no
fuse module loaded. Googling for

    "lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system"

points to several bugreports concerning sound on ubuntu systems, e.g.:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/315824

You either could fix this problem or you change the perl script at line 38f 
from:

   my @nbdswapd_in = `lsof |grep ^nbd-serv |grep '(ESTABLISHED)'`;
   my @images_in   = `lsof |grep ^nbd-serv |grep '/opt/ltsp/images'`;

   to:

   my @nbdswapd_in = `lsof 2>&1|grep ^nbd-serv |grep '(ESTABLISHED)'`;
   my @images_in   = `lsof 2>&1|grep ^nbd-serv |grep '/opt/ltsp/images'`;

This pipes STDERR from lsof to STDOUT and makes it filtered out by grep.

HTH
Helmut

-- 
-------------------------------------------------------------------------
Helmut Lichtenberg  <[email protected]>  Tel.: 05034/871-128
Institut für Nutztiergenetik (FLI)         31535 Neustadt         Germany
-------------------------------------------------------------------------

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to