El 12/8/24 a las 13:37, Alberto via rsyslog escribió:
Hi,

I've configured a Fedora host for send Kodi logs to Rsyslog server in this way:

/etc/rsyslog.d/aserver.conf

-----------------------------------------------

# KODI...
module(load="imfile" PollingInterval="10")
input(type="imfile"
file="/home/alberto/.var/app/tv.kodi.Kodi/data/temp/kodi.log"
         tag="kodi"
         severity="info"
         facility="local7")

# Provides TCP forwarding...
*.*     @@server:514
-----------------------------------------------

But rsyslog restarting give this error:

...

rsyslogd[130522]: imfile: on startup file '/home/alberto/.var/app/tv.kodi.Kodi/data/temp/kodi.log' does not exist but is configured in static file monitor - this may indicate a misconfiguration. If the file appears at a later time, it will automatically be processed. Reason: Permission denied [v8.2312.0-1.fc40]

...

Logfile is in my user Path, but rsyslog is running as root, it wouldn't have permissions problem:


root      130522  0.0  0.5 864652 33512 ?        Ssl  13:12   0:00 /usr/sbin/rsyslogd -n

Can you tell me what's the problem?


Selinux Issue,
Sorry
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to