Linux:安装rstatd,报错

【安装】

下载地址:http://heanet.dl.sourceforge.net/sourceforge/rstatd/
安装:一次执行--tar -xzvf rpc.rstatd-4.0.1.tar.gz //解压安装包
cd rpc.rstatd-4.0.1        //进入到rpc.rstatd目录中
./configure    //配置rc.rstatd安装
make //编辑rc.rstatd
make install //安装

【报错】

[[email protected] rpc.rstatd]# /etc/init.d/nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).
                                                           [FAILED]
Starting NFS mountd:                                       [FAILED]
Starting NFS daemon:

【原因】

RH系操作系统在6.0版本之后没有portmap服务控制rpc的启动,由于NFS和nfslock的启动需要向rpc进行注册,rpc不启动的话就会报错

【解决方法】

启动rpcbind&rpcidmap rpcbind是6.0版本后默认的RPC服务,所以要先于nfs启动。如果不启动rpcidmap则会造成用户权限的映射错误,用户的权限看起来是一串数字。

[[email protected] ~]# /etc/init.d/rpcbind start
Starting rpcbind:                                          [  OK  ]
[[email protected] ~]# /etc/init.d/rpcbind status
rpcbind (pid  18928) is running...

[[email protected] ~]# /etc/init.d/rpcidmapd start
Starting RPC idmapd:                                       [  OK  ]
   
[[email protected] ~]# /etc/init.d/nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Starting NFS daemon:
                                                           [  OK  ]

[[email protected] ~]# /etc/init.d/portreserve start
Starting portreserve:                                      [  OK  ]

时间: 2024-11-06 20:07:23

Linux:安装rstatd,报错的相关文章

linux安装软件报错: Can't locate ExtUtils/Embed.pm in @INC...

安装snmp服务, 中间报错: Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).BEGIN failed--compilation aborted. 到网上

Linux安装Apache报错:Cannot find a valid baseurl for repo: base/7/x86_64解决方案

最近使用CentOS7学习,安装安装Apache时候,使用yum安装Apache报错:本文适合CentOS7和RHEL7 # yum install httpd 出现:cannot find a valid baseurl for repo:base/7/x86_64. 针对这个问题,网上有大量的解决方案,说是网络不通的,比如: 修改: vi /etc/sysconfig/network-scripts/ifcfg-eth0(每个机子都可能不一样,但格式会是"ifcfg-eth数字")

linux安装yasm报错

进入yasm-1.2.0, 输入指令 ./configure //编译yasm make && make install //安装yasm,安装完成即可. 报错信息 make[2]: Leaving directory '/home/star-net/srs/trunk/3rdparty/yasm-1.2.0/po' Making install in . make[2]: Entering directory '/home/star-net/srs/trunk/3rdparty/yasm

linux安装uwsgi,报错问题解决

uwsgi安装 uwsgi启动后出 -- unavailable modifier requested: 0 出现问题的的原因是找不到python的解释器(其他语言同理) 你使用的yum install uwsgi 或者 apt-get install uwsgi 安装了uwsgi(我就是这样遇到了这个问题) 解决办法 用 pip install uwsgi  或者 pip3 install uwsgi  安装uwsgi(uwsgi默认安装在/usr/local/python3/bin/) 实行

vritulbox中linux安装zookeeper报错:

[[email protected] apache-zookeeper]# bin/zkCli.sh /usr/bin/java Connecting to localhost:2181 2020-03-11 00:35:15,540 [myid:] - INFO [main:Enviro[email protected]] - Client environment:zookeeper.version=3.5.7-f0fdd52973d373ffd9c86b81d99842dc2c7f660e,

linux安装pip报错

解决方法:升级pip工具 1 sudo python -m pip install -U pip

linux安装redis报错

问题:You need tcl 8.5 or newer in order to run the Redis test 解决办法: wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gzsudo tar xzvf tcl8.6.1-src.tar.gz  -C /usr/local/cd  /usr/local/tcl8.6.1/unix/sudo ./configuresudo makesudo make install

linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql.

linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql. 2013-03-04 15:34wdjhz | 分类:服务器软件 | 浏览5318次 configure: error: Cannot find MySQL header files under /usr/include/mysql.Note that the MySQL client library is not bun

linux使用python安装paramiko时安装pycrypto报错

在python2.7版本上安装pycrypto报错,如下 [[email protected] /var/tmp/paramiko/pycrypto-2.6]# python setup.py build && python setup.py install running build running build_py running build_ext running build_configure warning: GMP or MPIR library not found; Not

Linux 格式化分区 报错Could not stat --- No such file or directory 和 partprobe 命令

分区的过程正常: [[email protected] /]# fdisk -l Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot      Start         End      Blocks   Id  System /dev/sda1   *