fedora 16下配置nfs、ftp服务遇到的两个问题总结,备忘备查,转载请注明出处,商业用途请联系本人

fedora 16下配置nfs、ftp服务遇到的两个问题总结,备忘备查,转载请注明出处,商业用途请联系本人

http://blog.csdn.net/chinaye1/article/details/7047094


service vsftpd start时出错信息如下

Redirecting to /bin/systemctl start vsftpd.service Failed to issue method call: Unit vsftpd.service failed to load: No such file or directory. See system logs and 'systemctl status vsftpd.service' for details.

解决方法,由于fedora 16下好多服务的配置已改变方法。如下命令

$ sudo systemctl enable [email protected]

$ sudo systemctl start [email protected]

参考网页

http://ask.fedoraproject.org/question/242/unable-to-start-vsftpd-on-fedora-16


启动nfs服务时总是挂载不上,出现错误很多,如下

开nfs服务时,Failed to issue method call: Unit nfs.service failed to load: No such file or directory. See system logs and 'systemctl status nfs.service' for details.

mount时,mount.nfs: Connection timed out

showmount时,clnt_create: RPC: Timed out


解决方法,由于fedora 16下好多服务的配置已改变方法。如下命令

[root@tower20 ~]# systemctl status nfs.service
nfs.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
[root@tower20 ~]# systemctl status nfs-server.service
nfs-server.service - NFS Server
Loaded: loaded (/lib/systemd/system/nfs-server.service; disabled)
Active: inactive (dead)
CGroup: name=systemd:/system/nfs-server.service

[root@localhost system]# service nfs-server start
Redirecting to /bin/systemctl  start nfs-server.service
[root@localhost system]# systemctl status nfs-server.service
nfs-server.service - NFS Server
      Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled)
      Active: active (running) since Tue, 06 Dec 2011 17:40:27 +0800; 4s ago
上面才是开启了nfs服务

之后就可以正常挂载了

参考网页

http://forums.fedoraforum.org/archive/index.php/t-272648.html

你可能感兴趣的:(linux服务配置,system,service,file,server)