端末側からSSHかSambaにアクセスする際、事前に
- サーバーから端末へpingを送る
- サーバーを再起動する
- $ sudo netplan applyを実行する
上記のいずれかを行わないとログインできません。
尚、その間Softether VPN等他のソフトウェアは難なく動作しています。
環境
Ubuntu Server 20.04.3 LTS
ARPテーブル
ログインできない時
Address HWtype HWaddress Flags Mask Iface 172.31.183.243 ether 00:ae:b6:f2:5a:0f C wlp1s0 192.168.20.15 ether 70:85:c2:7f:77:4f C wlp1s0 _gateway ether 38:f8:5e:b4:1d:d2 C wlp1s0 _gateway ether 38:f8:5e:b4:1d:d2 C enx9096f349a509
netplan apply実行後
Address HWtype HWaddress Flags Mask Iface 192.168.20.11 ether 52:4b:40:c1:2d:ca C wlp1s0 _gateway ether 38:f8:5e:b4:1d:d2 C wlp1s0 _gateway ether 38:f8:5e:b4:1d:d2 C enx9096f349a509 _gateway ether 38:f8:5e:b4:1d:d2 C enx9096f349a509
この時は192.168.20.11からSSHにログインしようとしていました。
syslog
syslog
1Oct 12 08:58:22 home-server systemd[1]: packagekit.service: Succeeded. 2Oct 12 09:17:01 home-server CRON[2678]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) 3Oct 12 09:30:01 home-server CRON[2693]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) 4Oct 12 10:17:01 home-server CRON[2728]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) 5Oct 12 10:30:01 home-server CRON[2744]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) 6Oct 12 10:59:42 home-server kernel: [10346.578441] perf: interrupt took too long (2522 > 2500), lowering kernel.perf_event_max_sample_rate to 79250 7Oct 12 11:17:01 home-server CRON[2787]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) 8Oct 12 11:17:57 home-server smbd[2791]: [2021/10/12 11:17:57.932864, 0] ../../lib/param/loadparm.c:800(lpcfg_map_parameter) 9Oct 12 11:17:57 home-server smbd[2791]: Unknown parameter encountered: "display charset" 10Oct 12 11:17:57 home-server smbd[2791]: [2021/10/12 11:17:57.933719, 0] ../../lib/param/loadparm.c:1826(lpcfg_do_global_parameter) 11Oct 12 11:17:57 home-server smbd[2791]: Ignoring unknown parameter "display charset" 12Oct 12 11:17:57 home-server smbd[2791]: [2021/10/12 11:17:57.934182, 0] ../../lib/param/loadparm.c:800(lpcfg_map_parameter) 13Oct 12 11:17:57 home-server smbd[2791]: Unknown parameter encountered: "bind interface only" 14Oct 12 11:17:57 home-server smbd[2791]: [2021/10/12 11:17:57.934547, 0] ../../lib/param/loadparm.c:1826(lpcfg_do_global_parameter) 15Oct 12 11:17:57 home-server smbd[2791]: Ignoring unknown parameter "bind interface only" 16Oct 12 11:18:25 home-server smbd[2791]: [2021/10/12 11:18:25.557798, 0] ../../lib/param/loadparm.c:800(lpcfg_map_parameter) 17Oct 12 11:18:25 home-server smbd[2791]: Unknown parameter encountered: "display charset" 18Oct 12 11:18:25 home-server smbd[2791]: [2021/10/12 11:18:25.558354, 0] ../../lib/param/loadparm.c:1826(lpcfg_do_global_parameter) 19Oct 12 11:18:25 home-server smbd[2791]: Ignoring unknown parameter "display charset" 20Oct 12 11:18:25 home-server smbd[2791]: [2021/10/12 11:18:25.558813, 0] ../../lib/param/loadparm.c:800(lpcfg_map_parameter) 21Oct 12 11:18:25 home-server smbd[2791]: Unknown parameter encountered: "bind interface only" 22Oct 12 11:18:25 home-server smbd[2791]: [2021/10/12 11:18:25.559173, 0] ../../lib/param/loadparm.c:1826(lpcfg_do_global_parameter) 23Oct 12 11:18:25 home-server smbd[2791]: Ignoring unknown parameter "bind interface only" 24Oct 12 11:22:13 home-server kernel: [11698.119609] perf: interrupt took too long (3192 > 3152), lowering kernel.perf_event_max_sample_rate to 62500 25Oct 12 11:25:42 home-server kernel: [11906.619819] perf: interrupt took too long (6449 > 3990), lowering kernel.perf_event_max_sample_rate to 31000 26Oct 12 11:30:01 home-server CRON[2831]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) 27Oct 12 11:37:39 home-server systemd-resolved[910]: Using degraded feature set (UDP) for DNS server 192.168.20.1. 28Oct 12 11:45:57 home-server systemd-resolved[910]: Using degraded feature set (TCP) for DNS server 192.168.20.1. 29Oct 12 11:53:17 home-server kernel: [13561.847882] perf: interrupt took too long (8078 > 8061), lowering kernel.perf_event_max_sample_rate to 24750 30Oct 12 11:55:13 home-server systemd-resolved[910]: message repeated 2 times: [ Using degraded feature set (TCP) for DNS server 192.168.20.1.] 31Oct 12 12:02:06 home-server smbd[2791]: [2021/10/12 12:02:06.211422, 0] ../../lib/param/loadparm.c:800(lpcfg_map_parameter) 32Oct 12 12:02:06 home-server smbd[2791]: Unknown parameter encountered: "display charset" 33Oct 12 12:02:06 home-server smbd[2791]: [2021/10/12 12:02:06.235797, 0] ../../lib/param/loadparm.c:1826(lpcfg_do_global_parameter) 34Oct 12 12:02:06 home-server smbd[2791]: Ignoring unknown parameter "display charset" 35Oct 12 12:02:06 home-server smbd[2791]: [2021/10/12 12:02:06.236304, 0] ../../lib/param/loadparm.c:800(lpcfg_map_parameter) 36Oct 12 12:02:06 home-server smbd[2791]: Unknown parameter encountered: "bind interface only" 37Oct 12 12:02:06 home-server smbd[2791]: [2021/10/12 12:02:06.236675, 0] ../../lib/param/loadparm.c:1826(lpcfg_do_global_parameter) 38Oct 12 12:02:06 home-server smbd[2791]: Ignoring unknown parameter "bind interface only" 39Oct 12 12:17:02 home-server CRON[2910]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) 40Oct 12 12:30:01 home-server CRON[3158]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) 41Oct 12 12:30:41 home-server kernel: [15805.556544] perf: interrupt took too long (10715 > 10097), lowering kernel.perf_event_max_sample_rate to 18500 42Oct 12 12:31:03 home-server systemd-resolved[910]: Using degraded feature set (UDP) for DNS server 192.168.20.1. 43Oct 12 13:12:45 home-server systemd-resolved[910]: message repeated 2 times: [ Using degraded feature set (UDP) for DNS server 192.168.20.1.] 44Oct 12 13:17:01 home-server CRON[3565]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) 45Oct 12 13:30:01 home-server CRON[3581]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) 46Oct 12 14:17:01 home-server CRON[3625]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) 47Oct 12 14:30:01 home-server CRON[3638]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) 48Oct 12 14:42:05 home-server systemd-resolved[910]: Using degraded feature set (TCP) for DNS server 192.168.20.1. 49Oct 12 14:58:06 home-server systemd-resolved[910]: Using degraded feature set (TCP) for DNS server 192.168.20.1. 50Oct 12 15:17:01 home-server CRON[3688]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) 51Oct 12 15:30:01 home-server CRON[3706]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
SSH・Sambaにログインできなくなった前後のログ
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。