1832566 Members
5643 Online
110043 Solutions
New Discussion

rpc.ttbdserverd problem

 
SOLVED
Go to solution
devhariprasad
Advisor

rpc.ttbdserverd problem

changed the HOSTNAME in /etc/rc.config.d/netconf from test49 to test49.india.hp.com.

I wanted to use the files to resolve hostnames instead of nis or dns.

When I try to open dtfile in CDE I get an error saying "cannot read from /" or "Invalid Folder Specification".

In /var/adm/syslog I have the error "Dec 19 21:48:05 test49 syslog: libtt[2209]: clnt_create for rpc.ttdbserverd on t
est49 failed: RPC: Program not registered"

- /etc/hosts contents
15.70.168.58 chennai.india.hp.com chennai
15.70.175.49 test49 test49.india.hp.com
127.0.0.1 localhost loopback

- /etc/resolv.conf contents
domain india.hp.com

- /etc/nsswitch.conf contents
passwd: files nis
group: files nis
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: files nis

Even after rebooting the machine, I am facing this problem.

Please help me out in correcting this problem
7 REPLIES 7
RAC_1
Honored Contributor

Re: rpc.ttbdserverd problem

You did not change the host name correctly. You should be changing it with "/etc/set_parms hostname" command. I think, now you should do that and check it. If you do not want to use set_parms, you need to modify host name in /etc/rc.config.d/netconf and /etc/hosts and any other places that need such a change.
There is no substitute to HARDWORK
devhariprasad
Advisor

Re: rpc.ttbdserverd problem

I have tried setting the hostname through "/etc/set_parms" and also I have given the proper hostnames in /etc/hosts, /etc/rc.config.d/netconf etc.

But still I am getting the error in /var/adm/syslog/syslog.log.

Please give your solutions.
RAC_1
Honored Contributor

Re: rpc.ttbdserverd problem

Do you have rpcbind running on your system?
ps -ef|grep rpcbind
There is no substitute to HARDWORK
devhariprasad
Advisor

Re: rpc.ttbdserverd problem

Yes RPCBIND is running on the machine

# ps -ef | grep -i rpc
root 915 1 0 05:26:28 ? 0:00 /usr/sbin/rpcbind
root 1023 1 0 05:26:31 ? 0:00 /usr/sbin/rpc.statd
root 1029 1 0 05:26:31 ? 0:00 /usr/sbin/rpc.lockd
root 1529 1 0 05:26:42 ? 0:00 /opt/dce/sbin/rpcd
root 1941 1 0 05:27:46 ? 0:00 /usr/sbin/rpc.mountd
root 2944 1066 0 18:55:48 ? 0:00 /usr/dt/bin/rpc.ttdbserver
root 3099 3097 0 19:52:55 pts/0 0:00 grep -i rpc
RAC_1
Honored Contributor
Solution

Re: rpc.ttbdserverd problem

Try restarting rpcbind and ttdb server.
There is no substitute to HARDWORK
devhariprasad
Advisor

Re: rpc.ttbdserverd problem

I restarted both rpcbind and ttdbserver, but still the same error is logged in /var/adm/syslog/syslog.log

Dec 21 20:16:39 test49 syslog: libtt[3214]: clnt_create for rpc.ttdbserverd on t
est49 failed: RPC: Program not registered

I forgot to mention you one more thing, when I invoke dtfile, I get an error saying "cannot read from /" or "Invalid folder specification /". / is my HOME.
devhariprasad
Advisor

Re: rpc.ttbdserverd problem

Replies were very useful.