<div dir="ltr">Apologize for not sending to the mailing list in the first place.<div><br></div><div style>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.</div>
<div style><br></div><div style>HTH,</div><div style>Kris</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/10 Sandeep Gopisetty <span dir="ltr"><<a href="mailto:sandeep.gopisetty@igate.com" target="_blank">sandeep.gopisetty@igate.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="blue">
<div>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Hi
</span></font><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">Krzysztof Konopko<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">Thanks for your immediate reply<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Previous issue was solved,ehen I manually added message group in /etc/group and user in /etc/shadow.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Now I am able to run dbus-daemon –system.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">Now I am stuck with the following<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">Even the D-BUS is running hcid –n is giving the same error<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><b><font size="3" color="navy" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold">hcid[1710]: Bluetooth HCI daemon<u></u><u></u></span></font></b></p>
<p class="MsoNormal"><b><font size="3" color="navy" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold">hcid[1710]: Could not become the primary owner of org.bluez.<u></u><u></u></span></font></b></p>
<p class="MsoNormal"><b><font size="3" color="navy" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold">hcid[1710]: Unable to get on D-Bus<u></u><u></u></span></font></b></p>
<p class="MsoNormal"><b><font size="3" color="navy" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold"><u></u> <u></u></span></font></b></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Then I ran passkey-agent (an utility to generate the password commandline),it is also giving the error related to d-bus<u></u><u></u></span></font></p>
<p class="MsoNormal"><b><font size="3" color="navy" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold"><u></u> <u></u></span></font></b></p>
<p class="MsoNormal"><b><font size="3" color="navy" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold">root@(none):~# passkey-agent default 1000<u></u><u></u></span></font></b></p>
<p class="MsoNormal"><b><font size="3" color="navy" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold">Can't register passkey agent<u></u><u></u></span></font></b></p>
<p class="MsoNormal"><b><font size="3" color="navy" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold">The name org.bluez was not provided by any .service files<u></u><u></u></span></font></b></p>
<p class="MsoNormal"><b><font size="3" color="navy" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold"><u></u> <u></u></span></font></b></p>
<p class="MsoNormal"><b><font size="3" color="navy" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold"><u></u> <u></u></span></font></b></p>
<p class="MsoNormal"><b><font size="3" color="navy" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold">Please help me and provide me some solution.I am in very much need to do this.<u></u><u></u></span></font></b></p>
<p class="MsoNormal"><b><font size="3" color="navy" face="Arial"><span style="font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold"><u></u> <u></u></span></font></b></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Thanks & Regards<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Sandeep Gopisetty<u></u><u></u></span></font></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p class="MsoNormal"><b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> Krzysztof Konopko [mailto:<a href="mailto:krzysztof.konopko@gmail.com" target="_blank">krzysztof.konopko@gmail.com</a>]
<br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, April 10, 2013 1:15 PM<br>
<b><span style="font-weight:bold">To:</span></b> Sandeep Gopisetty<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: DBus-Problem</span></font><u></u><u></u></p>
</div><div><div class="h5">
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Hi Sandeep,<u></u><u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On your system, could you check the following:<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">id messagebus<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">And if there's no `id' utility on your system:<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">grep messagebus /etc/{passwd,group}<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Kris<u></u><u></u></span></font></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">2013/4/10 sandeep <<a href="mailto:sandeep.gopisetty@igate.com" target="_blank">sandeep.gopisetty@igate.com</a>><u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Hi,<br>
My name is sandeep,currently i am working in adding bluetooth support in<br>
ARM board.I inserted the drivers:rfcomm,btusb,bnep,bluetooth.<br>
I cross compiled bluez-utils and all the other required utilitie.<br>
when i am starting hcid it is giving unable to get on DBus<br>
root@(none):/data/bluetooth/dbus/bin# hcid -n<br>
hcid[605]: Bluetooth HCI daemon<br>
hcid[605]: Unable to get on D-Bus<br>
<br>
So i came to know that i have to launch dbus.I am using dbus-1.6.8 version<br>
Following are the outputs of varioys commands<br>
dbus-launch<br>
DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-<br>
rNfAdnokq0,guid=db0383402b883abe589c9e26000005f7<br>
DBUS_SESSION_BUS_PID=611<br>
root@(none):/data/bluetooth/dbus/bin# dbus-uuidgen<br>
9a4bd04bd3d7991a146d51f3000005fd<br>
<br>
dbus-daemon --config-file=/data/bluetooth/dbus/etc/dbus-1/system.conf<br>
<br>
Failed to start message bus: Could not get UID and GID for<br>
username "messagebus"<br>
<br>
<br>
Then i created UID and GID for messagebus<br>
groupadd -g 101 messagebus<br>
useradd -u 101 messagebus<br>
<br>
Even then also i am getting the same error<br>
dbus-daemon --config-file=/data/bluetooth/dbus/etc/dbus-1/system.conf<br>
<br>
Failed to start message bus: Could not get UID and GID for<br>
username "messagebus"<br>
<br>
<br>
Please help me what to do,i need help.Now i am in full trouble.<br>
<br>
Please Please help me and give me suggestions as early as possible.<br>
<br>
Thanks in advance<br>
<br>
_______________________________________________<br>
dbus mailing list<br>
<a href="mailto:dbus@lists.freedesktop.org" target="_blank">dbus@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><u></u><u></u></span></font></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
</div></div></div>
<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>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 <a href="mailto:mailadmin@igate.com" target="_blank">mailadmin@igate.com</a>. 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 <a href="http://www.igate.com" target="_blank">www.igate.com</a>.<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
</blockquote></div><br></div>