[問題]nfs server

這個版面主要討論 debian 在 server 端的應用問題, server 種類繁多..舉凡 Web Server 、 File Server、 DHCP Server..等等。

版主: 阿信

文章ncowboy » 週五 11月 17, 2006 4:36 pm

root@WAP-GW-BMCC-006:~# apt-get install --reinstall nfs-common nfs-kernel-server portmap
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 142 not upgraded.
1 packages not fully installed or removed.
Need to get 0B/80.2kB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] y
(Reading database ... 16331 files and directories currently installed.)
Preparing to replace nfs-common 1:1.0.6-3.1 (using .../nfs-common_1%3a1.0.6-3.1_i386.deb) ...
Unpacking replacement nfs-common ...
Preparing to replace portmap 5-9 (using .../archives/portmap_5-9_i386.deb) ...
Stopping portmap daemon: portmap.
Unpacking replacement portmap ...
Setting up portmap (5-9) ...
Starting portmap daemon: portmap.
Restoring old RPC service information...done.

Setting up nfs-common (1.0.6-3.1) ...
Stopping NFS common utilities: statd.
Starting NFS common utilities: statd.

Setting up nfs-kernel-server (1.0.6-3.1) ...
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon...done.
Exporting directories for NFS kernel daemon...done.
Starting NFS kernel daemon: nfsdinvoke-rc.d: initscript nfs-kernel-server, action "restart" failed.
dpkg: error processing nfs-kernel-server (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
nfs-kernel-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@WAP-GW-BMCC-006:~#


按照上面的提示,可是我还是操作不成功。请问这是为何阿?
ncowboy
可愛的小學生
可愛的小學生
 
文章: 2
註冊時間: 週五 11月 17, 2006 4:33 pm

文章訪客 » 週六 4月 19, 2008 12:25 am

我也有相同的問題,後來找到解決方法。
參考:http://welearning.taipei.gov.tw/modules/newbb/viewtopic.php?topic_id=2608

顯示RPC問題,表示是portmap的設定有問題。
可以 cat (或vi) /etc/default/portmap
看是否有OPTIONS="-i 127.0.0.1" ,若有可將之移除,或加#號。
再來
sudo /etc/init.d/portmap restart
sudo /etc/init.d/nfs-kernel-server restart

在client端:sudo showmount -e server端(host or IP)

以上是我的解決方式,希望可以幫到你。
訪客
 

上一頁

回到 debian server

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客