Installed snap but it’s not working properly
Version details showing properly for the first time, after that it shows snapd unavailable [root@appsvr ~]# snap --version
snap 2.53.4-1.el8
snapd 2.53.4-1.el8
series 16
rhel 8.5
kernel 4.18.0-193.el8.x86_64
When I check again
[root@appsvr ~]# snap --version
snap 2.53.4-1.el8
snapd unavailable
series -
Timeout on snap install
[root@appsvr ~]# sudo snap install core
error: cannot communicate with server: timeout exceeded while waiting for response
journalctl -u snapd
Logs begin at Fri 2021-10-29 10:07:22 IST, end at Wed 2021-12-22 10:27:52 IST. – Dec 21 12:22:09 lamsappsvr systemd[1]: Starting Snap Daemon… Dec 21 12:22:09 lamsappsvr snapd[192754]: AppArmor status: apparmor not enabled Dec 21 12:22:09 lamsappsvr snapd[192754]: daemon.go:242: started snapd/2.53.4-1.el8 (series 16; classic; devmode) rhel/8.2 (amd64) linux/4.18.0-193.el8.x86_6> Dec 21 12:22:09 lamsappsvr snapd[192754]: daemon.go:335: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap) Dec 21 12:22:09 lamsappsvr snapd[192754]: helpers.go:105: error trying to compare the snap system key: system-key missing on disk Dec 21 12:22:09 lamsappsvr systemd[1]: Started Snap Daemon. Dec 21 12:22:09 lamsappsvr snapd[192754]: api_snaps.go:307: Installing snap “core” revision unset Dec 21 12:30:18 lamsappsvr systemd[1]: Stopping Snap Daemon… Dec 21 12:30:18 lamsappsvr snapd[192754]: main.go:155: Exiting on terminated signal. Dec 21 12:31:48 lamsappsvr systemd[1]: snapd.service: State ‘stop-sigterm’ timed out. Killing. Dec 21 12:31:48 lamsappsvr systemd[1]: snapd.service: Killing process 192754 (snapd) with signal SIGKILL. Dec 21 12:31:48 lamsappsvr systemd[1]: snapd.service: Main process exited, code=killed, status=9/KILL Dec 21 12:31:48 lamsappsvr systemd[1]: snapd.service: Failed with result ‘timeout’. Dec 21 12:31:48 lamsappsvr systemd[1]: Stopped Snap Daemon. Dec 21 12:31:48 lamsappsvr systemd[1]: snapd.service: Triggering OnFailure= dependencies. Dec 21 12:31:48 lamsappsvr systemd[1]: Starting Snap Daemon… Dec 21 12:31:48 lamsappsvr snapd[192836]: AppArmor status: apparmor not enabled Dec 21 12:31:48 lamsappsvr snapd[192836]: patch.go:63: Patching system state level 6 to sublevel 1… Dec 21 12:31:48 lamsappsvr snapd[192836]: patch.go:63: Patching system state level 6 to sublevel 2… Dec 21 12:31:48 lamsappsvr snapd[192836]: patch.go:63: Patching system state level 6 to sublevel 3… Dec 21 12:31:48 lamsappsvr snapd[192836]: daemon.go:242: started snapd/2.53.4-1.el8 (series 16; classic; devmode) rhel/8.2 (amd64) linux/4.18.0-193.el8.x86_6> Dec 21 12:31:48 lamsappsvr snapd[192836]: daemon.go:335: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap) Dec 21 12:31:48 lamsappsvr systemd[1]: Started Snap Daemon. Dec 21 12:44:10 lamsappsvr systemd[1]: Stopping Snap Daemon… Dec 21 12:44:10 lamsappsvr snapd[192836]: main.go:155: Exiting on terminated signal. Dec 21 12:45:40 lamsappsvr systemd[1]: snapd.service: State ‘stop-sigterm’ timed out. Killing. Dec 21 12:45:40 lamsappsvr systemd[1]: snapd.service: Killing process 192836 (snapd) with signal SIGKILL. Dec 21 12:45:40 lamsappsvr systemd[1]: snapd.service: Main process exited, code=killed, status=9/KILL Dec 21 12:45:40 lamsappsvr systemd[1]: snapd.service: Failed with result ‘timeout’. Dec 21 12:45:40 lamsappsvr systemd[1]: Stopped Snap Daemon. Dec 21 12:45:40 lamsappsvr systemd[1]: snapd.service: Triggering OnFailure= dependencies. Dec 21 13:19:04 lamsappsvr systemd[1]: Starting Snap Daemon… Dec 21 13:19:05 lamsappsvr snapd[282429]: AppArmor status: apparmor not enabled Dec 21 13:19:05 lamsappsvr snapd[282429]: daemon.go:242: started snapd/2.53.4-1.el8 (series 16; classic; devmode) rhel/8.5 (amd64) linux/4.18.0-193.el8.x86_6> Dec 21 13:19:05 lamsappsvr snapd[282429]: daemon.go:335: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap) Dec 21 13:19:05 lamsappsvr snapd[282429]: helpers.go:105: error trying to compare the snap system key: system-key missing on disk Dec 21 13:19:05 lamsappsvr systemd[1]: Started Snap Daemon. Dec 21 15:16:28 lamsappsvr systemd[1]: Stopping Snap Daemon… Dec 21 15:16:28 lamsappsvr snapd[282429]: main.go:155: Exiting on terminated signal. Dec 21 15:17:58 lamsappsvr systemd[1]: snapd.service: State ‘stop-sigterm’ timed out. Killing. Dec 21 15:17:58 lamsappsvr systemd[1]: snapd.service: Killing process 282429 (snapd) with signal SIGKILL. Dec 21 15:17:58 lamsappsvr systemd[1]: snapd.service: Main process exited, code=killed, status=9/KILL Dec 21 15:17:58 lamsappsvr systemd[1]: snapd.service: Failed with result ‘timeout’. journalctl -u snapd
– Logs begin at Fri 2021-10-29 10:07:22 IST, end at Wed 2021-12-22 10:27:52 IST. –
Dec 21 12:22:09 appsvr systemd[1]: Starting Snap Daemon…
Dec 21 12:22:09 appsvr snapd[192754]: AppArmor status: apparmor not enabled
Dec 21 12:22:09 appsvr snapd[192754]: daemon.go:242: started snapd/2.53.4-1.el8 (series 16; classic; devmode) rhel/8.2 (amd64) linux/4.18.0-193.el8.x86_6>
Dec 21 12:22:09 appsvr snapd[192754]: daemon.go:335: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
Dec 21 12:22:09 appsvr snapd[192754]: helpers.go:105: error trying to compare the snap system key: system-key missing on disk
Dec 21 12:22:09 appsvr systemd[1]: Started Snap Daemon.
Dec 21 12:22:09 appsvr snapd[192754]: api_snaps.go:307: Installing snap “core” revision unset
Dec 21 12:30:18 appsvr systemd[1]: Stopping Snap Daemon…
Dec 21 12:30:18 appsvr snapd[192754]: main.go:155: Exiting on terminated signal.
Dec 21 12:31:48 appsvr systemd[1]: snapd.service: State ‘stop-sigterm’ timed out. Killing.
Dec 21 12:31:48 appsvr systemd[1]: snapd.service: Killing process 192754 (snapd) with signal SIGKILL.
Dec 21 12:31:48 appsvr systemd[1]: snapd.service: Main process exited, code=killed, status=9/KILL
Dec 21 12:31:48 appsvr systemd[1]: snapd.service: Failed with result ‘timeout’.
Dec 21 12:31:48 appsvr systemd[1]: Stopped Snap Daemon.
Dec 21 12:31:48 appsvr systemd[1]: snapd.service: Triggering OnFailure= dependencies.
Dec 21 12:31:48 appsvr systemd[1]: Starting Snap Daemon…
Dec 21 12:31:48 appsvr snapd[192836]: AppArmor status: apparmor not enabled
Dec 21 12:31:48 appsvr snapd[192836]: patch.go:63: Patching system state level 6 to sublevel 1…
Dec 21 12:31:48 appsvr snapd[192836]: patch.go:63: Patching system state level 6 to sublevel 2…
Dec 21 12:31:48 appsvr snapd[192836]: patch.go:63: Patching system state level 6 to sublevel 3…
Dec 21 12:31:48 appsvr snapd[192836]: daemon.go:242: started snapd/2.53.4-1.el8 (series 16; classic; devmode) rhel/8.2 (amd64) linux/4.18.0-193.el8.x86_6>
Dec 21 12:31:48 appsvr snapd[192836]: daemon.go:335: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
Dec 21 12:31:48 appsvr systemd[1]: Started Snap Daemon.
Dec 21 12:44:10 appsvr systemd[1]: Stopping Snap Daemon…
Dec 21 12:44:10 appsvr snapd[192836]: main.go:155: Exiting on terminated signal.
Dec 21 12:45:40 appsvr systemd[1]: snapd.service: State ‘stop-sigterm’ timed out. Killing.
Dec 21 12:45:40 appsvr systemd[1]: snapd.service: Killing process 192836 (snapd) with signal SIGKILL.
Dec 21 12:45:40 appsvr systemd[1]: snapd.service: Main process exited, code=killed, status=9/KILL
Dec 21 12:45:40 appsvr systemd[1]: snapd.service: Failed with result ‘timeout’.
Dec 21 12:45:40 appsvr systemd[1]: Stopped Snap Daemon.
Dec 21 12:45:40 appsvr systemd[1]: snapd.service: Triggering OnFailure= dependencies.
Dec 21 13:19:04 appsvr systemd[1]: Starting Snap Daemon…
Dec 21 13:19:05 appsvr snapd[282429]: AppArmor status: apparmor not enabled
Dec 21 13:19:05 appsvr snapd[282429]: daemon.go:242: started snapd/2.53.4-1.el8 (series 16; classic; devmode) rhel/8.5 (amd64) linux/4.18.0-193.el8.x86_6>
Dec 21 13:19:05 appsvr snapd[282429]: daemon.go:335: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
Dec 21 13:19:05 appsvr snapd[282429]: helpers.go:105: error trying to compare the snap system key: system-key missing on disk
Dec 21 13:19:05 appsvr systemd[1]: Started Snap Daemon.
Dec 21 15:16:28 appsvr systemd[1]: Stopping Snap Daemon…
Dec 21 15:16:28 appsvr snapd[282429]: main.go:155: Exiting on terminated signal.
Dec 21 15:17:58 appsvr systemd[1]: snapd.service: State ‘stop-sigterm’ timed out. Killing.
Dec 21 15:17:58 appsvr systemd[1]: snapd.service: Killing process 282429 (snapd) with signal SIGKILL.
Dec 21 15:17:58 appsvr systemd[1]: snapd.service: Main process exited, code=killed, status=9/KILL
Dec 21 15:17:58 appsvr systemd[1]: snapd.service: Failed with result ‘timeout’.