WebApr 21, 2024 · syslog service can be started with error rsyslog rsyslogd [2253]: imjournal: fopen () failed for path: '/var/lib/rsyslog/imjournal.state.tmp': Permission denied Change log path to /opt/rsyslog --------------------------------------------------------------- chcon --reference /var/log /opt/rsyslog Rsyslog config WebOct 16, 2024 · Jul 16 09:26:03 host.domain.tld rsyslogd [1619937]: imjournal: open on state file `/var/lib/rsyslog/imjournal.state' failed [v8.24.0-57.el7_9.1 try http://www.rsyslog.com/e/2013 ] This error is a result of open journal files exceeding the default limit of 1024. You can check the number of allowed journal files by running the …
imjournal: fscanf on state file …
WebWhat's weird: I can not see any change in the state file if I populate the input log file with some testing data even after Rsyslog restart using # systemctl restart rsyslog (it should update the state file by default). Just to point out: the imjournal and imuxsock plugins work and populate the fallback log file /tmp/rsyslog-testing.log correctly. WebApr 9, 2024 · rsyslog 8.1901.0-1%2Bdeb10u2. links: PTS, VCS area: main; in suites: buster; size: 14,924 kB; sloc: ansic: 95,286; sh: 29,326; makefile: 3,217; lex: 554; python: 360 ... pool service helper
[SOLVED] CentOS-7.4 - rsyslog - imjournal: journal …
Web8. On Ubuntu 18.04 both journald and rsyslog are installed. Both serve the same purpose of collecting log messages and storing them. So we have two programs doing the same work here. What I could find out is that journald only saves log messages in its own journal files which can be queried with the journalctl command. WebNov 15, 2024 · imjournal.state, same as you mentionned : rename() failed... I tried to change context but there was nothing to do. There was also a problem with "imjournal.state.tmp". … WebNov 13, 2024 · On my system, there's an fcontext rule that sets it: /var/lib/r?syslog (/.*)? all files system_u:object_r:syslogd_var_lib_t:s0 The fix may be as simple as restorecon -v /var/lib/rsyslog/imjournal.state, followed up with a confirmation check of ls -lZ /var/lib/rsyslog/imjournal.state. pool service flower mound