08-29-2006
well looks like my /etc/hosts is different then the box that is working, i didnt clarify myself earlier, bascially mail messages are not being sent to /var/log/syslog... its a zero length file. On the box that is not working loghost is not on the same line as the hostname of the machine. Which I think i did, because i beleive this leaves you open to a denial of service attack. I thought this allowed you to be a syslog server, and thus other machines could send you syslog messages... so in order to resolve this could i take out the loghost reference in /etc/syslog.conf?
mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)
2 More Discussions You Might Find Interesting
1. Solaris
Hi Community
Which are the available entries to forward syslog in syslog.conf
i have put
*.err;kern.debug;daemon.notice;mail.crit;user.alert;user.emerg;kern.notice;auth.notice;kern.warning @172.16.200.50
and it's not going through.giving error message like below:
syslogd:... (2 Replies)
Discussion started by: bentech4u
2 Replies
2. AIX
Hi everyone,
I am trying to configure AIX 6.1 using syslogd to send syslog event to syslog server configured on RHEL. However, RHEL never receives the events.
I have tried to redirect the syslog event on AIX to a local file and successful. Only forwarding to remote server fails.
Firewall... (10 Replies)
Discussion started by: michael_hoang
10 Replies
LEARN ABOUT DEBIAN
log::agent::channel::syslog
Agent::Channel::Syslog(3pm) User Contributed Perl Documentation Agent::Channel::Syslog(3pm)
NAME
Log::Agent::Channel::Syslog - syslog logging channel for Log::Agent::Logger
SYNOPSIS
require Log::Agent::Channel::Syslog;
my $channel = Log::Agent::Channel::Syslog->make(
# Specific attributes
-prefix => prefix,
-facility => "user",
-showpid => 1,
-socktype => "unix",
-logopt => "ndelay",
);
DESCRIPTION
The syslog logging channels directs operations to syslog() via the Sys::Syslog(3) interface.
The creation routine make() takes the following switches:
"-facility" => facility
Tell syslog() which facility to use (e.g. "user", "auth", "daemon"). Unlike the Sys::Syslog(3) interface, the facility is set once and
for all: every message logged through this channel will use the same facility.
"-logopt" => syslog options
Specifies logging options, under the form of a string containing zero or more of the words ndelay, cons or nowait.
"-prefix" => prefix
The prefix here is syslog's identification string.
"-showpid" => flag
Set to true to have the PID of the process logged. It is false by default.
"-socktype" => (unix | inet)
Specifies the logging socket type to use. The default behaviour is to use Sys:Syslog's default.
AUTHOR
Raphael Manfredi <Raphael_Manfredi@pobox.com>
SEE ALSO
Log::Agent::Logger(3).
perl v5.10.0 2002-03-09 Agent::Channel::Syslog(3pm)