2015-12-07 13:22 GMT+01:00 Peter Portante <[email protected]>: > Do you have any log output from rsyslog itself saying what it failed to > start exactly? > > It looks like this behavior started as of: > https://github.com/rsyslog/rsyslog/commit/9ff2ebb26e6ac6b2a98bde2aa855374d9a115b6a, > which first appears in v7.5.5. > > Prior to that, it does not appear any checking on the input file was > performed during configuration file processing. > > Since I am new to rsyslog, I defer to those who know it much better than I.
there have been many changes to imfile since 8.4. I suggest to update to the currently supported version 8.14 and see if that already solves the problem (I guess it does). Rainer > > -peter > > > On Mon, Dec 7, 2015 at 1:30 AM, Esmq <[email protected]> wrote: > >> config: >> $InputFileName /home/project/talk/webservice/usinfo/logs/apache-access.log >> $InputFileTag cgilog-usinfo >> $InputFileStateFile imfile-cgilog-usinfo.statfile >> $InputFileSeverity debug >> $InputFileFacility local7 >> $InputRunFileMonitor >> $InputFilePollInterval 3 >> >> >> directory /home/project/talk/webservice/usinfo/logs/ does not exists. >> >> >> no imjournal ... >> /usr/sbin/rsyslogd -v >> rsyslogd 8.4.2, compiled with: >> FEATURE_REGEXP: Yes >> GSSAPI Kerberos 5 support: Yes >> FEATURE_DEBUG (debug build, slow code): No >> 32bit Atomic operations supported: Yes >> 64bit Atomic operations supported: Yes >> memory allocator: system default >> Runtime Instrumentation (slow code): No >> uuid support: Yes >> Number of Bits in RainerScript integers: 64 >> >> See http://www.rsyslog.com for more information. >> >> >> >> >> At 2015-12-07 14:19:01, "Peter Portante" <[email protected]> >> wrote: >> >On Mon, Dec 7, 2015 at 1:17 AM, Esmq <[email protected]> wrote: >> > >> >> test rsyslog v8 on debian 7 x64 bit , also works fine when imfile with >> >> file that no exists. >> >> >> >> >> >> i suppose systemd/journalctl on debian 8 imcompatible with rsyslog ~ >> >> >> > >> >Can you share your configuration? Are you using imjournal? >> > >> >-peter >> > >> > >> >> >> >> >> >> At 2015-12-07 13:33:48, "Esmq" <[email protected]> wrote: >> >> >hi,all >> >> > >> >> >running rsyslogd 8.4.2 on debian 8 64bit system ~ >> >> > >> >> >use imfile to monitor some files under some directories, >> >> > >> >> >if directories no exists, rsyslog will fail to start~ >> >> > >> >> >with rsyslog v7, it works fine~ >> >> > >> >> >it is a bug , or i shold mkdir before start rsyslogd v8? >> >> > >> >> >_______________________________________________ >> >> >rsyslog mailing list >> >> >http://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. >> >> _______________________________________________ >> >> rsyslog mailing list >> >> http://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. >> >> >> >_______________________________________________ >> >rsyslog mailing list >> >http://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. >> _______________________________________________ >> rsyslog mailing list >> http://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. >> > _______________________________________________ > rsyslog mailing list > http://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. _______________________________________________ rsyslog mailing list http://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.

