[root@clone ~]# /etc/init.d/rpcbind restart
停止 rpcbind: [失败]
[root@clone ~]# /etc/init.d/nfs restart
关闭 NFS 守护进程: [失败]
关闭 NFS mountd: [失败]
关闭 NFS quotas: [失败]
两台虚拟机的是克隆的,然后同时安装了NFS和rpcbind服务,一台可以启动服务,一台不行。
[root@client ~]# /etc/init.d/rpcbind restart
Stopping rpcbind: [ OK ]
Starting rpcbind: [ OK ]
***********************************************************************
[root@clone log]# /etc/init.d/rpcbind restart
Stopping rpcbind: [FAILED]
***********************************************************************
后面那台一开始配置了一下/etc/exports 然后我把他注释掉了
#The first my NFSservers:this to the 192.168.0.0 share
#/data 192.168.0.0/24(rw,insecure,sync)
注释之后重启还是不行。防火墙啊什么鬼的都关了 两台的selinux都没关闭。
开机启动chkconfig都设置了on
到底是怎么回事啊
***********************************************************
932 yum groupinstall "NFS file server" -y
933 ps -ef | grep nfs
934 chkconfig nfs on
935 chkconfig --list
936 chkconfig rpcbind on
937 vi /etc/exports
938 /etc/init.d/rpcbind reload
939 /etc/init.d/nfs reload
940 /etc/init.d/nfs status
941 /etc/init.d/nfs reload
942 /etc/init.d/nfs status
943 /etc/init.d/rpcbind status
944 /etc/init.d/nfs stop
945 /etc/init.d/rpcbind start
946 /etc/init.d/nfs start
947 /etc/init.d/nfs status
948 /etc/init.d/rpcbind status
949 nfsstat
950 /etc/init.d/iptables stop
951 /etc/init.d/rpcbind status
952 exportfs r
953 exportfs -r
954 vi /etc/exports
955 /etc/init.d/nfs stop
956 /etc/init.d/rpcbind stop
957 /etc/init.d/rpcbind start
958 /etc/init.d/nfs restart
959 /etc/init.d/rpcbind status
960 rpcinfo -p localhost
961 /etc/init.d/rpcbind start
962 shutdown -r now
963 /etc/init.d/rpcbind start
964 /etc/init.d/rpcbind restart
965 ps -ef | grep rpc
966 ps -ef | grep rpcbind
967 rpm -qa nfs-utils rpcbind
968 /etc/init.d/rpcbind restart
969 /etc/init.d/nfs restart
970 ps -ef | grep nfs
971 ps -e | grep nfs
972 /sbin/rpcbind -d
973 ls
974 /sbin/rpcbind -d
975 /etc/init.d/rpcbind start
976 /etc/init.d/rpcbind stop
977 ps -ef
978 /etc/init.d/rpcbind stop
979 /etc/init.d/rpcbind restart
980 yum install -y rpcbind
981 /etc/init.d/rpcbind restart
982 cd /var/log
983 ls
984 chkconfig --list | grep 3:on
985 chkconfig --list | grep 3:
986 chkconfig --list | grep 3:启动
987 chkconfig --list | grep "3:启动"
988 LANG=E
989 chkconfig --list | grep 3:on
990 chkconfig rsyslog on
991 chkconfig --list | grep 3:on
992 /etc/init.d/rpcbind restart
993 cat /var/log/
994 /etc/init.d/rpcbind restart
995 vi /etc/exports
996 getenforce
997 vi /etc/sysconfig/selinux
998 . /etc/sysconfig/selinux
999 getenforce
1000 history
1001 /etc/init.d/rpcbind restart
1002 history
**********************************************************
尚未找到解决方案