DBus-Problem

Krzysztof Konopko krzysztof.konopko at gmail.com
Wed Apr 10 05:07:23 PDT 2013


Apologize for not sending to the mailing list in the first place.

It looks like you've got all your service and policy files missing or
wrong.  Check where you system.conf file points to find service and
additional policy (configuration) files.

HTH,
Kris


2013/4/10 Sandeep Gopisetty <sandeep.gopisetty at igate.com>

>  Hi Krzysztof Konopko****
>
> ** **
>
> Thanks for your immediate reply****
>
> Previous issue was solved,ehen I manually added message group in
> /etc/group and user in /etc/shadow.****
>
> Now I am able to run dbus-daemon –system.****
>
> ** **
>
> Now I am stuck with the following****
>
> ** **
>
> Even the D-BUS is running hcid –n is giving the same error****
>
> ** **
>
> *hcid[1710]: Bluetooth HCI daemon*
>
> *hcid[1710]: Could not become the primary owner of org.bluez.*
>
> *hcid[1710]: Unable to get on D-Bus*
>
> * *
>
> Then I ran passkey-agent (an utility to generate the password
> commandline),it is also giving the error related to d-bus****
>
> * *
>
> *root@(none):~# passkey-agent default 1000*
>
> *Can't register passkey agent*
>
> *The name org.bluez was not provided by any .service files*
>
> * *
>
> * *
>
> *Please help me and provide me some solution.I am in very much need to do
> this.*
>
> * *
>
> Thanks & Regards****
>
> Sandeep Gopisetty****
>  ------------------------------
>
> *From:* Krzysztof Konopko [mailto:krzysztof.konopko at gmail.com]
> *Sent:* Wednesday, April 10, 2013 1:15 PM
> *To:* Sandeep Gopisetty
> *Subject:* Re: DBus-Problem****
>
> ** **
>
> Hi Sandeep,****
>
> ** **
>
> On your system, could you check the following:****
>
> id messagebus****
>
> ** **
>
> And if there's no `id' utility on your system:****
>
> grep messagebus /etc/{passwd,group}****
>
> ** **
>
> Kris****
>
> ** **
>
> 2013/4/10 sandeep <sandeep.gopisetty at igate.com>****
>
> Hi,
> My name is sandeep,currently i am working in adding bluetooth support in
> ARM board.I inserted the drivers:rfcomm,btusb,bnep,bluetooth.
> I cross compiled bluez-utils and all the other required utilitie.
> when i am starting hcid it is giving unable to get on DBus
> root@(none):/data/bluetooth/dbus/bin# hcid -n
> hcid[605]: Bluetooth HCI daemon
> hcid[605]: Unable to get on D-Bus
>
> So i came to know that i have to launch dbus.I am using dbus-1.6.8 version
> Following are the outputs of varioys commands
> dbus-launch
> DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-
> rNfAdnokq0,guid=db0383402b883abe589c9e26000005f7
> DBUS_SESSION_BUS_PID=611
> root@(none):/data/bluetooth/dbus/bin# dbus-uuidgen
> 9a4bd04bd3d7991a146d51f3000005fd
>
> dbus-daemon --config-file=/data/bluetooth/dbus/etc/dbus-1/system.conf
>
> Failed to start message bus: Could not get UID and GID for
> username "messagebus"
>
>
> Then i created UID and GID for messagebus
>  groupadd -g 101 messagebus
>  useradd -u 101 messagebus
>
> Even then also i am getting the same error
> dbus-daemon --config-file=/data/bluetooth/dbus/etc/dbus-1/system.conf
>
> Failed to start message bus: Could not get UID and GID for
> username "messagebus"
>
>
> Please help me what to do,i need help.Now i am in full trouble.
>
> Please Please help me and give me suggestions as early as possible.
>
> Thanks in advance
>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus****
>
> ** **
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Information contained and transmitted by this e-mail is confidential and
> proprietary to iGATE and its affiliates and is intended for use only by the
> recipient. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution, copying or use of this e-mail is
> strictly prohibited and you are requested to delete this e-mail immediately
> and notify the originator or mailadmin at igate.com. iGATE does not enter
> into any agreement with any party by e-mail. Any views expressed by an
> individual do not necessarily reflect the view of iGATE. iGATE is not
> responsible for the consequences of any actions taken on the basis of
> information provided, through this email. The contents of an attachment to
> this e-mail may contain software viruses, which could damage your own
> computer system. While iGATE has taken every reasonable precaution to
> minimise this risk, we cannot accept liability for any damage which you
> sustain as a result of software viruses. You should carry out your own
> virus checks before opening an attachment. To know more about iGATE please
> visit www.igate.com.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20130410/ffdccd44/attachment.html>


More information about the dbus mailing list