JosephPranu
Posts: 4
Joined: Tue Jan 21, 2020 6:02 am

Failed to start Bluetooth service

Tue Jan 21, 2020 6:12 am

Could someone help me rectify this error??

Code: Select all

[email protected]:~ $ sudo service bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: failed (Result: exit-code) since Tue 2020-01-21 05:47:23 GMT; 42s ago
     Docs: man:bluetoothd(8)
  Process: 932 ExecStart=/usr/lib/bluetooth/bluetoothd --nonplugin=sap (code=exi
 Main PID: 932 (code=exited, status=1/FAILURE)

Jan 21 05:47:23 raspberrypi systemd[1]: Starting Bluetooth service...
Jan 21 05:47:23 raspberrypi bluetoothd[932]: Unknown option --nonplugin=sap
Jan 21 05:47:23 raspberrypi systemd[1]: bluetooth.service: Main process exited, 
Jan 21 05:47:23 raspberrypi systemd[1]: bluetooth.service: Failed with result 'e
Jan 21 05:47:23 raspberrypi systemd[1]: Failed to start Bluetooth service.

LOUx2
Posts: 1
Joined: Tue Jan 21, 2020 10:20 am

Re: Failed to start Bluetooth service

Tue Jan 21, 2020 10:25 am

Hi,

Your issue is a typo in the file /lib/systemd/system/bluetooth.service.
Edit it and replace "--nonplugin=sap" with "--noplugin=sap".

Regards.

JosephPranu
Posts: 4
Joined: Tue Jan 21, 2020 6:02 am

Re: Failed to start Bluetooth service

Tue Jan 21, 2020 2:37 pm

Thanks for the fast reply.

When I try to edit and replace "--nonplugin=sap" with "--noplugin=sap", the following error pops up.

"Error saving file", "Too many levels of symbolic links", "The file on the disk may be truncated"


Image
Attachments
WhatsApp Image 2020-01-21 at 7.59.48 PM.jpeg
WhatsApp Image 2020-01-21 at 7.59.48 PM.jpeg (96.32 KiB) Viewed 277 times

User avatar
DougieLawson
Posts: 37088
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Failed to start Bluetooth service

Tue Jan 21, 2020 2:55 pm

You need to be root to update that file.

Open an LXTerminal and run sudo leafpad.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

JosephPranu
Posts: 4
Joined: Tue Jan 21, 2020 6:02 am

Re: Failed to start Bluetooth service

Tue Jan 21, 2020 6:48 pm

Thanks!! Now my Bluetooth is on and running.
But, now it shows "Failed to set privacy: Rejected"

Code: Select all

[email protected]:~ $ sudo service bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: active (running) since Tue 2020-01-21 17:30:49 GMT; 4min 57s ago
     Docs: man:bluetoothd(8)
 Main PID: 601 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   Memory: 2.2M
   CGroup: /system.slice/bluetooth.service
           └─601 /usr/lib/bluetooth/bluetoothd --noplugin=sap

Jan 21 17:30:49 raspberrypi systemd[1]: Starting Bluetooth service...
Jan 21 17:30:49 raspberrypi bluetoothd[601]: Bluetooth daemon 5.50
Jan 21 17:30:49 raspberrypi systemd[1]: Started Bluetooth service.
Jan 21 17:30:49 raspberrypi bluetoothd[601]: Starting SDP server
Jan 21 17:30:49 raspberrypi bluetoothd[601]: Excluding (cli) sap
Jan 21 17:30:49 raspberrypi bluetoothd[601]: Bluetooth management interface 1.14
Jan 21 17:30:49 raspberrypi bluetoothd[601]: Failed to set privacy: Rejected (0x

User avatar
DougieLawson
Posts: 37088
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Failed to start Bluetooth service

Tue Jan 21, 2020 6:52 pm

Try using Google for your error messages. You won't be disappointed.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “Advanced users”