dbus_bus_get_private() failed

prashantkumar dhotre <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <CA+VDgmNwa-UGfVq6e3MVYTdzL8T=3iXgTsOrffesZHB3BdyVEA@mail.gmail.com>
Hi
 dbus_bus_get_private() failed with error: Failed to connect to socket
/var/run/dbus/system_bus_socket: No such file or directory

I see that /var/run/dbus/system_bus_socket exists before calling
dbus_bus_get_private()

logs:


 netstat -anp | grep dbus : unix  2      [ ACC ]     STREAM
LISTENING     11681    1/init
/var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     11831    1574/dbus-daemon
unix  3      [ ]         STREAM     CONNECTED     10907    1574/dbus-daemon
unix  3      [ ]         STREAM     CONNECTED     11830    1574/dbus-daemon
unix  3      [ ]         STREAM     CONNECTED     11833
1574/dbus-daemon    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     11832
1574/dbus-daemon    /var/run/dbus/system_bus_socket

May 02 07:45:10 ERROR:  dbus-send --system --print-reply
--reply-timeout=2000 --type=method_call
--dest=org.freedesktop.systemd1    /org/freedesktop/systemd1 org.
    freedesktop.systemd1.Manager.ListUnits  :
+++
app restarts
+++
May 02 07:45:15 ERROR:  Failed to open connection to system bus
May 02 07:45:15 ERROR:  dbus_bus_get_private() failed with error:
Failed to connect to socket /var/run/dbus/system_bus_socket: No such
file or directory
May 02 07:45:15 ERROR:  uptime :  07:45:15 up 1 min,  0 users,  load
average: 1.68, 0.45, 0.15
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.