Date: Mon, 9 Feb 1998 11:19:18 -0600 From: "Scot W. Hetzel" <hetzels@westbend.net> To: "FreeBSD-ISP" <freebsd-isp@FreeBSD.ORG> Subject: Re: logging messages to remote host w/syslogd Message-ID: <001401bd357e$dadfe6a0$c3e0d9cf@admin.westbend.net>
next in thread | raw e-mail | index | archive | help
-----Original Message----- From: Jan Koum <jkb@best.com> To: Scot W. Hetzel <hetzels@westbend.net> Cc: FreeBSD-ISP <freebsd-isp@FreeBSD.ORG> Date: Sunday, February 08, 1998 12:26 AM Subject: Re: logging messages to remote host w/syslogd > > >On Sun, 8 Feb 1998, Scot W. Hetzel wrote: > >>I am experiencing a problem with the syslogd. For some unknown reason it >>will not accept messages from remote hosts. I have read the man pages and >>searched the archives but no help. >> >>On hostA, I have made the following change to rc.conf so that it can accept >>remote messages: >> >>syslog_syslogd_enable="YES" # Run syslog daemon (or NO). > ^^^^^^^^^^^^^^^^^^^ > Shouldn't this be just `` syslogd_enable="YES" '' ? Copied & pasted it from my rc.conf, after I had typed the "syslog_", it is in fact "syslogd_enable" in my rc.conf. > Also, try starting it with "-d" -- debug mode, and do "ps ax | >grep syslog" to see which flags it really has. > After I put it into debug mode, I found the problem. If I just use just the host ipaddress then it doesn't work (ie -a 10.0.0.196). But if I use the netmask (ie -a 10.0.0.196/32, or -a 10.0.0.192/26) then messages are logged. I then tried the PM3, and found that I have to set the port to use (i.e. -a 10.0.0.206/32:\* or -a 10.0.0.206/32:1023) as the PM3 use a different port to send its syslog messages from to port 514 on the logging host. Thanks for the hint. Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001401bd357e$dadfe6a0$c3e0d9cf>
