rpcbind does not start even starting the service

Issues related to configuring your network
Post Reply
srjcentos
Posts: 2
Joined: 2011/08/03 17:06:55

rpcbind does not start even starting the service

Post by srjcentos » 2011/08/03 17:17:56

Hello,
I am new to centos and using centos6.

My problem, I need to use nfs I have downloaded nfs-utils package and rpcbind.
now even if I start rpcbind using /etc/init.d/rpcbind start comamnd the status is still stopped.

rpcinfo -p shows this,

[root@centos6-1 ~]# rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error - No such file or directory
[code]
[root@centos6-1 ~]# ls /etc/init.d
auditd functions iptables netconsole nfslock restorecond rpcsvcgssd single
cgconfig glusterd killall netfs portreserve rpcbind rsyslog sshd
cgred halt lvm2-monitor network postfix rpcgssd sandbox udev-post
crond ip6tables memcached nfs rdisc rpcidmapd saslauthd xe-linux-distribution[/code][Moderator edit: Added [i]code[/i] tags to preserve formatting.]

please help me solve this issue to let rpcbind run properly

thanks
srjcentos

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

rpcbind does not start even starting the service

Post by pschaff » 2011/08/04 00:00:36

Have you turned on nfs and rpcbind via chkconfig? Have you defined the exported filesystems in /etc/exports and rebooted (probably preferable) or done "exportfs -r"? Anything relevant in /var/log/messages?

srjcentos
Posts: 2
Joined: 2011/08/03 17:06:55

Re: rpcbind does not start even starting the service

Post by srjcentos » 2011/08/08 07:07:56

well, I did try with chkconfig and still situation remains same,

my /etc/inittab file says this,
[code]
# Default runlevel. The runlevels used are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:
/etc/inittab (END)

[root@centos6-1 ~]# chkconfig
auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
cgconfig 0:off 1:off 2:off 3:off 4:off 5:off 6:off
cgred 0:off 1:off 2:off 3:off 4:off 5:off 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off
memcached 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off
portreserve 0:off 1:off 2:on 3:on 4:on 5:on 6:off
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rdisc 0:off 1:off 2:off 3:off 4:off 5:off 6:off
restorecond 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rpcbind 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rpcgssd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rpcidmapd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rpcsvcgssd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
udev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:off
xe-linux-distribution 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[/code][Moderator edit: Added [i]code[/i] tags to preserve formatting.]

so I assume that this is fine, but I still the issue of finding the rpcbind being in "stopped" status even after starting it.

Any more suggestions?

larwood
Posts: 66
Joined: 2011/07/27 12:07:30
Location: Perth WA, Australia

Re: rpcbind does not start even starting the service

Post by larwood » 2011/08/08 12:43:44

Firewall? Run '# /etc/init.d/iptables stop' & '# /etc/init.d/ip6tables stop' and see if the issue persists.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: rpcbind does not start even starting the service

Post by pschaff » 2011/08/09 14:32:51

[quote]
srjcentos wrote:

so I assume that this is fine, but I still the issue of finding the rpcbind being in "stopped" status even after starting it.[/quote]
That is not correct behavior. I see "nfs" is off. That should be enabled if you are running an NFS server, but I just realized that is not completely clear. Is this system intended to be a NFS server or client?

May be irrelevant but I don't recognize that "xe-linux-distribution" service nor does any CentOS-6 package seem to provide it.

[quote]
larwood wrote:
Firewall? Run '# /etc/init.d/iptables stop' & '# /etc/init.d/ip6tables stop' and see if the issue persists.[/quote]
Good point - running system-config-firewall and verifying that "NFS4" is checked would be good.

If more help is needed then please [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=28723&forum=54]provide more information about your system[/url] by running "./getinfo.sh network" and showing us the output file.

Post Reply