サーバーをapt-get update && apt-get upgrade
で更新した後、このコマンドはエラーを返します
echo "the-password" | sshfs [email protected]:/var/www /remote_mount -o password_stdin
Debian 3.2.60-1+deb7u3 x86_64 (wheezy)
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 ([email protected]) (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 ~ # apt-get install --reinstall linux-image-generic linux-image
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-image is a virtual package provided by:
linux-image-3.2.0-4-rt-AMD64 3.2.60-1+deb7u3
linux-image-3.2.0-4-AMD64 3.2.60-1+deb7u3
You should explicitly select one to install.
E: Unable to locate package linux-image-generic
E: Package 'linux-image' has no installation candidate
カーネルもアップグレードしたと思いますよね? apt-get
ログを確認してください。もし、そうなら:
reboot
そのような単純な。カーネルをアップグレードしましたが、カーネルにとって新しすぎるカーネルモジュールをロードしようとしています。
あなたが尋ねたことではありませんが、echo <password> | ..
は通常パスワードに~/.bash_history
に保存されることに注意してください。公的にアクセス可能なサーバーでroot
ログインを使用しているように見えるため、これは特に危険です。