1836580 Members
1710 Online
110102 Solutions
New Discussion

CDE dtfile problem

 
devhariprasad
Advisor

CDE dtfile problem

I 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

Please help me out in correcting this problem
4 REPLIES 4
Peter Godron
Honored Contributor

Re: CDE dtfile problem

devhariprasad
Advisor

Re: CDE dtfile problem

I have rebooted the machine after doing these changes. I think this will restart inetd also.
Peter Godron
Honored Contributor

Re: CDE dtfile problem

Hi,
seems you have duplicated your posting into:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1055609

Can you confirm that you used the
set_parms command to change hostname.

Can you please close this thread .

Peter Nikitka
Honored Contributor

Re: CDE dtfile problem

Hi,

if you use a name resolution of
- /etc/nsswitch.conf contents
passwd: files nis
group: files nis
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
...

then you MUST supply a nameserver in /etc/resolf.conf, it is NOT sufficient to have only the domain name in the file:
...
- /etc/resolv.conf contents
domain india.hp.com

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"