PC의 프로그램은 실행 중이지만 로깅이 없습니다.

PC의 프로그램은 실행 중이지만 로깅이 없습니다.

하루 24시간 실행되는 원격 PC 2대(Ubuntu 20.04)가 있습니다. 그 외에도 syslog내 애플리케이션에서 작성된 로그를 확인할 수도 있습니다. UDP를 통해 내 애플리케이션과 통신하는 하드웨어가 PC에 연결되어 있습니다. 따라서 하드웨어를 통해 이러한 PC의 응용 프로그램이 살아 있는지 여부도 확인할 수 있습니다.

최근에 인터넷 포트를 통해 컴퓨터에 액세스할 수 없다는 사실을 발견했습니다. 하지만 내 하드웨어는 다른 UDP 포트를 통해 전송된 패킷을 계속 수신할 수 있습니다. 컴퓨터가 나와 있지 않아서 로그인하여 볼 ​​수 없습니다.

컴퓨터를 다시 시작한 후 컴퓨터에 액세스할 수 없었던 동안 시스템 로그가 없는 것을 확인했습니다. 해당 기간 동안의 지원 로그도 비어 있었습니다. 하지만 내 애플리케이션은 항상 실행되어야 합니다. 그렇지 않으면 내 하드웨어가 즉시 알림을 보냅니다(100% 확신합니다).

컴퓨터에 문제가 있는 걸까요? 조언을 해줄 수 있는 사람이 있나요? syslog접근 불가 기간에 대한 내용을 여기에 첨부했습니다 .

이것은 Aug 12 15:04:55컴퓨터를 다시 시작하기 전의 마지막 출력입니다.

Aug 12 14:30:29 x3000C kernel: [4063387.125113] ata6.00: configured for UDMA/133
Aug 12 14:30:29 x3000C kernel: [4063387.125125] ata6: EH complete
Aug 12 14:31:29 x3000C systemd[1]: Started Run anacron jobs.
Aug 12 14:31:29 x3000C anacron[976205]: Anacron 2.3 started on 2023-08-12
Aug 12 14:31:29 x3000C anacron[976205]: Normal exit (0 jobs run)
Aug 12 14:31:29 x3000C systemd[1]: anacron.service: Succeeded.
Aug 12 14:39:23 x3000C systemd[1]: Starting Ubuntu Advantage Timer for running repeated jobs...
Aug 12 14:39:23 x3000C systemd[1]: ua-timer.service: Succeeded.
Aug 12 14:39:23 x3000C systemd[1]: Finished Ubuntu Advantage Timer for running repeated jobs.
Aug 12 14:39:55 x3000C snapd[155706]: autorefresh.go:589: Cannot prepare auto-refresh change due to a permanent network error: persistent network error: Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp 255.255.255.255:443: connect: network is unreachable
Aug 12 14:39:55 x3000C snapd[155706]: stateengine.go:149: state ensure error: persistent network error: Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp 255.255.255.255:443: connect: network is unreachable
Aug 12 14:41:41 x3000C ovpn-client[822626]: TLS: soft reset sec=0 bytes=26936/-1 pkts=708/0
Aug 12 14:41:41 x3000C ovpn-client[822626]: VERIFY OK: depth=1, CN=ca
Aug 12 14:41:41 x3000C ovpn-client[822626]: VERIFY KU OK
Aug 12 14:41:41 x3000C ovpn-client[822626]: Validating certificate extended key usage
Aug 12 14:41:41 x3000C ovpn-client[822626]: ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Aug 12 14:41:41 x3000C ovpn-client[822626]: VERIFY EKU OK
Aug 12 14:41:41 x3000C ovpn-client[822626]: VERIFY OK: depth=0, CN=server_2023
Aug 12 14:41:41 x3000C ovpn-client[822626]: Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Aug 12 14:41:41 x3000C ovpn-client[822626]: Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Aug 12 14:41:41 x3000C ovpn-client[822626]: Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
Aug 12 15:04:55 x3000C snapd[155706]: autorefresh.go:589: Cannot prepare auto-refresh change due to a permanent network error: persistent network error: Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp 255.255.255.255:443: connect: network is unreachable
Aug 12 15:04:55 x3000C snapd[155706]: stateengine.go:149: state ensure error: persistent network error: Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp 255.255.255.255:443: connect: network is unreachable
Aug 17 13:55:01 x3000C systemd[1]: Starting Flush Journal to Persistent Storage...
Aug 17 13:55:01 x3000C systemd[1]: Activated swap /swapfile.
Aug 17 13:55:01 x3000C systemd[1]: Reached target Swap.
Aug 17 13:55:01 x3000C systemd-modules-load[391]: Inserted module 'lp'
Aug 17 13:55:01 x3000C systemd-modules-load[391]: Inserted module 'ppdev'
Aug 17 13:55:01 x3000C systemd-modules-load[391]: Inserted module 'parport_pc'
Aug 17 13:55:01 x3000C systemd[1]: Finished Create System Users.
Aug 17 13:55:01 x3000C systemd-modules-load[391]: Inserted module 'msr'
Aug 17 13:55:01 x3000C systemd[1]: Starting Create Static Device Nodes in /dev...
Aug 17 13:55:01 x3000C systemd[1]: Finished Load Kernel Modules.
Aug 17 13:55:01 x3000C systemd[1]: Mounting FUSE Control File System...
Aug 17 13:55:01 x3000C systemd[1]: Mounting Kernel Configuration File System...

다음은 다른 PC의 로깅, Jul 25 12:17:01최종 출력 입니다 syslog.

Jul 25 10:56:20 x3000C ovpn-client[1160251]: ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Jul 25 10:56:20 x3000C ovpn-client[1160251]: VERIFY EKU OK
Jul 25 10:56:20 x3000C ovpn-client[1160251]: VERIFY OK: depth=0, CN=server_2023
Jul 25 10:56:20 x3000C ovpn-client[1160251]: Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Jul 25 10:56:20 x3000C ovpn-client[1160251]: Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Jul 25 10:56:20 x3000C ovpn-client[1160251]: Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
Jul 25 11:06:44 x3000C whoopsie[1094]: [11:06:44] Cannot reach: https://daisy.ubuntu.com
Jul 25 11:06:44 x3000C whoopsie[1094]: [11:06:44] offline
Jul 25 11:06:44 x3000C whoopsie[1094]: [11:06:44] Cannot reach: https://daisy.ubuntu.com
Jul 25 11:06:45 x3000C whoopsie[1094]: [11:06:45] online
Jul 25 11:17:01 x3000C CRON[1275476]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jul 25 11:30:01 x3000C CRON[1275603]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Jul 25 11:33:02 x3000C systemd[1]: Started Run anacron jobs.
Jul 25 11:33:02 x3000C anacron[1275629]: Anacron 2.3 started on 2023-07-25
Jul 25 11:33:02 x3000C anacron[1275629]: Normal exit (0 jobs run)
Jul 25 11:33:02 x3000C systemd[1]: anacron.service: Succeeded.
Jul 25 11:56:20 x3000C ovpn-client[1160251]: TLS: soft reset sec=0 bytes=30904/-1 pkts=740/0
Jul 25 11:56:20 x3000C ovpn-client[1160251]: VERIFY OK: depth=1, CN=ca
Jul 25 11:56:20 x3000C ovpn-client[1160251]: VERIFY KU OK
Jul 25 11:56:20 x3000C ovpn-client[1160251]: Validating certificate extended key usage
Jul 25 11:56:20 x3000C ovpn-client[1160251]: ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Jul 25 11:56:20 x3000C ovpn-client[1160251]: VERIFY EKU OK
Jul 25 11:56:20 x3000C ovpn-client[1160251]: VERIFY OK: depth=0, CN=server_2023
Jul 25 11:56:20 x3000C ovpn-client[1160251]: Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Jul 25 11:56:20 x3000C ovpn-client[1160251]: Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Jul 25 11:56:20 x3000C ovpn-client[1160251]: Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
Jul 25 12:17:01 x3000C CRON[1276046]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jul 31 12:00:56 x3000C systemd-modules-load[390]: Inserted module 'lp'
Jul 31 12:00:56 x3000C systemd-modules-load[390]: Inserted module 'ppdev'
Jul 31 12:00:56 x3000C systemd-modules-load[390]: Inserted module 'parport_pc'
Jul 31 12:00:56 x3000C systemd-modules-load[390]: Inserted module 'msr'
Jul 31 12:00:56 x3000C systemd-sysctl[402]: Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists).
Jul 31 12:00:56 x3000C systemd-sysctl[402]: Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists).
Jul 31 12:00:56 x3000C systemd[1]: Finished Remount Root and Kernel File Systems.
Jul 31 12:00:56 x3000C systemd[1]: Activating swap /swapfile...
Jul 31 12:00:56 x3000C systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
Jul 31 12:00:56 x3000C systemd[1]: Starting Flush Journal to Persistent Storage...
Jul 31 12:00:56 x3000C systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
Jul 31 12:00:56 x3000C systemd[1]: Starting Load/Save Random Seed...
Jul 31 12:00:56 x3000C systemd[1]: Starting Create System Users...

관련 정보