public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* ObexFTP killing the Local SDP server
@ 2008-12-08 22:47 pavan_savoy
  2008-12-12  1:47 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: pavan_savoy @ 2008-12-08 22:47 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

I have a blueZ [version 3.35, wrongly claimed as 3.36] hcid daemon running on a machine, and I have put on it an ObexFTP daemon application [openobex + obexftp] which is statically linked with [bluez-libs-3.36].

The problem I face is, when I start obexftpd it says cannot register with SDP server,
register to SDP Server failed, and comes out & then waits for a connecttion.

When I looked into it, it was failing in the function "sdp_connect_local" in bluez-libs/src/sdp.c & it also caused the SDP server to kill, So I cannot even do an sdptool browse local after this.
[I checked sdptool browse local before running obexftpd & it is fine...]

Is it a problem with permissions given to unix domain sockets on platform ? Or something to do with the version mis-match ? Or something totally different ?


regards,
Pavan


--

"KLUB MJ Hunt, Search for India's First Movie Jockey"
For more details log on to http://www.zeecinema.com

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

* Re: ObexFTP killing the Local SDP server
  2008-12-08 22:47 ObexFTP killing the Local SDP server pavan_savoy
@ 2008-12-12  1:47 ` Marcel Holtmann
  2008-12-12  9:11   ` Per Thomas Jahr
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2008-12-12  1:47 UTC (permalink / raw)
  To: pavan_savoy; +Cc: linux-bluetooth

Hi Pavan,

> I have a blueZ [version 3.35, wrongly claimed as 3.36] hcid daemon running on a machine, and I have put on it an ObexFTP daemon application [openobex + obexftp] which is statically linked with [bluez-libs-3.36].
> 
> The problem I face is, when I start obexftpd it says cannot register with SDP server,
> register to SDP Server failed, and comes out & then waits for a connecttion.
> 
> When I looked into it, it was failing in the function "sdp_connect_local" in bluez-libs/src/sdp.c & it also caused the SDP server to kill, So I cannot even do an sdptool browse local after this.
> [I checked sdptool browse local before running obexftpd & it is fine...]
> 
> Is it a problem with permissions given to unix domain sockets on platform ? Or something to do with the version mis-match ? Or something totally different ?

I don't know. Your system seems to be screwed up. Why don't you start
using something more recent like 4.22.

Regards

Marcel



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

* Re: ObexFTP killing the Local SDP server
  2008-12-12  1:47 ` Marcel Holtmann
@ 2008-12-12  9:11   ` Per Thomas Jahr
  0 siblings, 0 replies; 3+ messages in thread
From: Per Thomas Jahr @ 2008-12-12  9:11 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: pavan_savoy

On Fri, 2008-12-12 at 02:47 +0100, Marcel Holtmann wrote:
> Hi Pavan,
> 
> > I have a blueZ [version 3.35, wrongly claimed as 3.36] hcid daemon running on a machine, and I have put on it an ObexFTP daemon application [openobex + obexftp] which is statically linked with [bluez-libs-3.36].
> > 
> > The problem I face is, when I start obexftpd it says cannot register with SDP server,
> > register to SDP Server failed, and comes out & then waits for a connecttion.
> > 
> > When I looked into it, it was failing in the function "sdp_connect_local" in bluez-libs/src/sdp.c & it also caused the SDP server to kill, So I cannot even do an sdptool browse local after this.
> > [I checked sdptool browse local before running obexftpd & it is fine...]
> > 
> > Is it a problem with permissions given to unix domain sockets on platform ? Or something to do with the version mis-match ? Or something totally different ?
> 
> I don't know. Your system seems to be screwed up. Why don't you start
> using something more recent like 4.22.

If you are on Fedora, there was an security update of dbus a couple of
days ago that screwed up bluetooth (and a couple of other things) for
most users. Maybe that is the problem.

http://forums.fedoraforum.org/showthread.php?t=207069 

-- 
Cheers
Per Thomas


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

end of thread, other threads:[~2008-12-12  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-08 22:47 ObexFTP killing the Local SDP server pavan_savoy
2008-12-12  1:47 ` Marcel Holtmann
2008-12-12  9:11   ` Per Thomas Jahr

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