Quantcast
Channel: VMware Communities : Discussion List - vCenter™ Server
Viewing all articles
Browse latest Browse all 6649

fix for missing ExecReload of rsyslog.service

$
0
0

"ExecReload=/usr/bin/kill -HUP $MAINPID" should be part of the shipped rsyslog.service and if vmware only would read the logs they could know

/usr/lib/systemd/system/getty@tty2.service.d/dcui_override.conf has wrong permissions BTW

2020-08-12T13:00:01.566324+00:00 vcenter logrotate: Failed to reload syslog.service: Job type reload is not applicable for unit rsyslog.service.

2020-08-13T00:00:03.552688+00:00 vcenter logrotate: Failed to reload syslog.service: Job type reload is not applicable for unit rsyslog.service.

2020-08-12T13:00:01.566435+00:00 vcenter logrotate: error: error running shared postrotate script for '/var/log/lastlog '

2020-08-13T00:00:03.553029+00:00 vcenter logrotate: error: error running shared postrotate script for '/var/log/lastlog '

 

[root@vcenter:~]$ cat /etc/systemd/system/rsyslog.service.d/reload.conf

[Service]

ExecReload=/usr/bin/kill -HUP $MAINPID

 

[root@vcenter:~]$ systemctl status rsyslog

● rsyslog.service - System Logging Service

   Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)

  Drop-In: /etc/systemd/system/rsyslog.service.d

           └─reload.conf

 

2020-08-13T10:56:21.404519+00:00 vcenter systemd[1]: Reloading.

2020-08-13T10:56:22.471532+00:00 vcenter systemd[1]: Configuration file /usr/lib/systemd/system/getty@tty2.service.d/dcui_override.conf is marked executable. Please remove executable permission bits. Proceeding anyway.

2020-08-13T10:57:16.644834+00:00 vcenter systemd[1]: Reloading System Logging Service.

2020-08-13T10:57:16.686632+00:00 vcenter systemd[1]: Reloaded System Logging Service.

[root@vcenter:~]$ chmod 644 /usr/lib/systemd/system/getty@tty2.service.d/dcui_override.conf


Viewing all articles
Browse latest Browse all 6649

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>