Need help on setting D-Bus

Thiago Macieira thiago at kde.org
Tue Sep 28 05:30:48 PDT 2010


Em Terça-feira 28 Setembro 2010, às 13:59:25, Yedire, Sandeep escreveu:
> Hi there,
> Segmentation fault was due to compiler option -pie/-fPIE.
> When executing ./dbus-daemon --system on target
> Failed to start message bus: Failed to bind socket
> "/var/run/dbus/system_bus_socket": Address already in use
> 
> But before this I created system_bus_socket file in "/var/run/dbus/"
> with -rwxrwxrwv permissions. Here I might be wrong with it has to be
> srwxrwxrwx. How to create this unix domain socket file in that path?

You don't do anything. Make sure the file doesn't exist.

dbus-daemon will create the socket when it starts.

> Please let me know what files need to be created on target prior to
> start dbus-daemon --system.

Just the machine-id. Run dbus-uuidgen --ensure.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Qt Developer Days 2010  -  Munich Oct 11-13  -  San Francisco Nov 1-3
For more information and to register: http://qt.nokia.com/qtdevdays2010
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100928/0699301a/attachment.pgp>


More information about the dbus mailing list