[[Email protected] ~] # Yum install rpcbind
Installed:
Rpcbind. x86_64. 2.0-11. el6
Dependency installed:
Libgssglue. x86_64 0: 0. 1-11.el6 libtirpc. x86_64 0: 0. 2.1-6. el6_5.2
[[Email protected] network-Scripts] # ps-Ef | grep RPC
Root 3082 2368 0 00:00:00 pts/1 grep RPC
[[Email protected] ~] # Rpm-QL libgssglue
/Etc/gssapi_mech.conf
/Lib64/libgssglue. so.1
/Lib64/libgssglue. so.1.0.0
[[Email protected] ~] # Rpm-QL libtirpc
/Etc/netconfig
/Lib64/libtirpc. so.1
/Lib64/libtirpc. so.1.0.10
[[Email protected] ~] # Rpm-QL rpcbind
/Etc/rc. d/init. d/rpcbind
/Sbin/rpcbind
/Usr/sbin/rpcinfo
/Var/Cache/rpcbind
[[Email protected] ~] # Service rpcbind start
Starting rpcbind: [OK]
[[Email protected] ~] # Ps-Ef | grep RPC
RPC 1174 1 0? 00:00:00 rpcbind
Root 1178 1140 0 00:00:00 pts/0 grep RPC
[[Email protected] ~] # Rpcbind start
[[Email protected] ~] # Ps-Ef | grep RPC
RPC 3085 1 0? 00:00:00 rpcbind start
Root 3087 2368 0 00:00:00 pts/1 grep RPC
[[Email protected] ~] # Rpcbind-
-A (abort) specified without-D (debugging) -- ignored.
Rpcbind: Another rpcbind is already running. Aborting
[[Email protected] ~] # Rpcbind-I
Rpcbind: Another rpcbind is already running. Aborting
[[Email protected] ~] # Rpcbind-S
Rpcbind: Another rpcbind is already running. Aborting
[[Email protected] ~] # Rpcbind-W
Rpcbind: Another rpcbind is already running. Aborting
[[Email protected] ~] # Cd/proc/1174/FD
[[Email protected] FD] # ls
0 1 10 11 2 3 4 5 6 7 8 9
[[Email protected] FD] # ll
Total 0
Lrwx ------. 1 Root 64 SEP 18 0->/dev/null
Lrwx ------. 1 Root 64 SEP 18 1->/dev/null
Lrwx ------. 1 Root 64 SEP 18 10-> socket: [11434]
Lrwx ------. 1 Root 64 SEP 18 11-> socket: [11435]
Lrwx ------. 1 Root 64 SEP 18 2->/dev/null
LR-x ------. 1 Root 64 SEP 18 18:10 3->/var/run/rpcbind. Lock
Lrwx ------. 1 Root 64 SEP 18 4-> socket: [11450]
Lrwx ------. 1 Root 64 SEP 18 5-> socket: [11425]
Lrwx ------. 1 Root 64 SEP 18 6-> socket: [11427]
Lrwx ------. 1 Root 64 SEP 18 7-> socket: [11429]
Lrwx ------. 1 Root 64 SEP 18 8-> socket: [11430]
Lrwx ------. 1 Root 64 SEP 18 9-> socket: [11432]
[[Email protected] FD] # rpcinfo
Program version netid address service owner
100000 4 tcp6:. 0.111 Portmapper superuser
100000 3 tcp6:. 0.111 Portmapper superuser
100000 4 UDP6:. 0.111 Portmapper superuser
100000 3 UDP6:. 0.111 Portmapper superuser
100000 4 TCP 0.0.0.0.0.111 Portmapper superuser
100000 3 TCP 0.0.0.0.0.111 Portmapper superuser
100000 2 TCP 0.0.0.0.0.111 Portmapper superuser
100000 4 UDP 0.0.0.0.0.111 Portmapper superuser
100000 3 UDP 0.0.0.0.0.111 Portmapper superuser
100000 2 UDP 0.0.0.0.0.111 Portmapper superuser
100000 4 Local/var/run/rpcbind. Sock Portmapper superuser
100000 3 Local/var/run/rpcbind. Sock Portmapper superuser
[[Email protected] FD] # SS-ln
State Recv-Q send-Q local address: Port peer address: Port
Listen 0 128: 111 :::*
Listen 0 128 *: 111 *:*
Listen 0 128: 22 :::*
Listen 0 128 *: 22 *:*
Listen 0 100: 1: 25 :::*
Listen 0 100 127.0.0.1: 25 *:*
[[Email protected] FD] # cd/var/Cache/
[[Email protected] cache] # ls
Ldconfig rpcbind yum
[[Email protected] cache] # cd rpcbind/
[[Email protected] rpcbind] # ll
Total 8
-RW -------. 1 RPC 124 SEP 18 Portmap. XDR
-RW -------. 1 RPC 668 SEP 18 rpcbind. XDR
[[Email protected] rpcbind] # file *
Portmap. XDR: Data
Rpcbind. XDR: Data
[[Email protected] rpcbind] # Yum install nfs-utils
Installed:
Nfs-utils.x86_64. 2.3-39. el6_5.3
Dependency installed:
Keyutils. x86_64. 4-4.el6 libevent. x86_64. 4.13-4. el6 nfs-utils-lib.x86_64. 1.5-6. el6_5
[[Email protected] rpcbind] # rpm-QL nfs-utils
/Etc/nfsmount. conf
/Etc/rc. d/init. d/nfs
/Etc/rc. d/init. d/nfslock
/Etc/rc. d/init. d/rpcgssd
/Etc/rc. d/init. d/rpcidmapd
/Etc/rc. d/init. d/rpcsvcgssd
/Etc/The request-key.d/id_resolver.conf
/Etc/sysconfig/nfs
/Sbin/mount. NFS
/Sbin/mount. nfs4
/Sbin/nfs_cache_getent
/Sbin/rpc. statd
/Sbin/umount. NFS
/Sbin/umount. nfs4
/Usr/sbin/exportfs
/Usr/sbin/mountstats
/Usr/sbin/nfsidmap
/Usr/sbin/nfsiostat
/Usr/sbin/nfsstat
/Usr/sbin/rpc. gssd
/Usr/sbin/rpc. idmapd
/Usr/sbin/rpc. mountd
/Usr/sbin/rpc. nfsd
/Usr/sbin/rpc. svcgssd
/Usr/sbin/rpcdebug
/Usr/sbin/showmount
/Usr/sbin/Sm-Policy
/Usr/sbin/start-statd
/Var/lib/nfs
/Var/lib/nfs/etab
/Var/lib/nfs/rmtab
/Var/lib/nfs/rpc_pipefs
/Var/lib/nfs/statd
/Var/lib/nfs/statd/Sm
/Var/lib/nfs/statd/SM. Bak
/Var/lib/nfs/State
/Var/lib/nfs/v4recovery
/Var/lib/nfs/xtab
[[Email protected] rpcbind] # rpm-QL nfs-utils-lib
/Etc/idmapd. conf
/Usr/lib64/libnfsidmap. so.0
/Usr/lib64/libnfsidmap. so.0.3.0
/Usr/lib64/libnfsidmap/nsswitch. So
/Usr/lib64/libnfsidmap/static. So
/Usr/lib64/libnfsidmap/umich_ldap.so
/Usr/lib64/librpcsecgss. so.3
/Usr/lib64/librpcsecgss. so.3.0.0
[[Email protected] rpcbind] # rpm-QL keyutils
/Bin/keyctl
// Etc/request-key.conf
// Etc/request-key.d
/Sbin/request-Key
[[Email protected] rpcbind] # rpm-QL libevent
/Usr/lib64/libevent-1.4.so.2
/Usr/lib64/libevent-1.4.so.2.1.3
/Usr/lib64/libevent_core-1.4.so.2
/Usr/lib64/libevent_core-1.4.so.2.1.3
/Usr/lib64/libevent_extra-1.4.so.2
/Usr/lib64/libevent_extra-1.4.so.2.1.3
[[Email protected] NFS] # Mount
/Dev/mapper/VolGroup-lv_root on/type ext4 (RW)
Proc on/proc type proc (RW)
Sysfs on/sys type sysfs (RW)
Devpts on/dev/PTS type devpts (RW, gid = 5, mode = 620)
Tmpfs on/dev/SHM type tmpfs (RW, rootcontext = "system_u: object_r: tmpfs_t: S0 ")
/Dev/sda1 on/boot type ext4 (RW)
None on/proc/sys/fs/binfmt_misc type binfmt_misc (RW)
SunRPC on/var/lib/nfs/rpc_pipefs type rpc_pipefs (RW) there will be two more lines after NFS is started.
NFSD on/proc/fs/nfsd type nfsd (RW)
Command screen capture