This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Centos 7 rsyslogd bug.
#1
Centos 7 rsyslogd bug.
In CentOS 7 after upgrading the package rsyslog-7.4.7-12.el7.x86_64 the log files are not updated, to fix this problem need to add  type="imuxsock" HostName="localhost" Socket="/dev/log"  after $ModLoad  in the file /etc/rsyslogd.conf. 


Hola,
En centos 7 hay un bug, que cuando se actualiza el paquete rsyslog-7.4.7-12.el7.x86_64 , se dejan de escribir los logs, para solucionarlo hay que editar el fichero /etc/rsyslog.conf y añadir la linea type="imuxsock" HostName="localhost" Socket="/dev/log" debajo de $ModLoad imuxsock .

Example:

[root@root log]# cat /etc/rsyslog.conf
# rsyslog configuration file

# For more information see /usr/share/doc/rsyslog-*/rsyslog_conf.html
# If you experience problems, see http://www.rsyslog.com/doc/troubleshoot.html

#### MODULES ####

# The imjournal module bellow is now used as a message source instead of imuxsock.
$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)
type="imuxsock" HostName="localhost" Socket="/dev/log"
$ModLoad imjournal # provides access to the systemd journal
#$ModLoad imklog # reads kernel messages (the same are read from journald)
#$ModLoad immark  # provides --MARK-- message capability



Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
Fail2ban for Sentora (Centos 7) bbspike 14 25 022 01-14-2020, 07:32 AM
Last Post: Vedran B
[How To] Update from PHP v5.4.16 to v5.6.31 (Includes suhosin patch) [CentOS] betatester3.0 5 6 938 03-18-2019, 01:23 AM
Last Post: BigBang
[How-To] Install the perfect Sentora server using CentOS 7 betatester3.0 0 4 155 10-18-2017, 12:55 AM
Last Post: betatester3.0

Forum Jump:


Users browsing this thread: 1 Guest(s)