LoginSignup
2
4

More than 5 years have passed since last update.

Raspberry Pi 3: NFSサーバーの自動起動ではまったので覚書(暫定対処)

Last updated at Posted at 2016-04-09

Raspbianにnfs-kernel-serverを入れてrebootしたらnfsが自動起動しない現象に出会う

  • Operating System: Raspbian GNU/Linux 8 (jessie)
  • Kernel: Linux 4.1.19-v7+

nfsサーバーのステータスを見たら

「Not starting: portmapper is not running ... (warning).」

と出てて、スタート出来ていない。

この状態で「sudo /etc/init.d/nfs-kernel-server restart」を実行すると普通に起動。

どうも、ネットワークの準備が出来る前にnfs-kernel-serverが動いている模様。

暫定対処

/etc/rc.localに下を追加

sleep 3
/etc/init.d/nfs-kernel-server restart

これで、reboot時にちゃんとサービスが起動。・・・時間がある時に調べよう

2
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
4