1847844 Members
2542 Online
104021 Solutions
New Discussion

Re: syslog entry

 
SOLVED
Go to solution

syslog entry

Friends,
I have strange entries in syslog :
Feb 28 12:24:19 hp19rm2 : user2netname: unknown nameservice ^I^I^I^I^Ifor publickey info 'dns'
--- OR --
Jan 13 14:12:38 hp19rm2 ftpd[11891]: user2netname: unknown nameservice ^I^I^I^I^Ifor publickey info 'dns'

I have no user2netname service , and why is ftpd in the picture and what does it have to do with nameservice?


my nsswitch.conf is :
passwd: compat
group: compat
hosts: dns [NOTFOUND=continue] files
networks: dns [NOTFOUND=return] files
protocols: dns [NOTFOUND=return] files
rpc: dns [NOTFOUND=return] files
publickey: dns [NOTFOUND=return] files
netgroup: dns [NOTFOUND=return] files
automount: files dns
aliases: files
services: dns [NOTFOUND=return] files


Thanks a lot.
Dimitry
4 REPLIES 4
S.K. Chan
Honored Contributor
Solution

Re: syslog entry

You don;t put the "dns" entry on these ..
networks,protocols,rpc,publickey,netgroup,automount and services.
The "dns" entry should only be in the "hosts" line. MOdify the above to look like this ..
passwd: compat
group: compat
hosts: dns [NOTFOUND=continue] files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
Steven E. Protter
Exalted Contributor

Re: syslog entry

That nsswtich.conf is not standard.

Is named running,if your box is the DNS server?

More important does nslookup yahoo.com or whatever work?

Make sure the contents of /etc/resolv.conf are right.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: syslog entry

The machine is DNS server...
Steven E. Protter
Exalted Contributor

Re: syslog entry

In your shoes, I'd put the server back together again.

First, I'd get a standard nsswitch.conf file and then restart the box.

If the error still recurs, reconfigure the DNS server standard.

I will need to know the version number of DNS/named to help. I know how to do 4.9.x but haven't gotten around to doing a BIND server on UX, though I've done it in Linux.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com