采用service rpcbind status 后,命令被导向到 systemctlstatus rpcbind.service
好像是fedora20的服务启动用法发生改变了
2.
systemctl start rpcbind.service后没显示什么错误提示
但是systemctl status rpcbind.service后,有错误提示:
rpcbind.service - RPC bind service
Loaded: loaded(/usr/lib/systemd/system/rpcbind.service; static)
Active: active (running) since五 2014-08-01 13:05:47 CST; 10min ago
Process: 2151 ExecStart=/sbin/rpcbind -w${RPCBIND_ARGS} (code=exited, status=0/SUCCESS)
Main PID: 2152 (rpcbind)
CGroup:/system.slice/rpcbind.service
└─2152 /sbin/rpcbind -w
8月 01 13:05:47 localhost.localdomain rpcbind[2152]: Cannot open'/var/lib/rpcbind/rpcbind.xdr' file for reading, errno 2 (Nosuch...ctory)
8月 01 13:05:47 localhost.localdomain rpcbind[2152]: Cannot open'/var/lib/rpcbind/portmap.xdr' file for reading, errno 2 (Nosuch...ctory)
8月 01 13:05:47 localhost.localdomain systemd[1]: Started RPC bindservice.
8月 01 13:14:41 localhost.localdomain systemd[1]: Started RPC bindservice.
8月 01 13:15:05 localhost.localdomain systemd[1]: Started RPC bindservice.
Hint: Some lines were ellipsized, use -l to show in full.
错误未知
好像不算致命错误,先不追究了
3

systemctl restart nfs.service
Job for nfs-server.service failed. See 'systemctl statusnfs-server.service' and 'journalctl -xn' for details.
没建立/etc/exports里的目录,啊啊啊~~~我的两个小时阿