|
|
forwarding syslog to remote machine, getting no hostname
At one point, this was working correctly...but now I'm not sure what
went wrong. I have a Sparc 5 running Solaris 2.6 and sending syslog
logins to a central syslog server. The problem is that for whatever
reason, I now no longer get the hostname (or IP address) in the syslog
header, and the server doesn't know what to do with it.
The following is a tcpdump of the syslog message that was sent for a
successful login:
=========
18:11:43.164547 IP qasparc5.32925 > qa36.q1labs.lab.514: UDP, length 90
E..v .@...........<$.....b..<37>Aug 10 14:28:49 login: [ID 254462
auth.notice] ROOT LOGIN /dev/pts/2 FROM 10.100.50.42
=========
Notice in that packet that where there should normally be the hostname,
following the timestamp, is the start of the data instead (ie: "login:"
instead of "qasparc5").
The machine is in DNS, and can resolve its own hostname fine:
# uname -a
SunOS qasparc5 5.8 Generic sun4m sparc SUNW,SPARCstation-5
# cat /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
172.16.20.198 qasparc5 qasparc5.q1labs.lab
# hostname
qasparc5
# grep host /etc/nsswitch.conf
# "hosts:" and "services:" in this file are used only if the
hosts: files dns
#
Can anyone tell me what's wrong? Here's the syslog.conf snippet of
what to send:
*.err;auth.notice @172.16.60.36
*.err;daemon.notice;mail.crit @172.16.60.36
user.err @172.16.60.36
user.alert @172.16.60.36
|
|
0
|
|
|
|
Reply
|
darkpawt (2)
|
8/10/2005 6:33:02 PM |
|
|
0 Replies
710 Views
(page loaded in 0.466 seconds)
Similiar Articles: forwarding syslog to remote machine, getting no hostname - comp ...At one point, this was working correctly...but now I'm not sure what went wrong. I have a Sparc 5 running Solaris 2.6 and sending syslog logins to a ... hostname of nameserver? - comp.unix.solarisforwarding syslog to remote machine, getting no hostname - comp ... New nameserver in resolv.conf doesn't work - comp.sys.hp.hpux ... forwarding syslog to remote machine ... How can I send a break to a remote machine? - comp.unix.solaris ...forwarding syslog to remote machine, getting no hostname - comp ... Here's the syslog.conf snippet of what to send: *.err;auth.notice ... forwarding syslog to remote ... IN6ADDR_ANY_INIT doesn't resolve to localhost? - comp.unix.solaris ...forwarding syslog to remote machine, getting no hostname - comp ... IN6ADDR_ANY_INIT doesn't resolve to localhost? - comp.unix ... forwarding syslog to remote machine ... rereading configuration file of syslog-ng - comp.unix.programmer ...forwarding syslog to remote machine, getting no hostname - comp ..... this file are used only if the hosts: files ... expansion behavior. source entries tell syslog-ng ... Secondary DNS entry in resolv.conf - comp.unix.solarisforwarding syslog to remote machine, getting no hostname - comp ... The machine is in DNS, and can resolve its own hostname fine: # uname -a SunOS qasparc5 5 ... to ... ulimit does not work correctly on remote ssh - comp.os.linux.misc ...forwarding syslog to remote machine, getting no hostname - comp ... ulimit does not work correctly on remote ssh - comp.os.linux.misc ... Solaris 10 - comp.unix.solaris ... New nameserver in resolv.conf doesn't work - comp.sys.hp.hpux ...forwarding syslog to remote machine, getting no hostname - comp ... New nameserver in resolv.conf doesn't work - comp.sys.hp.hpux ... forwarding syslog to remote machine ... Syslog on Solaris 10 - comp.unix.solarisforwarding syslog to remote machine, getting no hostname - comp ... At one point, this was working correctly...but now I'm not sure what went wrong. Argosoft Mail Server Error - comp.mail.miscforwarding syslog to remote machine, getting no hostname - comp ... Argosoft Mail Server Error - comp.mail.misc... am trying to setup a mail server and was getting an ... forwarding syslog to remote machine, getting no hostname - comp ...At one point, this was working correctly...but now I'm not sure what went wrong. I have a Sparc 5 running Solaris 2.6 and sending syslog logins to a ... syslogd - Linux Command - Unix Command - Linux Operating System ...For example, to forward ALL messages to a remote host use the following syslog.conf entry: ... is a list of users; for remote logging this is the hostname of the machine ... 7/27/2012 2:08:15 AM
|
|
|
|
|
|
|
|
|