Questions tagged [dbus]
The dbus tag has no usage guidance.
37
questions
0
votes
0
answers
43
views
Failed to start dbus.serviuce and dbus.socket
I have a Debian Bokworm Server which was migrated from bare metal to a Proxmox VM and then single services lock docker were migrated to their own VMs. I uninstalled for example all the docker content ...
0
votes
0
answers
79
views
NetworkManager not starting and dbus not working correctly after reboot - AlmaLinux9 (RHEL)
I have a Server with AlmaLinux9 installed which worked perfectly and i rebooted the server often and nothing happend. But recently i rebooted the server and now it get's no internet connection anymore....
1
vote
1
answer
40
views
after migrating kvm virtual machine with Centos7 to LXD container, the only process that starts at boot is systemd (/sbin/init)
the title pretty much describes it all. After starting the container the only running process is /sbin/init which is a link to systemd. No syslog, empty journalctl, lxc-start with console attached ...
0
votes
0
answers
1k
views
failed to create bus connection: no such file or directory
Virtualbox with ubuntu 22.04
[root@container www]# systemctl start NetworkManager
Failed to get D-Bus connection: No such file or directory
Virtualbox with ubuntu 20.04
docker run --privileged -d -...
0
votes
1
answer
127
views
Lost of PPP Connection between Debian <--> PDA / HandHeld using SynCE
I am currently able to connect a handheld to the PC running Linux with a very old Ubuntu 14.04, adding repository PPA for SynCE to source list. Now, the goal is to update the operating system, I chose ...
0
votes
0
answers
1k
views
Docker - Failed to connect to bus error on some containers provisioned with docker-compose
I have 3 clusters to deploy on containers provisioned with docker-compose, the clusters have 3, 4 and 14 nodes each. All containers are built from the same image of Rocky Linux 8 and have SystemD with ...
2
votes
1
answer
1k
views
Slow SSH - Failed to activate service 'org.freedesktop.login1': timed out - no systemd
I run Devuan Linux, which still uses sysvinit and does not use systemd. For a while now, I've noticed SSH logins are very slow. The log (/var/log/auth.log) indicates that DBus is timing out:
Feb 19 10:...
2
votes
2
answers
6k
views
Openvpn3 client failed calling D-Bus method Connect on Debian buster
I had a healthy Openvpn3 client running on my laptop, and every day used to successfully connect to my company's vpn without any hurdle.
However today things went wrong, and I'm no longer able to ...
3
votes
0
answers
3k
views
CentOS: how to fix GDBus.Error:org.freedesktop.DBus.Error.LimitsExceeded (Maximum active connections)?
On a CentOS 7 server I'm getting this error while trying to reboot:
# reboot
Error getting authority: Error initializing authority: GDBus.Error:org.freedesktop.DBus.Error.LimitsExceeded: The ...
2
votes
1
answer
1k
views
Is there a way to reliably check that systemd supports --user?
I'm trying to set up some user services using Ansible and systemd.
On Ubuntu and RHEL 7 I'm getting
# systemctl --user status
Failed to get D-Bus connection: Connection refused
For Ubuntu I ...
0
votes
1
answer
440
views
Publishing CNAME to Avahi over DBUS requires long lived process
I am attempting to setup CNAMEs in Avahi in order to broadcast multiple hostnames. I've found a variety of examples online that all work but they all require long lived processes:
https://github.com/...
3
votes
0
answers
2k
views
Obscure systemd-logind message on Centos 7 running on OpenVZ 7
I am seeing the message below appear several times at random times on a Centos 7 64-bit virtual private server running on OpenVZ 7. I have no idea what it means, how to fix it or if it can be safely ...
1
vote
1
answer
5k
views
Is there a way to restart the D-Bus on CentOS 7 - without crashing the system?
On CentOS 7, doing sudo systemctl restart messagebus[1], will bring the system to its knees.
Is there a way to restart the D-Bus without crashing the system?
[1] This is dbus.service - D-Bus System ...
3
votes
2
answers
8k
views
Why is dbus-org.freedesktop.timedate1 started so frequently?
I have some Ubuntu 18.04.1 servers. They all show this service being started rougly every 10 minutes.
Jan 7 06:29:05 csrf-prod1-vm dbus-daemon[434]: [system] Activating via systemd: service name='...
2
votes
1
answer
4k
views
SELinux: pam_systemd(sudo:session): Failed to connect to system bus: Permission denied
On one of CentOS 7 servers I cannot perform sudo from nrpe user (Nagios daemon remote monitoring).
Error message:
Dec 31 08:28:10 ip-172-31-36-176 sudo: pam_unix(sudo:session): session opened for ...
1
vote
0
answers
479
views
Centos 7.3x & 7.4x VM's fail to bringup login service and network manager after a yum update and restart
I'm running into an odd problem that I've never encountered before. On any of our Centos 7.3x or 7.4x after I do a yum update and restart the VM will eventually come back up, but hangs during the ...
21
votes
4
answers
64k
views
Cannot use `systemctl --user` due to "Failed to get D-bus connection: permission denied"
I'm trying to set up user-level services, using this answer to a similar question. I have create the required files and rebooted.
I'm making progress because I now get "Failed to get D-bus connection:...
1
vote
1
answer
1k
views
One Dbus message triggers multiple systemd services
How can I trigger multiple systemd services when a dbus signal is lauched.
I'm trying to do so for org.freedesktop.hostname1 by creating a service like:
[Unit]
Description=Set host name
[Service]
...
4
votes
2
answers
10k
views
Getting "Couldn't connect to realm service" error while joining rhel7 instance to a domain
I am trying to join a rhel7 node to a domain using a chef cookbook but getting error:
realm: Couldn't connect to realm service: Error calling
StartServiceByName for org.freedesktop.realmd:
GDBus....
2
votes
0
answers
3k
views
Allow non root user to run certain systemd services (not *), without a password by using a polkit rule
I have a non root user that I need to have able to start/stop/restart a subset of services on my system without prompting for an authorization password. Ideally I would like this done via polkit but ...
0
votes
1
answer
823
views
How to findout if haldaemon is being used or udev in RHEL server?
I am quite confused if hal is really in use or just udev.
What I understood:
In general, HAL is an abstraction layer that allows an operating
system to interact with a hardware device.
And daemon ...
22
votes
1
answer
30k
views
Starting systemd services sharing a session D-Bus on headless system
I need help starting services that communicate via a session (not system) D-Bus on a headless Linux system. The key is that no-one will be logged in on the headless system.
So far I've been able to ...
0
votes
2
answers
8k
views
fprintd: ** Message: No devices in use, exit
I keep getting following messages inside of /var/log/messages:
4/7/2016, 11:03:49 AM fprintd[3277] Launching FprintObject
4/7/2016, 11:03:49 AM fprintd[3277] ** Message: D-Bus service ...
3
votes
1
answer
3k
views
How do I determine the Linux user/group which executes systemd manager jobs?
I am trying to determine which Linux user/group runs systemd jobs so that I can set D-Bus permissions accordingly.
When I do this:
sudo systemctl start myservice
That ultimately calls an executable ...
3
votes
1
answer
15k
views
How do I properly launch a dbus-monitor --session as root?
I am working on a script that will detect if and when a Gnome session is "locked" by a user in order to kick that user and prevent people locking screens in a public use lab. However, it ...
3
votes
0
answers
4k
views
Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
My server on Centos 6.6 went down Phusion Passanger refuses to start of with following error:
stdin: is not a tty
/etc/init/delayed_job.conf: line 7: description: command not found
start: Unable to ...
6
votes
2
answers
997
views
Slow authentication on Fedora VM due to /var/run/dbus/system_bus_socket connect timeout
I have this Fedora VM that for some reason after a while always starts having very slow "sudo" authentication (or an authentication in general, like GUI apps asking for credentials). It's will work ...
0
votes
1
answer
72
views
Server shuts down during apt upgrades (specifically libdbus)
I woke up this morning to find my VPS down. I brought it back, couldnt find any reason for it being down (nothing in the syslog, etc) so figured it was my crappy provider. I ran apt-get upgrade and it ...
1
vote
0
answers
753
views
Identify mystery output on ssh login
How can I find where this dbus-launch error output is coming from? At first I thought it was related to motd but I currently have that disabled. X11Forwarding is turned off in my sshd_config as well ...
3
votes
2
answers
4k
views
system suspend - dbus upower signals are not seen
I want to get notifications via dbus when the system resumes from suspended state.
Following these existing questions:
What DBus signal is sent on system suspend?
How do I detect when my system wakes ...
0
votes
1
answer
231
views
After trying to remove SELinux, system doesn't start; shows error of “unable to connect to system bus”
I had SELinux installed on my system which actually was a bit annoying. I tried to remove it. After that my system is unable to start. The error that is showing up is:
unable to connect to system ...
8
votes
2
answers
8k
views
Access D-Bus remotely using socat
Description:
I'd like to access a D-Bus system service from another machine, knowing only machine's IP address and the service to connect to.
What I have recently found is Gabriel (D-Bus over SSH). ...
22
votes
4
answers
37k
views
How to configure D-Bus and SSH X-Forwarding to prevent SSH from hanging on exit?
I am attempting to run various Gnome applications via X11 Forwarding and SSH. Some applications will cause the 'dbus-launch' application to be spawned first. The problem is that dbus-launch doesn't ...
1
vote
0
answers
918
views
Fedora Failed to get D-Bus connection
I have a VPS with fedora 16 installed. I have setup mysql and it was working a couple of days ago.
Now suddenly when I try to start mysql I get the error:
Failed to get D-Bus connection: Failed to ...
0
votes
1
answer
3k
views
dbus dependency with yum
Whenever, I try and run yum update I get the following error:
[root@server ~]# yum update
Loaded plugins: dellsysid, fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror01.idc....
0
votes
1
answer
456
views
Remotely reinstall dbus and libdbus
OS: Ubuntu 11.04 amd64
After several updates, dbus didn't get to install correctly (carelessly used &&; long night), which I found out after server restart – no network services are ...
48
votes
7
answers
83k
views
How to find other end of unix socket connection?
I have a process (dbus-daemon) which has many open connection over UNIX sockets. One of these connections is fd #36:
=$ ps uw -p 23284
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME ...