anbox session-manager [ 2018-01-18 12:53:51] [daemon.cpp:58@Run] Failed to connect to socket /run/anbox-container.socket: Connection refused

Created on 18 Jan 2018  路  4Comments  路  Source: anbox/anbox

anbox session manager not starting.

* Please paste the result of anbox system-info below:*

version: 3
snap-revision: 66
os:
  name: Linux Mint
  version: 18.3 (Sylvia)
  snap-based: true
kernel:
  version: Linux version 4.11.0-14-generic (buildd@lcy01-08) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #20~16.04.1-Ubuntu SMP Wed Aug 9 09:06:22 UTC 2017
  binder: true
  ashmem: true
graphics:
  egl:
    vendor: NVIDIA
    version: 1.4
    extensions:
      - EGL_EXT_buffer_age
      - EGL_EXT_create_context_robustness
      - EGL_EXT_output_base
      - EGL_EXT_stream_acquire_mode
      - EGL_IMG_context_priority
      - EGL_KHR_config_attribs
      - EGL_KHR_create_context_no_error
      - EGL_KHR_create_context
      - EGL_KHR_display_reference
      - EGL_KHR_fence_sync
      - EGL_KHR_get_all_proc_addresses
      - EGL_KHR_partial_update
      - EGL_KHR_swap_buffers_with_damage
      - EGL_KHR_gl_colorspace
      - EGL_KHR_gl_renderbuffer_image
      - EGL_KHR_gl_texture_2D_image
      - EGL_KHR_gl_texture_3D_image
      - EGL_KHR_gl_texture_cubemap_image
      - EGL_KHR_image
      - EGL_KHR_image_base
      - EGL_KHR_image_pixmap
      - EGL_KHR_reusable_sync
      - EGL_KHR_stream
      - EGL_KHR_stream_consumer_gltexture
      - EGL_KHR_stream_cross_process_fd
      - EGL_KHR_stream_fifo
      - EGL_KHR_stream_producer_eglsurface
      - EGL_KHR_surfaceless_context
      - EGL_NV_nvrm_fence_sync
      - EGL_NV_post_sub_buffer
      - EGL_NV_stream_metadata
      - EGL_NV_stream_reset
      - EGL_NV_stream_sync
      - EGL_NV_stream_consumer_gltexture_yuv
      - EGL_NV_stream_attrib
      - EGL_NV_sync
      - EGL_NV_system_time
      - EGL_NV_output_drm_flip_event
  gles2:
    vendor: NVIDIA Corporation
    vendor: OpenGL ES 1.1 NVIDIA 387.34
    extensions:
      - GL_EXT_debug_label
      - GL_EXT_map_buffer_range
      - GL_EXT_robustness
      - GL_EXT_texture_compression_dxt1
      - GL_EXT_texture_compression_s3tc
      - GL_EXT_texture_format_BGRA8888
      - GL_KHR_debug
      - GL_EXT_memory_object
      - GL_EXT_memory_object_fd
      - GL_EXT_semaphore
      - GL_EXT_semaphore_fd
      - GL_NV_texture_compression_s3tc
      - GL_OES_compressed_ETC1_RGB8_texture
      - GL_EXT_compressed_ETC1_RGB8_sub_texture
      - GL_OES_compressed_paletted_texture
      - GL_OES_draw_texture
      - GL_OES_EGL_image
      - GL_OES_EGL_image_external
      - GL_OES_EGL_sync
      - GL_OES_element_index_uint
      - GL_OES_extended_matrix_palette
      - GL_OES_fbo_render_mipmap
      - GL_OES_framebuffer_object
      - GL_OES_matrix_get
      - GL_OES_matrix_palette
      - GL_OES_packed_depth_stencil
      - GL_OES_point_size_array
      - GL_OES_point_sprite
      - GL_OES_rgb8_rgba8
      - GL_OES_read_format
      - GL_OES_stencil8
      - GL_OES_texture_cube_map
      - GL_OES_texture_npot
      - GL_OES_vertex_half_float

Please describe your problem:
$ anbox session-manager
[ 2018-01-18 12:53:51] [daemon.cpp:58@Run] Failed to connect to socket /run/anbox-container.socket: Connection refused

What were you expecting?:
starting anbox

Additional info:

decaying

Most helpful comment

I have exactly same problem.

System: Ubuntu 16.04 LTS 64bit
Anbox version: 3-f68725c 73 edge morphis devmode

It seems that error was caused by container-manager service is not running.

So I did run iy manually, but I had to copy file /snap/anbox/current/android.img to my home dir eg. /home/me/anbox first and that start manager with option --data-path. Without providing data-path it won't start. Seems it doesn't have permission to create dir in /snap folder.

anbox container-manager --daemon --data-path=/home/me/anbox

Now container-manager is running, but trying to start session-manager with:

anbox session-manager

Fails with:

[ 2018-04-04 13:08:44] [client.cpp:49@start] Failed to start container: Failed to start container: Failed to start container
[ 2018-04-04 13:08:44] [session_manager.cpp:162@operator()] Lost connection to container manager, terminating.
[ 2018-04-04 13:08:44] [daemon.cpp:58@Run] Container is not running
Segmentation fault (core dumped)

and in syslog

Apr  4 15:08:44 ikarus kernel: [ 5322.435270] anbox[13930]: segfault at b1 ip 00000000000000b1 sp 00007f0312ffc1b8 error 14 in anbox[400000+233000]

So I didn't get very far.

All 4 comments

I have exactly same problem.

System: Ubuntu 16.04 LTS 64bit
Anbox version: 3-f68725c 73 edge morphis devmode

It seems that error was caused by container-manager service is not running.

So I did run iy manually, but I had to copy file /snap/anbox/current/android.img to my home dir eg. /home/me/anbox first and that start manager with option --data-path. Without providing data-path it won't start. Seems it doesn't have permission to create dir in /snap folder.

anbox container-manager --daemon --data-path=/home/me/anbox

Now container-manager is running, but trying to start session-manager with:

anbox session-manager

Fails with:

[ 2018-04-04 13:08:44] [client.cpp:49@start] Failed to start container: Failed to start container: Failed to start container
[ 2018-04-04 13:08:44] [session_manager.cpp:162@operator()] Lost connection to container manager, terminating.
[ 2018-04-04 13:08:44] [daemon.cpp:58@Run] Container is not running
Segmentation fault (core dumped)

and in syslog

Apr  4 15:08:44 ikarus kernel: [ 5322.435270] anbox[13930]: segfault at b1 ip 00000000000000b1 sp 00007f0312ffc1b8 error 14 in anbox[400000+233000]

So I didn't get very far.

try with :
sudo snap restart anbox

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alxlg picture alxlg  路  4Comments

lukedoomer picture lukedoomer  路  3Comments

zaoqi picture zaoqi  路  3Comments

ashakranthi picture ashakranthi  路  4Comments

GustavoPeredo picture GustavoPeredo  路  3Comments