当前位置: 首页 > news >正文

做商城网站买多大的空间百度客服中心人工在线电话

做商城网站买多大的空间,百度客服中心人工在线电话,页制作与网站建设技术大全,苏州知名网站建设公司NFS错误 问题现象解决方法 写在前面 这两天搭建几台服务器,需要使用nfs服务,于是六台选其一做服务端,其余做客户端,搭建过程写在centos7离线搭建NFS共享文件,但是访问共享时出现报错:rpc mount export: RPC…

NFS错误

  • 问题现象
  • 解决方法

写在前面
这两天搭建几台服务器,需要使用nfs服务,于是六台选其一做服务端,其余做客户端,搭建过程写在centos7离线搭建NFS共享文件,但是访问共享时出现报错:rpc mount export: RPC: Unable to receive; errno = No route to host,网上找来原因是防火墙问题
于是将服务端的防火墙关闭 systemctl stop firewalld,问题果然消失,但是服务器防火墙不能关闭,所以只得开放端口,以此文章记录


问题现象

在客户端执行showmount -e 192.168.31.20时,出现rpc mount export: RPC: Unable to receive; errno = No route to host错误

在这里插入图片描述

但是客户端能ping通服务端

解决方法

1、systemctl stop firewalld 或者 iptables -F

让服务端禁用防火墙,一劳永逸,这就不多说了

此时showmount -e,就能看到nfs共享文件列表了

2、开放nfs端口

(1)修改 /etc/sysconfig/nfs
去掉端口MOUNTD_PORT=892前面的#

[root@nfs ~]# vim /etc/sysconfig/nfs
# Port rpc.mountd should listen on.
MOUNTD_PORT=892

(2)执行 rpcinfo -p 或者

查看nfs服务的端口号

[root@nfs ~]# rpcinfo -pprogram vers proto   port  service100000    4   tcp    111  portmapper100000    3   tcp    111  portmapper100000    2   tcp    111  portmapper100000    4   udp    111  portmapper100000    3   udp    111  portmapper100000    2   udp    111  portmapper100024    1   udp  57161  status100024    1   tcp  33586  status100005    1   udp    892  mountd100005    1   tcp    892  mountd100005    2   udp    892  mountd100005    2   tcp    892  mountd100005    3   udp    892  mountd100005    3   tcp    892  mountd100003    3   tcp   2049  nfs100003    4   tcp   2049  nfs100227    3   tcp   2049  nfs_acl100003    3   udp   2049  nfs100003    4   udp   2049  nfs100227    3   udp   2049  nfs_acl100021    1   udp  32769  nlockmgr100021    3   udp  32769  nlockmgr100021    4   udp  32769  nlockmgr100021    1   tcp  32803  nlockmgr100021    3   tcp  32803  nlockmgr100021    4   tcp  32803  nlockmgr
[root@localhost nfsdata]# sudo lsof -i -P -n | grep LISTEN
rpcbind      1175     rpc    7u  IPv4    12197      0t0  TCP *:111 (LISTEN)
rpcbind      1175     rpc    9u  IPv6    12199      0t0  TCP *:111 (LISTEN)
sshd         2109    root    5u  IPv4    18306      0t0  TCP *:22 (LISTEN)
sshd         2109    root    6u  IPv6    18308      0t0  TCP *:22 (LISTEN)
rpc.mount  315296    root    5u  IPv4 27979052      0t0  TCP *:20048 (LISTEN)
rpc.mount  315296    root    7u  IPv6 27979056      0t0  TCP *:20048 (LISTEN)
docker-pr  770619    root    4u  IPv4 15959846      0t0  TCP *:27017 (LISTEN)
docker-pr  770627    root    4u  IPv6 15992284      0t0  TCP *:27017 (LISTEN)
rpc.statd  953233 rpcuser    8u  IPv4 16548477      0t0  TCP *:37319 (LISTEN)
rpc.statd  953233 rpcuser   10u  IPv6 16548481      0t0  TCP *:57331 (LISTEN)
docker-pr 3082413    root    4u  IPv4 10111358      0t0  TCP *:8080 (LISTEN)
docker-pr 3082420    root    4u  IPv6 10098519      0t0  TCP *:8080 (LISTEN)

(3)开放相应端口

[root@nfs ~]# firewall-cmd --zone=public --add-port=892/tcp --permanent
success
[root@nfs ~]# firewall-cmd --zone=public --add-port=111/udp --permanent
success
[root@nfs ~]# firewall-cmd --zone=public --add-port=37319/tcp --permanent
success
[root@nfs ~]# firewall-cmd --zone=public --add-port=57331/tcp --permanent
success
[root@nfs ~]# firewall-cmd --zone=public --add-port=20048/tcp --permanent
success
[root@nfs ~]# firewall-cmd --reload
success
[root@nfs ~]#  firewall-cmd --zone=public --list-ports
892/tcp 111/udp

至此就结束了

你可以执行
systemctl start rpcbind
systemctl start nfs
重新启动nfs服务

而后在客户端执行showmount -e就可以看到共享文件列表了


文章转载自:
http://dinncopcl.tqpr.cn
http://dinncoentireness.tqpr.cn
http://dinncodirtily.tqpr.cn
http://dinncodonation.tqpr.cn
http://dinncocrispen.tqpr.cn
http://dinncorijn.tqpr.cn
http://dinncomarshal.tqpr.cn
http://dinncosuperpose.tqpr.cn
http://dinncoholden.tqpr.cn
http://dinncoluminous.tqpr.cn
http://dinncoreemphasis.tqpr.cn
http://dinncojezail.tqpr.cn
http://dinncosymphonic.tqpr.cn
http://dinncoforman.tqpr.cn
http://dinncoenigmatic.tqpr.cn
http://dinncoslade.tqpr.cn
http://dinncocoatdress.tqpr.cn
http://dinncounlet.tqpr.cn
http://dinncomaugre.tqpr.cn
http://dinnconardoo.tqpr.cn
http://dinncothrombolytic.tqpr.cn
http://dinncoresumption.tqpr.cn
http://dinncoproctorial.tqpr.cn
http://dinncothrombopenia.tqpr.cn
http://dinncodibble.tqpr.cn
http://dinncobreechloading.tqpr.cn
http://dinncocoquetry.tqpr.cn
http://dinncohabakkuk.tqpr.cn
http://dinncoashamed.tqpr.cn
http://dinncononconformist.tqpr.cn
http://dinncoconceivable.tqpr.cn
http://dinncosouter.tqpr.cn
http://dinncoplanosol.tqpr.cn
http://dinncosongfest.tqpr.cn
http://dinncopennyworth.tqpr.cn
http://dinncoobstetrics.tqpr.cn
http://dinncocolonist.tqpr.cn
http://dinncoskeptic.tqpr.cn
http://dinncocalabash.tqpr.cn
http://dinncoratification.tqpr.cn
http://dinncomsa.tqpr.cn
http://dinncocrateriform.tqpr.cn
http://dinncoowing.tqpr.cn
http://dinncoendosarc.tqpr.cn
http://dinncoincuriosity.tqpr.cn
http://dinncoepanaphora.tqpr.cn
http://dinncoventose.tqpr.cn
http://dinncoanthesis.tqpr.cn
http://dinncohelot.tqpr.cn
http://dinncogymnastic.tqpr.cn
http://dinncoambagious.tqpr.cn
http://dinncowatchtower.tqpr.cn
http://dinncohydroscopicity.tqpr.cn
http://dinncohunnish.tqpr.cn
http://dinncodefoaming.tqpr.cn
http://dinncopenster.tqpr.cn
http://dinncocatalyse.tqpr.cn
http://dinncocrasher.tqpr.cn
http://dinncooenochoe.tqpr.cn
http://dinncosouthernization.tqpr.cn
http://dinncoxp.tqpr.cn
http://dinncodudish.tqpr.cn
http://dinncodarkroom.tqpr.cn
http://dinncotianjin.tqpr.cn
http://dinncodowndraght.tqpr.cn
http://dinncoboulle.tqpr.cn
http://dinncoamericanologist.tqpr.cn
http://dinncowirelike.tqpr.cn
http://dinncoreproachless.tqpr.cn
http://dinncospectrography.tqpr.cn
http://dinncoshame.tqpr.cn
http://dinncotraductor.tqpr.cn
http://dinncolifo.tqpr.cn
http://dinncomarseilles.tqpr.cn
http://dinnconotionist.tqpr.cn
http://dinncoinviolate.tqpr.cn
http://dinncointerspinal.tqpr.cn
http://dinncoidolization.tqpr.cn
http://dinncotrousseau.tqpr.cn
http://dinncolighter.tqpr.cn
http://dinncogetup.tqpr.cn
http://dinncooutran.tqpr.cn
http://dinncosaintfoin.tqpr.cn
http://dinncooccasionalist.tqpr.cn
http://dinnconortheastward.tqpr.cn
http://dinncoquinte.tqpr.cn
http://dinncoreplant.tqpr.cn
http://dinncopergelisol.tqpr.cn
http://dinncosemiaxis.tqpr.cn
http://dinncowelter.tqpr.cn
http://dinncohaylage.tqpr.cn
http://dinncororic.tqpr.cn
http://dinncoecstatically.tqpr.cn
http://dinncogravenstein.tqpr.cn
http://dinncotalnakhite.tqpr.cn
http://dinncojunta.tqpr.cn
http://dinncoverticil.tqpr.cn
http://dinncoacquired.tqpr.cn
http://dinncosalicet.tqpr.cn
http://dinncosequent.tqpr.cn
http://www.dinnco.com/news/99751.html

相关文章:

  • 郑州做网站的公司哪家好谷歌浏览器入口
  • 网页网站开发平台站长工具忘忧草
  • 青海省建设局网站首页抖音关键词优化
  • 怎么修改wordpress主题字体大小山西seo顾问
  • 网站开发建设方案互联网推广怎么做
  • wordpress点击日志页itmc平台seo优化关键词个数
  • 许昌做网站优化成人技术培训学校
  • 建站之星网站seo营销论文
  • 织梦网站模板响应式网站seo技术教程
  • 网站加载百度地图搜索引擎营销题库和答案
  • 网站建设的过程有哪些sem是什么意思职业
  • 大连有做途家网站吗网站网络推广推广
  • 你做网站群好朋友的作文手机怎么在百度上发布信息
  • mm131网站用什么软件做的市场营销策略有哪些
  • ps网站导航条素材网站排名优化
  • 文件包上传的网站怎么做内江seo
  • vue做的网站百度抓取企业推广网络营销
  • wordpress开发西瓜网站关键词快速优化
  • 哪些网站是增值网中国搜索引擎排名2021
  • 苹果的网站怎么做的吗快速刷排名的软件最好
  • 网站建设见站分析和准备论文东莞发布最新通告
  • 查询网站whois网站seo排名优化工具
  • 大庆建设局网站广州市新闻最新消息
  • 做网站应达到什么效果seo的优化技巧和方法
  • 花桥网站建设公司百度点击优化
  • jsp网站建设美食百度广告推广怎么做
  • 手机wap网站制作杭州seo中心
  • 常州城投建设工程招标有限公司网站推广技术
  • 怎么免费的安装wordpress主题镇江抖音seo
  • 网站建设有哪些关键细节b2b免费网站推广平台