03-10-2009
Hi LBReddy..
Greatings,
U must check,
#hostname
#/etc/hosts or /etc/inet/hosts
#/etc/hostname.<any interface>
#/etc/resolve.conf
#/etc/nsswitch.conf
entries should b correct names or values, otherwise u vll face this type of problems.
After that also u r facing same problem means u can check DNS confiuration trough #nslookup
Regards,
Arjun Reddy
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have an error in my /var/adm/messages that states:
(*hostname*) inetd : fs/tcp: bind: Address already in use.
It repeats it self over and over. I have looked everywhere I can think of on the net but cant find anything. HELP Please:confused: (2 Replies)
Discussion started by: julie
2 Replies
2. Solaris
hi experts,
i'm having more error log on /var/adm/messages could anyone help to description what is this error logs means???? and how to fix it? below is the logs :
Nov 22 20:03:40 USSDGtbs-1 unix:
Nov 22 20:03:40 USSDGtbs-1 ^Mpanic/thread=3001345edc0:
Nov 22 20:03:40 USSDGtbs-1 unix: ... (2 Replies)
Discussion started by: bucci
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have a SunFire V490, Solaris 10 with XP1024 storage and HP Library. I have noticed the following error messages in the /var/adm/messages file. These errors are being generated constantly. Also commands like devfsadm, format cfgadm etc are getting hung. After a reboot it works fine for a... (1 Reply)
Discussion started by: nitinp82
1 Replies
4. Solaris
I am frequently getting following errors in /var/adm/messages. I am using solaris 8
Nov 7 16:03:03 Server Name SRS Proxy: unhandled exception: compareTimestamps format()
Nov 7 16:06:57 servername sendmail: lA2MadB5007315: to=postmaster, delay=4+22:30:07, xdelay=00:00:00, mailer=relay,... (2 Replies)
Discussion started by: sunsri01
2 Replies
5. UNIX for Dummies Questions & Answers
Warning... I am a newb. :)
I basically know how to add/rm users, kill pids and monitor diskspace. Not an idiot, but honestly a windows database person. I don't know much about what I am asking about.
In the /var/adm/messages file, today this was added:
Jan 24 09:16:51 my_server login: ... (3 Replies)
Discussion started by: madEG
3 Replies
6. Solaris
Hi All,
I m new to Solaris environment,
Right now I m using Solaris 10.
I get continuously following waring message in `messages` file so var partition going to full.
plz help me to stop these messages.
Feb 8 15:58:47 TSAS px: WARNING: px1: spurious interrupt from ino... (2 Replies)
Discussion started by: vikas898
2 Replies
7. Solaris
Hi Friends,
Please help me to resove this issue ASAP.
Nov 17 16:25:52 server1 sendmail: pAH8Pnh22099: SYSERR: putoutmsg (NO-HOST): error on output channel sending "553 5.1.3 @123.com.... User address required": File too large
Nov 17 16:25:53 server1 sendmail: pAH8Pnh22099:... (1 Reply)
Discussion started by: holds_me
1 Replies
8. Emergency UNIX and Linux Support
I have Solaris-11 non-global zone running under Solaris-11 global zone. Every few minutes, this message is getting in /var/adm/message of non-global zone
Aug 31 08:31:53 zonnjc002dbp01 statd: statd: cannot talk to statd at NAS1, RPC: Timed out(5)
NAS1 is already mounted as NFS and working... (2 Replies)
Discussion started by: solaris_1977
2 Replies
9. Solaris
Hi Guys,
I am getting some strange error in /var/adm/messages in my Solaris 10 box with Veritas Cluster and EMC storage.
bash-3.00$ cat /var/adm/messages | egrep -v "lw8|snmp|sshd|xntpd|kern.info|LOGIN|link|service|started|finished|repeated|SS7 Log-daemon|success"
Dec 18 09:58:35 GAMMa2... (1 Reply)
Discussion started by: vivek.goel.piet
1 Replies
10. Solaris
I had an issue with ssh on one of my servers and noticed the following
errors, listed below.
Errors in /var/adm/messagessshd lastlog_perform_login: Couln't stat /var/adm/lastlog: permission denied
sshd lastlog_openseek: /var/adm/lastlog is not a file or directory!
automountd self_check:... (0 Replies)
Discussion started by: bitlord
0 Replies
LEARN ABOUT CENTOS
nss-myhostname
NSS-MYHOSTNAME(8) nss-myhostname NSS-MYHOSTNAME(8)
NAME
nss-myhostname - Provide hostname resolution for the locally configured system hostname.
SYNOPSIS
nss-myhostname.la
DESCRIPTION
nss-myhostname is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing hostname resolution
for the locally configured system hostname as returned by gethostname(2). Various software relies on an always-resolvable local hostname.
When using dynamic hostnames, this is usually achieved by patching /etc/hosts at the same time as changing the host name. This however is
not ideal since it requires a writable /etc file system and is fragile because the file might be edited by the administrator at the same
time. nss-myhostname simply returns all locally configured public IP addresses, or, if none are configured, the IPv4 address 127.0.0.2
(which is on the local loopback) and the IPv6 address ::1 (which is the local host) for whatever system hostname is configured locally.
Patching /etc/hosts is thus no longer necessary.
To activate the NSS modules, myhostname has to be added to the line starting with "hosts:" in /etc/nsswitch.conf
It is recommended to put myhostname last in the nsswitch.conf line to make sure that this mapping is only used as fallback, and any DNS or
/etc/hosts based mapping takes precedence.
EXAMPLE
# /etc/nsswitch.conf
passwd: compat
group: compat
shadow: compat
hosts: files dns myhostname
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
To test, use glibc's getent tool:
$ getent ahosts `hostname`
::1 STREAM omega
::1 DGRAM
::1 RAW
127.0.0.2 STREAM
127.0.0.2 DGRAM
127.0.0.2 RAW
In this case the local hostname is omega.
SEE ALSO
systemd(1), systemd-logind.service(8), logind.conf(5), loginctl(1), pam.conf(5), pam.d(5), pam(8), pam_loginuid(8)
systemd 208 NSS-MYHOSTNAME(8)