public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] sdp not starting
@ 2008-02-01 11:46 pramod gurav
  2008-02-01 11:53 ` [Bluez-devel] " Bastien Nocera
  0 siblings, 1 reply; 3+ messages in thread
From: pramod gurav @ 2008-02-01 11:46 UTC (permalink / raw)
  To: bluez-devel, Bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 946 bytes --]

hi all
i am not able to start the sdp daemon. These are the meesages i get in /var/log/messages :    
Feb  1 17:12:23 localhost hcid[31049]: HCI dev 0 registered
Feb  1 17:12:23 localhost hcid[31049]: HCI dev 0 up
Feb  1 17:12:23 localhost hcid[31049]: Device hci0 has been added
Feb  1 17:12:23 localhost hcid[31049]: Starting security manager 0
Feb  1 17:12:23 localhost hcid[31049]: Device hci0 has been activated
Feb  1 17:12:54 localhost sdpd[31717]: Bluetooth SDP daemon
Feb  1 17:12:54 localhost sdpd[31717]: Starting SDP server
Feb  1 17:12:54 localhost sdpd[31717]: binding L2CAP socket: Address already in use
Feb  1 17:12:54 localhost sdpd[31717]: Server initialization failed


What is the reason 
Can anyone help me in sorting this?
Please..
Thanks in advance
Pramod




      Why delete messages? Unlimited storage is just a click away. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

[-- Attachment #1.2: Type: text/html, Size: 1290 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-devel] sdp not starting
  2008-02-01 11:46 [Bluez-users] sdp not starting pramod gurav
@ 2008-02-01 11:53 ` Bastien Nocera
  0 siblings, 0 replies; 3+ messages in thread
From: Bastien Nocera @ 2008-02-01 11:53 UTC (permalink / raw)
  To: BlueZ development; +Cc: Bluez-users


On Fri, 2008-02-01 at 17:16 +0530, pramod gurav wrote:
> hi all
> i am not able to start the sdp daemon. These are the meesages i get
> in /var/log/messages :   
> Feb  1 17:12:23 localhost hcid[31049]: HCI dev 0 registered
> Feb  1 17:12:23 localhost hcid[31049]: HCI dev 0 up
> Feb  1 17:12:23 localhost hcid[31049]: Device hci0 has been added
> Feb  1 17:12:23 localhost hcid[31049]: Starting security manager 0
> Feb  1 17:12:23 localhost hcid[31049]: Device hci0 has been activated
> Feb  1 17:12:54 localhost sdpd[31717]: Bluetooth SDP daemon
> Feb  1 17:12:54 localhost sdpd[31717]: Starting SDP server
> Feb  1 17:12:54 localhost sdpd[31717]: binding L2CAP socket: Address
> already in use
> Feb  1 17:12:54 localhost sdpd[31717]: Server initialization failed
> 
> 
> What is the reason 
> Can anyone help me in sorting this?

You're probably already using the SDP server built into hcid (by passing
the "-s" argument to hcid), so it's normal that it fails.

Cheers


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-devel] sdp not starting
@ 2008-02-01 12:18 pramod gurav
  0 siblings, 0 replies; 3+ messages in thread
From: pramod gurav @ 2008-02-01 12:18 UTC (permalink / raw)
  To: BlueZ development


[-- Attachment #1.1: Type: text/plain, Size: 4320 bytes --]

Thanks for that hint
But what does -s and -f do...
I did not understand the pin_helper option here..
it gives error..
different docs say different about pin_helper
/etc/bluetooth/pin, /etc/bluetooth/feed-pin.sh and /usr/bin/bluez-pin etc

which one is correct?
here i used pin_helper /etc/bluetooth/feed-pin.sh;
it gives error..why?
when i do 
$/usr/local/sbin/sdpd
it is not started...why

these are the logs
help me...thanks in advance..
Feb  1 17:41:05 localhost hcid[32024]: Bluetooth HCI daemon
Feb  1 17:41:05 localhost hcid[32024]: Unknown option 'pin_helper' line 27
Feb  1 17:41:05 localhost hcid[32024]: syntax error line 27
Feb  1 17:41:06 localhost hcid[32024]: HCI dev 0 registered
Feb  1 17:41:06 localhost hcid[32024]: HCI dev 0 already up
Feb  1 17:41:06 localhost hcid[32024]: Device hci0 has been added
Feb  1 17:41:06 localhost hcid[32024]: Starting security manager 0
Feb  1 17:41:06 localhost hcid[32024]: Device hci0 has been activated
Feb  1 17:41:06 localhost hcid[32024]: Created local server at unix:abstract=/var/run/dbus-k0vfSKnbsK,guid=5a0ca347799eb08a1c33407ab7391500
Feb  1 17:41:06 localhost audio[32028]: Bluetooth Audio daemon
Feb  1 17:41:06 localhost audio[32028]: Unix socket created: 5
Feb  1 17:41:06 localhost hcid[32024]: Can't connect to SDP daemon:(Connection refused, 111)
Feb  1 17:41:06 localhost hcid[32024]: Failed to register service record
Feb  1 17:41:06 localhost audio[32028]: Adding service record failed: Connection refused
Feb  1 17:41:06 localhost audio[32028]: Unable to register HS AG service record
Feb  1 17:41:06 localhost audio[32028]: Unregistered manager path
Feb  1 17:41:06 localhost audio[32028]: Audio init failed!
Feb  1 17:46:32 localhost smartd[1702]: Device: /dev/hda, 1 Currently unreadable (pending) sectors
Feb  1 17:46:32 localhost smartd[1702]: Device: /dev/hda, 1 Offline uncorrectable sectors
Feb  1 17:48:10 localhost sdpd[32086]: Bluetooth SDP daemon
Feb  1 17:48:10 localhost sdpd[32086]: Starting SDP server
Feb  1 17:48:10 localhost sdpd[32086]: binding UNIX socket: Address already in use
Feb  1 17:48:10 localhost sdpd[32086]: Server initialization failed


----- Original Message ----
From: Bastien Nocera <hadess@hadess.net>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Cc: Bluez-users@lists.sourceforge.net
Sent: Friday, 1 February, 2008 5:23:41 PM
Subject: Re: [Bluez-devel] sdp not starting


On 
Fri, 
2008-02-01 
at 
17:16 
+0530, 
pramod 
gurav 
wrote:
> 
hi 
all
> 
i 
am 
not 
able 
to 
start 
the 
sdp 
daemon. 
These 
are 
the 
meesages 
i 
get
> 
in 
/var/log/messages 
:  
 
> 
Feb  
1 
17:12:23 
localhost 
hcid[31049]: 
HCI 
dev 
0 
registered
> 
Feb  
1 
17:12:23 
localhost 
hcid[31049]: 
HCI 
dev 
0 
up
> 
Feb  
1 
17:12:23 
localhost 
hcid[31049]: 
Device 
hci0 
has 
been 
added
> 
Feb  
1 
17:12:23 
localhost 
hcid[31049]: 
Starting 
security 
manager 
0
> 
Feb  
1 
17:12:23 
localhost 
hcid[31049]: 
Device 
hci0 
has 
been 
activated
> 
Feb  
1 
17:12:54 
localhost 
sdpd[31717]: 
Bluetooth 
SDP 
daemon
> 
Feb  
1 
17:12:54 
localhost 
sdpd[31717]: 
Starting 
SDP 
server
> 
Feb  
1 
17:12:54 
localhost 
sdpd[31717]: 
binding 
L2CAP 
socket: 
Address
> 
already 
in 
use
> 
Feb  
1 
17:12:54 
localhost 
sdpd[31717]: 
Server 
initialization 
failed
> 
> 
> 
What 
is 
the 
reason 
> 
Can 
anyone 
help 
me 
in 
sorting 
this?

You're 
probably 
already 
using 
the 
SDP 
server 
built 
into 
hcid 
(by 
passing
the 
"-s" 
argument 
to 
hcid), 
so 
it's 
normal 
that 
it 
fails.

Cheers


-------------------------------------------------------------------------
This 
SF.net 
email 
is 
sponsored 
by: 
Microsoft
Defy 
all 
challenges. 
Microsoft(R) 
Visual 
Studio 
2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel 
mailing 
list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel






      Get the freedom to save as many mails as you wish. To know how, go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

[-- Attachment #1.2: Type: text/html, Size: 5438 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-01 12:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01 11:46 [Bluez-users] sdp not starting pramod gurav
2008-02-01 11:53 ` [Bluez-devel] " Bastien Nocera
  -- strict thread matches above, loose matches on Subject: below --
2008-02-01 12:18 pramod gurav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox