sudo /etc/init.d/portmap restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service portmap start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start portmap
haiyin@haiyin-desktop:~$ sudo /etc/init.d/portmap restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service portmap restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart portmap
portmap start/running, process 854
sudo /etc/init.d/nfs-kernel-server start 的两项都OK。
showmount -e时出现:clnt_create: RPC: Program not registered。。。
此外,发现/etc 下 没有/dfs/dfstab目录。。。
求高手解答。。。
[求助]nfs配置
-
- 帖子: 1
- 注册时间: 2006-11-07 23:29
Re: [求助]nfs配置
同命相连啊。 我的错误:
root@bryan-ubuntu:/etc/ssh# /etc/init.d/portmap restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service portmap restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart portmap
portmap start/running, process 690
root@bryan-ubuntu:/etc/ssh# /etc/init.d/nfs-kernel-server restart
* Stopping NFS kernel daemon [ OK ]
* Unexporting directories for NFS kernel daemon... [ OK ]
* Exporting directories for NFS kernel daemon... exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/nfsroot".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/utuLinux2.6".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x
[ OK ]
* Starting NFS kernel daemon [ OK ]
root@bryan-ubuntu:/etc/ssh# showmount -e
等待高人
root@bryan-ubuntu:/etc/ssh# /etc/init.d/portmap restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service portmap restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart portmap
portmap start/running, process 690
root@bryan-ubuntu:/etc/ssh# /etc/init.d/nfs-kernel-server restart
* Stopping NFS kernel daemon [ OK ]
* Unexporting directories for NFS kernel daemon... [ OK ]
* Exporting directories for NFS kernel daemon... exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/nfsroot".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/utuLinux2.6".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x
[ OK ]
* Starting NFS kernel daemon [ OK ]
root@bryan-ubuntu:/etc/ssh# showmount -e
等待高人
-
- 帖子: 62
- 注册时间: 2010-03-24 16:14
Re: [求助]nfs配置
我用sudo apt-get install nfs-kernel-server安装的,配置后重启后,没有遇到这样的问题
-
- 帖子: 122
- 注册时间: 2006-11-26 14:41
Re: [求助]nfs配置
sudo initctl start portmap
or
sudo initctl emit start-portmap
or
apt-get install upstart
or
apt-get install
or
apt-get install nfs-kernel-server
or
sudo initctl emit start-portmap
or
apt-get install upstart
or
apt-get install
or
apt-get install nfs-kernel-server