Displaying 20 results from an estimated 10000 matches similar to: "Problems sending log to rsyslog"
2016 Apr 17
1
Rsyslog problems
Hi,
My rsyslog is not working as expected.
I have some thing in rsyslog.d that do well, like this:
# Log all iptables stuff separately
:msg, contains, "iptables: " {
action(type="omfile" file="/var/log/iptraf/info")
}
No problems with that.
Bu what's in /etc/rsyslog.conf like:
mail.* /var/log/mail/info
don't do anything at all.
Rsyslogd -N1 is OK,
2016 Feb 05
4
Send Dovecot logs to rsyslog
Hello,
I'm trying to send Dovecot logs to a Graylog server.
To do this, I'd like to pass logs to rsyslog and rsyslog pass logs to
remote Graylog server.
I set in dovecot.conf : syslog_facility = local5.info
I set in rsyslog.conf : local5.info @192.168.xxx.xxx:5555
Restarted services and it doesn't work.
I use nmap to test if port 5555 is opened and this port is open.
What
2014 Aug 06
1
rsyslog does not log on a separate partition/FS mounted on /var/log/
The system is an AWS Instance based on a community CentOS 6.4 AMI snapshot.
The vdisk is as follows as shown below [1]
The root LVM contains /var/log/
I have attached another block device with ext4 FS.
I copied the files from /var/log to this device (mounted on /mnt) and
then changed
/etc/fstab to mount this device on /var/log on boot.
However, I do not see anything being logged in
2016 Feb 29
1
Discarding empty lines in rsyslog
Dear CentOS folk,
I've been try to solve one issue with rsyslog on CentOS 6, but can't
figure it out. I've searched through rsyslog documentation, and used
Google but not found anything that matches my issue.
I'm sending output of a program to rsyslog using "logger -t progname".
I've got the following config snippet in /etc/rsyslog.d:
$FileCreateMode 0644
if
2015 Jun 26
2
Asterisk 13 logging to two places
On Fri, 26 Jun 2015, Dale Noll wrote:
> I added a filter to the /etc/rsyslog.conf file
>
> :syslogtag, contains, "asterisk" stop
>
> Syslog is still receiving the messages, but is discarding them.
Nice to learn a new (to me) feature of rsyslog.
What does 'logger show channels' show?
--
Thanks in advance,
2013 Feb 19
1
remote logging with rsyslog
This is a similar post to one I've made on the rsyslog list that has received
no responses after four days, so I figured I'd try here since the problem
seems to be CentOS specific. This is also my second attempt to send it to
this list as the first seems to have never showed up.
I am trying to test remote logging between two CentOS 6.3 systems and unable
to get the client logs to show up
2016 Apr 20
2
Samba anonymous dns forwarding
On 04/18/2016 07:09 PM, lingpanda101 at gmail.com wrote:
> On 4/18/2016 12:52 PM, Johannes Amorosa | Celluloid VFX wrote:
>>
>> On 04/15/2016 04:36 PM, lingpanda101 at gmail.com wrote:
>>> On 4/15/2016 10:08 AM, Johannes Amorosa | Celluloid VFX wrote:
>>>> Hello,
>>>> we're using sambas internal DNS server.
>>>>
>>>> Is
2015 Nov 24
3
Google Ads in rsyslog documentation files
Peter Eckel wrote:
> Hi all,
>
> I know this comes from upstream (and most likely from the rsyslog
project itself), but what's your opinion about Google Ads in system
documentation files?
>
>> [peckel at mucnvjmppmtr01 ~]$ cat /etc/redhat-release
>> Red Hat Enterprise Linux Server release 6.7 (Santiago)
>> [peckel at mucnvjmppmtr01 ~]$ grep google
2010 Nov 26
1
rsyslog as default syslog daemon?
Hi all!
Is anybody here using rsyslog? I am looking for the right solution how
to use rsyslog in CentOS 5 as the default logging daemon. We use it
because of filtering using regular expressions.
I switched from sysklogd to rsyslog simply using
chkconfig --del syslog
chkconfig --add rsyslog
chkconfig rsyslog on
service syslog stop
service rsyslog start
but this seems not to be
2011 Jul 08
1
Rsyslog and "Error while reading from Linux ethertap device /dev/net/tun: File descriptor in bad state"
Hi,
I recently had a machine filling up its harddisk with syslog and tinc
pilling up milions of messages like this:
"Error while reading from Linux ethertap device /dev/net/tun: File
descriptor in bad state"
I remembered that there was a difference between rsyslog and other
loggers, where one of those was skipping those messages, and simply
was displaying:
"this message has been
2013 Oct 28
1
rsyslog not loading relp
centos 6.4, setup to be syslog server. Doing remote syslog using tcp
works fine, so now want to add relp. I installed the rsyslog-relp
package and told rsyslog.conf to use it:
# RELP Syslog Server:
$ModLoad imrelp # provides RELP syslog reception
$InputRELPServerRun 20514
when I restart rsyslog I am told it does not like my InputRELPServerRun line:
Oct 28 13:43:54 scan rsyslogd: [origin
2009 May 25
1
rsyslog expression based filters
Hello All,
Does the rsyslog version in CentOS 5 support expression based filters?
I'm asking because a filter I believe should be working, isn't and I
cannot figure out why.
I'm trying to get the following expression working (might wrap):
if $source == 'astappsrv2' and $programname == 'asterisk' then /var/log/asterisk/astappsrv2.log
Every time I restart rsyslog, I
2017 Jul 09
2
rsyslog stops logging on service reload?
I have multiple servers running stock CentOS 7 rsyslog 7.4.7-16.el7,
which are configured to log locally and over TCP to a remote logserver,
also running stock CentOS 7 rsyslog. The remote server uses imptcp to
receive, and pretty basic rules to parse and commit to disk.
I have several systems that log prolifically, but periodically, they
stop soon after the remote log server HUPs (daily
2012 Jan 06
1
rsyslog server cannot get the logs
I have an rsyslog server which is running Debian Stable,
and its version of rsyslog is 4.6.4-2.
All of my Debian Stable server can send log to it now.
and run both
nc $IP $PORT <<< "HELLO"
and
echo "HELLO" | nc $IP $PORT
on client, I can get log on the server.
While for my CentOS 5.7 server,
nc $IP $PORT <<< "HELLO"
works well, but
echo
2013 Feb 14
1
chrooted bind -- addition to rsyslog.conf
In /etc/sysconfig/named that gets installed along with bind-chroot there
is a comment that basically says:
Don't forget to add "$AddUnixListenSocket /var/named/chroot/dev/log"
line to your /etc/rsyslog.conf file.
All these little touches you need to find out about. But is there any
order in rsyslog.conf? Do I just add this line to the end of it?
2018 Feb 13
1
selinux policy with rsyslog and tls/certs
I've setup my rsyslog server to forward traffic to another rsyslog
server on my network. It's using gTLS to encrypt the messages in transit.
selinux is not allowing rsyslogd to read the certificates. They are
world readable, so I don't think that is the problem. When I turn
selinux mode to permissive, it works fine.
What context should the ssl certificates be in for rsyslog to be
2012 Jun 05
4
rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
In dealing with an unrelated issue I came across this in rsyslog.conf.
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
Why is there a "-"
2008 Mar 05
1
rsyslog repo?
Does anyone know of a CentOS-5 (el5) repo for rsyslog,
that's being maintained on a relatively regular basis? I
checked all the usual suspects (dag, karan, epel, etc.), but
they either don't have rsyslog at all, or they have an old
version.
Currently, I'm doing a rebuild of the Fedora-8 srpm, but
it's at version 2.0.2. I wanted to move to 3.11.x for the
disk-assisted
2019 Aug 15
2
Availability of rsyslog-8.24.0-41.el7_7.x86_64
Hey there,
RedHat released the new version 8.24.0-41 of rsyslog on 2019-08-06. We
need some fixes of this version and would like to know about which time
this version will be available for CentOS.
http://mirror.centos.org/centos/7/os/x86_64/Packages/ still lists
rsyslog-8.24.0-34 ( 2018-11-12).
Currently I assume the maintainer might be on vacation?
CheersDennis
2015 Sep 15
2
rsyslog for chrooted sftp users has stopped working -- Centos 6.6
Hello everyone,
We have some chrooted sftp-only users on a CentOS release 6.6 server. The
server had been logging their actions, but after recent updates the logs
have stopped.
The server correctly logs non-chrooted users:
Sep 14 17:47:24 vsecure4 sshd[1981]: Accepted publickey for jcours from
192.168.10.166 port 42545 ssh2
Sep 14 17:47:24 vsecure4 sshd[1981]: pam_unix(sshd:session):