Fail to connect to socket, not found system_bus_socket.
dtdang
ddt.fet.hut at gmail.com
Tue Oct 2 11:31:07 UTC 2018
Hello,
Here is my cross-compile make command to build dbus-daemon util.
./configure --host=mipsel-linux-gnu --disable-static --enable-shared
--prefix=/usr CC=/opt/toolchains/stbgcc-4.8-1.6/bin/mipsel-linux-gnu-gcc
LD=/opt/toolchains/stbgcc-4.8-1.6/bin/mipsel-linux-gnu-ld
--enable-tests=no && sudo make && sudo make install
After that I run "dbus-daemon --system &" as daemon. The system-config file
was attached.
However, when I run my application or 'dbus-monitor' util then I get bellow
error.
"Fail to connect to socket /usr/var/run/dbus/system_bus_socket: No such
file or directory".
Even I check in /tmp/dbus/ then I can see 'pid' & 'system_bus_socket' was
created there when running dbus-daemon.
It is a bit weird since I set local socket as
'<listen>unix:path=/tmp/dbus/system_bus_socket</listen>' in system.conf
file.
But this error still happen.
Could anyone help me to point out the root cause ?
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dbus/attachments/20181002/e193bcf2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: system.conf
Type: application/octet-stream
Size: 1573 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dbus/attachments/20181002/e193bcf2/attachment.obj>
More information about the dbus
mailing list