揮発性のメモ2

http://d.hatena.ne.jp/iww/

nfs-server起動

cygrunsrv -S portmap
cygrunsrv -S nfsd
cygrunsrv -S mountd
$ cygrunsrv -S portmap
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
そのサービスを開始できませんでした。

/var/log/portmap.log

C:\cygwin\usr\sbin\portmap.exe (3688): *** proc magic mismatch detected - 0x704D1F7E/0xD94C588A.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.

⇒DLLのバージョンが違うのでportmapが起動できない
⇒DLLへのパスがサービス起動時とシェルで異なっている
⇒このPCには別のCygwinDLLも入ってる(普段はそっち優先)
環境変数を修正


ファイアウォールはとりあえずナシ。きちんと行うには