Site Tools


linux:general:troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
linux:general:troubleshooting [2019/10/07 18:06] lunetikklinux:general:troubleshooting [2019/10/23 00:52] lunetikk
Line 199: Line 199:
 </code> </code>
 \\ \\
 +\\
 +
 +
 +==== systemctl runs in timeout ====
 +
 +=== Description ===
 +
 +In this example, installation of docker-ce with the following command doesnt work
 +<code>
 +curl -sSL https://get.docker.com | sh
 +
 +# Executing docker install script, commit: f45d7c11389849ff46a6b4d94e0dd1ffebca32c1
 ++ sh -c apt-get update -qq >/dev/null
 ++ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
 ++ sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - >/dev/null
 ++ sh -c echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable" > /etc/apt/sources.list.d/docker.list
 ++ sh -c apt-get update -qq >/dev/null
 ++ [ -n  ]
 ++ sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
 +
 +Broadcast message from systemd-journald@lunetikk (Wed 2019-10-23 00:22:12 CEST):
 +
 +systemd[1]: Caught <SEGV>, dumped core as pid 26368.
 +
 +
 +Broadcast message from systemd-journald@lunetikk (Wed 2019-10-23 00:22:12 CEST):
 +
 +systemd[1]: Freezing execution.
 +
 +E: Sub-process /usr/bin/dpkg returned an error code (1)
 +</code>
 +
 +Rerun "apt-get install docker-ce" shows the following
 +<code>
 +apt-get install docker-ce
 +Reading package lists... Done
 +Building dependency tree
 +Reading state information... Done
 +docker-ce is already the newest version (5:19.03.4~3-0~ubuntu-xenial).
 +After this operation, 0 B of additional disk space will be used.
 +Do you want to continue? [Y/n]
 +Setting up docker-ce (5:19.03.4~3-0~ubuntu-xenial) ...
 +Failed to execute operation: Connection timed out
 +Failed to execute operation: Connection timed out
 +Failed to retrieve unit state: Connection timed out
 +Failed to start docker.service: Connection timed out
 +See system logs and 'systemctl status docker.service' for details.
 +invoke-rc.d: initscript docker, action "start" failed.
 +Failed to get properties: Connection timed out
 +dpkg: error processing package docker-ce (--configure):
 + subprocess installed post-installation script returned error exit status 1
 +Errors were encountered while processing:
 + docker-ce
 +E: Sub-process /usr/bin/dpkg returned an error code (1)
 +</code>
 +
 +You cant reconfigure
 +<code>
 +dpkg-reconfigure docker-ce
 +/usr/sbin/dpkg-reconfigure: docker-ce is broken or not fully installed
 +</code>
 +
 +Listing the units for "systemctl status" runs in timeout
 +<code>
 +systemctl status docke<TAB>
 +Failed to list unit files: Connection timed out
 +Failed to list units: Connection timed out
 +Failed to list unit files: Connection timed out
 +</code>
 +
 +
 +
 +=== Reason ===  \\
 + \\
 +
 +
 +=== Fix ===  \\
 +
 \\ \\
  
linux/general/troubleshooting.txt · Last modified: 2020/12/03 15:12 by lunetikk