OCI: /var/log/messages log messages generates only a single line ,no new line
Applies To:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Symptoms:
OCI Linux instance (OL8) /var/log/messages log messages generates only a single line of logs and no new line gets generated
$ cat /var/log/messages <134>2023-12-21T08:01:07.313277+00:00 test-db journal[19868]: Oracle Audit[19868]: LENGTH : '244' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[4] 'grid' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[12] 'test-db' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100'<46>2023-12-21T08:01:07.606339+00:00 test-db rsyslogd[2362]: [origin software="rsyslogd" swVersion="8.2102.0-13.el8" x-pid="2362" x-info="https://www.rsyslog.com"] rsyslogd was HUPed<43>2023-12-21T08:01:07.606601+00:00 test-db rsyslogd[2362]: cannot resolve hostname 'logcollector': Inappropriate ioctl for device [v8.2102.0-13.el8 try https://www.rsyslog.com/e/2027 ]<134>2023-12-21T08:01:07.724924+00:00 test-db journal[19898]: Oracle Audit[19898]: LENGTH : '244' ACTION :[7] 'CONNECT' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[4] 'grid' CLIENT TERMINAL:[0] '' STATUS:[1] '0' DBID:[0] '' SESSIONID:[10] '4294967295' USERHOST:[12] 'test-db' CLIENT ADDRESS:[0] '' ACTION NUMBER:[3] '100'<38>2023-12-21T08:01:45.682088+00:00 test-db sshd[21737]: rexec line 68: Deprecated option UsePrivilegeSeparation<43>2023-12-21T08:01:45.777860+00:00 test-db rsyslogd[2362]: cannot resolve hostname 'logcollector': Inappropriate ioctl for device [v8.2102.0-13.el8 try https://www.rsyslog.com/e/2027 ]<30>2023-12- 21T08:01:46.101151+00:00 test-db systemd[1]: Created slice User Slice of UID 1000.<30>2023-12-21T08:01:46.102105+00:00 test-db systemd[1]: Starting User runtime directory /run/user/1000...<38>2023-12-21T08:01:46.105878+00:00 test-db systemd-logind[1584]: New session 13
Tagged:
0