Page 2 of 2
Re: duplicate message log when use NFS and rsyslog
Posted: Thu Jan 28, 2021 2:12 am
by sacom01
yes i did, restarted and pushed log bro
Re: duplicate message log when use NFS and rsyslog
Posted: Thu Jan 28, 2021 6:29 pm
by cdienger
What OS is running rsyslog and what version of rsyslog? I can find bugs regarding duplicate messages from rsyslog so you may need to upgrade it to get a fix.
Is there anything more to the configuration other than what was posted? Typically there is more in the the rsyslog.conf file and often times it will try to load configuration files from /etc/rsyslog.d/ as well.
Re: duplicate message log when use NFS and rsyslog
Posted: Thu Jan 28, 2021 9:26 pm
by sacom01
hi bro,
Only one conf file have been used to push log.
pls find attach file.
We using AIX 7.2
bash-4.3# oslevel -s
7200-00-01-1543
Re: duplicate message log when use NFS and rsyslog
Posted: Fri Jan 29, 2021 4:27 pm
by cdienger
Thanks for the info. At this point I would try changing the configuration to just send a single file. For example:
Code: Select all
$ModLoad imfile
$InputFileName /logbk/runtime.log
$InputFileTag runtime:
$InputFileStateFile /tmp/runtime
$InputFileSeverity info
$InputFileFacility local2
$InputRunFileMonitor
$InputUDPServerKeepalive on
template (name="TraditionalFormat" type="string" string="%msg%\n")
local2.* @192.168.xxx.xx:5050;TraditionalFormat
and if that works, create another rsyslog.conf to process another of the logs, and so forth.
Re: duplicate message log when use NFS and rsyslog
Posted: Sun Feb 28, 2021 9:40 pm
by sacom01
hi bro,
we have to change to use GPFS instead NFS, and do not facing with this issue anymore.
thanks for your support. pls close the ticket
Re: duplicate message log when use NFS and rsyslog
Posted: Mon Mar 01, 2021 8:12 am
by scottwilkerson
sacom01 wrote:hi bro,
we have to change to use GPFS instead NFS, and do not facing with this issue anymore.
thanks for your support. pls close the ticket
Locking thread