Failed to start bluethoot service

after last upgrade osmc give this message
bluetooth.service:main process exited, code=exited, status=1/FAILURE
failed to start bluetooth service

this is log
Job kbd.service/start deleted to break ordering cycle starting with basic.target/s
Oct 19 18:53:36 osmc systemd[1]: Found ordering cycle on basic.target/start
Oct 19 18:53:36 osmc systemd[1]: Found dependency on sysinit.target/start
Oct 19 18:53:36 osmc systemd[1]: Found dependency on rpcbind.service/start
Oct 19 18:53:36 osmc systemd[1]: Found dependency on network-online.target/start
Oct 19 18:53:36 osmc systemd[1]: Found dependency on connman.service/start
Oct 19 18:53:36 osmc systemd[1]: Found dependency on basic.target/start
Oct 19 18:53:36 osmc systemd[1]: Breaking ordering cycle by deleting job rpcbind.service/start
Oct 19 18:53:36 osmc systemd[1]: Job rpcbind.service/start deleted to break ordering cycle starting with basic.targ
Oct 19 18:53:36 osmc systemd[1]: bluetooth.service: main process exited, code=exited, status=1/FAILURE
Oct 19 18:53:36 osmc systemd[1]: Failed to start Bluetooth service.
– Subject: Unit bluetooth.service has failed
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit bluetooth.service has failed.

– The result is failed.
Oct 19 18:53:36 osmc systemd[1]: Unit bluetooth.service entered failed state.
Oct 19 18:53:36 osmc kernel: ip_tables: © 2000-2006 Netfilter Core Team
Oct 19 18:53:36 osmc systemd[1]: Found dependency on remote-fs-pre.target/start
Oct 19 18:53:36 osmc systemd[1]: Found dependency on network.target/start
Oct 19 18:53:36 osmc kernel: nf_conntrack version 0.5.0 (11738 buckets, 46952 max)
Oct 19 18:53:36 osmc bluetoothd[336]: Unable to get on D-Bus
Oct 19 18:53:36 osmc bluetoothd[336]: D-Bus setup failed: Failed to connect to socket /var/run/dbus/system_bus_sock
Oct 19 18:53:36 osmc networking[241]: Configuring network interfaces…/etc/network/if-up.d/sendmail: 44: .: Can’t
Oct 19 18:53:36 osmc networking[241]: run-parts: /etc/network/if-up.d/sendmail exited with return code 2
Oct 19 18:53:36 osmc networking[241]: Failed to bring up lo.
Oct 19 18:53:36 osmc networking[241]: /etc/network/if-up.d/sendmail: 44: .: Can’t open /usr/share/sendmail/dynamic
Oct 19 18:53:36 osmc networking[241]: run-parts: /etc/network/if-up.d/sendmail exited with return code 2
Oct 19 18:53:36 osmc networking[241]: ifup: post-up script failed.
Oct 19 18:53:36 osmc networking[241]: failed.
Oct 19 18:53:36 osmc cron[397]: (CRON) INFO (pidfile fd = 3)

some solution to reboot automaticaly this service?

There is insufficient information in the log snippet that you have posted to attempt any kind of diagnosis, please always post a full log using paste-log, grab-logs or the My OSMC log uploader not a snippet.

If a program is not able to connect to dbus that is a very serious error, most likely you have file system corruption. Please provide the output of:

grab-logs -A

is this?
http://paste.osmc.io/xuzadibivo
thank you

It’s hard to know what is causing that specific issue, as bluetoothd seems to be unable to connect to dbus, and I can’t think of any reason why that would happen, nor have we had any previous reports of this.

However I have noticed that you have a LOT of additional software installed and you are running out of memory causing the OOM killer to kill processes, for example:

Oct 19 20:33:14 osmc kernel: /usr/share/webm invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
Oct 19 20:33:14 osmc kernel: /usr/share/webm cpuset=/ mems_allowed=0
Oct 19 20:33:14 osmc kernel: CPU: 0 PID: 15508 Comm: /usr/share/webm Not tainted 4.2.3-2-osmc #1
Oct 19 20:33:14 osmc kernel: Hardware name: BCM2709
Oct 19 20:33:14 osmc kernel: [<8001f624>] (unwind_backtrace) from [<8001b020>] (show_stack+0x20/0x24)
Oct 19 20:33:14 osmc kernel: [<8001b020>] (show_stack) from [<8071ea20>] (dump_stack+0x9c/0xdc)
Oct 19 20:33:14 osmc kernel: [<8071ea20>] (dump_stack) from [<8015c784>] (dump_header.isra.10+0xb4/0x280)
Oct 19 20:33:14 osmc kernel: [<8015c784>] (dump_header.isra.10) from [<8015d060>] (oom_kill_process+0x25c/0x444)
Oct 19 20:33:14 osmc kernel: [<8015d060>] (oom_kill_process) from [<8015d708>] (out_of_memory+0x450/0x484)
Oct 19 20:33:14 osmc kernel: [<8015d708>] (out_of_memory) from [<80164f24>] (__alloc_pages_nodemask+0xa6c/0xab8)
Oct 19 20:33:14 osmc kernel: [<80164f24>] (__alloc_pages_nodemask) from [<8015b720>] (filemap_fault+0x248/0x610)
Oct 19 20:33:14 osmc kernel: [<8015b720>] (filemap_fault) from [<80198bd8>] (handle_mm_fault+0xa3c/0x14b4)
Oct 19 20:33:14 osmc kernel: [<80198bd8>] (handle_mm_fault) from [<80726724>] (do_page_fault+0x38c/0x400)
Oct 19 20:33:14 osmc kernel: [<80726724>] (do_page_fault) from [<80009220>] (do_DataAbort+0x48/0xc4)
Oct 19 20:33:14 osmc kernel: [<80009220>] (do_DataAbort) from [<80725ee4>] (__dabt_usr+0x44/0x60)
Oct 19 20:33:14 osmc kernel: Exception stack(0xad43bfb0 to 0xad43bff8)
Oct 19 20:33:14 osmc kernel: bfa0:                                     02c4c660 00000000 76f26f44 0000006d
Oct 19 20:33:14 osmc kernel: bfc0: 7ee59738 7ee59670 02c4c663 00000000 00000000 7ee59704 00000000 01f51008
Oct 19 20:33:14 osmc kernel: bfe0: 76f4972c 7ee595a8 76cdca43 76e88dd4 40050030 ffffffff
Oct 19 20:33:14 osmc kernel: Mem-Info:

In this case it was webmin was killed by the OOM killer, but there are several other instances of the system running out of memory from the same log. You also have apache2, motion, mysql, php5, phpmyadmin, pulseway, and sendmail installed.

For a small Linux device with 1GB of ram, (768MB usable after the default GPU memory has taken its slice) no swap file, that is also running Kodi at the same time, this is rather excessive. Webmin in particular is known to be a memory hog.

I would start by disabling most of these services and see if your issue goes away, if so, you’re just trying to run too much on a small device with a limited amount of memory and no swap file.

How do i make ti disinstall motion?

sudo apt-get purge <package.you.want.to.remove>