Skip to content

dial unix /Users/$USER/.lima/default/default_ep.sock: connect: no such file or directory #4434

@hossein1376

Description

@hossein1376

Description

Hello! I want to use lima, after running limactl start, then choosing the template and downloading the files, I get the following log:

WARN[0557] [hostagent] Failed to wait for the guest SSH server to become available, falling back to usernet forwarder  error="Get \"http://lima/services/dhcp/leases\": dial unix /Users/hossein/.lima/default/default_ep.sock: connect: no such file or directory"

I gave it a few minutes but nothing happened. Sending ctrl + C or running limactl stop won't work and I have to manually kill the pid to make it stop.

EDIT: tried another template and it worked flawlessly. Maybe it's something reelated to Arch?

ha.stderr.log contents

{"level":"debug","msg":"Using internal driver \"vz\"","time":"2025-12-07T22:37:42+03:30"}
{"level":"debug","msg":"Decompressing /opt/homebrew/share/lima/lima-guestagent.Linux-aarch64.gz","time":"2025-12-07T22:37:42+03:30"}
{"level":"debug","msg":"Creating iso file /Users/hossein/.lima/default/cidata.iso","time":"2025-12-07T22:37:42+03:30"}
{"level":"debug","msg":"Using /var/folders/tk/7j54c2711k9g3xxy9g9wnyv40000gn/T/diskfs_iso892874113 as workspace","time":"2025-12-07T22:37:42+03:30"}
{"level":"debug","msg":"Failed to detect CPU features. Assuming that AES acceleration is available on this Apple silicon.","time":"2025-12-07T22:37:42+03:30"}
{"level":"debug","msg":"OpenSSH version 10.0.2 detected, is GSSAPI supported: true","time":"2025-12-07T22:37:42+03:30"}
{"level":"debug","msg":"AES accelerator seems available, prioritizing [email protected] and [email protected]","time":"2025-12-07T22:37:42+03:30"}
{"level":"info","msg":"hostagent socket created at /Users/hossein/.lima/default/ha.sock","time":"2025-12-07T22:37:42+03:30"}
{"level":"info","msg":"Starting VZ (hint: to watch the boot progress, see \"/Users/hossein/.lima/default/serial*.log\")","time":"2025-12-07T22:37:42+03:30"}
{"level":"debug","msg":"Start udp DNS listening on: 127.0.0.1:58645","time":"2025-12-07T22:37:42+03:30"}
{"level":"debug","msg":"Start tcp DNS listening on: 127.0.0.1:52567","time":"2025-12-07T22:37:42+03:30"}
{"level":"debug","msg":"Kernel file \"/Users/hossein/.lima/default/kernel\" not found","time":"2025-12-07T22:37:42+03:30"}
{"level":"debug","msg":"Using EFI Boot Loader","time":"2025-12-07T22:37:42+03:30"}
{"level":"debug","msg":"new connection from  to ","time":"2025-12-07T22:37:42+03:30"}
{"level":"debug","msg":"[VZ] - vm state change: \"VirtualMachineStateStarting\"","time":"2025-12-07T22:37:43+03:30"}
{"level":"info","msg":"[VZ] - vm state change: running","time":"2025-12-07T22:37:43+03:30"}
{"level":"info","msg":"[VZ] - vm state change: stopped","time":"2025-12-07T22:37:43+03:30"}
{"error":"Get \"http://lima/services/dhcp/leases\": dial unix /Users/hossein/.lima/default/default_ep.sock: connect: no such file or directory","level":"warning","msg":"Failed to wait for the guest SSH server to become available, falling back to usernet forwarder","time":"2025-12-07T22:37:43+03:30"}

lima.yaml content

minimumLimaVersion: 2.0.0
images:
# Try to use yyyyMMdd.REV image if available. Note that yyyyMMdd.REV will be removed after several months.

- location: "https://geo.mirror.pkgbuild.com/images/v20251115.451200/Arch-Linux-x86_64-cloudimg-20251115.451200.qcow2"
  arch: "x86_64"
  digest: "sha256:38327a685289f4e8ab2e646e7866d2d87f9f5efe51d764d08e71ad712969b4c2"
- location: https://github.com/mcginty/arch-boxes-arm/releases/download/v20220323/Arch-Linux-aarch64-cloudimg-20220323.0.qcow2
  arch: aarch64
  digest: sha512:27524910bf41cb9b3223c8749c6e67fd2f2fdb8b70d40648708e64d6b03c0b4a01b3c5e72d51fefd3e0c3f58487dbb400a79ca378cde2da341a3a19873612be8

# Fallback to the latest release image.
# Hint: run `limactl prune` to invalidate the cache

- location: https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2
  arch: x86_64

mounts:
- location: "~"

# # /tmp/lima is no longer mounted by default since Lima v2.0.
# - location: "{{.GlobalTempDir}}/lima"
#  mountPoint: /tmp/lima
#  writable: true

Lima version:

$ limactl --version
limactl version 2.0.2
$ limactl info
{
    "version": "2.0.2",
    "templates": [
        {
            "name": "_default/mounts",
            "location": "/opt/homebrew/share/lima/templates/_default/mounts.yaml"
        },
        {
            "name": "_images/almalinux-10",
            "location": "/opt/homebrew/share/lima/templates/_images/almalinux-10.yaml"
        },
        {
            "name": "_images/almalinux-8",
            "location": "/opt/homebrew/share/lima/templates/_images/almalinux-8.yaml"
        },
        {
            "name": "_images/almalinux-9",
            "location": "/opt/homebrew/share/lima/templates/_images/almalinux-9.yaml"
        },
        {
            "name": "_images/almalinux-kitten-10",
            "location": "/opt/homebrew/share/lima/templates/_images/almalinux-kitten-10.yaml"
        },
        {
            "name": "_images/alpine",
            "location": "/opt/homebrew/share/lima/templates/_images/alpine.yaml"
        },
        {
            "name": "_images/alpine-iso",
            "location": "/opt/homebrew/share/lima/templates/_images/alpine-iso.yaml"
        },
        {
            "name": "_images/archlinux",
            "location": "/opt/homebrew/share/lima/templates/_images/archlinux.yaml"
        },
        {
            "name": "_images/centos-stream-10",
            "location": "/opt/homebrew/share/lima/templates/_images/centos-stream-10.yaml"
        },
        {
            "name": "_images/centos-stream-9",
            "location": "/opt/homebrew/share/lima/templates/_images/centos-stream-9.yaml"
        },
        {
            "name": "_images/debian-11",
            "location": "/opt/homebrew/share/lima/templates/_images/debian-11.yaml"
        },
        {
            "name": "_images/debian-12",
            "location": "/opt/homebrew/share/lima/templates/_images/debian-12.yaml"
        },
        {
            "name": "_images/debian-13",
            "location": "/opt/homebrew/share/lima/templates/_images/debian-13.yaml"
        },
        {
            "name": "_images/fedora",
            "location": "/opt/homebrew/share/lima/templates/_images/fedora.yaml"
        },
        {
            "name": "_images/fedora-41",
            "location": "/opt/homebrew/share/lima/templates/_images/fedora-41.yaml"
        },
        {
            "name": "_images/fedora-42",
            "location": "/opt/homebrew/share/lima/templates/_images/fedora-42.yaml"
        },
        {
            "name": "_images/fedora-43",
            "location": "/opt/homebrew/share/lima/templates/_images/fedora-43.yaml"
        },
        {
            "name": "_images/opensuse-leap",
            "location": "/opt/homebrew/share/lima/templates/_images/opensuse-leap.yaml"
        },
        {
            "name": "_images/opensuse-leap-15",
            "location": "/opt/homebrew/share/lima/templates/_images/opensuse-leap-15.yaml"
        },
        {
            "name": "_images/opensuse-leap-16",
            "location": "/opt/homebrew/share/lima/templates/_images/opensuse-leap-16.yaml"
        },
        {
            "name": "_images/oraclelinux-10",
            "location": "/opt/homebrew/share/lima/templates/_images/oraclelinux-10.yaml"
        },
        {
            "name": "_images/oraclelinux-8",
            "location": "/opt/homebrew/share/lima/templates/_images/oraclelinux-8.yaml"
        },
        {
            "name": "_images/oraclelinux-9",
            "location": "/opt/homebrew/share/lima/templates/_images/oraclelinux-9.yaml"
        },
        {
            "name": "_images/rocky-10",
            "location": "/opt/homebrew/share/lima/templates/_images/rocky-10.yaml"
        },
        {
            "name": "_images/rocky-8",
            "location": "/opt/homebrew/share/lima/templates/_images/rocky-8.yaml"
        },
        {
            "name": "_images/rocky-9",
            "location": "/opt/homebrew/share/lima/templates/_images/rocky-9.yaml"
        },
        {
            "name": "_images/ubuntu",
            "location": "/opt/homebrew/share/lima/templates/_images/ubuntu.yaml"
        },
        {
            "name": "_images/ubuntu-20.04",
            "location": "/opt/homebrew/share/lima/templates/_images/ubuntu-20.04.yaml"
        },
        {
            "name": "_images/ubuntu-22.04",
            "location": "/opt/homebrew/share/lima/templates/_images/ubuntu-22.04.yaml"
        },
        {
            "name": "_images/ubuntu-24.04",
            "location": "/opt/homebrew/share/lima/templates/_images/ubuntu-24.04.yaml"
        },
        {
            "name": "_images/ubuntu-24.10",
            "location": "/opt/homebrew/share/lima/templates/_images/ubuntu-24.10.yaml"
        },
        {
            "name": "_images/ubuntu-25.04",
            "location": "/opt/homebrew/share/lima/templates/_images/ubuntu-25.04.yaml"
        },
        {
            "name": "_images/ubuntu-25.10",
            "location": "/opt/homebrew/share/lima/templates/_images/ubuntu-25.10.yaml"
        },
        {
            "name": "_images/ubuntu-lts",
            "location": "/opt/homebrew/share/lima/templates/_images/ubuntu-lts.yaml"
        },
        {
            "name": "almalinux",
            "location": "/opt/homebrew/share/lima/templates/almalinux.yaml"
        },
        {
            "name": "almalinux-10",
            "location": "/opt/homebrew/share/lima/templates/almalinux-10.yaml"
        },
        {
            "name": "almalinux-8",
            "location": "/opt/homebrew/share/lima/templates/almalinux-8.yaml"
        },
        {
            "name": "almalinux-9",
            "location": "/opt/homebrew/share/lima/templates/almalinux-9.yaml"
        },
        {
            "name": "almalinux-kitten",
            "location": "/opt/homebrew/share/lima/templates/almalinux-kitten.yaml"
        },
        {
            "name": "almalinux-kitten-10",
            "location": "/opt/homebrew/share/lima/templates/almalinux-kitten-10.yaml"
        },
        {
            "name": "alpine",
            "location": "/opt/homebrew/share/lima/templates/alpine.yaml"
        },
        {
            "name": "alpine-iso",
            "location": "/opt/homebrew/share/lima/templates/alpine-iso.yaml"
        },
        {
            "name": "apptainer",
            "location": "/opt/homebrew/share/lima/templates/apptainer.yaml"
        },
        {
            "name": "apptainer-rootful",
            "location": "/opt/homebrew/share/lima/templates/apptainer-rootful.yaml"
        },
        {
            "name": "archlinux",
            "location": "/opt/homebrew/share/lima/templates/archlinux.yaml"
        },
        {
            "name": "buildkit",
            "location": "/opt/homebrew/share/lima/templates/buildkit.yaml"
        },
        {
            "name": "centos-stream",
            "location": "/opt/homebrew/share/lima/templates/centos-stream.yaml"
        },
        {
            "name": "centos-stream-10",
            "location": "/opt/homebrew/share/lima/templates/centos-stream-10.yaml"
        },
        {
            "name": "centos-stream-9",
            "location": "/opt/homebrew/share/lima/templates/centos-stream-9.yaml"
        },
        {
            "name": "debian",
            "location": "/opt/homebrew/share/lima/templates/debian.yaml"
        },
        {
            "name": "debian-12",
            "location": "/opt/homebrew/share/lima/templates/debian-12.yaml"
        },
        {
            "name": "debian-13",
            "location": "/opt/homebrew/share/lima/templates/debian-13.yaml"
        },
        {
            "name": "default",
            "location": "/opt/homebrew/share/lima/templates/default.yaml"
        },
        {
            "name": "docker",
            "location": "/opt/homebrew/share/lima/templates/docker.yaml"
        },
        {
            "name": "docker-rootful",
            "location": "/opt/homebrew/share/lima/templates/docker-rootful.yaml"
        },
        {
            "name": "experimental/alsa",
            "location": "/opt/homebrew/share/lima/templates/experimental/alsa.yaml"
        },
        {
            "name": "experimental/debian-sid",
            "location": "/opt/homebrew/share/lima/templates/experimental/debian-sid.yaml"
        },
        {
            "name": "experimental/gentoo",
            "location": "/opt/homebrew/share/lima/templates/experimental/gentoo.yaml"
        },
        {
            "name": "experimental/opensuse-tumbleweed",
            "location": "/opt/homebrew/share/lima/templates/experimental/opensuse-tumbleweed.yaml"
        },
        {
            "name": "experimental/rke2",
            "location": "/opt/homebrew/share/lima/templates/experimental/rke2.yaml"
        },
        {
            "name": "experimental/u7s",
            "location": "/opt/homebrew/share/lima/templates/experimental/u7s.yaml"
        },
        {
            "name": "experimental/ubuntu-26.04",
            "location": "/opt/homebrew/share/lima/templates/experimental/ubuntu-26.04.yaml"
        },
        {
            "name": "experimental/ubuntu-next",
            "location": "/opt/homebrew/share/lima/templates/experimental/ubuntu-next.yaml"
        },
        {
            "name": "experimental/vnc",
            "location": "/opt/homebrew/share/lima/templates/experimental/vnc.yaml"
        },
        {
            "name": "experimental/wsl2",
            "location": "/opt/homebrew/share/lima/templates/experimental/wsl2.yaml"
        },
        {
            "name": "faasd",
            "location": "/opt/homebrew/share/lima/templates/faasd.yaml"
        },
        {
            "name": "fedora",
            "location": "/opt/homebrew/share/lima/templates/fedora.yaml"
        },
        {
            "name": "fedora-41",
            "location": "/opt/homebrew/share/lima/templates/fedora-41.yaml"
        },
        {
            "name": "fedora-42",
            "location": "/opt/homebrew/share/lima/templates/fedora-42.yaml"
        },
        {
            "name": "fedora-43",
            "location": "/opt/homebrew/share/lima/templates/fedora-43.yaml"
        },
        {
            "name": "k0s",
            "location": "/opt/homebrew/share/lima/templates/k0s.yaml"
        },
        {
            "name": "k3s",
            "location": "/opt/homebrew/share/lima/templates/k3s.yaml"
        },
        {
            "name": "k8s",
            "location": "/opt/homebrew/share/lima/templates/k8s.yaml"
        },
        {
            "name": "linuxbrew",
            "location": "/opt/homebrew/share/lima/templates/linuxbrew.yaml"
        },
        {
            "name": "opensuse",
            "location": "/opt/homebrew/share/lima/templates/opensuse.yaml"
        },
        {
            "name": "opensuse-leap",
            "location": "/opt/homebrew/share/lima/templates/opensuse-leap.yaml"
        },
        {
            "name": "opensuse-leap-15",
            "location": "/opt/homebrew/share/lima/templates/opensuse-leap-15.yaml"
        },
        {
            "name": "opensuse-leap-16",
            "location": "/opt/homebrew/share/lima/templates/opensuse-leap-16.yaml"
        },
        {
            "name": "oraclelinux",
            "location": "/opt/homebrew/share/lima/templates/oraclelinux.yaml"
        },
        {
            "name": "oraclelinux-10",
            "location": "/opt/homebrew/share/lima/templates/oraclelinux-10.yaml"
        },
        {
            "name": "oraclelinux-8",
            "location": "/opt/homebrew/share/lima/templates/oraclelinux-8.yaml"
        },
        {
            "name": "oraclelinux-9",
            "location": "/opt/homebrew/share/lima/templates/oraclelinux-9.yaml"
        },
        {
            "name": "podman",
            "location": "/opt/homebrew/share/lima/templates/podman.yaml"
        },
        {
            "name": "podman-rootful",
            "location": "/opt/homebrew/share/lima/templates/podman-rootful.yaml"
        },
        {
            "name": "rocky",
            "location": "/opt/homebrew/share/lima/templates/rocky.yaml"
        },
        {
            "name": "rocky-10",
            "location": "/opt/homebrew/share/lima/templates/rocky-10.yaml"
        },
        {
            "name": "rocky-8",
            "location": "/opt/homebrew/share/lima/templates/rocky-8.yaml"
        },
        {
            "name": "rocky-9",
            "location": "/opt/homebrew/share/lima/templates/rocky-9.yaml"
        },
        {
            "name": "ubuntu",
            "location": "/opt/homebrew/share/lima/templates/ubuntu.yaml"
        },
        {
            "name": "ubuntu-20.04",
            "location": "/opt/homebrew/share/lima/templates/ubuntu-20.04.yaml"
        },
        {
            "name": "ubuntu-22.04",
            "location": "/opt/homebrew/share/lima/templates/ubuntu-22.04.yaml"
        },
        {
            "name": "ubuntu-24.04",
            "location": "/opt/homebrew/share/lima/templates/ubuntu-24.04.yaml"
        },
        {
            "name": "ubuntu-24.10",
            "location": "/opt/homebrew/share/lima/templates/ubuntu-24.10.yaml"
        },
        {
            "name": "ubuntu-25.04",
            "location": "/opt/homebrew/share/lima/templates/ubuntu-25.04.yaml"
        },
        {
            "name": "ubuntu-25.10",
            "location": "/opt/homebrew/share/lima/templates/ubuntu-25.10.yaml"
        },
        {
            "name": "ubuntu-lts",
            "location": "/opt/homebrew/share/lima/templates/ubuntu-lts.yaml"
        }
    ],
    "defaultTemplate": {
        "base": [
            {
                "url": "template:_images/ubuntu"
            },
            {
                "url": "template:_default/mounts"
            }
        ],
        "minimumLimaVersion": "2.0.0",
        "vmOpts": {
            "qemu": {
                "cpuType": null,
                "minimumVersion": null
            },
            "vz": {
                "rosetta": {
                    "binfmt": null,
                    "enabled": null
                }
            }
        },
        "os": "Linux",
        "arch": "aarch64",
        "cpus": 4,
        "memory": "4GiB",
        "disk": "100GiB",
        "mountInotify": false,
        "ssh": {
            "localPort": 0,
            "loadDotSSHPubKeys": false,
            "forwardAgent": false,
            "forwardX11": false,
            "forwardX11Trusted": false
        },
        "firmware": {
            "legacyBIOS": false
        },
        "audio": {
            "device": ""
        },
        "video": {
            "display": "none",
            "vnc": {}
        },
        "upgradePackages": false,
        "containerd": {
            "system": false,
            "user": true,
            "archives": [
                {
                    "location": "https://github.com/containerd/nerdctl/releases/download/v2.2.0/nerdctl-full-2.2.0-linux-amd64.tar.gz",
                    "arch": "x86_64",
                    "digest": "sha256:d3b6a7cb990639fef12b63fb26d34f570786f685d609763f37f98b32430ce747"
                },
                {
                    "location": "https://github.com/containerd/nerdctl/releases/download/v2.2.0/nerdctl-full-2.2.0-linux-arm64.tar.gz",
                    "arch": "aarch64",
                    "digest": "sha256:5398f037ae095d43cf3cb8c30765a24e511e38cafe02977b928a41b26e842ed1"
                }
            ]
        },
        "guestInstallPrefix": "/usr/local",
        "hostResolver": {
            "enabled": true,
            "ipv6": false
        },
        "propagateProxyEnv": true,
        "caCerts": {
            "removeDefaults": false
        },
        "rosetta": {},
        "plain": false,
        "timezone": "Asia/Tehran",
        "nestedVirtualization": false,
        "user": {
            "name": "hossein",
            "comment": "hossein",
            "home": "/home/hossein.linux",
            "shell": "/bin/bash",
            "uid": 501
        }
    },
    "limaHome": "/Users/hossein/.lima",
    "vmTypes": [
        "vz",
        "qemu",
        "krunkit"
    ],
    "vmTypesEx": {
        "krunkit": {
            "location": "/opt/homebrew/Cellar/lima/2.0.2/libexec/lima/lima-driver-krunkit"
        },
        "qemu": {
            "location": "internal"
        },
        "vz": {
            "location": "internal"
        }
    },
    "guestAgents": {
        "aarch64": {
            "location": "/opt/homebrew/share/lima/lima-guestagent.Linux-aarch64.gz"
        }
    },
    "shellEnvBlock": [
        "BASH*",
        "DISPLAY",
        "DYLD_*",
        "EUID",
        "FPATH",
        "GID",
        "GROUP",
        "HOME",
        "HOSTNAME",
        "LD_*",
        "LOGNAME",
        "OLDPWD",
        "PATH",
        "PWD",
        "SHELL",
        "SHLVL",
        "SSH_*",
        "TERM",
        "TERMINFO",
        "TMPDIR",
        "UID",
        "USER",
        "XAUTHORITY",
        "XDG_*",
        "ZDOTDIR",
        "ZSH*",
        "_*"
    ],
    "hostOS": "darwin",
    "hostArch": "aarch64",
    "identityFile": "/Users/hossein/.lima/_config/user",
    "plugins": [
        {
            "name": "mcp",
            "path": "/opt/homebrew/Cellar/lima/2.0.2/libexec/lima/limactl-mcp"
        }
    ],
    "libexecPaths": [
        "/opt/homebrew/Cellar/lima/2.0.2/libexec/lima"
    ],
    "sharePaths": [
        "/opt/homebrew/share/lima",
        "/opt/homebrew/Cellar/lima/2.0.2/share/lima"
    ]
}

Host

MacOS - M4 Pro

$ sw_vers
ProductName:		macOS
ProductVersion:		26.1
BuildVersion:		25B78

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions