Link to home
Start Free TrialLog in
Avatar of Jay Pe
Jay Pe

asked on

rpcbind not starting in Centos 7.2

This is Centos 7.2 and I am not able to start rpcinfo/rpcbind service. Not sure what I am missing. Can somebody help on this ?
[root@prd-ora02 ~]# rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
[root@prd-ora02 ~]# service rpcbind status
Redirecting to /bin/systemctl status  rpcbind.service
● rpcbind.service - RPC bind service
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; indirect; vendor preset: enabled)
   Active: failed (Result: start-limit) since Sun 2017-10-01 08:16:52 PDT; 14min ago
  Process: 2781 ExecStart=/sbin/rpcbind -w $RPCBIND_ARGS (code=exited, status=127)

Oct 01 08:16:52 prd-ora02 systemd[1]: rpcbind.service failed.
Oct 01 08:16:52 prd-ora02 systemd[1]: Starting RPC bind service...
Oct 01 08:16:52 prd-ora02 systemd[1]: rpcbind.service: control process exited, code=exited status=127
Oct 01 08:16:52 prd-ora02 systemd[1]: Failed to start RPC bind service.
Oct 01 08:16:52 prd-ora02 systemd[1]: Unit rpcbind.service entered failed state.
Oct 01 08:16:52 prd-ora02 systemd[1]: rpcbind.service failed.
Oct 01 08:16:52 prd-ora02 systemd[1]: start request repeated too quickly for rpcbind.service
Oct 01 08:16:52 prd-ora02 systemd[1]: Failed to start RPC bind service.
Oct 01 08:16:52 prd-ora02 rpcbind[2781]: /sbin/rpcbind: symbol lookup error: /sbin/rpcbind: undefined symbol: libtirpc_set_debug
Oct 01 08:16:52 prd-ora02 systemd[1]: rpcbind.service failed.
[root@prd-ora02 ~]# systemctl restart rpcbind.service
Job for rpcbind.service failed because the control process exited with error code. See "systemctl status rpcbind.service" and "journalctl -xe" for details.
[root@prd-ora02 ~]# systemctl status rpcbind.service
● rpcbind.service - RPC bind service
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; indirect; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2017-10-01 08:31:44 PDT; 6s ago
  Process: 3733 ExecStart=/sbin/rpcbind -w $RPCBIND_ARGS (code=exited, status=127)

Oct 01 08:31:44 prd-ora02 systemd[1]: Starting RPC bind service...
Oct 01 08:31:44 prd-ora02 rpcbind[3733]: /sbin/rpcbind: symbol lookup error: /sbin/rpcbind: undefined symbol: libtirpc_set_debug
Oct 01 08:31:44 prd-ora02 systemd[1]: rpcbind.service: control process exited, code=exited status=127
Oct 01 08:31:44 prd-ora02 systemd[1]: Failed to start RPC bind service.
Oct 01 08:31:44 prd-ora02 systemd[1]: Unit rpcbind.service entered failed state.
Oct 01 08:31:44 prd-ora02 systemd[1]: rpcbind.service failed.
[root@prd-ora02 ~]#
[root@prd-ora02 ~]# rpm -qa | grep -i libtirpc
libtirpc-0.2.4-0.6.el7.x86_64
[root@prd-ora02 ~]# find / -name libtirpc*
/usr/lib64/libtirpc.so.1
/usr/lib64/libtirpc.so.1.0.10
/usr/share/doc/libtirpc-0.2.4
[root@prd-ora02 ~]#

Open in new window

Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

did you update some packages but not others?
possible you may have hit this bug

rpcbind fails to start due to missing dependency after package update
https://bugzilla.redhat.com/show_bug.cgi?id=1396291

try updating all packages (7.4 is the latest) and see if rpcbind starts
Avatar of Jay Pe
Jay Pe

ASKER

It is  new install server, so rpms are same in OS, which are in repository. Same iso is mounted on /mnt/iso as repository.
[root@prd-ora02 ~]# rpm -qa | grep -i rpcbind
rpcbind-0.2.0-38.el7.x86_64
[root@prd-ora02 ~]#
[root@prd-ora02 ~]# yum list | grep -i rpc
kdepimlibs-kxmlrpcclient.x86_64        4.10.5-4.el7                 @TCS-Local-Repository-CentOS_7.2-x86_64
libtirpc.x86_64                        0.2.4-0.6.el7                @TCS-Local-Repository-CentOS_7.2-x86_64
perl-PlRPC.noarch                      0.2020-14.el7                @anaconda
rpcbind.x86_64                         0.2.0-38.el7                 @InstallMedia
xmlrpc-c.x86_64                        1.32.5-1905.svn2451.el7      @anaconda
xmlrpc-c-client.x86_64                 1.32.5-1905.svn2451.el7      @anaconda
libtirpc.x86_64                        0.2.4-0.8.el7                InstallMedia
php-xmlrpc.x86_64                      5.4.16-42.el7                InstallMedia
[root@prd-ora02 ~]#

Open in new window

Which packages, I should install ? And from where ? I have RedHat login.
ASKER CERTIFIED SOLUTION
Avatar of Jay Pe
Jay Pe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
that's the same version you already have
Avatar of Jay Pe

ASKER

We have libtirpc-0.2.4-0.6.el7.x86_64
Avatar of Jay Pe

ASKER

I had both in repository. I am able to fix it with upgraded one. Now rpcinfo works
Thanks for pointing this
Avatar of Jay Pe

ASKER

Solution provided