Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux sshfs-找不到设备_Linux_Ssh_Debian_Sshfs - Fatal编程技术网

Linux sshfs-找不到设备

Linux sshfs-找不到设备,linux,ssh,debian,sshfs,Linux,Ssh,Debian,Sshfs,使用apt get update&&apt get upgrade更新服务器后,此命令返回错误 操作系统 命令 错误 更新 内核版本 root@dyntest-amd-3700-2gb ~ # cat /proc/version Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.54-2 root@dynte

使用
apt get update&&apt get upgrade
更新服务器后,此命令返回错误

操作系统 命令 错误 更新

内核版本

root@dyntest-amd-3700-2gb ~ # cat /proc/version
Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.54-2

root@dyntest-amd-3700-2gb ~ # locate -i -r /fuse
/bin/fuser
/bin/fusermount
/etc/fuse.conf
/lib/modules/3.2.0-4-amd64/kernel/fs/fuse
/lib/modules/3.2.0-4-amd64/kernel/fs/fuse/cuse.ko
/lib/modules/3.2.0-4-amd64/kernel/fs/fuse/fuse.ko
/lib/modules-load.d/fuse.conf
/usr/include/boost/fusion/functional/adapter/fused.hpp
/usr/include/boost/fusion/functional/adapter/fused_function_object.hpp
/usr/include/boost/fusion/functional/adapter/fused_procedure.hpp
/usr/include/boost/fusion/include/fused.hpp
/usr/include/boost/fusion/include/fused_function_object.hpp
/usr/include/boost/fusion/include/fused_procedure.hpp
/usr/include/linux/fuse.h
/usr/share/bash-completion/completions/fusermount
/usr/share/doc/fuse
/usr/share/doc/fuse/changelog.Debian.gz
/usr/share/doc/fuse/changelog.gz
/usr/share/doc/fuse/copyright
/usr/share/initramfs-tools/hooks/fuse
/usr/share/lintian/overrides/fuse
/usr/share/man/man1/fuser.1.gz
/usr/share/man/man1/fusermount.1.gz
/var/cache/apt/archives/fuse_2.9.0-2+deb7u1_amd64.deb
/var/cache/apt/archives/fuse_2.9.3-14_amd64.deb
/var/cache/apt/archives/fuse_2.9.3-15_amd64.deb
/var/cache/apt/archives/fuse_2.9.3-9_amd64.deb
/var/lib/dpkg/info/fuse.conffiles
/var/lib/dpkg/info/fuse.list
/var/lib/dpkg/info/fuse.md5sums
/var/lib/dpkg/info/fuse.postinst
/var/lib/dpkg/info/fuse.postrm
/var/lib/dpkg/info/fuse.preinst
更新#2
root@dyntest-amd-3700-2gb/var/www#modinfo fuse
文件名:/lib/modules/3.2.0-4-amd64/kernel/fs/fuse/fuse.ko
别名:devname:fuse
别名:char-major-10-229
许可证:GPL
描述:用户空间中的文件系统
作者:Miklos Szeredi
取决于:
intree:Y
vermagic:3.2.0-4-amd64 SMP模块卸载模块版本
parm:max_user_bgreq:非特权用户可以设置的最大后台请求数的全局限制(uint)
parm:max\u user\u congthresh:非特权用户可以设置的最大拥塞阈值的全局限制(uint)

首先,您可以尝试从缓存安装模块

apt缓存搜索保险丝

如果这不起作用--- 您可以使用模块助手安装保险丝模块

apt获取安装模块助手

安装保险丝源

cd/usr/src

并购准备

m-a-i保险丝

depmod-ae$(uname-r)

现在你可以

modprobe fuse

似乎有一个解决方案——基本上是升级内核


顺便说一句。根据Luis Henriques和Al Viro在上的一次交换,原因是内核中的API重命名将FUSE标志与另一个更通用的标志合并。

可能是一个愚蠢的问题,但您是否尝试过
modprobe FUSE
?这个问题应该在superuser.com或unix.stackexchange.com上。您将
modprobe放在哪里使用
sshfs
融合到语法中?您是否也更新了内核?如果是,您可能需要重新启动。请在
/var/log/messages
中检查fuse,并使用内核和fuse包版本更新问题。也许这比你想象的更容易,你只需要这么做。这是绝对正确的答案,尽管如果你没有内核重新编译的经验,这有点模糊。并非所有Linux发行版都在内核模块中默认设置了FUSE标志。Debian和Gentoo是这里的罪犯。更新内核标志以启用FUSE是一个过程,这取决于您使用的操作系统。当你用FUSE重新编译你的内核时,你可以运行
modprobe FUSE
和sshfs,它就不再抱怨FUSE了。
E:找不到包FUSE源代码
,我做了
更新
,你知道它在哪里吗?
echo "the-password" | sshfs root@domain.com:/var/www /remote_mount -o password_stdin
fuse: device not found, try 'modprobe fuse' first
root@dyntest-amd-3700-2gb ~ # modprobe fuse
modprobe: ERROR: could not insert 'fuse': Unknown symbol in module, or unknown parameter (see dmesg)
root@dyntest-amd-3700-2gb ~ # dmesg | grep fuse
[   20.126156] fuse: Unknown symbol nosteal_pipe_buf_ops (err 0)
[1607702.343086] fuse: Unknown symbol nosteal_pipe_buf_ops (err 0)
[1607745.824310] fuse: Unknown symbol nosteal_pipe_buf_ops (err 0)
[1607908.188559] fuse: Unknown symbol nosteal_pipe_buf_ops (err 0)
[1608724.690945] fuse: Unknown symbol nosteal_pipe_buf_ops (err 0)
[1608741.684927] fuse: Unknown symbol nosteal_pipe_buf_ops (err 0)
[2565283.964259] fuse: Unknown symbol nosteal_pipe_buf_ops (err 0)
root@dyntest-amd-3700-2gb ~ # cat /proc/version
Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.54-2

root@dyntest-amd-3700-2gb ~ # locate -i -r /fuse
/bin/fuser
/bin/fusermount
/etc/fuse.conf
/lib/modules/3.2.0-4-amd64/kernel/fs/fuse
/lib/modules/3.2.0-4-amd64/kernel/fs/fuse/cuse.ko
/lib/modules/3.2.0-4-amd64/kernel/fs/fuse/fuse.ko
/lib/modules-load.d/fuse.conf
/usr/include/boost/fusion/functional/adapter/fused.hpp
/usr/include/boost/fusion/functional/adapter/fused_function_object.hpp
/usr/include/boost/fusion/functional/adapter/fused_procedure.hpp
/usr/include/boost/fusion/include/fused.hpp
/usr/include/boost/fusion/include/fused_function_object.hpp
/usr/include/boost/fusion/include/fused_procedure.hpp
/usr/include/linux/fuse.h
/usr/share/bash-completion/completions/fusermount
/usr/share/doc/fuse
/usr/share/doc/fuse/changelog.Debian.gz
/usr/share/doc/fuse/changelog.gz
/usr/share/doc/fuse/copyright
/usr/share/initramfs-tools/hooks/fuse
/usr/share/lintian/overrides/fuse
/usr/share/man/man1/fuser.1.gz
/usr/share/man/man1/fusermount.1.gz
/var/cache/apt/archives/fuse_2.9.0-2+deb7u1_amd64.deb
/var/cache/apt/archives/fuse_2.9.3-14_amd64.deb
/var/cache/apt/archives/fuse_2.9.3-15_amd64.deb
/var/cache/apt/archives/fuse_2.9.3-9_amd64.deb
/var/lib/dpkg/info/fuse.conffiles
/var/lib/dpkg/info/fuse.list
/var/lib/dpkg/info/fuse.md5sums
/var/lib/dpkg/info/fuse.postinst
/var/lib/dpkg/info/fuse.postrm
/var/lib/dpkg/info/fuse.preinst
root@dyntest-amd-3700-2gb /var/www # modinfo fuse
filename:       /lib/modules/3.2.0-4-amd64/kernel/fs/fuse/fuse.ko
alias:          devname:fuse
alias:          char-major-10-229
license:        GPL
description:    Filesystem in Userspace
author:         Miklos Szeredi <miklos@szeredi.hu>
depends:
intree:         Y
vermagic:       3.2.0-4-amd64 SMP mod_unload modversions
parm:           max_user_bgreq:Global limit for the maximum number of backgrounded requests an unprivileged user can set (uint)
parm:           max_user_congthresh:Global limit for the maximum congestion threshold an unprivileged user can set (uint)