Skip to content

WARN Exec socket appeared but heartbeat failed, exec will not be available #3

@colorfulshark

Description

@colorfulshark

Hi guys,

I would like to use this project as a light weight sandbox, but had some trouble running the example.

I installed the binaries with

cp a3s* lib /usr/local/bin
ln -s /usr/local/bin/lib/libkrunfw.so* /usr/local/lib/

And when I try to launch the very start box, It outputted some error log

root@ai45lab:~# a3s-box run --name hello alpine:latest -- echo "Hello from MicroVM"
Creating box hello (a143eb40fcda)...
2026-04-21T07:34:20.157417Z  WARN Exec socket appeared but heartbeat failed, exec will not be available
Box hello (a143eb40fcda) started. Press Ctrl-C to stop.
init.krun: entered main argc=1
init.krun: mount_filesystems ok
init.krun: after cmdline env import KRUN_INIT=/sbin/init KRUN_INIT_PID1=<null> BOX_EXEC_EXEC=echo
init.krun: root propagation ok
init.krun: tty/session configured
init.krun: config parsed
init.krun: selected exec=/sbin/init init_pid1=0
init.krun: setup_redirects ok
init.krun: execvp(/sbin/init) starting
init.krun: execvp(/sbin/init) failed errno=2
Couldn't execute '/sbin/init' inside the vm: No such file or directory

Stopping box hello...
Box hello stopped.

I also tried running a box with interactive shell, still got errors

root@ai45lab:~# a3s-box run -it --name dev alpine:latest -- /bin/sh
Creating box dev (3a4989f02274)...
2026-04-21T07:47:58.636724Z  WARN Exec socket appeared but heartbeat failed, exec will not be available
Error: Exec error: Failed to connect to PTY server at /root/.a3s/boxes/3a4989f0-2274-4ef8-bef1-26a645a81af2/sockets/pty.sock: Connection refused (os error 111)

Appreciate for your help.

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