[rsyslog-notify] Forum Thread: imfile error: no file name given - (Mode 'post')

noreply at adiscon.com noreply at adiscon.com
Mon Jul 25 19:56:58 CEST 2016


User: anjoed 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26810#p26810

Message: 
----------
Good Afternoon Guys, How are you doing ? I hope fine.

Well, I am trying to monitor a log file with only IP Address inside. This
file is being generated each 1 minute.
However, I am getting this error:

[root at ds2soaldap2p ~]# rsyslogd -f /etc/rsyslog.conf -N2
rsyslogd: version 5.8.10, config validation run (level 2), master config
/etc/rsyslog.conf
rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically
generated config directives may interfer with your rsyslog.conf settings.
We suggest upgrading your config and adding -c5 as the first rsyslogd
option.
rsyslogd: unknown priority name "log" [try <!-- m --><a class="postlink"
href="http://www.rsyslog.com/e/3000">http://www.rsyslog.com/e/3000</a><!--
m --> ]
rsyslogd: the last error occured in /etc/rsyslog.d/graylog.conf, line
19:"InputFileName /var/log/openldap_conexoes.log"
rsyslogd: imfile error: no file name given, file monitor can not be created
[try <!-- m --><a class="postlink"
href="http://www.rsyslog.com/e/2046">http://www.rsyslog.com/e/2046</a><!--
m --> ]
rsyslogd: the last error occured in /etc/rsyslog.d/graylog.conf, line
26:"$InputRunFileMonitor"
rsyslogd: warning: selector line without actions will be discarded
rsyslogd: the last error occured in /etc/rsyslog.conf, line
44:"$IncludeConfig /etc/rsyslog.d/*.conf"
rsyslogd: CONFIG ERROR: could not interpret master config file
'/etc/rsyslog.conf'. [try <!-- m --><a class="postlink"
href="http://www.rsyslog.com/e/2124">http://www.rsyslog.com/e/2124</a><!--
m --> ]
rsyslogd: Warning: backward compatibility layer added to following
directive to rsyslog.conf: ModLoad immark
rsyslogd: Warning: backward compatibility layer added to following
directive to rsyslog.conf: MarkMessagePeriod 1200
rsyslogd: Warning: backward compatibility layer added to following
directive to rsyslog.conf: ModLoad imuxsock

where is my fault ?

Thank you for the answer.


Cheers.


More information about the rsyslog-notify mailing list